Jacob Collins Jacob is a Java developer and the product manager of JPedal

How to copy bookmarks from one PDF to another

34 sec read

How to copy bookmarks from one PDF to another

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

  1. Add JPedal to your class or module path. (download the trial jar).
  2. Next, read the outline into a Document object:

  3. Then, write the Document object to the destination PDF:
  4. 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


Why do developers choose JPedal over alternatives?

  1. Actively developed commercial library with full support and no third party dependencies.
  2. Simple licensing options and source code access for OEM users.
  3. Process PDF files up to 3x faster than alternative Java PDF libraries.

Jacob Collins Jacob is a Java developer and the product manager of JPedal