Package org.openpdf.text.pdf
Class PdfContents
java.lang.Object
org.openpdf.text.pdf.PdfObject
org.openpdf.text.pdf.PdfDictionary
org.openpdf.text.pdf.PdfStream
org.openpdf.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 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
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 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
-
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
-