Return-Path: X-Original-To: apmail-pdfbox-users-archive@www.apache.org Delivered-To: apmail-pdfbox-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12205D74B for ; Tue, 19 Mar 2013 07:18:18 +0000 (UTC) Received: (qmail 82760 invoked by uid 500); 19 Mar 2013 07:18:17 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 82418 invoked by uid 500); 19 Mar 2013 07:18:15 -0000 Mailing-List: contact users-help@pdfbox.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@pdfbox.apache.org Delivered-To: mailing list users@pdfbox.apache.org Received: (qmail 82383 invoked by uid 99); 19 Mar 2013 07:18:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 07:18:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [213.133.104.168] (HELO www168.your-server.de) (213.133.104.168) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Mar 2013 07:18:09 +0000 Received: from [78.46.5.204] (helo=sslproxy02.your-server.de) by www168.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1UHqnq-0003En-U6 for users@pdfbox.apache.org; Tue, 19 Mar 2013 08:17:47 +0100 Received: from [93.207.114.96] (helo=mbp001.fritz.box) by sslproxy02.your-server.de with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UHqnn-0007I1-Ou for users@pdfbox.apache.org; Tue, 19 Mar 2013 08:17:43 +0100 From: Maruan Sahyoun Content-Type: multipart/alternative; boundary="Apple-Mail=_140748DC-8025-4F49-AC5C-D131DEDED5BA" Message-Id: <06210A27-9564-4364-BA94-3DE6198C0C5D@fileaffairs.de> Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Merging XFA PDF documents Date: Tue, 19 Mar 2013 08:17:40 +0100 References: To: users@pdfbox.apache.org In-Reply-To: X-Mailer: Apple Mail (2.1503) X-Authenticated-Sender: sahyoun@fileaffairs.de X-Virus-Scanned: Clear (ClamAV 0.97.6/16872/Mon Mar 18 21:56:54 2013) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail=_140748DC-8025-4F49-AC5C-D131DEDED5BA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 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. =85.. 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 = : > Hi, >=20 > Can we use PDF Box to merge XFA PDF documents? We could not merge such = documents using iText without first flattening them. >=20 > Thanks, > Sirisha. --Apple-Mail=_140748DC-8025-4F49-AC5C-D131DEDED5BA--