----- Original Message Follows -----
> On Tuesday 22 November 2005 09:38, Stanislav wrote:
> > Is it posible to "correct" line spacing in RTF document?
> Correct in what way? The RtfWriter2 follows the settings given in the leading
> of the current Paragraph.
>

I use tabels and phrase, and when i put text in tabel get line spacing higher 
then 1.0 and i don't
want that.

Here is some part of the code:

Phrase Ph5033 = new Phrase(godisnjaKamatnaStopa, 
FontFactory.getFont(FontFactory.TIMES_BOLD, 11,
Font.BOLD, new Color(0, 0, 0)));
Phrase Ph5034 = new Phrase("% godišnje. Gosp./Gđa. je zaposlen/a u " + 
nazivPoslodavcaK + " "
+ mjestoPoslodavcaK, FontFactory.getFont(FontFactory.TIMES_ROMAN, 11, 
Font.NORMAL, new Color(0, 0,
0)));


Cell cell5026 = new Cell();
cell5026.setColspan(7);
cell5026.add(Ph5033);
cell5026.add(Ph5034);
cell5026.setBorderWidth(0);
cell5026.setBorderColor(new Color(0, 0, 0));
cell5026.setHorizontalAlignment(Element.ALIGN_LEFT);
cell5026.setVerticalAlignment(Element.ALIGN_CENTER);
cell5026.setBackgroundColor(new Color(255,255,255));


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to