Forum


Replies: 3   Views: 2927
Size_col example not work on ooo 3.4 and have consequence for conversion plugin
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 QUANTAMEDICAL  · 22-03-2013 - 17:25

I try the example /examples/easy/Table_size_cols.php

Col size is not respected in file generated when i open file in OOO. (3.4.1)

I have to use the converter to doc or to PDF but this need an OOO interpretation and problem is the same (OOO 3.4)


does someone even have this problem ?

Do you have any solution ?

NB : if i create a new file in word with table and ajust size of col, then save; when i open the file with OOO, size col are good

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

Hello,

We'll check this issue.

Regards.

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

2 corrections inserted inside your application :
Createtable.inc
public function createTable()
error of parenthesis corrected : if (isset($args[1]['size_col']) && is_array($args[1]['size_col']) && isset($args[1]['size_col'][$intGridCol])) {

Createdocx.inc
public function createDocxAndDownload()
add header for https and IE7 download error :

header("Pragma: public"); // POUR HTTPS
header("Cache-Control: cache, must-revalidate"); // IDEM

OOO is not a good tools to convert docx, it doesn't interpret correctly Open XML WordprocessingML.
i don't speak about not repect of rowspan ... no insertion of jpeg ...

After passed 3 days on our application, i have to change of conversion tools that do a better work. (Saaspose)