Okular does not support the export of an annotated PDF to another PDF or the printing of an annotated PDF (October 2010, see the resources below). It is just possible to export the annotations and the PDF to an "Okular Document Archive". Based on this archive, I decided to create this small project to get the "Yellow Highlighter" exported to a new PDF. This annotated PDF can be opened with other PDF readers and it can be printed as well.
- PDF files (because the Open Source PDF Library
iText
is used) - Supported annotations: Yellow Highlighter and inline notes
git clone git://github.com/boldt/Okular2PDF.git
cd Okular2PDF
mvn package
java -jar target/Okular2PDF-*.jar NAME.okular
You will get the annotated PDF in the same directory as the NAME.okular
:
NAME.okular.annotated.pdf