Forum


Replies: 5   Views: 4114
Nested table display error when converting to pdf
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 tonioseiler  · 21-05-2015 - 10:43

I am using the OpenOffice Conversion.... Ok, that was it. Important detail: When setting width, columnWidths, or tableWidth, alwaysset values as Integer, never floating points. This works in OpenOffice but not when converting. Use intval() to make sure its a Integer. For Example: 'tableWidth' => array('type' => 'dxa', 'value' => intval(2 * $columnWidth - 1000)),