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, writePdf
public 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
InvalidPdfObjectException
public void setBaseFont(PjName baseFont)
public void setBaseFont(PjReference baseFont)
public PjObject getBaseFont() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setFirstChar(PjNumber firstChar)
public void setFirstChar(PjReference firstChar)
public PjObject getFirstChar() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setLastChar(PjNumber lastChar)
public void setLastChar(PjReference lastChar)
public PjObject getLastChar() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setWidths(PjReference widths)
public PjObject getWidths() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setEncoding(PjDictionary encoding)
public void setEncoding(PjName encoding)
public void setEncoding(PjReference encoding)
public PjObject getEncoding() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setFontDescriptor(PjReference fontDescriptor)
public PjObject getFontDescriptor() throws InvalidPdfObjectException
InvalidPdfObjectException