Uses of Class
org.apache.pdfbox.text.TextPosition
Packages that use TextPosition
Package
Description
The marked content package provides a mechanism for modeling marked-content
sequences.
-
Uses of TextPosition in org.apache.pdfbox.pdmodel.documentinterchange.markedcontent
Methods in org.apache.pdfbox.pdmodel.documentinterchange.markedcontent with parameters of type TextPositionModifier and TypeMethodDescriptionvoid
PDMarkedContent.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 TextPositionModifier and TypeFieldDescriptionprivate TextPosition
PDFTextStripper.PositionWrapper.position
private final TextPosition
PDFTextStripper.LineItem.textPosition
Fields in org.apache.pdfbox.text with type parameters of type TextPositionModifier and TypeFieldDescriptionprivate final Map<String,
List<TextPosition>> PDFMarkedContentExtractor.characterListMapping
protected ArrayList<List<TextPosition>>
PDFTextStripper.charactersByArticle
The charactersByArticle is used to extract text by article divisions.private final Map<String,
ArrayList<List<TextPosition>>> PDFTextStripperByArea.regionCharacterList
(package private) List<TextPosition>
PDFTextStripper.WordWithTextPositions.textPositions
Methods in org.apache.pdfbox.text that return TextPositionModifier and TypeMethodDescriptionPDFTextStripper.LineItem.getTextPosition()
PDFTextStripper.PositionWrapper.getTextPosition()
Returns the underlying TextPosition object.Methods in org.apache.pdfbox.text that return types with arguments of type TextPositionModifier and TypeMethodDescriptionprotected List<List<TextPosition>>
PDFTextStripper.getCharactersByArticle()
Character strings are grouped by articles.PDFTextStripper.WordWithTextPositions.getTextPositions()
Methods in org.apache.pdfbox.text with parameters of type TextPositionModifier and TypeMethodDescriptionint
TextPositionComparator.compare
(TextPosition pos1, TextPosition pos2) boolean
TextPosition.contains
(TextPosition tp2) Determine if this TextPosition logically contains another (i.e.private void
TextPosition.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.void
TextPosition.mergeDiacritic
(TextPosition diacritic) Merge a single character TextPosition into the current object.protected void
LegacyPDFStreamEngine.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 void
PDFMarkedContentExtractor.processTextPosition
(TextPosition text) This will process a TextPosition object and add the text to the list of characters on a page.protected void
PDFTextStripper.processTextPosition
(TextPosition text) This will process a TextPosition object and add the text to the list of characters on a page.protected void
PDFTextStripperByArea.processTextPosition
(TextPosition text) This will process a TextPosition object and add the text to the list of characters on a page.protected void
PDFTextStripper.writeCharacters
(TextPosition text) Write the string in TextPosition to the output stream.Method parameters in org.apache.pdfbox.text with type arguments of type TextPositionModifier and TypeMethodDescriptionPDFTextStripper.createWord
(String word, List<TextPosition> wordPositions) Used withinPDFTextStripper.normalize(List)
to create a singlePDFTextStripper.WordWithTextPositions
entry.protected void
PDFTextStripper.writeString
(String text, List<TextPosition> textPositions) Write a Java string to the output stream.Constructors in org.apache.pdfbox.text with parameters of type TextPositionModifierConstructorDescription(package private)
LineItem
(TextPosition textPosition) (package private)
PositionWrapper
(TextPosition position) Constructs a PositionWrapper around the specified TextPosition object.Constructor parameters in org.apache.pdfbox.text with type arguments of type TextPositionModifierConstructorDescription(package private)
WordWithTextPositions
(String word, List<TextPosition> positions) -
Uses of TextPosition in org.apache.pdfbox.tools
Methods in org.apache.pdfbox.tools with parameters of type TextPositionModifier and TypeMethodDescription(package private) static int
ExtractText.getAngle
(TextPosition text) protected void
AngleCollector.processTextPosition
(TextPosition text) protected void
FilteredTextStripper.processTextPosition
(TextPosition text) protected String
PDFText2HTML.FontState.push
(StringBuilder buffer, char character, TextPosition textPosition) Method parameters in org.apache.pdfbox.tools with type arguments of type TextPositionModifier and TypeMethodDescriptionPDFText2HTML.FontState.push
(String text, List<TextPosition> textPositions) Pushes newTextPositions
into the font state.protected void
PDFText2HTML.writeString
(String text, List<TextPosition> textPositions) Write a string to the output stream, maintain font state, and escape some HTML characters.