Package org.pdfbox.examples.pdmodel
These examples show how to use the classes in the PDModel package.
AddJavascript | This is an example of how to set some javascript in the document.
|
AddMessageToEachPage | This is an example of how to add a message to every page
in a pdf document.
|
AddMetadataFromDocInfo | This is an example on how to add metadata to a document.
|
Annotation | This is an example on how to add annotations to pages of a PDF document.
|
CreateBlankPDF | This will create a blank PDF and write the contents to a file.
|
CreateBookmarks | This is an example on how to add bookmarks to a PDF document. |
EmbeddedFiles | This is an example that creates a simple document and embeds a file into it..
|
GoToSecondBookmarkOnOpen | This is an example on how to an action to go to the second page when the PDF is opened.
|
HelloWorld | This is an example that creates a simple document.
|
HelloWorldTTF | This is an example that creates a simple document
with a ttf-font.
|
HelloWorldType1AfmPfb | This is an example that creates a simple document
with a Type 1 font (afm + pfb).
|
ImageToPDF | This is an example that creates a simple document.
|
PrintBookmarks | This is an example on how to access the bookmarks that are part of a pdf document.
|
PrintDocumentMetaData | This is an example on how to get a documents metadata information.
|
PrintURLs | This is an example of how to access a URL in a PDF document.
|
RemoveFirstPage | This is an example on how to remove pages from a PDF document.
|
ReplaceString | This is an example that will replace a string in a PDF with a new one.
|
ReplaceURLs | This is an example of how to replace a URL in a PDF document. |
RubberStamp | This is an example on how to add annotations to pages of a PDF document.
|
ShowColorBoxes | This is an example that creates a simple document.
|
These examples show how to use the classes in the PDModel package.