[jira] [Commented] (PDFBOX-2314) Restore backward compatibility between Overlay and OverlayPDF
[ https://issues.apache.org/jira/browse/PDFBOX-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134911#comment-14134911 ] Laurent Yaish commented on PDFBOX-2314: --- Thank you for fixing this [~lehmi]! > Restore backward compatibility between Overlay and OverlayPDF > - > > Key: PDFBOX-2314 > URL: https://issues.apache.org/jira/browse/PDFBOX-2314 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.6 >Reporter: Laurent Yaish >Assignee: Andreas Lehmkühler > Fix For: 1.8.7, 2.0.0 > > > There is a major difference with the way the overlay pages are handled > between the Overlay tool from PDFBox 1.6.x and the latest OverlayPDF in 1.8.6. > In the original version, when using a multi-page PDF overlay, all pages from > the overlay would be combined with the original document. The latest version > only uses the first page of the overlay. > Example with a 6 page document and a 2 page (A, B) overlay: > Expected behavior: > A, B, A, B, A, B > Current behavior: > A, A, A, A, A, A > Here's the reference to the documentation of the original behavior taken from > http://svn.apache.org/viewvc/pdfbox/tags/1.6.0/pdfbox/src/main/java/org/apache/pdfbox/Overlay.java?view=markup > {code} > /** > * Overlay on document with another one. > * e.g. Overlay an invoice with your company layout > * > * How it (should) work: > * If the document has 10 pages, and the layout 2 the following is the > result: > * > * Document: 1234567890 > * Layout : 1212121212 > * > * > * > * @author Mario Ivankovits (ma...@ops.co.at) > * @author Ben Litchfield > * > * @version $Revision: 1.7 $ > */ > public class Overlay > { > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (PDFBOX-2314) Restore backward compatibility between Overlay and OverlayPDF
[ https://issues.apache.org/jira/browse/PDFBOX-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134243#comment-14134243 ] ASF subversion and git services commented on PDFBOX-2314: - Commit 1625104 from [~lehmi] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1625104 ] PDFBOX-2314: added backward compatibility between Overlay and OverlaPDF as proposed by Laurent Yaish > Restore backward compatibility between Overlay and OverlayPDF > - > > Key: PDFBOX-2314 > URL: https://issues.apache.org/jira/browse/PDFBOX-2314 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.6 >Reporter: Laurent Yaish > Fix For: 1.8.7, 2.0.0 > > > There is a major difference with the way the overlay pages are handled > between the Overlay tool from PDFBox 1.6.x and the latest OverlayPDF in 1.8.6. > In the original version, when using a multi-page PDF overlay, all pages from > the overlay would be combined with the original document. The latest version > only uses the first page of the overlay. > Example with a 6 page document and a 2 page (A, B) overlay: > Expected behavior: > A, B, A, B, A, B > Current behavior: > A, A, A, A, A, A > Here's the reference to the documentation of the original behavior taken from > http://svn.apache.org/viewvc/pdfbox/tags/1.6.0/pdfbox/src/main/java/org/apache/pdfbox/Overlay.java?view=markup > {code} > /** > * Overlay on document with another one. > * e.g. Overlay an invoice with your company layout > * > * How it (should) work: > * If the document has 10 pages, and the layout 2 the following is the > result: > * > * Document: 1234567890 > * Layout : 1212121212 > * > * > * > * @author Mario Ivankovits (ma...@ops.co.at) > * @author Ben Litchfield > * > * @version $Revision: 1.7 $ > */ > public class Overlay > { > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (PDFBOX-2314) Restore backward compatibility between Overlay and OverlayPDF
[ https://issues.apache.org/jira/browse/PDFBOX-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134207#comment-14134207 ] ASF subversion and git services commented on PDFBOX-2314: - Commit 1625097 from [~lehmi] in branch 'pdfbox/branches/1.8' [ https://svn.apache.org/r1625097 ] PDFBOX-2314: added backward compatibility between Overlay and OverlaPDF as proposed by Laurent Yaish > Restore backward compatibility between Overlay and OverlayPDF > - > > Key: PDFBOX-2314 > URL: https://issues.apache.org/jira/browse/PDFBOX-2314 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.6 >Reporter: Laurent Yaish > Fix For: 1.8.7, 2.0.0 > > > There is a major difference with the way the overlay pages are handled > between the Overlay tool from PDFBox 1.6.x and the latest OverlayPDF in 1.8.6. > In the original version, when using a multi-page PDF overlay, all pages from > the overlay would be combined with the original document. The latest version > only uses the first page of the overlay. > Example with a 6 page document and a 2 page (A, B) overlay: > Expected behavior: > A, B, A, B, A, B > Current behavior: > A, A, A, A, A, A > Here's the reference to the documentation of the original behavior taken from > http://svn.apache.org/viewvc/pdfbox/tags/1.6.0/pdfbox/src/main/java/org/apache/pdfbox/Overlay.java?view=markup > {code} > /** > * Overlay on document with another one. > * e.g. Overlay an invoice with your company layout > * > * How it (should) work: > * If the document has 10 pages, and the layout 2 the following is the > result: > * > * Document: 1234567890 > * Layout : 1212121212 > * > * > * > * @author Mario Ivankovits (ma...@ops.co.at) > * @author Ben Litchfield > * > * @version $Revision: 1.7 $ > */ > public class Overlay > { > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (PDFBOX-2314) Restore backward compatibility between Overlay and OverlayPDF
[ https://issues.apache.org/jira/browse/PDFBOX-2314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14134050#comment-14134050 ] Laurent Yaish commented on PDFBOX-2314: --- Do you guys think this would be doable for 1.8.7? > Restore backward compatibility between Overlay and OverlayPDF > - > > Key: PDFBOX-2314 > URL: https://issues.apache.org/jira/browse/PDFBOX-2314 > Project: PDFBox > Issue Type: Bug > Components: Utilities >Affects Versions: 1.8.6 >Reporter: Laurent Yaish > > There is a major difference with the way the overlay pages are handled > between the Overlay tool from PDFBox 1.6.x and the latest OverlayPDF in 1.8.6. > In the original version, when using a multi-page PDF overlay, all pages from > the overlay would be combined with the original document. The latest version > only uses the first page of the overlay. > Example with a 6 page document and a 2 page (A, B) overlay: > Expected behavior: > A, B, A, B, A, B > Current behavior: > A, A, A, A, A, A > Here's the reference to the documentation of the original behavior taken from > http://svn.apache.org/viewvc/pdfbox/tags/1.6.0/pdfbox/src/main/java/org/apache/pdfbox/Overlay.java?view=markup > {code} > /** > * Overlay on document with another one. > * e.g. Overlay an invoice with your company layout > * > * How it (should) work: > * If the document has 10 pages, and the layout 2 the following is the > result: > * > * Document: 1234567890 > * Layout : 1212121212 > * > * > * > * @author Mario Ivankovits (ma...@ops.co.at) > * @author Ben Litchfield > * > * @version $Revision: 1.7 $ > */ > public class Overlay > { > ... > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)