org.pdfbox.examples.pdmodel
Class CreateBookmarks

java.lang.Object
  extended by org.pdfbox.examples.pdmodel.CreateBookmarks

public class CreateBookmarks
extends Object

This is an example on how to add bookmarks to a PDF document. It simply adds 1 bookmark for every page. Usage: java org.pdfbox.examples.pdmodel.CreateBookmarks <input-pdf> <output-pdf>

Version:
$Revision: 1.1 $
Author:
Ben Litchfield (ben@csh.rit.edu)

Method Summary
static void main(String[] args)
          This will print the documents data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Exception
This will print the documents data.

Parameters:
args - The command line arguments.
Throws:
Exception - If there is an error parsing the document.


Copyright © 2006-2007 EGIZ - E-Government Innovationszentrum. All Rights Reserved.