I am currently facing a requirement:
At the end of the first few pages of the document, it is necessary to generate the “next page”, and at the same position on the last page of the document, it is necessary to generate the “last page”. I came up with the idea that domain code can support this operation, and I created a document with domain code using Microsoft Office. The content of the domain code is:
{ IF { PAGE \* MERGEFORMAT } < { NUMPAGES \* MERGEFORMAT } NEXTPAGE LASTPAGE }
It can be displayed normally, but when I preview using OnlyOffice, it always displays “NEXTPAGE”. It is possible that OnlyOffice does not currently support this type of domain code. Will we consider supporting this feature in the future?