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 with type parameters of type TextPositionModifier and TypeFieldDescriptionprotected ArrayList
<List<TextPosition>> PDFTextStripper.charactersByArticle
The charactersByArticle is used to extract text by article divisions.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.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.void
TextPosition.mergeDiacritic
(TextPosition diacritic) Merge a single character TextPosition into the current object.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 TypeMethodDescriptionprotected void
PDFTextStripper.writeString
(String text, List<TextPosition> textPositions) Write a Java string to the output stream.