Package org.openpdf.text.pdf
Class PdfFormXObject
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfStream
org.openpdf.text.pdf.PdfFormXObject
PdfFormObject is a type of XObject containing a template-object.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PdfLiteralThis is the 1 - matrix.static final PdfNumberThis is a PdfNumber representing 1.static final PdfNumberThis is a PdfNumber representing 0.Fields inherited from class org.openpdf.text.pdf.PdfStream
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer -
Constructor Summary
ConstructorsConstructorDescriptionPdfFormXObject(PdfTemplate template, int compressionLevel) Constructs aPdfFormXObject-object. -
Method Summary
Methods inherited from class org.openpdf.text.pdf.PdfStream
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLengthMethods inherited from class org.openpdf.text.pdf.PdfDictionary
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, getKeysAndValues, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, sizeMethods inherited from class org.openpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
ZERO
This is a PdfNumber representing 0. -
ONE
This is a PdfNumber representing 1. -
MATRIX
This is the 1 - matrix.
-
-
Constructor Details
-
PdfFormXObject
PdfFormXObject(PdfTemplate template, int compressionLevel) Constructs aPdfFormXObject-object.- Parameters:
template- the templatecompressionLevel- the compression level for the stream- Since:
- 2.1.3 (Replacing the existing constructor with param compressionLevel)
-