You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An undesired pagebreak in a odt document appears before each $section->add($texte, $font).
These instructions are in a foreach loop. Here is the code :
I believe that PR #1796, which was merged on Dec. 29 2020, fixes this problem. You can get that code, and other useful changes, by cloning the project. It is officially target as part of PHPWord Version 0.18.0.
Describe the Bug
An undesired pagebreak in a odt document appears before each $section->add($texte, $font).
These instructions are in a foreach loop. Here is the code :
Steps to Reproduce
Expected Behavior
Pagebreaks should not appear. Each $section->addText(... should write a the same page
Current Behavior
Each $section->addText(... writes a text in an other page
Context
Thanks for your answer.
AJ
The text was updated successfully, but these errors were encountered: