The best option is to use a PdfPTable.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: Zaher Afra [SMTP:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 11:30
> To:   Paulo Soares
> Subject:      Re: [iText-questions] Hi and hope u can help
> 
> i am using this piece of code
>   ct.setSimpleColumn(llx, lly, urx, ury, 24, Element.ALIGN_LEFT);
>             ct.setSpaceCharRatio(PdfWriter.NO_SPACE_CHAR_RATIO);
>             ct.setLeading(0, 1);
>             ct.setRunDirection(PdfWriter.RUN_DIRECTION_RTL);
>             ct.setAlignment(Element.ALIGN_LEFT);
>             ct.addText(new Paragraph(names, font));
>             ct.go();
> how can i write many lines inside paragraph like words shifted left and
> others shifted right and how can i draw a frame around a text and make it
> bald?
> example
> 
> Hello         hi
> 
> How are u today              hope u can help
> 
> but with a frame surrounding it.!
> 
> ----- Original Message -----
> From: Paulo Soares <[EMAIL PROTECTED]>
> Date: Sunday, July 6, 2003 3:57 pm
> Subject: Re: [iText-questions] Hi and hope u can help
> 
> > You need a X server in your Unix machine. There are other options 
> > but the
> > best way is to ask the system administrator to install it.
> > 
> > Best Regards,
> > Paulo Soares
> > 
> > ----- Original Message -----
> > From: "Zaher Afra" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Sunday, July 06, 2003 8:55
> > Subject: [iText-questions] Hi and hope u can help
> > 
> > 
> > > hello everyone,
> > > i have ajsp page that displays a pdf file it works perfectly 
> > fine when i
> > > run it through tomcat server, but when i move the page and run it
> > > through a Unix servser (broad vision) i get this error ,how can 
> > i fix
> > > it?
> > >
> > > java.lang.InternalError: Can't connect to X11 window server 
> > using '0:0'
> > > as the value of the DISPLAY variable.
> > > at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
> > > at
> > > sun.awt.X11GraphicsEnvironment.(X11GraphicsEnvironment.java:59)
> > > at java.lang.Class.forName0(Native Method)
> > > at java.lang.Class.forName(Class.java:120)
> > > at
> > > 
> >
> java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnviron>
> ment.java:58)
> > > at java.awt.Font.initializeFont(Font.java:264)
> > > at java.awt.Font.(Font.java:348)
> > > at java.awt.Font.getFont(Font.java:365)
> > > at java.awt.font.TextLayout.singleFont(TextLayout.java:409)
> > > at java.awt.font.TextLayout.(TextLayout.java:382)
> > > at com.lowagie.text.pdf.BidiLine.getParagraph(Unknown Source)
> > > at com.lowagie.text.pdf.BidiLine.processLine(Unknown Source)
> > > at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
> > > at com.lowagie.text.pdf.ColumnText.go(Unknown Source)
> > > at
> > > 
> >
> n_00025wmtc.testing._0002fnewmtc_0002ftesting_0002fpdf_00035_0002ejsppdf>
> 5_jsp_1._jspService(_0002fnewmtc_0002ftesting_0002fpdf_00035_0002ejsppdf
> > > 5_jsp_1.java:96)
> > > at
> > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > > 
> >
> org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServle>
> t.java:174)
> > > at
> > > 
> >
> org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:268)>
> at
> > > org.apache.jasper.runtime.JspServlet.service(JspServlet.java:381)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> > > at
> > > 
> >
> com.broadvision.servlet.ServletContainer.service(ServletContainer.java:4>
> 04)
> > > at
> > > 
> >
> com.broadvision.servlet.ServletContainer.processRequest(ServletContainer>
> .java:348)
> > > at
> > > 
> >
> com.broadvision.servlet.ServletContextContainer.processRequest(ServletCo>
> ntextContainer.java:660)
> > > at
> > > 
> >
> com.broadvision.servlet.BVServletEngine.service(BVServletEngine.java:202>
> )
> > > at
> > > 
> >
> com.broadvision.servlet.BVServletConnector.service(BVServletConnector.ja>
> va:139)
> > >
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email sponsored by: Free pre-built ASP.NET sites 
> > including> Data Reports, E-commerce, Portals, and Forums are 
> > available now.
> > > Download today and enter to win an XBOX or Visual Studio .NET.
> > > http://aspnet.click-
> > url.com/go/psa00100006ave/direct;at.asp_061203_01/01> 
> > _______________________________________________> iText-questions 
> > mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/itext-questions
> > >
> > 
> > 


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to