跳到主要内容

ApiTablesOfContents

表示文档中所有目录集合的类。

备注

此功能仅在 ONLYOFFICE Docs 付费版本中可用。

方法​

下表列出了可用的方法。

方法返回值描述
AddApiTableOfContents | null向文档添加目录并返回该目录。
GetClassType"tablesOfContents"返回 ApiTablesOfContents 类的类型。
GetCountnumber返回文档中目录的数量。
GetItemApiTableOfContents | null返回集合中指定位置的目录。
GetParentApiDocument返回拥有此集合的文档。