Uses of Class
org.apache.pdfbox.util.TextPosition
-
Packages that use TextPosition Package Description org.apache.pdfbox.pdfviewer The pdfviewer package contains classes to graphically display information about a PDF document.org.apache.pdfbox.pdmodel.documentinterchange.markedcontent The marked content package provides a mechanism for modeling marked-content sequences.org.apache.pdfbox.util This package contains utility classes that are used by the PDFBox project. -
-
Uses of TextPosition in org.apache.pdfbox.pdfviewer
Methods in org.apache.pdfbox.pdfviewer with parameters of type TextPosition Modifier and Type Method Description protected voidPageDrawer. processTextPosition(TextPosition text)You should override this method if you want to perform an action when a text is being processed. -
Uses of TextPosition in org.apache.pdfbox.pdmodel.documentinterchange.markedcontent
Methods in org.apache.pdfbox.pdmodel.documentinterchange.markedcontent with parameters of type TextPosition Modifier and Type Method Description voidPDMarkedContent. addText(TextPosition text)Adds a text position to the contents. -
Uses of TextPosition in org.apache.pdfbox.util
Fields in org.apache.pdfbox.util with type parameters of type TextPosition Modifier and Type Field Description protected java.util.Vector<java.util.List<TextPosition>>PDFTextStripper. charactersByArticleThe charactersByArticle is used to extract text by article divisions.Methods in org.apache.pdfbox.util that return TextPosition Modifier and Type Method Description TextPositionPositionWrapper. getTextPosition()Returns the underlying TextPosition object.Methods in org.apache.pdfbox.util that return types with arguments of type TextPosition Modifier and Type Method Description protected java.util.Vector<java.util.List<TextPosition>>PDFTextStripper. getCharactersByArticle()Character strings are grouped by articles.Methods in org.apache.pdfbox.util with parameters of type TextPosition Modifier and Type Method Description booleanTextPosition. contains(TextPosition tp2)Determine if this TextPosition logically contains another (i.e. they overlap and should be rendered on top of each other).voidTextPosition. mergeDiacritic(TextPosition diacritic, TextNormalize normalize)Merge a single character TextPosition into the current object.protected voidPDFMarkedContentExtractor. processTextPosition(TextPosition text)This will process a TextPosition object and add the text to the list of characters on a page.protected voidPDFStreamEngine. processTextPosition(TextPosition text)A method provided as an event interface to allow a subclass to perform some specific functionality when text needs to be processed.protected voidPDFTextStripper. processTextPosition(TextPosition text)This will process a TextPosition object and add the text to the list of characters on a page.protected voidPDFTextStripperByArea. processTextPosition(TextPosition text)This will process a TextPosition object and add the text to the list of characters on a page.protected voidPDFTextStripper. writeCharacters(TextPosition text)Write the string in TextPosition to the output stream.Method parameters in org.apache.pdfbox.util with type arguments of type TextPosition Modifier and Type Method Description protected voidPDFText2HTML. writeString(java.lang.String text, java.util.List<TextPosition> textPositions)Write a string to the output stream, maintain font state, and escape some HTML characters.protected voidPDFTextStripper. writeString(java.lang.String text, java.util.List<TextPosition> textPositions)Write a Java string to the output stream.Constructors in org.apache.pdfbox.util with parameters of type TextPosition Constructor Description PositionWrapper(TextPosition position)Constructs a PositionWrapper around the specified TextPosition object.
-