You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm wondering if it's possible to utilize this library to initiate a tag in the header and conclude it in the footer/body. To provide context, in the attached docx file, I am initiating the "licenses" tag in the header and concluding it in the footer, all while attempting to fill information within the body.
The purpose behind this approach is related to batch report printing. Specifically, certain licenses in the array extend across multiple pages. By placing the license number in the header, we aim to associate them together when a license spans multiple pages.
{
"licenses": [
{
"license_number": "1234",
"license_information": "This is a license"
},
{
"license_number": "5678",
"license_information": "This is another license"
},
{
"license_number": "91011",
"license_information": "This is a third license"
}
]
}
So I looked into it. It would require a little work but it's possible. However, I don't think I'll be getting to this very soon.
If you (or anyone else) is interested in implementing this, PRs are always welcome :)
Here are some relevant sources for future reference:
This MS support page explains how to do it in Word.
The programmatic solution involves manipulating the markup of sections and their headers (and footers too, since they need to be handled separately from the headers).
Hello,
I'm wondering if it's possible to utilize this library to initiate a tag in the header and conclude it in the footer/body. To provide context, in the attached docx file, I am initiating the "licenses" tag in the header and concluding it in the footer, all while attempting to fill information within the body.
The purpose behind this approach is related to batch report printing. Specifically, certain licenses in the array extend across multiple pages. By placing the license number in the header, we aim to associate them together when a license spans multiple pages.
batch report.docx
The text was updated successfully, but these errors were encountered: