On Thursday 01 December 2005 19:13, Shailesh Ligade wrote: > I can't draw HorizontalLine. The code is as follows Graphics are not supported.
> I searched the mailing list but don't know how everyone resolved this > problem. > > Also I want to use getTableFitToPage method from RtfTable. How I can > convert Table to RtfTable? This method, as per java doc, is protected..So I > am bit lost. You cannot use getTableFitToPage with the RtfWriter2. RTF is only rendered when viewed in the final viewing program (eg. Word). The RtfWriter2 cannot determine whether a Table fits onto a page since it doesn't to any rendering. Setting tableFitsPage will cause the RtfWriter2 to instruct the final viewer to try to get the table onto one page, but that is entirely up to the viewer application. Greetings, Mark -- Don't get to bragging. My GPG public key is available at: http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc
pgpMri3Pva0jr.pgp
Description: PGP signature
