captionRefTo

type captionRefTo = entireCaption | labelNumber | captionText | pageNum | aboveBelow

Description

Available values of the "equation"/"figure"/"table" reference type: "entireCaption"- the entire caption text; "labelNumber" - the label and object number only, e.g. "Table 1.1"; "captionText" - the caption text only; "pageNum" - the page number containing the referenced object; "aboveBelow" - the words "above" or "below" depending on the item position.

Try It

oParagraph.AddCaptionCrossRef("table", "pageNum", oCaptionParagraph);

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).