Module com.github.librepdf.openpdf
Package com.lowagie.text.pdf.parser
Class PdfContentStreamHandler
java.lang.Object
com.lowagie.text.pdf.parser.PdfContentStreamHandler
Deprecated.
- Author:
- dgd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.protected MatrixDeprecated.Returns the current line matrix.protected MatrixDeprecated.Returns the current text matrix.Deprecated.protected voidDeprecated.Loads all the supported graphics and text state operators in a map.voidinvokeOperator(PdfLiteral operator, List<PdfObject> operands, PdfDictionary resources) Deprecated.Invokes an operator.lookupOperator(String operatorName) Deprecated.Get the operator to process a command with a given namevoidregisterContentOperator(ContentOperator operator) Deprecated.Registers a content operator that will be called when the specified operator string is encountered during content processing.voidreset()Deprecated.
-
Constructor Details
-
PdfContentStreamHandler
Deprecated.
-
-
Method Details
-
registerContentOperator
Deprecated.Registers a content operator that will be called when the specified operator string is encountered during content processing. Each operator may be registered only once (it is not legal to have multiple operators with the same operatorString)- Parameters:
operator- the operator that will receive notification when the operator is encountered- Since:
- 2.1.7
-
installDefaultOperators
protected void installDefaultOperators()Deprecated.Loads all the supported graphics and text state operators in a map. -
lookupOperator
Deprecated.Get the operator to process a command with a given name- Parameters:
operatorName- name of the operator that we might need to call- Returns:
- the operator or null if none present
-
invokeOperator
Deprecated.Invokes an operator.- Parameters:
operator- the PDF Syntax of the operatoroperands- a list with operandsresources- Pdf Resources found in the file containing the stream.
-
reset
public void reset()Deprecated. -
getCurrentTextMatrix
Deprecated.Returns the current text matrix.- Returns:
- the text matrix
- Since:
- 2.1.5
-
getCurrentTextLineMatrix
Deprecated.Returns the current line matrix.- Returns:
- the line matrix
- Since:
- 2.1.5
-
getCurrentFont
Deprecated.- Returns:
- current font in processing state
-
getResultantText
Deprecated.- Returns:
- result text
-