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 A1DA211AA8 for ; Sun, 31 Aug 2014 05:53:59 +0000 (UTC) Received: (qmail 87771 invoked by uid 500); 31 Aug 2014 05:53:59 -0000 Delivered-To: apmail-pdfbox-users-archive@pdfbox.apache.org Received: (qmail 87746 invoked by uid 500); 31 Aug 2014 05:53:59 -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 87734 invoked by uid 99); 31 Aug 2014 05:53:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Aug 2014 05:53:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of laurenty@gmail.com designates 209.85.217.169 as permitted sender) Received: from [209.85.217.169] (HELO mail-lb0-f169.google.com) (209.85.217.169) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 31 Aug 2014 05:53:53 +0000 Received: by mail-lb0-f169.google.com with SMTP id l4so4478995lbv.28 for ; Sat, 30 Aug 2014 22:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=jnSfiJHcrqLpNghR65KkT+XlZitowsYIQsGOu9abjWE=; b=ztM4lLKTQDts8a7TDX0RjKuhVUqJ0j6OJEHQZTSxL24j6llxcz08icB93FyLVYDTo8 TMoO1L5VYOKuErf6k0Ss8YzS4yFO9iFXGCigUuf0NqR5c/QhKkj1ct+uarsIBe0VNxBz mCK0npWW2PawXS3Xrbs9q1C/XWJs9nNOT9Vz3an+dzoZm6XD286qdwqSN9rzAgUV4HL6 9N2r4PF3jbU0cLZS77zMh6wjzRcd+vW2oXjV18XVbx+iuSTBL1wiiOvJUkE9pDWuEjVa k0EgZCBcamITiYr9YgK8Ttkjj6eZOw3ULH5rdx6XmIYB7ZhMGZ/sInW0eMoovzbMHP0g 5r1Q== X-Received: by 10.112.48.103 with SMTP id k7mr20321976lbn.32.1409464411881; Sat, 30 Aug 2014 22:53:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.253.166 with HTTP; Sat, 30 Aug 2014 22:53:11 -0700 (PDT) In-Reply-To: References: From: Laurent Yaish Date: Sat, 30 Aug 2014 22:53:11 -0700 Message-ID: Subject: Re: Multi-page overlay with OverlayPDF in PDFBox 1.8.2 To: users@pdfbox.apache.org Content-Type: multipart/alternative; boundary=001a113486d298091c0501e681d2 X-Virus-Checked: Checked by ClamAV on apache.org --001a113486d298091c0501e681d2 Content-Type: text/plain; charset=UTF-8 Hi Tilman, I think you responded right before I subscribed to the list, so sorry if I'm messing this up. 3) was that the PDF generated only used the first page of the template on each of the 12 pages of the document. But looking at the code I see that this is by design. This was using 1.8.2. With 1.8.6 there was no overlay at all, the generated PDF looked just like the original document. I will give the 1.8.7 snapshot a try. Thanks Laurent On Sun, 31 Aug 2014 01:24:33 +0200, Tilman Hausherr wrote: > Hello Laurent, I'm not the overlay specialist here but a good bug report > has three > components: > 1) what you tried to do - you mentioned it > 2) what you were expecting - you mentioned it > 3) what happened instead - ???? (3) is just "but couldn't get it to work" > instead of a description of > what really happened. However... Andreas recently (today) solved a bug in > the overlay code, so > please test a current snapshot .jar: > > http://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/1.8.7-SNAPSHOT/pdfbox-app-1.8.7-20140830.170955-123.jar > If it works - great > If it doesn't work - please open an issue in JIRA, and describe what > happened. Tilman On Sat, Aug 30, 2014 at 2:37 PM, Laurent Yaish wrote: > Hi, > > I'm trying to overlay a 12 page PDF with a 2 page "template". > With the old Overlay implementation it would repeat the template 6 times: > page 1, page 2, page 1... > > I tried several of the options documented, but couldn't get it to work > like it used to. > > Does the new implementation support this? > > I'm only using 1.8.2 because the code appears to be broken in the latest > 1.8.6. > > Thanks > > Laurent > > --001a113486d298091c0501e681d2--