JPedal already has the ability to read bookmarks from PDF files so now you can chain this functionality with our OutlineWriter to copy bookmarks from one PDF to another.
How to Copy bookmarks using Java
- Add JPedal to your class or module path. (download the trial jar).
- Next, read the outline into a Document object:
- Then, write the Document object to the destination PDF:
- Copy bookmarks using the command line
JPedal also provides a convenient command line method to copy bookmarks between PDF files:
Working with PDFs can be troublesome. We have a list of different articles for you to understand the PDF format and maximise its functionality.
The JPedal PDF library allows you to solve these problems in Java
What is JPedal?
JPedal is a commercial Java PDF Library that makes it easy for Java developers to work with PDF Documents in Java.
Why use JPedal?
JPedal makes it much easier to work with PDF files from Java. Because we have been actively developing our Java PDF Toolkit for over 20 years, it works with all those problem PDF files out there.
What licenses are available?
We have 2 licenses available:
'Server' for on premises and cloud servers and 'OEM' for use in a named end user applications. Both are one time fees with options support renewal after 12 months.
How to use JPedal?
Want to learn more about JPedal and how to use it, we have plenty of tutorials and guides to help you.