Package org.apache.pdfbox.examples.util
The packages in this package will show how to use the PDFBox util API.
-
Class Summary Class Description AddWatermarkText Add a diagonal watermark text to each page of a PDF.ConnectedInputStream Delegate class to close the connection when the class gets closed.DrawPrintTextLocations This is an example on how to get some x/y coordinates of text and to show them in a rendered image.ExtractTextByArea This is an example on how to extract text from a specific area on the PDF document.ExtractTextSimple This is a simple text extraction example to get started.PDFHighlighter Highlighting of words in a PDF document with an XML file.PDFMergerExample This example demonstrates the use of the new methodsPDFMergerUtility.setDestinationDocumentInformation(org.apache.pdfbox.pdmodel.PDDocumentInformation)andPDFMergerUtility.setDestinationMetadata(org.apache.pdfbox.pdmodel.common.PDMetadata)that were added in April 2016.PrintImageLocations This is an example on how to get the x/y coordinates of image locations.PrintTextColors This is an example on how to get the colors of text.PrintTextLocations This is an example on how to get some x/y coordinates of text.RemoveAllText This is an example on how to remove all text from PDF document.SplitBooklet Split a booklet.