Package com.lowagie.text.pdf
Class PdfContents
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfDictionary
com.lowagie.text.pdf.PdfStream
com.lowagie.text.pdf.PdfContents
PdfContents
is a PdfStream
containing the contents (text + graphics) of a
PdfPage
.-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final byte[]
(package private) static final byte[]
(package private) static final byte[]
(package private) static final byte[]
(package private) static final byte[]
(package private) static final byte[]
Fields inherited from class com.lowagie.text.pdf.PdfStream
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer
-
Constructor Summary
ConstructorsConstructorDescriptionPdfContents
(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page) Constructs aPdfContents
-object, containing text and general graphics. -
Method Summary
Methods inherited from class com.lowagie.text.pdf.PdfStream
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength
Methods inherited from class com.lowagie.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, size
Methods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
SAVESTATE
static final byte[] SAVESTATE -
RESTORESTATE
static final byte[] RESTORESTATE -
ROTATE90
static final byte[] ROTATE90 -
ROTATE180
static final byte[] ROTATE180 -
ROTATE270
static final byte[] ROTATE270 -
ROTATEFINAL
static final byte[] ROTATEFINAL
-
-
Constructor Details
-
PdfContents
PdfContents(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page) throws BadPdfFormatException Constructs aPdfContents
-object, containing text and general graphics.- Parameters:
under
- the direct content that is under all otherscontent
- the graphics in a pagetext
- the text in a pagesecondContent
- the direct content that is over all others- Throws:
BadPdfFormatException
- on error
-