Hi to everyone,

Another issue appear for me:

I have one String that I want to display it in one RTF, well, the problem is that I want to display it on multiple lines.
Maybe you'll say to use Chunks, but I already have the complete String with some characters for new line (for example "-" is used for new line, since the "\n" seems not to work when used in Paragraph).
So, instead of "\n", how can I do that ? How can I format one String that will be used in a Paragraph and this one to know that it will have new lines ?

Ex:
String myExampleS="this is a string _ that I need to display _ it ";
Paragraph paraExample=new Paragraph(myExampleS);

The display in the RTF should be:

this is a string
that I need to display
it

Thanks in advance,

Alin.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to