|All requests||>||Adding excel object in docx||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Premlatha - 3 months ago (2023-03-04)
I have use phpword to add excel object to word file. First problem, it appear as icon in docx. Secondly, could not access the added object to edit content of excel using phpword.
1. by Manuel Lemos - 3 months ago (2023-03-04) Reply
Can you ask that in the PHP specialists forum?
by Marco Sillano 225 - 2 months ago (2023-03-13) Comment
For a different solution, you can try the odtphp.php class.
This class uses ODT files (Open Office, not Word). It is template based (i.e. it cannot generate new files nor add excel objects) but it does: * Simple substitution based on couples #field#/value. * Blocks and nested block duplication (any deep) or deletion. * Pictures substitution.
The output is a new ODT file, the updated template. Tested on A3 and on multipage (35) templates. The other classes in the package are the MySql interface and HTML user interface.
hoping it helps m.s.
1. by Marco Sillano Reply- 2 months ago (2023-03-13)