On Tuesday 21 December 2004 01:05, Kahuna wrote: > 1. When generating the header of the RTF document, I have to set > the footer also, otherwise header will not be shown. When setting > the footer I have to set one or more of footers for > RtfHeaderFooter.DISPLAY_RIGHT_PAGES or/and > RtfHeaderFooter.DISPLAY_LEFT_PAGES or/and > RtfHeaderFooter.DISPLAY_FIRST_PAGE. > Setting only RtfHeaderFooter.DISPLAY_ALL_PAGES does > not help, Header will not be shown (or rather generated, it is > not shown and file size shows that probably not generated at all). This looks like a bug, I will look into it.
> 2. The second thing I have noticed (Im not sure is it a bug or a feature) > is the problem with Lists. When creating listItem from a String with > some newline characters I do not have one list item but as many as above > mentioned String have lines. The PDF writer seems to convert newlines to > soft line breaks probably. I checked manualy with m$word that list items > in rtf can have soft line breaks (represented as \line). The RtfWriter converts all newline characters to hard line breaks. This is in effect broken by design. I'll have a look what can be done about it. > 3. There is also some bug with RTF propagation of font style. I do not have > any ideas why some times font style propagates in one part of document > when it shouldn't and some times everyting is fine. When Ive got this > problem > Im prefixing the problematic part with phrase " " with font style set to > one I want > to use and then adding text with again the same font style. It is quick > & dirty but > fixes the problem. I'll need an example of code that produces this behaviour. Greetings, Mark -- He was a fiddler, and consequently a rogue. -- Jonathan Swift My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpNooETTmm6k.pgp
Description: PGP signature
