pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maruan Sahyoun <sahy...@fileaffairs.de>
Subject Re: Merging XFA PDF documents
Date Wed, 20 Mar 2013 05:36:36 GMT
Hi Sirisha,

PDFBox can help you to get the individual XFA content out and in (in can be done today only
by using low level routines we are working on a slightly higher level method). The combination
of the XFA has to be done outside (it's pure XML handling outside of the scope of PDFBox).
To understand how form stiching works I think it's best to read the Adobe LiveCycle Assembler
documentation on the topic.

With kind regards

Maruan Sahyoun

FileAffairs GmbH
Josef-Schappe-Straße 21
40882 Ratingen

Tel: +49 (2102) 89497 88
Fax: +49 (2102) 89497 91
sahyoun@fileaffairs.de
www.fileaffairs.de

Geschäftsführer: Maruan Sahyoun
Handelsregister: AG Düsseldorf, HRB 53837
UST.-ID: DE248275827

Am 20.03.2013 um 02:19 schrieb Sirisha Dinavahi <sirisha.dinavahi@codeobjects.com>:

> Thanks Maruan for your response.
> In our case we would like to combine the documents to display the combined form in adobe
reader.
> Could you shed some light on forms stitching? Is this something we can achieve using
some APIs?
> 
> Regards,
> Sirisha.
> ________________________________________
> From: Maruan Sahyoun [sahyoun@fileaffairs.de]
> Sent: Tuesday, March 19, 2013 12:17 AM
> To: users@pdfbox.apache.org
> Subject: Re: Merging XFA PDF documents
> 
> Hi Sirisha,
> 
> could you describe what you would like to achieve a little? If the use case is to merge
XFA documents to have an end document for archiving purposes flattening is the right way to
go. If you would like to combine the XFA documents to have a new form which you could display
in Adobe Reader you could extract the XFA content, combine it and put it back in - that's
called forms stiching. …..
> 
> Currently PDFBox is not able to flatten a dynamic XFA document. You could use it to flatten
static XFA documents but that has to be done using low level API functions. There is no high
level API such as doc.flattenXFA() or so. There is some basic support for extracting XFA content.
We are working on being able to put XFA content in.
> 
> If you need some further hints - also possible alternatives - let us know.
> 
> Kind regards
> 
> Maruan Sahyoun
> 
> Am 18.03.2013 um 17:32 schrieb Sirisha Dinavahi <sirisha.dinavahi@codeobjects.com>:
> 
>> Hi,
>> 
>> Can we use PDF Box to merge XFA PDF documents? We could not merge such documents
using iText without first flattening them.
>> 
>> Thanks,
>> Sirisha.
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message