Open ghost opened 5 years ago
putPageBreak() works and add a new page but after 2 or 3 lines after "EOP" word in my data in below code:
if (data[i].data === "EOP") { docx.putPageBreak(); }
note that createP() works correctly.
Can you please provide an example code? thanks
putPageBreak() works and add a new page but after 2 or 3 lines after "EOP" word in my data in below code:
if (data[i].data === "EOP") { docx.putPageBreak(); }
note that createP() works correctly.