Fwd: Re: problem with templates in jfor 060
Bertrand Delacretaz <[email protected]> Mon, 24 Jun 2002 12:16:55 +0200
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Organization | codeconsult |
| Message-ID | <[email protected]> |
(forwarded to the list for info, without attachments) Hi Jakob, The arial-22-centered test works ok here (at least the font is set, centering is not but I'm not sure about the template). I enclose the converted RTF and a screenshot of it in Word 97. For this to work, though, I have to copy the template file "jfor-rtf-template-test.dot" to the "templates" directory of my Word97 setup. I'm not sure how far Word supports pathnames in template names - please let me know if you find something. Best regards, -Bertrand On Monday 24 June 2002 10:37, Jakob Bräuchi wrote: > im using the new jfor 060 with the new templates. the problem is that font > styles defined in the .dot file are not used. > > snippet from your sample simple-stylesheet-and-template.fo.xml: > > <fo:block jfor-class="arial-22-centered"> >     This block should have the arial-22-centered style, but >       the style is defined only in the template, not in the XSL-FO > document. > </fo:block> > > the block is rendered with standard font in the rtf. > > the other blocks using styles defined in the ..fo.xml are rendered > correctly. > > > thanks > jakob > ---------- Forwarded Message ---------- Subject: Re: problem with templates in jfor 060 Date: Mon, 24 Jun 2002 12:07:53 +0200 From: Bertrand Delacretaz <[email protected]> To: Jakob Bräuchi <[email protected]> Cc: [email protected] Hi Jakob, The arial-22-centered test works ok here (at least the font is set, centering is not but I'm not sure about the template). I enclose the converted RTF and a screenshot of it in Word 97. For this to work, though, I have to copy the template file "jfor-rtf-template-test.dot" to the "templates" directory of my Word97 setup. I'm not sure how far Word supports pathnames in template names - please let me know if you find something. Best regards, -Bertrand On Monday 24 June 2002 10:37, Jakob Bräuchi wrote: > im using the new jfor 060 with the new templates. the problem is that font > styles defined in the .dot file are not used. > > snippet from your sample simple-stylesheet-and-template.fo.xml: > > <fo:block jfor-class="arial-22-centered"> > This block should have the arial-22-centered style, but > the style is defined only in the template, not in the XSL-FO > document. > </fo:block> > > the block is rendered with standard font in the rtf. > > the other blocks using styles defined in the ..fo.xml are rendered > correctly. > > > thanks > jakob ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/