Hi Bruno,
        I have problem in creation of PDF using XML. I am just following
the example given in http://www.lowagie.com/iText/tutorial/ch07.html. I
am trying to merge data from database with the xml file. 
I am able to merge the data but not able to align the data. I am not
able to apply any formating properties on the merged data.
Example:
<letter> 
        To: <mail /> <newline /> 
        Ref: your website  <newline /> <newline /> 
        Hello <givenname /> ,   <newline /> <newline /> 
        I visited your website a while ago ( <website /> ) and I saw you
added a link to iText, my free JAVA-PDF library. So I thought to myself,
hey, I'm going to send mr  <name /> 
        a little mail to thank him. If you want to I can also add a link
to your site on the iText links-page. Just let me know,  <newline />
<newline />  kind regards, <newline /> 
<paragraph font="Times"  align="Right"> Bruno Lowagie  </paragraph>
</letter>
The code marked in red is not working. If the same I give at the
beginning before <mail/>, it works. Table properties are working fine
anywhere in the code. 
Please suggest me if I am going wrong. I am uisng exactly your sample
code which I have mentioned above.
Also I need help on Font/encoding to display Japanese letters. Now in
this XML I have to put Japanese Characters. In xml, they are fine to
display. But I am not able to display the characters in PDF generated.

Please do me favour on above mentioned.

Thanks and Regards
Jani





---------------------------------------------------------------------------------------------------------------------------------------------------------
Attention

This e-mail may contain confidential and/or privileged information. If you are 
not the intended named recipient or have received this e-mail in error, please 
delete it immediately, including any and all copies of it from your system, 
destroy any hard copies and notify the sender. Unintended recipients must not 
directly or indirectly use, disclose, distribute, print or copy any part of 
this message. Such, actions are strictly forbidden and can result in action 
legal against violators.  

ING Life Insurance Ltd, reserve the right to monitor all email communications 
through its networks.

???????????????????????(????????????????????)????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
 


??????????????????????????????????????????????????????????

---------------------------------------------------------------------------------------------------------------------------------------------------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to