Skip to main content

ApiTableOfFigures

Class representing a table of figures.

note

This functionality is available in paid ONLYOFFICE Docs editions.

Methods​

The following table lists the available methods.

MethodReturnsDescription
DeletebooleanRemoves the table of figures from the document.
GetCaptionstring | nullReturns the caption label that the table of figures is built from (for example, "Figure").
GetClassType"tableOfFigures"Returns a type of the ApiTableOfFigures class.
GetIncludeLabelbooleanReturns whether the caption label and number are included in the table of figures entries.
GetIncludePageNumbersbooleanReturns whether page numbers are shown in the table of figures.
GetParentApiDocument | nullReturns the document that contains the table of figures.
GetRangeApiRange | nullReturns a range that covers the entire table of figures.
GetRightAlignPageNumbersbooleanReturns whether page numbers are right-aligned in the table of figures.
GetUseHyperlinksbooleanReturns whether entries are formatted as hyperlinks.
SetCaptionbooleanSets the caption label that the table of figures is built from (for example, "Figure").
SetIncludeLabelbooleanSpecifies whether the caption label and number are included in the table of figures entries.
SetIncludePageNumbersbooleanSpecifies whether page numbers are shown in the table of figures.
SetPrbooleanApplies the specified properties to the table of figures and rebuilds it.
SetRightAlignPageNumbersbooleanSpecifies whether page numbers are right-aligned in the table of figures.
SetUseHyperlinksbooleanSpecifies whether entries are formatted as hyperlinks.
UpdatebooleanUpdates the table of figures.