With OpenTBS you can merge OpenOffice - LibreOffice and Ms Office documents with PHP using the TinyButStrong template engine. Simple use OpenOffice - LibreOffice or Ms Office to edit your templates : DOCX, XLSX, PPTX, ODT, OSD, ODP and other formats. That is the Natural Template philosophy.
I have the problem that my version of Libreoffice sometimes likes to insert superfluous text:span elements. The problem is that this result in OpenTBS failing to substitute tag. For example I have the tag
[onshow.orchestra:treasurer:email]
which sometimes is "cut" into pieces in content.xml like
<text:span text:style-name="T27">[</text:span><text:span text:style-name="T24">onshow.orchestra:treasurer:email]</text:span>
So in this particular case the leading square-bracket is separated by this span element.
Is there a way to make OpenTBS "fix" this issue or to prevent LibreOffice from doing things like this?
In this particular example the [onshow.orchestra:treasurer:email] is correctly substituted in the field below the signature, but not in the sender-address-field of the letter.
Any known work-around, except unzipping, editing and re-packing the document?
I can somehow work-around this problem by first cutting the paste in LO, and then use "Paste Special -> Unformatted Text". But this is just too complicated. Users do not expect problems like this.
Hi,
I have the problem that my version of Libreoffice sometimes likes to insert superfluous text:span elements. The problem is that this result in OpenTBS failing to substitute tag. For example I have the tag
[onshow.orchestra:treasurer:email]
which sometimes is "cut" into pieces incontent.xml
like<text:span text:style-name="T27">[</text:span><text:span text:style-name="T24">onshow.orchestra:treasurer:email]</text:span>
So in this particular case the leading square-bracket is separated by this span element.Is there a way to make OpenTBS "fix" this issue or to prevent LibreOffice from doing things like this?
Here is the particular Office-file:
instrument-insurance-record.odt
In this particular example the
[onshow.orchestra:treasurer:email]
is correctly substituted in the field below the signature, but not in the sender-address-field of the letter.Any known work-around, except unzipping, editing and re-packing the document?
Kind thanks
Claus