public class PDFMarkedContentExtractor extends PDFStreamEngine
| Modifier and Type | Field and Description | 
|---|---|
| protected String | outputEncodingencoding that text will be written in (or null). | 
| Constructor and Description | 
|---|
| PDFMarkedContentExtractor()Instantiate a new PDFTextStripper object. | 
| PDFMarkedContentExtractor(Properties props)Instantiate a new PDFTextStripper object. | 
| PDFMarkedContentExtractor(String encoding)Instantiate a new PDFTextStripper object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | beginMarkedContentSequence(COSName tag,
                          COSDictionary properties) | 
| void | endMarkedContentSequence() | 
| List<PDMarkedContent> | getMarkedContents() | 
| protected void | processTextPosition(TextPosition text)This will process a TextPosition object and add the
 text to the list of characters on a page. | 
| void | xobject(PDXObject xobject) | 
getColorSpaces, getCurrentPage, getFonts, getGraphicsStack, getGraphicsState, getGraphicsStates, getResources, getTextLineMatrix, getTextMatrix, getTotalCharCnt, getValidCharCnt, getXObjects, inspectFontEncoding, isForceParsing, processEncodedText, processOperator, processOperator, processStream, processSubStream, registerOperatorProcessor, resetEngine, setColorSpaces, setFonts, setForceParsing, setGraphicsStack, setGraphicsState, setGraphicsStates, setTextLineMatrix, setTextMatrixprotected String outputEncoding
public PDFMarkedContentExtractor()
                          throws IOException
IOException - If there is an error loading the properties.public PDFMarkedContentExtractor(Properties props) throws IOException
props - The properties containing the mapping of operators to PDFOperator
 classes.IOException - If there is an error reading the properties.public PDFMarkedContentExtractor(String encoding) throws IOException
encoding - The encoding that the output will be written in.IOException - If there is an error reading the properties.public void beginMarkedContentSequence(COSName tag, COSDictionary properties)
public void endMarkedContentSequence()
public void xobject(PDXObject xobject)
protected void processTextPosition(TextPosition text)
processTextPosition in class PDFStreamEnginetext - The text to process.public List<PDMarkedContent> getMarkedContents()
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.