public abstract class PjFont extends PjDictionary
_h| Constructor and Description |
|---|
PjFont()
Creates a new font dictionary.
|
PjFont(java.util.Hashtable h)
Creates a font dictionary as a wrapper around a Hashtable.
|
| Modifier and Type | Method and Description |
|---|---|
PjObject |
getBaseFont() |
PjObject |
getEncoding() |
PjObject |
getFirstChar() |
PjObject |
getFontDescriptor() |
PjObject |
getLastChar() |
PjObject |
getName() |
PjObject |
getWidths() |
void |
setBaseFont(PjName baseFont) |
void |
setBaseFont(PjReference baseFont) |
void |
setEncoding(PjDictionary encoding) |
void |
setEncoding(PjName encoding) |
void |
setEncoding(PjReference encoding) |
void |
setFirstChar(PjNumber firstChar) |
void |
setFirstChar(PjReference firstChar) |
void |
setFontDescriptor(PjReference fontDescriptor) |
void |
setLastChar(PjNumber lastChar) |
void |
setLastChar(PjReference lastChar) |
void |
setName(PjName name) |
void |
setWidths(PjReference widths) |
clone, cloneHt, getHashtable, hget, hgetReference, renumber, writePdfpublic PjFont()
public PjFont(java.util.Hashtable h)
h - the Hashtable to use for this dictionary.public void setName(PjName name)
public PjObject getName() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setBaseFont(PjName baseFont)
public void setBaseFont(PjReference baseFont)
public PjObject getBaseFont() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setFirstChar(PjNumber firstChar)
public void setFirstChar(PjReference firstChar)
public PjObject getFirstChar() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setLastChar(PjNumber lastChar)
public void setLastChar(PjReference lastChar)
public PjObject getLastChar() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setWidths(PjReference widths)
public PjObject getWidths() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setEncoding(PjDictionary encoding)
public void setEncoding(PjName encoding)
public void setEncoding(PjReference encoding)
public PjObject getEncoding() throws InvalidPdfObjectException
InvalidPdfObjectExceptionpublic void setFontDescriptor(PjReference fontDescriptor)
public PjObject getFontDescriptor() throws InvalidPdfObjectException
InvalidPdfObjectException