docxjs icon indicating copy to clipboard operation
docxjs copied to clipboard

Page break

Open naivenaive opened this issue 2 years ago • 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?

naivenaive avatar Jun 14 '22 12:06 naivenaive

idem

lwq-js avatar Aug 02 '22 01:08 lwq-js

same problem

can you help me. ?

Timson020 avatar Mar 27 '23 02:03 Timson020

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.

VolodymyrBaydalka avatar Mar 27 '23 15:03 VolodymyrBaydalka