Foxit PDF SDK
|
Inherits FoxitPDFSDKPython2._object.
Public Member Functions | |
def | TableOfContentsConfig (title, bookmark_level_array, is_show_serial_number, include_toc_pages) |
Constructor, with parameter. More... | |
def | Set (title, bookmark_level_array, is_show_serial_number, include_toc_pages) |
Set value. More... | |
Static Public Attributes | |
bookmark_level_array = _swig_property(_fsdk.TableOfContentsConfig_bookmark_level_array_get, _fsdk.TableOfContentsConfig_bookmark_level_array_set) | |
A bookmark level array which is used to specify bookmarks to be used to generate "Table of Contents". For each element in input array, valid range : from 1 to(depth). depth is returned by function FoxitPDFSDKPython2.PDFDoc.GetBookmarkLevelDepth . If input array is an empty array, that means all bookmarks are used to generate "Table of Contents". | |
is_show_serial_number = _swig_property(_fsdk.TableOfContentsConfig_is_show_serial_number_get, _fsdk.TableOfContentsConfig_is_show_serial_number_set) | |
true means to show the serial number in the table of contents, while false means not to show the serial number. | |
title = _swig_property(_fsdk.TableOfContentsConfig_title_get, _fsdk.TableOfContentsConfig_title_set) | |
Title for the table of contents. If this is an empty string, the default value "Table of Contents" will be used. | |
This class represents the table of contents configuration.
def FoxitPDFSDKPython2.TableOfContentsConfig.TableOfContentsConfig | ( | title, | |
bookmark_level_array, | |||
is_show_serial_number, | |||
include_toc_pages | |||
) |
Constructor, with parameter.
Constructor.
[in] | title | Title for the table of contents. |
[in] | bookmark_level_array | A bookmark level array which is used to specify bookmarks to be used to generate "Table of Contents". |
[in] | is_show_serial_number | true means to show the serial number in the table of contents, while false means not to show the serial number. |
[in] | include_toc_pages | true means to include catalog page(s) in the calculation of pages number in the table of contents, while false means to exclude catalog page(s) from the calculation of pages number in the table of contents. |
def FoxitPDFSDKPython2.TableOfContentsConfig.Set | ( | title, | |
bookmark_level_array, | |||
is_show_serial_number, | |||
include_toc_pages | |||
) |
Set value.
[in] | title | Title for the table of contents. |
[in] | bookmark_level_array | A bookmark level array which is used to specify bookmarks to be used to generate "Table of Contents". |
[in] | is_show_serial_number | true means to show the serial number in the table of contents, while false means not to show the serial number. |
[in] | include_toc_pages | true means to include catalog page(s) in the calculation of pages number in the table of contents, while false means to exclude catalog page(s) from the calculation of pages number in the table of contents. |
@ return None.