Forum


Replies: 1   Views: 4309
Remove blank spaces
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 admin  · 17-04-2016 - 08:12

Hello,

The current version of phpdocx only allows to remove placeholders (replacing them by empty strings) or clean a preset block using this method:

http://www.phpdocx.com/api-documentation/templates/delete-Word-template-block-content

Phpdocx 6 will add a new class to support adding, removing and replacing content dynamically in any part of the main document. For example you'll be able to remove a single or alls paragraphs that contain a full string or a placeholder.

Regards.