Hello,
There is a little bug in the class with the ZIP parameters. It will be correct in next version. You can change in the class :
exec($this->_zip_bin.' -u -j -m '.$this->_ooo_basename.'.'.$this->_ooo_file_ext.' '.$this->_ooo_basename.'/'.$this->_xml_filename);
|
by
exec($this->_zip_bin.' -j -m '.$this->_ooo_basename.'.'.$this->_ooo_file_ext.' '.$this->_ooo_basename.'/'.$this->_xml_filename);
|
> On other subjects:
> Although you write that one can't put a picture into the document dynamically
> I hope one can insert a picture by linking it instead of copy - at least you can do that in MSWord so I am sure you can here as well.
> Since Oo must store the filename somewhere in theory I see no reason why that couldn't be substituted with a variable.
For image substitution, I write some code, but it's work only with PHP5, because of the native XML functions in PHP5.
I will release that in a next version who works with TBS 3.0
> One more question:
> All the demo docs use Oo version 1 file formats. Is there anything in
> TBS (except the extension) specific to v1 or I can use it with v2 files as well?
tbsOOo work with all the OOo format, V1 and V2.
Olivier