Replies: 4   Views: 2878
Table cell content not display is pagebreak necesary - if use ms word 2010...
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 Sven May  · 16-02-2016 - 15:07


I found a really strange problem. In my opinion this is a Microsoft not PhpDocx bug...however I decided that ask you...maybe you have a solution for it :)

When I generate a document. Inside I create tables with Docx addTable() method. It works really fine. In some case the content of the last cell(s) - last cell means last on a page - is bigger than than the space at the end of the page. The generation process insert a page break automatically and the content of the cell(s) - and of course the cell of the table continue fine on the next case I open the generated document in MS Word 2013.

If I open the generated document in MS Word 2010 the bigger content is hidden so it not continue on the next page. It seems the bigger content "goes under the table border and not readable" till...the user select the design tab in the MS Word 2010 at the top, search for the table design pattern and move the mouse over the selected design. Not any mouse click just an over move. Move away the mouse from the design and the earlier hided huge content appears on the next page like continue the content of the cell.

As I mentioned it is really strange bug and I just hope that I could explain it to understand and not confused you!

So! The question is: is anybody who met with this bug and know any solution for it?