TofPr

type TofPr = object

Description

Table of figures properties.

Properties

ShowPageNumsbooleandefault: true

Specifies whether to show page numbers in the table of figures.

RightAlgnbooleandefault: true

Specifies whether to right-align page numbers in the table of figures.

LeaderTypeTocLeaderdefault: "dot"

The leader type in the table of figures.

FormatAsLinksbooleandefault: true

Specifies whether to format the table of figures as links.

BuildFromCaptionLabel | stringdefault: "Figure"

Specifies whether to generate the table of figures based on the specified caption label or the paragraph style name used (for example, "Heading 1").

LabelNumberbooleandefault: true

Specifies whether to include the label and number in the table of figures.

TofStyleTofStyledefault: "distinctive"

The table of figures style type.

Try It

var oTofPr = {"ShowPageNums": true, "RightAlgn": true, "LeaderType": "dot", "FormatAsLinks": true, "BuildFrom": "Figure", "LabelNumber": true, "TofStyle": "distinctive"};
oDocument.AddTableOfFigures(oTofPr);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).