Here's what I could do:
I'd create a verbose snapshot version that will tell whether it was
called at all and what pages were handled.
I assume you're using this call:
public PDDocument overlay(Map<Integer, String> specificPageOverlayMap)
The output would look like this (that's from the unit test)
specificPageOverlayMap:
{1=pdfbox\src\test\resources\org\apache\pdfbox\multipdf\rot0.pdf,
2=pdfbox\src\test\resources\org\apache\pdfbox\multipdf\rot90.pdf,
3=pdfbox\src\test\resources\org\apache\pdfbox\multipdf\rot180.pdf,
4=pdfbox\src\test\resources\org\apache\pdfbox\multipdf\rot270.pdf}
specificPageOverlayLayoutPageMap:
{1=org.apache.pdfbox.multipdf.Overlay$LayoutPage@7f5c94e6,
2=org.apache.pdfbox.multipdf.Overlay$LayoutPage@761fc90d,
3=org.apache.pdfbox.multipdf.Overlay$LayoutPage@493f56b,
4=org.apache.pdfbox.multipdf.Overlay$LayoutPage@3620308c}
processing page: 0
processing page: 0, done
processing page: 1
processing page: 1, done
processing page: 2
processing page: 2, done
processing page: 3
processing page: 3, done
Tilman
On 7/10/2025 7:27 PM, Michael Horne wrote:
Sorry, yes that would help.
I'm on 3.0.5 and I'm using the app JAR file.
I can't really - my Java knowledge is appalling. I could maybe cobble it
together but not sure it'd be very accurate!
Mike
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Tilman Hausherr <thaush...@t-online.de>
Sent: Thursday, July 10, 2025 6:09:26 PM
To: users@pdfbox.apache.org <users@pdfbox.apache.org>
Subject: Re: Problem with using Overlay - specific pages
[You don't often get email from thaush...@t-online.de. Learn why this is
important at https://aka.ms/LearnAboutSenderIdentification ]
Hi,
Please tell what PDFBox version you're using. Are you able to simulate
the calls without using Lucee and what happens then? Are you using a jar
file or are you using maven?
Tilman
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org