com.lowagie.text.pdf

Class PageResources

class PageResources extends Object

Field Summary
protected PdfDictionarycolorDictionary
protected PdfDictionaryextGStateDictionary
protected PdfDictionaryfontDictionary
protected HashMapforbiddenNames
protected int[]namePtr
protected PdfDictionaryoriginalResources
protected PdfDictionarypatternDictionary
protected PdfDictionarypropertyDictionary
protected PdfDictionaryshadingDictionary
protected HashMapusedNames
protected PdfDictionaryxObjectDictionary
Constructor Summary
PageResources()
Method Summary
PdfNameaddColor(PdfName name, PdfIndirectReference reference)
voidaddDefaultColor(PdfName name, PdfObject obj)
voidaddDefaultColor(PdfDictionary dic)
voidaddDefaultColorDiff(PdfDictionary dic)
PdfNameaddExtGState(PdfName name, PdfIndirectReference reference)
PdfNameaddFont(PdfName name, PdfIndirectReference reference)
PdfNameaddPattern(PdfName name, PdfIndirectReference reference)
PdfNameaddProperty(PdfName name, PdfIndirectReference reference)
PdfNameaddShading(PdfName name, PdfIndirectReference reference)
PdfNameaddXObject(PdfName name, PdfIndirectReference reference)
PdfDictionarygetResources()
booleanhasResources()
voidsetOriginalResources(PdfDictionary resources, int[] newNamePtr)
PdfNametranslateName(PdfName name)

Field Detail

colorDictionary

protected PdfDictionary colorDictionary

extGStateDictionary

protected PdfDictionary extGStateDictionary

fontDictionary

protected PdfDictionary fontDictionary

forbiddenNames

protected HashMap forbiddenNames

namePtr

protected int[] namePtr

originalResources

protected PdfDictionary originalResources

patternDictionary

protected PdfDictionary patternDictionary

propertyDictionary

protected PdfDictionary propertyDictionary

shadingDictionary

protected PdfDictionary shadingDictionary

usedNames

protected HashMap usedNames

xObjectDictionary

protected PdfDictionary xObjectDictionary

Constructor Detail

PageResources

PageResources()

Method Detail

addColor

PdfName addColor(PdfName name, PdfIndirectReference reference)

addDefaultColor

void addDefaultColor(PdfName name, PdfObject obj)

addDefaultColor

void addDefaultColor(PdfDictionary dic)

addDefaultColorDiff

void addDefaultColorDiff(PdfDictionary dic)

addExtGState

PdfName addExtGState(PdfName name, PdfIndirectReference reference)

addFont

PdfName addFont(PdfName name, PdfIndirectReference reference)

addPattern

PdfName addPattern(PdfName name, PdfIndirectReference reference)

addProperty

PdfName addProperty(PdfName name, PdfIndirectReference reference)

addShading

PdfName addShading(PdfName name, PdfIndirectReference reference)

addXObject

PdfName addXObject(PdfName name, PdfIndirectReference reference)

getResources

PdfDictionary getResources()

hasResources

boolean hasResources()

setOriginalResources

void setOriginalResources(PdfDictionary resources, int[] newNamePtr)

translateName

PdfName translateName(PdfName name)