Foxit PDF SDK
FSDK::TableOfContentsConfig类 参考

Public 成员函数

 constructor () Set(title
 构造函数。 更多...
 
 constructor (title, bookmark_level_array, is_show_serial_number, include_toc_pages)
 带参数的构造函数。 更多...
 

Public 属性

 bookmark_level_array
 书签级别数组,用于指定要用于生成"目录表"的书签。 对于输入数组中的每个元素,有效范围:从1到(depth)。 depth 由函数 FSDK.PDFDoc.GetBookmarkLevelDepth 返回。 如果输入数组是空数组,则表示使用所有书签来生成"目录表"。
 
 include_toc_pages
 true 表示在目录表的页码计算中包括目录页, 而 false 表示从目录表的页码计算中排除目录页。
 
 is_show_serial_number
 true 表示在目录表中显示序列号,而 false 表示不显示序列号。
 
 title
 目录表的标题。如果这是一个空字符串,将使用默认值"Table of Contents"。
 

详细描述

此类表示目录表配置。

成员函数说明

◆ constructor() [1/2]

FSDK::TableOfContentsConfig::constructor ( )

构造函数。

设置值。

参数
[in]title目录表的标题。
[in]bookmark_level_array书签级别数组,用于指定要用于生成"目录表"的书签。
[in]is_show_serial_numbertrue 表示在目录表中显示序列号,而 false 表示不显示序列号。
[in]include_toc_pagestrue 表示在目录表的页码计算中包括目录页, 而 false 表示从目录表的页码计算中排除目录页。

@ return None.

◆ constructor() [2/2]

FSDK::TableOfContentsConfig::constructor ( title  ,
bookmark_level_array  ,
is_show_serial_number  ,
include_toc_pages   
)

带参数的构造函数。

参数
[in]title目录表的标题。
[in]bookmark_level_array书签级别数组,用于指定要用于生成"目录表"的书签。
[in]is_show_serial_numbertrue 表示在目录表中显示序列号,而 false 表示不显示序列号。
[in]include_toc_pagestrue 表示在目录表的页码计算中包括目录页, 而 false 表示从目录表的页码计算中排除目录页。