I looked at your message. Is it possible for you to share code for
XDPDOMParser. I was trying it ths way ..
XfaForm xfaForm = new XfaForm( pdfStamper.getReader() );
Node domDocument = xfaForm.getDomDocument();
Node newDoocument = modifyDomv(domDocument);
xfaForm.setChanged( true );
xfaForm.setXfa( xfaForm.serializeDoc( newdomDocument ),
pdfStamper.getReader(), pdfStamper.getWriter() );
stdunbar wrote:
>
> I answered a question similar to this a while ago (see
> http://article.gmane.org/gmane.comp.java.lib.itext.general/34453 for
> more information). The biggest issue you may have though is that you
> may have to create the xfa:data area yourself. That involves reverse
> engineering the template section of the XDP form. Once you have an
> xfa:data area then you can set the not values as needed and import the
> XDP data back into the PDF.
>
>
> Richard S Akura wrote:
>> I am new to iText and have just started using it. I need to pre-fill
>> values
>> in text items in pdf XFA forms generated by Adobe Livecycle.
>>
>> I can get to the node using xfaForm.getDomDocument() and can change the
>> node
>> values but not sure how to set these back in pdf document
>>
>> Is this possible to do ?
>>
>> Any help is appreciated.
>>
>
>
> -------------------------------------------------------------------------
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
--
View this message in context:
http://www.nabble.com/Pre-Populating-fields-in-an-XFA-form-tp14409379p14437539.html
Sent from the iText - General mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/