We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm attempting to offset the Total Pages in my Header / Footer.
Tried the following (all within Header > Paragraph > TextRun):
new SimpleField('NUMPAGES + 1') // just renders NUMPAGES
new SimpleField('= NUMPAGES + 1') // !Undefined Bookmark, NUMPAGES
new SimpleField('= { NUMPAGES } + 1') // !Syntax Error, {
new SimpleField('{ = { NUMPAGES } + 1 }') // nothing rendered
Is this beyond the scope of the SimpleField class?
The text was updated successfully, but these errors were encountered:
Yes it is beyond the scope. Finding Total pages is a Microsoft Word or Word processor feature
The .docx document (ooxml) itself is dumb, and does not know about pages, it is simply an XML file
Sorry, something went wrong.
No branches or pull requests
I'm attempting to offset the Total Pages in my Header / Footer.
Tried the following (all within Header > Paragraph > TextRun):
new SimpleField('NUMPAGES + 1') // just renders NUMPAGES
new SimpleField('= NUMPAGES + 1') // !Undefined Bookmark, NUMPAGES
new SimpleField('= { NUMPAGES } + 1') // !Syntax Error, {
new SimpleField('{ = { NUMPAGES } + 1 }') // nothing rendered
Is this beyond the scope of the SimpleField class?
The text was updated successfully, but these errors were encountered: