How prevent tables overlapping using cloneBlock in PHPWord/TemplateProcessor?


I’m using PHPWord to clone tables in my template, but when I use cloneBlock some tables overlap each other.

I found pageBreak using xml but I need to do that automatic:

$templateWord->setValue('pageBreak', '</w:t></w:r><w:r><w:br w:type="page"/></w:r><w:r><w:t>', 1);

I want to automatic page break that tables, is that posible?

Source: Laravel

Categorised as laravel, php, phpword Tagged , ,


Leave a Reply

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us