Package com.aowagie.text.pdf
Class PdfFormXObject
- java.lang.Object
-
- com.aowagie.text.pdf.PdfObject
-
- com.aowagie.text.pdf.PdfDictionary
-
- com.aowagie.text.pdf.PdfStream
-
- com.aowagie.text.pdf.PdfFormXObject
-
class PdfFormXObject extends PdfStream
PdfFormObject
is a type of XObject containing a template-object.
-
-
Field Summary
Fields Modifier and Type Field Description private static PdfLiteral
MATRIX
This is the 1 - matrix.private static PdfNumber
ONE
This is a PdfNumber representing 1.-
Fields inherited from class com.aowagie.text.pdf.PdfStream
BEST_COMPRESSION, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, STARTSTREAM, streamBytes
-
Fields inherited from class com.aowagie.text.pdf.PdfDictionary
CATALOG, hashMap, OUTLINES, PAGE
-
Fields inherited from class com.aowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type
-
-
Constructor Summary
Constructors Constructor Description PdfFormXObject(PdfTemplate template, int compressionLevel)
Constructs aPdfFormXObject
-object.
-
Method Summary
-
Methods inherited from class com.aowagie.text.pdf.PdfStream
flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength
-
Methods inherited from class com.aowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, remove, size
-
Methods inherited from class com.aowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, setContent, setIndRef, type
-
-
-
-
Field Detail
-
ONE
private static final PdfNumber ONE
This is a PdfNumber representing 1.
-
MATRIX
private static final PdfLiteral MATRIX
This is the 1 - matrix.
-
-
Constructor Detail
-
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)
-
-