admin管理员组

文章数量:1394185

I have a PDF/UA-2 file, but when I validate it on /, it reports the following error:

All destinations whose target lies within the current document shall be structure destinations Failed 1 occurrences PDDestination isStructDestination == true root/document[0]/Outlines[0](outline 7 0)/Dest[0]

I’ve tried using the Datalogics PDF .NET Toolkit to fix this issue. If I remove all bookmark destinations (Dest) with the following code:

PDFDict bookmarkDict = bookmark.PDFDict;
bookmarkDict.Remove("Dest");

the file passes the veraPDF validation. However, this breaks the bookmark structure, making it unusable.

My questions are:

  • How can I modify my code to resolve the PDF/UA-2 Clause 8.8 error using the Datalogics PDF .NET Toolkit without breaking the bookmark functionality?

  • Could someone provide detailed insights into the standard structure of a PDF/UA-2 file, particularly regarding StructTreeRoot and how bookmarks should be linked to it? Additionally, if anyone has a sample PDF/UA-2 file with bookmarks, I’d greatly appreciate it if you could share it for reference.

本文标签: