On 22/09/2011 13:05, Massa Alfonso wrote:

Hi,

I have a PDF file NOT generated by LiveCycle Designer and I want add a generic XmlDocument to this.

Probably I have to use the XfaForm class.

This is the structure that I expect to find into the resulted PDF file.

<xdp:xdp xmlns="" xmlns:xdp="http://ns.adobe.com/xdp/";>

<config xmlns="http://www.xfa.org/schema/xci/1.0/"; xmlns:xfa="http://www.xfa.org/schema/xci/1.0/"; />

<template/>

<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/";>

<xfa:data>

<Data1/>

<XmlDocument/>

<DataN/>

</xfa:data>

</xfa:datasets>

</xdp:xdp>

How can I do this with java itext?

Someone can help me with a java sample?


Yes, please read chapter 8 of "iText in Action -- Second Edition".
It explains how to find the different parts of an XFA form.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
iText-questions mailing list
[email protected]
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

Reply via email to