Class PdfContentTextExtractor
java.lang.Object
org.openpdf.text.pdf.parser.PdfContentStreamHandler
org.openpdf.text.pdf.parser.PdfContentTextExtractor
- Author:
- dgd
-
Nested Class Summary
Nested classes/interfaces inherited from class PdfContentStreamHandler
PdfContentStreamHandler.Do -
Field Summary
Fields inherited from class PdfContentStreamHandler
contextNames, gsStack, operators, renderListener, textFragments, textFragmentStreams, textLineMatrix, textMatrix -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidLoads all the supported graphics and text state operators in a map.voidreset()Methods inherited from class PdfContentStreamHandler
getContentBytesFromPdfObject, getCurrentFont, getCurrentTextLineMatrix, getCurrentTextMatrix, invokeOperator, lookupOperator, processContent, registerContentOperator
-
Constructor Details
-
PdfContentTextExtractor
-
-
Method Details
-
installDefaultOperators
protected void installDefaultOperators()Loads all the supported graphics and text state operators in a map.- Overrides:
installDefaultOperatorsin classPdfContentStreamHandler
-
reset
public void reset()- Specified by:
resetin classPdfContentStreamHandler
-
getResultantText
- Specified by:
getResultantTextin classPdfContentStreamHandler- Returns:
- result text
-