I am writing to report an issue related to the linearization feature of Spire PDF (C++). Specifically, I am interested in utilizing the Fast Web View feature. Currently, I am facing a problem where the navigation in bookmarks ceases to function after the transformation process.
To provide some context, I have employed the following code:
- Code: Select all
boost::intrusive_ptr<PdfToLinearizedPdfConverter> converter(new PdfToLinearizedPdfConverter("sample.pdf"));
converter->ToLinearizedPdf(L"linearized.pdf");
Regrettably, upon examining the resulting linearized.pdf file, I have noticed that only second level bookmarks, which are nested within "Donkey Konga", successfully navigate to the intended locations. The remaining bookmarks appear to be non-functional.
For your convenience, I have attached both the sample.pdf and linearized.pdf files, allowing you to observe the disparity firsthand.
I kindly request your assistance in resolving this matter. Could you please advise on a possible solution or provide any relevant guidance to rectify this issue?
Thank you for your attention to this matter. I look forward to your prompt response.
Yours sincerely,
Dmytro