Foxit PDF SDK
|
Inherits Object.
Public Member Functions | |
TableOfContentsConfig () | |
Constructor. | |
TableOfContentsConfig (const wchar_t *title, Int32Array bookmark_level_array, bool is_show_serial_number, bool include_toc_pages) | |
Constructor, with parameter. More... | |
bool | operator!= (const TableOfContentsConfig &other) const |
Not equal operator. More... | |
TableOfContentsConfig & | operator= (const TableOfContentsConfig &other) |
Assign operator. More... | |
bool | operator== (const TableOfContentsConfig &other) const |
Equal operator. More... | |
void | Set (const wchar_t *title, Int32Array bookmark_level_array, bool is_show_serial_number, bool include_toc_pages) |
Set value. More... | |
Public Attributes | |
Int32Array | bookmark_level_array |
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 PDFDoc::GetBookmarkLevelDepth. If input array is an empty array, that means all bookmarks are used to generate "Table of Contents". | |
bool | 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. | |
bool | 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. | |
WString | title |
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.
|
inline |
Constructor, with parameter.
[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. |
|
inline |
Not equal operator.
[in] | other | Another table of contents configuration object. This function will check if current object is not equal to this one. |
|
inline |
Assign operator.
[in] | other | Another table of contents configuration object, whose value would be assigned to current object. |
|
inline |
Equal operator.
[in] | other | Another table of contents configuration object. This function will check if current object is equal to this one. |
|
inline |
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.