On 2/11/2011 12:32, Abdelaziz Fitouri wrote:
I have a HTML code snippet which contains <table> in which the columns
contain Arabic text.
after rendering the html snippet by "HTMLWorker" class the resulting
element
is instance of a PdfPTable which is shown in the pdf file but the text
direction is from left to right.
HTMLWorker will be discontinued. It's advised to switch to XML Worker:
http://demo.itextsupport.com/xmlworker
i have tried with Stylesheet class, PdfTable.setRunDirection(), but
the text is always from left to right.
Are they any solution to this problem?
I don't know if Right-To-Left writing is supported in XML Worker. The
best way to find out is to test it here:
http://demo.itextsupport.com/xmlworker
------------------------------------------------------------------------------
RSA® Conference 2012
Save $700 by Nov 18
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php