VolodymyrBaydalka/docxjs

Page break

naivenaive opened this issue · 3 comments

Thanks for your excellent work. I found a feature not documented in README. If there is not any page break inserted in the docx file, all content will be rendered in one page no matter how long it is. Is there any option to enable page break automatically just like Microsoft office?

idem

same problem

can you help me. ?

Is there any option to enable page break automatically just like Microsoft office?

No, there is no such option. Proper insertion page breaks automatically will require re-calcultion of sizes of each and every element of document on each and every change (element insertion, style changes, etc) and it may affect perfomance a lot.