|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfStream
com.itextpdf.text.pdf.PdfImage
public class PdfImage
PdfImage is a PdfStream containing an image-Dictionary and -stream.
| Field Summary | |
|---|---|
protected PdfName |
name
This is the PdfName of the image. |
| Fields inherited from class com.itextpdf.text.pdf.PdfStream |
|---|
BEST_COMPRESSION, BEST_SPEED, compressed, compressionLevel, DEFAULT_COMPRESSION, inputStream, inputStreamLength, NO_COMPRESSION, rawLength, ref, streamBytes, writer |
| Fields inherited from class com.itextpdf.text.pdf.PdfDictionary |
|---|
CATALOG, FONT, hashMap, OUTLINES, PAGE, PAGES |
| Fields inherited from class com.itextpdf.text.pdf.PdfObject |
|---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
| Constructor Summary | |
|---|---|
PdfImage(Image image,
java.lang.String name,
PdfIndirectReference maskRef)
Constructs a PdfImage-object. |
|
| Method Summary | |
|---|---|
protected void |
importAll(PdfImage dup)
|
PdfName |
name()
Returns the PdfName of the image. |
| 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 |
|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected PdfName name
PdfName of the image.
| Constructor Detail |
|---|
public PdfImage(Image image,
java.lang.String name,
PdfIndirectReference maskRef)
throws BadPdfFormatException
PdfImage-object.
image - the Image-objectname - the PdfName for this image
BadPdfFormatException - on error| Method Detail |
|---|
public PdfName name()
PdfName of the image.
protected void importAll(PdfImage dup)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||