[Poppler-bugs] [Bug 97262] Enumerate PDF named destinations

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 22 21:56:31 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97262

--- Comment #20 from Masamichi Hosoda <trueroad at trueroad.jp> ---
I'd like to iterate all named destinations in a PDF.

If you use Ghostscript for the PDF file size reduction, Ghostscript does not
preserve named destinations.
I'm making a tool that can extract named destinations as PDFmark from PDF.
You can get the small PDF that has preserved them by using the tool.

Current poppler does not have public interface for iterating named
destinations.
I've tried to access the private members by ugly tricky way.
https://github.com/trueroad/extractpdfmark

It could iterate all named dest.
But it uses ugly tricky way.

So this patch adds these interfaces to `Catalog` class.

If you accept this patch, I'll create glib frontend API patch which uses these
interfaces.
Then, I'll create the tool which uses the glib frontend API.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160822/3f00bc5a/attachment.html>


More information about the Poppler-bugs mailing list