Forum


Replies: 2   Views: 3057
Clearblocks() messes document sections
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 pks  · 14-02-2012 - 18:16

Hi. I have a template with 2 sections, each with different header/footer. Template contains multiple dynamic blocks. If I call clearBlocks() at the end, the document is messed, section 1 is removed completely, and all content is moved to section 2 actually. If I don't call clearBlocks sections are preserved right and report is generated correctly, but with the blocks tags of course. Are you aware of any issues that can cause this? Thanks.

Posted by pks  · 11-04-2013 - 12:13

Anyone experiences this? Is this a bug?