Class PdfContents
- java.lang.Object
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfObject
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStream
-
- com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfContents
-
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.gitlab.pdftk_java.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
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.gitlab.pdftk_java.com.lowagie.text.pdf.PdfStream
flateCompress, flateCompress, getRawLength, superToPdf, toPdf, toString, writeContent, writeLength
-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.text.pdf.PdfDictionary
contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isDictionaryType, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putDel, putEx, remove, size
-
Methods inherited from class com.gitlab.pdftk_java.com.lowagie.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
-
-