class PdfContents extends PdfStream
PdfContents
is a PdfStream
containing the contents (text + graphics) of a PdfPage
.Modifier and Type | Field and Description |
---|---|
(package private) static byte[] |
RESTORESTATE |
(package private) static byte[] |
ROTATE180 |
(package private) static byte[] |
ROTATE270 |
(package private) static byte[] |
ROTATE90 |
(package private) static byte[] |
ROTATEFINAL |
(package private) static byte[] |
SAVESTATE |
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer
Constructor and Description |
---|
PdfContents(PdfContentByte under,
PdfContentByte content,
PdfContentByte text,
PdfContentByte secondContent,
Rectangle page)
Constructs a
PdfContents -object, containing text and general graphics. |
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength
clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
static final byte[] SAVESTATE
static final byte[] RESTORESTATE
static final byte[] ROTATE90
static final byte[] ROTATE180
static final byte[] ROTATE270
static final byte[] ROTATEFINAL
PdfContents(PdfContentByte under, PdfContentByte content, PdfContentByte text, PdfContentByte secondContent, Rectangle page) throws BadPdfFormatException
PdfContents
-object, containing text and general graphics.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 othersBadPdfFormatException
- on errorWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses