This forum has been archived. All content is frozen. Please use KDE Discuss instead.
Please use bugs.kde.org for bug reports or feature requests. Development related questions should be directed to the okular-devel mailing list.

Can we edit tables of "content" in okular?

Tags: None
(comma "," separated)
timlee
Registered Member
Posts
22
Karma
0
What other applications call "outlines" or "bookmarks" is called "Content" in Okular. it is shown on the left panel as a table of content, also giving links to the actual pages.

I haven't found Okular allows adds or editing some lines and links to the "Content" yet. Do I miss it? Thanks.
tosky
Registered Member
Posts
210
Karma
3
Okular supports bookmarks:
http://docs.kde.org/stable/en/kdegraphi ... ement.html

The table of content of the document is something part of the document which can't be changed.


tosky, proud to be a member of KDE forums since 2008-Oct.
timlee
Registered Member
Posts
22
Karma
0
i was not talking about editing "bookmarks" but "Contents". See the part singled out by a red box below
Yes, "Contents" are part of the pdf file, and I want to add and edit some lines in the "Contents". How can I? Thanks.

Image


tosky wrote:Okular supports bookmarks:
http://docs.kde.org/stable/en/kdegraphi ... ement.html

The table of content of the document is something part of the document which can't be changed.
tosky
Registered Member
Posts
210
Karma
3
timlee wrote:i was not talking about editing "bookmarks" but "Contents". See the part singled out by a red box below
Yes, "Contents" are part of the pdf file, and I want to add and edit some lines in the "Contents". How can I? Thanks.

It's not possible to change the content; the possibility for changing it would means introducing editing features in Okular.


tosky, proud to be a member of KDE forums since 2008-Oct.
janbr
Registered Member
Posts
3
Karma
0
I realise this is an old discussion, but I thought I would add my comment here as I googled for the same issue and the discussion came up as one of the first hits.
It appears bookmarks, or "Contents" as Ocular terms it, can still not be added or edited in Ocular.
Further searching revealed Master PDF (https://code-industry.net/free-pdf-editor/) as the solution. It does it almost as well as Acrobat Professional, which I used when still living in Windows-land.
tosky
Registered Member
Posts
210
Karma
3
Bookmarks (which can be modified) are not the same as the hardcoded table of contents.


tosky, proud to be a member of KDE forums since 2008-Oct.
janbr
Registered Member
Posts
3
Karma
0
Agreed, that is the way Okular defines bookmarks. Other packages use the term differently.
Okular stores an index to the locations you store as bookmarks in a different location, as per the OP.
Adobe and Master uses the term "bookmarks" for Okular's "contents". Both these packages allow you to store this index within the file and edit it, making it available for use in other applications, or if you move or share the file.
I just had the experience of creating bookmarks in Okular this morning and then changed the directory name, breaking the bookmarks. Editing the the file path in the bookmark does not update the bookmark, rendering the whole index useless. I had to change the directory name back to use the (bookmark) index again.
tosky
Registered Member
Posts
210
Karma
3
Sure, but this discussion was not about the bookmarks, but the table of content defined inside a PDF.


tosky, proud to be a member of KDE forums since 2008-Oct.
janbr
Registered Member
Posts
3
Karma
0
Yes. But I argue that Ocular is at fault here for using the term "contents" where everyone else call it "bookmarks". Therefore the confusion.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], Sogou [Bot]