Package com.itextpdf.text.pdf
Class PdfContents
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfObject
-
- com.itextpdf.text.pdf.PdfDictionary
-
- com.itextpdf.text.pdf.PdfStream
-
- com.itextpdf.text.pdf.PdfContents
-
- All Implemented Interfaces:
java.io.Serializable
class PdfContents extends PdfStream
PdfContents
is aPdfStream
containing the contents (text + graphics) of aPdfPage
.
-
-
Field Summary
Fields Modifier and Type Field 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
-
Fields inherited from class com.itextpdf.text.pdf.PdfStream
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, ENDSTREAM, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, SIZESTREAM, STARTSTREAM, streamBytes, writer
-
-
Constructor Summary
Constructors Constructor Description PdfContents(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.itextpdf.text.pdf.PdfStream
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength
-
Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, 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
-
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
-
-
-
Constructor Detail
-
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
-
-