PDF to PDF/A conversion on java

2023-11-21 Thread Kirandas vakkil
Hi All, Can you please share if there is any resource on converting EXISTING PDF to PDF/A in java. This will be of great help to me. Thanks in advance. Regards, Apache Patron

Odd OCG error

2023-11-21 Thread John Lussmyer
I'm using PDFBox 3.0.0 to combine some PDF files.  One of the files uses an Optional Content Group. Note that this code has been working just fine for many other files both with and without OCG's. For this file, I get this exception: java.lang.IllegalArgumentException: Provided dictionary is n

Re: Odd OCG error

2023-11-21 Thread John Lussmyer
Ugh, formatting mess. For more info, this is the "addOCGs:OCG" log line just before the error message: 10:53:09.765 [etrix SwingWorker[0]] DEBUG ImposedPDFEngine - addOCGs: OCG COSDictionary{COSName{Name}:COSObject{COSNull{}};COSName{Type}:COSObject{COSName{OCG}};} On 11/21/2023 10:56 AM, J

Re: Odd OCG error

2023-11-21 Thread Tilman Hausherr
Please retry with the 3.0.1 snapshot, there were bugs fixed related to combining files. If there bug is still there please create a ticket in JIRA Tilman On 21.11.2023 19:56, John Lussmyer wrote: I'm using PDFBox 3.0.0 to combine some PDF files.  One of the files uses an Optional Content Group

Re: Odd OCG error

2023-11-21 Thread Andreas Lehmkühler
Am 21.11.23 um 21:26 schrieb John Lussmyer: Ugh, formatting mess. For more info, this is the "addOCGs:OCG" log line just before the error message: 10:53:09.765 [etrix SwingWorker[0]] DEBUG ImposedPDFEngine - addOCGs: OCG COSDictionary{COSName{Name}:COSObject{COSNull{}};COSName{Type}:COSOb