Forum


Replies: 7   Views: 1172
Add pagination and contents to the footers replacing them in an existing docx
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by Diplodoc071  · 24-12-2021 - 09:10

The problem occurs on documents that initially contain more than one section (section breaks «^b»). Is it possible to remove section breaks?
This code did not solve the problem:

$phpdocx->removeWordContent(array('type'=>'break'));
$content=new WordFragment($phpdocx,'document');
$phpdocx->replaceWordContent($content,array('type'=>'break'));