Uses of Class
org.apache.pdfbox.text.TextPosition
-
Packages that use TextPosition Package Description org.apache.pdfbox.debugger.pagepane org.apache.pdfbox.pdmodel.documentinterchange.markedcontent The marked content package provides a mechanism for modeling marked-content sequences.org.apache.pdfbox.text org.apache.pdfbox.tools -
-
Uses of TextPosition in org.apache.pdfbox.debugger.pagepane
Method parameters in org.apache.pdfbox.debugger.pagepane with type arguments of type TextPosition Modifier and Type Method Description protected voidDebugTextOverlay.DebugTextStripper. writeString(java.lang.String string, java.util.List<TextPosition> textPositions) -
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.text
Fields in org.apache.pdfbox.text declared as TextPosition Modifier and Type Field Description private TextPositionPDFTextStripper.PositionWrapper. positionprivate TextPositionPDFTextStripper.LineItem. textPositionFields in org.apache.pdfbox.text with type parameters of type TextPosition Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.List<TextPosition>>PDFMarkedContentExtractor. characterListMappingprotected java.util.ArrayList<java.util.List<TextPosition>>PDFTextStripper. charactersByArticleThe charactersByArticle is used to extract text by article divisions.private java.util.Map<java.lang.String,java.util.ArrayList<java.util.List<TextPosition>>>PDFTextStripperByArea. regionCharacterList(package private) java.util.List<TextPosition>PDFTextStripper.WordWithTextPositions. textPositionsMethods in org.apache.pdfbox.text that return TextPosition Modifier and Type Method Description TextPositionPDFTextStripper.LineItem. getTextPosition()TextPositionPDFTextStripper.PositionWrapper. getTextPosition()Returns the underlying TextPosition object.Methods in org.apache.pdfbox.text that return types with arguments of type TextPosition Modifier and Type Method Description protected java.util.List<java.util.List<TextPosition>>PDFTextStripper. getCharactersByArticle()Character strings are grouped by articles.java.util.List<TextPosition>PDFTextStripper.WordWithTextPositions. getTextPositions()Methods in org.apache.pdfbox.text with parameters of type TextPosition Modifier and Type Method Description intTextPositionComparator. compare(TextPosition pos1, TextPosition pos2)booleanTextPosition. completelyContains(TextPosition tp2)Determine if this TextPosition perfectly contains another (i.e.booleanTextPosition. contains(TextPosition tp2)Determine if this TextPosition logically contains another (i.e.private booleanPDFTextStripper. hasFontOrSizeChanged(TextPosition current, TextPosition last)private voidTextPosition. insertDiacritic(int i, TextPosition diacritic)Inserts the diacritic TextPosition to the str of this TextPosition and updates the widths array to include the extra character width.voidTextPosition. mergeDiacritic(TextPosition diacritic)Merge a single character TextPosition into the current object.protected voidLegacyPDFStreamEngine. 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 voidPDFMarkedContentExtractor. processTextPosition(TextPosition text)This will process a TextPosition object and add the text to the list of characters on a page.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.text with type arguments of type TextPosition Modifier and Type Method Description private PDFTextStripper.WordWithTextPositionsPDFTextStripper. createWord(java.lang.String word, java.util.List<TextPosition> wordPositions)Used withinPDFTextStripper.normalize(List)to create a singlePDFTextStripper.WordWithTextPositionsentry.private voidPDFTextStripper. removeContainedSpaces(java.util.List<TextPosition> textList)Remove all space characters if contained within the adjacent lettersprotected voidPDFTextStripper. writeString(java.lang.String text, java.util.List<TextPosition> textPositions)Write a Java string to the output stream.Constructors in org.apache.pdfbox.text with parameters of type TextPosition Constructor Description LineItem(TextPosition textPosition)PositionWrapper(TextPosition position)Constructs a PositionWrapper around the specified TextPosition object.Constructor parameters in org.apache.pdfbox.text with type arguments of type TextPosition Constructor Description WordWithTextPositions(java.lang.String word, java.util.List<TextPosition> positions) -
Uses of TextPosition in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type TextPosition Modifier and Type Method Description (package private) static intExtractText. getAngle(TextPosition text)protected voidAngleCollector. processTextPosition(TextPosition text)protected voidFilteredText2Markdown. processTextPosition(TextPosition text)protected voidFilteredTextStripper. processTextPosition(TextPosition text)protected java.lang.StringPDFText2HTML.FontState. push(java.lang.StringBuilder buffer, char character, TextPosition textPosition)protected java.lang.StringPDFText2Markdown.FontState. push(java.lang.StringBuilder buffer, char character, TextPosition textPosition)Method parameters in org.apache.pdfbox.tools with type arguments of type TextPosition Modifier and Type Method Description java.lang.StringPDFText2HTML.FontState. push(java.lang.String text, java.util.List<TextPosition> textPositions)Pushes newTextPositionsinto the font state.java.lang.StringPDFText2Markdown.FontState. push(java.lang.String text, java.util.List<TextPosition> textPositions)Pushes newTextPositionsinto the font state.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 voidPDFText2Markdown. writeString(java.lang.String text, java.util.List<TextPosition> textPositions)Write a string to the output stream, maintain font state, and escape some Markdown characters.
-