Package com.lowagie.text.pdf.parser
Class PdfContentStreamHandler
java.lang.Object
com.lowagie.text.pdf.parser.PdfContentStreamHandler
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classDeprecated.A content operator implementation (BMC).private static classDeprecated.A content operator implementation (BDC).(package private) static classDeprecated.A content operator implementation (BT).private classDeprecated.private static classDeprecated.A content operator implementation (EMC).(package private) static classDeprecated.A content operator implementation (ET).(package private) static classDeprecated.A content operator implementation (cm).(package private) static classDeprecated.A content operator implementation (').(package private) static classDeprecated.A content operator implementation (").(package private) static classDeprecated.A content operator implementation (Q).(package private) static classDeprecated.A content operator implementation (gs).(package private) static classDeprecated.A content operator implementation (q).(package private) static classDeprecated.A content operator implementation (Tc).(package private) static classDeprecated.A content operator implementation (Tf).(package private) static classDeprecated.A content operator implementation (Tz).(package private) static classDeprecated.A content operator implementation (TL).(package private) static classDeprecated.A content operator implementation (Tr).(package private) static classDeprecated.A content operator implementation (Ts).(package private) static classDeprecated.A content operator implementation (Tw).(package private) static classDeprecated.A content operator implementation (Tj).(package private) static classDeprecated.A content operator implementation (TJ).(package private) static classDeprecated.A content operator implementation (T*).(package private) static classDeprecated.A content operator implementation (Td).(package private) static classDeprecated.A content operator implementation (TD).(package private) static classDeprecated.A content operator implementation (Tm). -
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.private Stack<GraphicsState>Deprecated.Stack keeping track of the graphics state.private Map<String,ContentOperator> Deprecated.A map with all supported operators operators (PDF syntax).private final TextAssemblerDeprecated.detail parser for text within a marked section.private List<TextAssemblyBuffer>Deprecated.private final Stack<List<TextAssemblyBuffer>>Deprecated.private MatrixDeprecated.Text line matrix.private MatrixDeprecated.Text matrix. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidapplyTextAdjust(float tj) Deprecated.Adjusts the text matrix for the specified adjustment value (see TJ operator in the PDF spec for information)(package private) voiddisplayPdfString(PdfString string) Deprecated.Displays text.Deprecated.protected MatrixDeprecated.Returns the current line matrix.protected MatrixDeprecated.Returns the current text matrix.private static MatrixDeprecated.Deprecated.(package private) GraphicsStateDeprecated.Returns the current graphics state.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 name(package private) voidDeprecated.(package private) voidpushContext(String newContextName) Deprecated.voidregisterContentOperator(ContentOperator operator) Deprecated.Registers a content operator that will be called when the specified operator string is encountered during content processing.voidreset()Deprecated.
-
Field Details
-
textFragmentStreams
Deprecated. -
contextNames
Deprecated. -
renderListener
Deprecated.detail parser for text within a marked section. used by TextAssembler -
operators
Deprecated.A map with all supported operators operators (PDF syntax). -
gsStack
Deprecated.Stack keeping track of the graphics state. -
textMatrix
Deprecated.Text matrix. -
textLineMatrix
Deprecated.Text line matrix. -
textFragments
Deprecated.
-
-
Constructor Details
-
PdfContentStreamHandler
Deprecated.
-
-
Method Details
-
getMatrix
Deprecated. -
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.
-
popContext
void popContext()Deprecated. -
pushContext
Deprecated. -
graphicsState
GraphicsState graphicsState()Deprecated.Returns the current graphics state.- Returns:
- the graphics state
-
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
-
applyTextAdjust
void applyTextAdjust(float tj) Deprecated.Adjusts the text matrix for the specified adjustment value (see TJ operator in the PDF spec for information)- Parameters:
tj- the text adjustment
-
getCurrentFont
Deprecated.- Returns:
- current font in processing state
-
displayPdfString
Deprecated.Displays text.- Parameters:
string- the text to display
-
getResultantText
Deprecated.- Returns:
- result text
-