bookmarkRefTo

type bookmarkRefTo = text | pageNum | paraNum | noCtxParaNum | fullCtxParaNum | aboveBelow

Description

Available values of the "bookmark" reference type: "text" - the entire bookmark text; "pageNum" - the bookmark page number; "paraNum" - the bookmark paragraph number; "noCtxParaNum" - the abbreviated paragraph number (the specific item only, e.g. instead of "4.1.1" you refer to "1" only); "fullCtxParaNum - the full paragraph number, e.g. "4.1.1"; "aboveBelow" - the words "above" or "below" depending on the item position.

Try It

oParagraph.AddBookmarkCrossRef("pageNum", sBookmark);

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