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