Nahla,

 

I cannot tell you anything about your Jxcell problem, but do your users have
MS Office 2007?  If so you can download a free addition to Office to allow
you a menu option to convert to Pdf.  This would be much easier than you
writing code.

 

Rick

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nahla
Farouk
Sent: Monday, August 11, 2008 3:14 AM
To: [email protected]
Subject: [iText-questions] a question about iText

 

Dear Sirs,

 

My name is Nahla Farouk, a java developer in Delta Insurance Company, Cairo,
Egypt.

I was asked to convert an excel file to a pdf format, and I found an example
that used the Jxcell and iText packages which uses this code:

 

m_view.read("book.xls");

            m_view.setPrintScale(100);                    // set print scale
value --- default is 100%

            m_view.setPrintGridLines(false);           //show grid line

            m_view.write("1.pdf",View.eFilePdf);   //export to pdf file

 

and it is successfully save as the excel sheet into a pdf format, but this
is in English only, and when I used the same code in an excel sheet with
Arabic data, it displayed the data in reverse shape, like نهلة"" it displays
it as "ةلهن" and I changed the font of the data much times, there are some
supported fonts and there are some errors in some others, 

 

I hope you help me about this please.

 

Thanks in advance,

 

Best regards

 

Nahla Farouk

Software Developer

Delta Insurance Co.

Tel: +(202) 335-2045  Ext: 509

Fax :+(202) 336-1531

email: [EMAIL PROTECTED]

Web:  <http://www.deltains.org> www.deltains.org

 

 

<<image002.jpg>>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to