From s.marechal at jejik.com Tue Jul 6 10:22:51 2010 From: s.marechal at jejik.com (Sander Marechal) Date: Tue, 06 Jul 2010 10:22:51 +0200 Subject: [odf-xslt] How to handle ODP file In-Reply-To: <50182F7B-6A2E-43C9-A546-8DE7D493DEE1@gmail.com> References: <50182F7B-6A2E-43C9-A546-8DE7D493DEE1@gmail.com> Message-ID: <4C32E7DB.1070706@jejik.com> On 06/27/2010 02:57 PM, robert lee wrote: > The library works very well on the ODT file. Do you have example of how to use ODP file as template following two use case. > > 1) Replace Text > > OpenOffice impress does not have Insert->Field->Other to put in a special tag. Is there an alternate method. Yes, there are two methods. Both are explained in the manual: http://www.jejik.com/odf-xslt/manual/#2_2_1 The first is to use the a element, with "ODF_XSLT" as script type (see the screenshots in the manual). The second way is to simply put the ODF-XSLT tags directly into the document as plain and simple text. This works, although it doesn't look very good. > 2) Replace Image > > I use the following in the Title of the Description of the image and received the below error. Any guidance on the correction? It would be useful if you can send me the document that throws this error. Solving these kinds of issues is a lot easier when I can read the XML source of the document. PS: Apologies for my later response. You message was stuck in the spam queue of my mailinglist. Kind regards, -- Sander Marechal