packdat
packdat
> I'm completely new to this so I may be mistaking but I believe you shouldn't throw in this case. I'm not thowing anything, the PR attempts to avoid that....
@ThomasHoevel I just added a commit to #152 that handles this situation.
@Greybird If i understand correctly, the PDF with the wrong `startxref` value triggered `PdfTrailer.Rebuild`, which finds object `1 0` more than once and uses the (incorrect) last one ? This...
Some test-cases require documents to work with. I used those attached here: [AcroTestDocuments.zip](https://github.com/user-attachments/files/18646319/AcroTestDocuments.zip) They should be extracted into PDFsharp's asset-folder, e.g. `/assets/pdfsharp-6.x/pdfs`
Unfortunately, i was not able to create a separate PR for the latest changes, sorry for that. There are use-cases where you don't care about PDF/A conformance or the like,...
When i added the attached document to my test-files and run my usual tests on it, I noticed this message in PDFsharp's log-output: > Error [0]: Object '43 0' already...
Seems to be already done ? (although without the `AnnotationCopyingType`) See [here](https://github.com/empira/PDFsharp/blob/3af34ace406df8727871e4fb8765ac66805ce235/src/foundation/src/PDFsharp/src/PdfSharp/Pdf/PdfPages.cs#L460). But IMO, the import is still incomplete. When you're importing pages from a document that contains an AcroForm,...
Could you elaborate on exactly _why_ this is important for your workflow ? Do you have example documents where this has been accomplished ? Do you know of any other...