I haven't tested your code yet (might do later), but in the code I see
you're loading from a resource. Could it be the resource filtering problem?
https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html
Which of the tests fail? All three? Only one?
Tilman
Am 28.07.2021 um
Hi Tilman,
I'm not performing any filtering , so I don't think it can be the resource
filtering problem.
All three of the tests result in PDFs that cannot be read through Adobe
Acrobat.
Alex
-Original Message-
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Thursday, July
i wish to ask if pdfbox can support this scenario.
Say, pdf 1 page 4
pdf 2 is a copy of pdf 1 but with additional pages. user adds 3 pages to
it. so page 4 will be on page 7.
is there a way to detect what page # (which is page 7) in pdf 2 based on
pdf 1's (page 4)?
> -Original Message-
> From: Alexander Slonim
> Sent: Thursday, July 29, 2021 9:44 AM
>
> Hi Tilman,
> I'm not performing any filtering , so I don't think it can be the resource
> filtering problem.
>
> All three of the tests result in PDFs that cannot be read through Adobe
> Acrobat.
D
Am 28.07.21 um 22:22 schrieb Alexander Slonim:
Hello,
When I attempt to use PDDocument.save, the saved output file is corrupted,
even when no action is taken on the file other than saving it.
Works fine for me using the current trunk and my own code
Your test cases are probleatic.
The first o
Am 29.07.2021 um 15:55 schrieb chitgoks:
i wish to ask if pdfbox can support this scenario.
Say, pdf 1 page 4
pdf 2 is a copy of pdf 1 but with additional pages. user adds 3 pages to
it. so page 4 will be on page 7.
is there a way to detect what page # (which is page 7) in pdf 2 based on
pdf 1
Hello Andreas,
Thanks, yes the first test was a mistake.
To alleviate the concern I have ensured the code verifies the document being
read is there and exactly as expected.
Acrobat 8 says there was an error opening this document, however PDF
Debugger does not complain.
I try it two ways,
Usi
Am 29.07.2021 um 22:09 schrieb Alexander Slonim:
And all I do is
document.save(tempFile);
document.close();
I did just that, with 2.0.24, without using your project (but I
downloaded your chicken.pdf file).
PDDocument doc = PDDocument.load(new File("chicken.pdf"));
Am 29.07.21 um 22:09 schrieb Alexander Slonim:
Hello Andreas,
Thanks, yes the first test was a mistake.
To alleviate the concern I have ensured the code verifies the document being
read is there and exactly as expected.
Acrobat 8 says there was an error opening this document, however PDF
Debu
9 matches
Mail list logo