JFOR Pages format
David Faehndrich <[email protected]> Thu, 15 Apr 2004 14:03:04 +0200 (CEST)
| Newsgroups | gmane.text.xml.jfor.general |
|---|---|
| Message-ID | <[email protected]> |
--0-59499858-1082030584=:58431
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
I'm writing an RTF file programmatically with JFOR like this :
RtfFile f = new RtfFile(w);
RtfSection sect = f.startDocumentArea().newSection();
RtfParagraph p = sect.newParagraph();
p.newText("Hello, RTF world.\n",null);
The rtf file is correctly written, but the format is Letter 8.5 * 11.
What should I do to be able to set change the format to A5 ?
Thanks for your help
---------------------------------
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
Créez votre Yahoo! Mail
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !
--0-59499858-1082030584=:58431
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>
<DIV>I'm writing an RTF file programmatically with JFOR like this :</DIV>
<DIV> </DIV>
<DIV>RtfFile f = new RtfFile(w);<BR>RtfSection sect = f.startDocumentArea().newSection();<BR>RtfParagraph p = sect.newParagraph();<BR>p.newText("Hello, RTF world.\n",null);</DIV>
<DIV> </DIV>
<DIV>The rtf file is correctly written, but the format is Letter 8.5 * 11.</DIV>
<DIV> </DIV>
<DIV>What should I do to be able to set change the format to A5 ?</DIV>
<DIV> </DIV>
<DIV>Thanks for your help</DIV>
<DIV></DIV></DIV><p>
<hr size=1>
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
<br><a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/mail/mail_taglines/default/*http://fr.benefits.yahoo.com/">Créez votre Yahoo! Mail</a>
<br><br>
Dialoguez en direct avec vos amis grâce à <a href="http://fr.rd.yahoo.com/mail/taglines/*http://fr.rd.yahoo.com/messenger/mail_taglines/default/*http://fr.messenger.yahoo.com/">Yahoo! Messenger !</a>
--0-59499858-1082030584=:58431--
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click