|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.cos.COSBasedObject
de.intarsys.pdf.pd.PDObject
de.intarsys.pdf.font.PDFontDescriptor
de.intarsys.pdf.font.PDFontDescriptorEmbedded
public class PDFontDescriptorEmbedded
The PDFontDescriptor that is used when an explicit font descriptor is available in the pdf file. This will happen most of the time, only the builtin fonts MAY discard this object.
| Nested Class Summary | |
|---|---|
static class |
PDFontDescriptorEmbedded.MetaClass
The meta class implementation |
| Field Summary | |
|---|---|
static COSName |
DK_Ascent
|
static COSName |
DK_AvgWidth
|
static COSName |
DK_CapHeight
|
static COSName |
DK_Descent
|
static COSName |
DK_Flags
|
static COSName |
DK_FontBBox
|
static COSName |
DK_FontFamily
|
static COSName |
DK_FontFile
|
static COSName |
DK_FontFile2
|
static COSName |
DK_FontFile3
|
static COSName |
DK_FontName
|
static COSName |
DK_ItalicAngle
|
static COSName |
DK_Leading
|
static COSName |
DK_Length1
|
static COSName |
DK_Length2
|
static COSName |
DK_Length3
|
static COSName |
DK_MaxWidth
|
static COSName |
DK_MissingWidth
|
static COSName |
DK_StemH
|
static COSName |
DK_StemV
|
static COSName |
DK_XHeight
|
static PDFontDescriptorEmbedded.MetaClass |
META
The meta class instance |
| Fields inherited from class de.intarsys.pdf.font.PDFontDescriptor |
|---|
CN_Type_FontDescriptor |
| Fields inherited from class de.intarsys.pdf.pd.PDObject |
|---|
DK_Subtype, DK_Type |
| Method Summary | |
|---|---|
float |
getAscent()
The font ascent. |
float |
getAvgWidth()
The font average width. |
float |
getCapHeight()
The font capital height. |
float |
getDescent()
The font descent. |
int |
getFlagsValue()
The font flags. |
CDSRectangle |
getFontBB()
The character enclosing rectangle. |
String |
getFontFamily()
The font family name. |
byte[] |
getFontFile()
|
byte[] |
getFontFile2()
|
byte[] |
getFontFile3()
|
String |
getFontName()
The font name. |
float |
getItalicAngle()
The font italic angle. |
int |
getLeading()
The font leading. |
int |
getMaxWidth()
The font character maximal width. |
int |
getMissingWidth()
The width to use when definition is missing. |
int |
getStemH()
The font horizontal stem. |
int |
getStemV()
The font vertical stem. |
float |
getXHeight()
The height of "X". |
void |
removeFontFile2()
|
void |
setAscent(int value)
|
void |
setAvgWidth(int value)
|
void |
setCapHeight(int value)
|
void |
setDescent(int value)
|
void |
setFlags(int value)
|
void |
setFlagsValue(int value)
|
void |
setFontBB(CDSRectangle rect)
|
void |
setFontFamily(String value)
|
void |
setFontFile(byte[] data)
This is the type 1 fontfile stream It will try to parse the input, which must be a pfb file. |
void |
setFontFile2(byte[] data)
|
void |
setFontFile3(byte[] data)
|
void |
setFontName(String value)
|
void |
setItalicAngle(float value)
|
void |
setLeading(int value)
|
void |
setMaxWidth(int value)
|
void |
setMissingWidth(int value)
|
void |
setStemH(int value)
|
void |
setStemV(int value)
|
void |
setXHeight(int value)
|
| Methods inherited from class de.intarsys.pdf.font.PDFontDescriptor |
|---|
getFlags, isAllCap, isFixedPitch, isForceBold, isItalic, isNonsymbolic, isScript, isSerif, isSmallCap, isSymbolic, setAllCap, setFixedPitch, setForceBold, setItalic, setNonsymbolic, setScript, setSerif, setSmallCap, setSymbolic |
| Methods inherited from class de.intarsys.pdf.pd.PDObject |
|---|
cosGetFieldDescendant, cosGetFieldInheritable, cosGetFieldInherited, cosGetSubtype, cosGetType, cosRemoveFieldInheritable, cosSetFieldInheritable, cosSetSubtype, cosSetType, getDoc, getGenericChildren, getGenericParent, setGenericParent, toString |
| Methods inherited from class de.intarsys.pdf.cos.COSBasedObject |
|---|
changed, cosGetArray, cosGetDict, cosGetDoc, cosGetField, cosGetObject, cosGetStream, cosHasField, cosRemoveField, cosSetField, getAttribute, getFieldBoolean, getFieldDate, getFieldFixed, getFieldFixedArray, getFieldInt, getFieldMLString, getFieldString, invalidateCaches, removeAttribute, setAttribute, setFieldBoolean, setFieldFixed, setFieldInt, setFieldMLString, setFieldName, setFieldObject, setFieldString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final PDFontDescriptorEmbedded.MetaClass META
public static final COSName DK_Descent
public static final COSName DK_CapHeight
public static final COSName DK_AvgWidth
public static final COSName DK_Ascent
public static final COSName DK_XHeight
public static final COSName DK_StemV
public static final COSName DK_StemH
public static final COSName DK_MissingWidth
public static final COSName DK_MaxWidth
public static final COSName DK_Leading
public static final COSName DK_ItalicAngle
public static final COSName DK_FontName
public static final COSName DK_FontBBox
public static final COSName DK_Flags
public static final COSName DK_FontFile
public static final COSName DK_FontFile2
public static final COSName DK_FontFile3
public static final COSName DK_Length1
public static final COSName DK_Length2
public static final COSName DK_Length3
public static final COSName DK_FontFamily
| Method Detail |
|---|
public void setAscent(int value)
public float getAscent()
PDFontDescriptor
getAscent in class PDFontDescriptorpublic void setAvgWidth(int value)
public float getAvgWidth()
PDFontDescriptor
getAvgWidth in class PDFontDescriptorpublic void setCapHeight(int value)
public float getCapHeight()
PDFontDescriptor
getCapHeight in class PDFontDescriptorpublic void setDescent(int value)
public float getDescent()
PDFontDescriptor
getDescent in class PDFontDescriptorpublic void setFlags(int value)
public int getFlagsValue()
PDFontDescriptor
getFlagsValue in class PDFontDescriptorpublic void setFlagsValue(int value)
setFlagsValue in class PDFontDescriptorpublic void setFontBB(CDSRectangle rect)
public CDSRectangle getFontBB()
PDFontDescriptor
getFontBB in class PDFontDescriptorpublic void setFontFamily(String value)
public String getFontFamily()
PDFontDescriptor
getFontFamily in class PDFontDescriptorpublic byte[] getFontFile()
getFontFile in class PDFontDescriptorpublic void setFontFile(byte[] data)
public void setFontFile2(byte[] data)
public byte[] getFontFile2()
getFontFile2 in class PDFontDescriptorpublic void setFontFile3(byte[] data)
public byte[] getFontFile3()
getFontFile3 in class PDFontDescriptorpublic void setFontName(String value)
public String getFontName()
PDFontDescriptor
getFontName in class PDFontDescriptorpublic void setItalicAngle(float value)
public float getItalicAngle()
PDFontDescriptor
getItalicAngle in class PDFontDescriptorpublic void setLeading(int value)
public int getLeading()
PDFontDescriptor
getLeading in class PDFontDescriptorpublic void setMaxWidth(int value)
public int getMaxWidth()
PDFontDescriptor
getMaxWidth in class PDFontDescriptorpublic void setMissingWidth(int value)
public int getMissingWidth()
PDFontDescriptor
getMissingWidth in class PDFontDescriptorpublic void setStemH(int value)
public int getStemH()
PDFontDescriptor
getStemH in class PDFontDescriptorpublic void setStemV(int value)
public int getStemV()
PDFontDescriptor
getStemV in class PDFontDescriptorpublic void setXHeight(int value)
public float getXHeight()
PDFontDescriptor
getXHeight in class PDFontDescriptorpublic void removeFontFile2()
|
intarsys PDF library API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||