Manual creation of the outline for a PDF document.
Albert Astals Cid
aacid at kde.org
Sun Oct 13 16:30:29 BST 2019
El diumenge, 13 d’octubre de 2019, a les 8:56:41 CEST, Andy Sardina va escriure:
> Hi,
>
> I am working on a feature that will allow a user to define the document's
> outline (for PDF files). To be able to do this, I need to modify the
> poppler to be able to write into the PDF file.
I'm going to give you the same answer i give to the people that suggest adding PDF page removal/adition/sorting to Okular.
I don't think Okular is the proper place for this and a "Simple PDF editor" application would be much easier, both in code (since you don't need to create public API for all that since Okular is not a PDF tool) and in user interface (since editing usually has different requirements to viewing).
If you have questions about poppler i suggest you make them in the poppler mailing list :)
Cheers,
Albert
>
> I am doing this, because some times, I generate PDF from images, or I get
> PDF that doesn't have the outline (or TOC) and I would like to be able to
> create one from Okular. For example, the Foxit Reader has this
> functionality. Take a look at this short video to see what I mean:
>
>
> Swedish Fairy Tales.mp4
> <https://drive.google.com/file/d/1ADdebIeWX5zdaKe7IMKIM6r-94Sryv-0/view?usp=drive_web>
>
>
> I have created a short document with some ideas of how I am thinking to
> implement it, but I have been struggling to find a good design. I would
> like you to give some impressions and tell me if is that the correct path.
>
> Here the document:
>
>
> Poppler modifications.pdf
> <https://drive.google.com/file/d/1RLRTrTzDtSk0L-bw4yvb0ZT58DN2qkcl/view?usp=drive_web>
>
> Have a nice week!!
>
More information about the Okular-devel
mailing list