SectionType.CONTINUOUS is not working for addSection function. #2896
Unanswered
JChoudhary-hcg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
(Docx js) Adding multiple sections using addSection function is showing every section on a new page. I'm using SectionType.CONTINUOUS property for section but it's not working.
I'm using docx js library to generate docx document dynamically adding multiple sections to show data. In docx js documentation it's mentioned that we can use Section Type
property. The section type determines how the contents of the section will be placed relative to the previous section.
SectionType.CONTINUOUS => As per the official documentation it should print the next section on the same page.
Currently this is not working for me. All the section are printing on a new page.
I'm using LWC framework in salesforce to print this docx file.
I want to print each section one after another without any page breaks.
Beta Was this translation helpful? Give feedback.
All reactions