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
class PdfContents
- extends PdfStream
PdfContents
is a PdfStream
containing the contents (text + graphics) of a PdfPage
.
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 |
Fields inherited from class com.lowagie.text.pdf.PdfObject |
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Methods inherited from class com.lowagie.text.pdf.PdfDictionary |
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, 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 |
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
PdfContents
PdfContents(PdfContentByte under,
PdfContentByte content,
PdfContentByte text,
PdfContentByte secondContent,
Rectangle page)
throws BadPdfFormatException
- Constructs a
PdfContents
-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