Use 1.4.8. Something will replace Graphic but it's not yet available.

Paulo 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Venkatakrishna T (CI/ISY41-IN)
> Sent: Tuesday, June 26, 2007 9:29 AM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem of Adding French 
> locale datato PdfPTable- Data crosses the table border
> 
> Hello Mr.Paulo,
> Thanks its working
> But when I use the latest itext-2.0.4.jar I have some problems.
> We have developed our own framework using Itext.
> Here we are using "com.lowagie.text.Graphic"
> Is there any upward compatibility for the class.
> 
> 
> 
> >BeQIK - Mit besten Grüßen | Best regards
> >Venkata krishna.T
> >Robert Bosch India Ltd.,
> >Post Box. No. 9501
> Naganathapura Unit
> Bangalore-560 095
> >Office: +91 (80) 4109-5353
> mobile: +91 (80) 9886495164
> >E-mail: [EMAIL PROTECTED]
> >
> >
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Paulo Soares
> Sent: Tuesday, 26. June 2007 1:26 PM
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] Problem of Adding French 
> locale data to PdfPTable- Data crosses the table border
> 
> Use a more recent iText version.
> 
> Paulo
> 
> ----- Original Message -----
> From: "sravya" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, June 26, 2007 7:04 AM
> Subject: [iText-questions] Problem of Adding French locale data to
> PdfPTable- Data crosses the table border
> 
> 
> >
> > hello everybody,
> > I am new to this forum. I am quite long using Itext. I am 
> having problem
> > adding data in french local.
> > Let me explain my problem. we have to generate remuneration 
> i.e salary pdf
> > for associates. when we genearete remuneration pdf using 
> french locale the
> > data is crossing the table border.
> > Here by i am attching the out pdf file and java source. 
> please can anybody
> > tell wether it is bug Itext framework are there is any work 
> around not to
> > cross the border but still align the data.
> > Here is code snippet for converting data to french local.
> >
> > Locale frenchocal=new Locale("fr","FRANCE");
> >
> > DecimalFormat df = (DecimalFormat)NumberFormat.getInstance( 
> aLocale );
> >
> > df.applyPattern("#,##0");
> > String frenchlocal = df.format( new Double (614300000.00));
> >
> > This gives for french local as 614 300 000
> >
> > when i add this data to table with right alignment then it 
> crosses the
> > table
> > border.
> >
> > PdfWriter.getInstance(document,new
> > FileOutputStream("c:\\gamhr\\PaddingLeading.pdf"));
> > document.open();
> > PdfPTable table = new PdfPTable(2);
> > Paragraph p = new Paragraph(localnumber);
> > cell = new PdfPCell(new Paragraph("Checking Right Alignment"));
> > cell.setHorizontalAlignment(Element.ALIGN_RIGHT);
> > table.addCell(cell);
> > cell = new PdfPCell(p);
> > cell.setHorizontalAlignment(Element.ALIGN_RIGHT);
> > cell.setPaddingTop(0f);
> > table.addCell(cell);
> > cell = new PdfPCell(new Paragraph("Checking right Alignment samll
> > number"));
> > cell.setHorizontalAlignment(Element.ALIGN_RIGHT);
> > table.addCell(cell);
> > cell = new PdfPCell(new Paragraph("600"));
> > cell.setHorizontalAlignment(Element.ALIGN_RIGHT);
> > cell.setPaddingTop(0f);
> > table.addCell(cell);
> > document.add(table);
> >
> > Please let me know if you have any answers for this question
> > http://www.nabble.com/file/p11300392/PaddingLeading.pdf 
> PaddingLeading.pdf
> > http://www.nabble.com/file/p11300392/Test.java Test.java


Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter 
informação confidencial ou legalmente protegida. A incorrecta transmissão desta 
mensagem não significa a perca de confidencialidade. Se esta mensagem for 
recebida por engano, por favor envie-a de volta para o remetente e apague-a do 
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de 
usar, revelar ou distribuir qualquer parte desta mensagem. 

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain 
confidential or legally protected information. The incorrect transmission of 
this message does not mean the loss of its confidentiality. If this message is 
received by mistake, please send it back to the sender and delete it from your 
system immediately. It is forbidden to any person who is not the intended 
receiver to use, distribute or copy any part of this message.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to