Forum


Replies: 5   Views: 3457
Word, open office, 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 Jean7  · 24-04-2014 - 13:16

Hi,


With the same script I have three different display.


When I open the same docx file with Word and Open Office I have a much different view


And with the generated PDF file is worse.


I use (CreateDocx Class and TransformDoc Class)


Someone already had this scenario ?


Thanks


Regards.

Posted by Jean7  · 24-04-2014 - 15:22

For example



OpenOffice : http://hpics.li/4dd8360



Word : http://hpics.li/b05df44



PDF : http://hpics.li/776fc95



Thanks



Regards.


Posted by jorgelj  · 25-04-2014 - 09:06

Hello,



You need to force a width to the rows.



What license of PHPDocX are you using?



Regards.


Posted by Jean7  · 25-04-2014 - 09:44

I use the community version, Settings of my table are:



$paramsTable = array(

                'TBLSTYLEval' => 'Tablanormal',

                'border' => 'single',

                'border_sz' => 10,

                'border_spacing' => 0,

                'border_color' => '000000',

                'jc' => 'center',

                'size_col' => 550,

                'font' => 'Arial'    

        );



 



Thanks



Regards.



 


Posted by jorgelj  · 25-04-2014 - 10:57

Hello,



The community version lacks many features included in PRO, PRO+, Corporate and Enterprise versions.



It's fine to create basic DOCX but not to do more complex features.



Regards.