I'm trying to auto-generate a table of content. I wonder if it's possible to have an API that returns the current page number for a given element. Something like:
var oDocument = Api.GetDocument();
var elm = oDocument.GetElement(0);
elm.getPageNumber();
Hi @nitely. Thank you for iinterest to Onlyoffice DocumentServer.
We are implementing table of content feature in Document Server now. We are going to add such functionality for documentserver plugins afterwards.
I'm trying to auto-generate a table of content. I wonder if it's possible to have an API that returns the current page number for a given element. Something like:
Not sure if this is the right place to ask this.