Use version 0.94. Hyphenation support in ColumnText will be restored in the
next version.
Best Regards,
Paulo Soares
> -----Original Message-----
> From: Friedhelm Matten [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, December 13, 2002 13:54
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] hyphenation in version 0.95
>
> Hi,
>
>
> I use iText 0.95 all work fine.
> I have only one Problem:
>
>
> In the following example, I wrote a column text with hyphenation.
>
> The Example doesen't work!
>
> Why...?? what made I wrong???
>
>
>
> Chunk chk = new Chunk("Das Umweltschtuzabkommen der
> Anreinerstaaten einer vielen in Mittelamerika Das Umweltschtuzabkommen der
> Anreinerstaaten in Mittelamerika Das Umweltschtuzabkommen der
> Anreinerstaaten in Mittelamerika?",uv47cl10);
> // Paragraph p = new Paragraph(chk);
>
>
> HyphenationAuto autoDE = new HyphenationAuto("de","DR",0,0);
> Phrase pr = new Phrase(chk.setHyphenation(autoDE));
> document.add(pr);
>
> ct2.addText(chk);
>
>
>
>
> int status2 = 0;
> int column2 = 0;
> while((status2 & ct2.NO_MORE_TEXT) == 0) {
> // ct2.setSimpleColumn(147.3987f, currentY-8,400f,50f,
> 8,Element.ALIGN_UNDEFINED);
>
> ct2.setSimpleColumn(100f,
> currentY-5,250f,currentY,5,Element.ALIGN_JUSTIFIED);
> status2 = ct2.go();
> //System.out.println("status "+ status2+" NO_MORE_TEXT
> "+ct2.NO_MORE_TEXT);
> //System.out.println("page " + writer.getPageNumber() + "
> column2 " + column2);
>
> if(ct2.NO_MORE_COLUMN>1)
> currentY=ct2.getYLine()-20;
>
> //System.out.println("More cols: "+ct2.NO_MORE_COLUMN);
> //System.out.println("No More Text: "+ct2.NO_MORE_TEXT);
> //System.out.println("currentY: "+currentY);
>
> if(currentY < 100){
> document.newPage();
> }
> }
>
>
> Many Thanks and best regards
>
>
>
>
>
> --
> Mit freundlichen Gr�ssen
> Friedhelm Matten
> mailto:[EMAIL PROTECTED]
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions