I am trying to create a PDF from a XML with iTextsharp. I have a few 
problems and questions:

1) In version 5.0.0 I was not able to parse a XML file. Especially as 
the class ITextHandler is missing. What is the proper work flow to parse 
a XML file to create PDFs in 5.0.0?

2) I was able to parse XML with version 4.1.6. Where can I look up the 
parameters for the 'align' attribute? Following example does not change 
any alignment of a paragraph.

<itext producer="test">
   <paragraph align="Left">
     First text on the left
   </paragraph>
   <paragraph align="Middle">
     Second text in the middle
   </paragraph>
   <paragraph align="Right">
     Third text on the right
   </paragraph>
</itext>

3) How can I define in the XML specific Type 1 fonts to set for certain 
paragraphs (different sizes, bold)? Also, how can I define True Type 
fonts in the XML?

Thank you.

-- 
Kim Hoang

Software Engineer

kho...@ayondo.com

Tel   +49 (0)69 9799 52-35
Fax   +49 (0)69 9799 52-37

ayondo GmbH | Clemensstr. 3 | 60487 Frankfurt am Main

HRB 84169 | Amtsgericht Frankfurt am Main

USt-ID-Nr. DE 257868020

www.ayondo.com

Der Inhalt dieser E-Mail (einschließlich etwaiger beigefügter Dateien) 
ist vertraulich und nur für den Empfänger bestimmt. Sollten Sie nicht 
der bestimmungsgemäße Empfänger sein, ist Ihnen jegliche Offenlegung, 
Vervielfältigung, Weitergabe oder Nutzung des Inhalts untersagt. Bitte 
informieren Sie in diesem Fall unverzüglich den Absender und löschen Sie 
die E-Mail (einschließlich etwaiger beigefügter Dateien) von Ihrem 
System. Vielen Dank.

The contents of this e-mail (including any attachments) are confidential 
and may be legally privileged. If you are not the intended recipient of 
this e-mail, any disclosure, copying, distribution or use of its 
contents is strictly prohibited, and you should please notify the sender 
immediately and then delete it (including any attachments) from your 
system. Thank you.


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to