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.

Saving annotations to Okular

Tags: None
(comma "," separated)
cloudenvy
Registered Member
Posts
4
Karma
0
OS

Saving annotations to Okular

Sat Nov 12, 2016 9:34 am
Okular is an excellent application.
I have a large number of annotated PDFs. While I have ensured that I have saved the annotations to the PDF itself, some files have annotations saved locally.
The number of files is large with complex nested directories. Is there anyway, I can transfer the saved annotations to another computer? is the only feasible way to manually go about saving the annotations on each file?

Regards
lueck
Mentor
Posts
225
Karma
2

Re: Saving annotations to Okular

Sat Nov 12, 2016 2:37 pm
Quoting https://docs.kde.org/stable4/en/kdegrap ... tions.html:

Since KDE 4.2, Okular has the "document archiving" feature. This is an Okular-specific format for carrying the document plus various metadata related to it (currently only annotations). You can save a "document archive" from the open document by choosing File → Export As → Document Archive. To open an Okular document archive, just open it with Okular as it would be e.g. a PDF document.
cloudenvy
Registered Member
Posts
4
Karma
0
OS

Re: Saving annotations to Okular

Sat Nov 12, 2016 11:32 pm
Thanks lueck, I'm aware of the document archiving feature (though I'd use the save as feature)>.
What I am looking for is a way to transfer the entire collection of annotations? For example, can I try to rsync the okular folder containing annotation details to the target computer? I've noticed that new copies of documents get handed the same annotation details (so much so that I get confused that annotations are saved to the file) even if the filename is distinct.
sissi_luaty
Registered Member
Posts
3
Karma
0
OS

Re: Saving annotations to Okular

Wed Mar 08, 2017 7:02 pm
The annotations made in okular are stored in ~/.kde/share/apps/okular/docdata/ , with a *.xml file for each annotated *.pdf.
If you copy that entire folder to a different computer it shall do what you want.


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]