|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.font.outlet.FontQuery
public class FontQuery
A query for requesting PDFont instances from an IFontFactory
with the defined attributes.
| Field Summary |
|---|
| Fields inherited from interface de.intarsys.pdf.font.outlet.IFontQuery |
|---|
TYPE_ANY, TYPE_BUILTIN, TYPE_TRUETYPE, TYPE_TYPE1 |
| Constructor Summary | |
|---|---|
FontQuery()
|
|
FontQuery(PDFont baseFont)
Create a new IFontQuery based on another PDFont. |
|
FontQuery(String fontName)
|
|
FontQuery(String family,
PDFontStyle style)
Create a new IFontQuery denoting a font from the
family in style style. |
|
FontQuery(String family,
String style)
Create a new IFontQuery denoting a font from the
family in style style. |
|
| Method Summary | |
|---|---|
Encoding |
getEncoding()
The desired encoding for the PDFont. |
String |
getFontFamilyName()
The desired font family for the PDFont. |
String |
getFontName()
The desired font name for the PDFont. |
PDFontStyle |
getFontStyle()
The desired font style for the PDFont. |
String |
getFontType()
The desired font type for the PDFont (such as "Type1" or
"TrueType"). |
Encoding |
getOverrideEncoding()
The required encoding for the result font. |
String |
getOverrideFontFamilyName()
The required font family for the result font. |
String |
getOverrideFontName()
|
PDFontStyle |
getOverrideFontStyle()
The required font style for the result font. |
String |
getOverrideFontType()
|
void |
setOverrideEncoding(Encoding overrideEncoding)
Set the encoding attribute for the font to be looked up. |
void |
setOverrideFontFamilyName(String overrideFontFamilyName)
Set the font family attribute for the font to be looked up. |
void |
setOverrideFontName(String overrideFontName)
|
void |
setOverrideFontStyle(PDFontStyle overrideFontStyle)
Set the font style attribute for the font to be looked up. |
void |
setOverrideFontType(String overrideFontType)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FontQuery()
public FontQuery(PDFont baseFont)
IFontQuery based on another PDFont. USe the
setter methods to overwrite the attributes you want to be different from
baseFont.
baseFont - The font serivng as a template for this query.public FontQuery(String fontName)
public FontQuery(String family,
PDFontStyle style)
IFontQuery denoting a font from the
family in style style.
family - The family of the FontQuery.style - The style of the FontQuery.
public FontQuery(String family,
String style)
IFontQuery denoting a font from the
family in style style.
family - The family of the FontQuery.style - The style of the FontQuery.| Method Detail |
|---|
public Encoding getEncoding()
IFontQueryPDFont.
getEncoding in interface IFontQueryPDFont.public String getFontFamilyName()
IFontQueryPDFont.
getFontFamilyName in interface IFontQueryPDFont.public String getFontName()
IFontQueryPDFont.
getFontName in interface IFontQueryPDFont.public PDFontStyle getFontStyle()
IFontQueryPDFont.
getFontStyle in interface IFontQueryPDFont.public String getFontType()
IFontQueryPDFont (such as "Type1" or
"TrueType"). nullindicates a font of any type.
getFontType in interface IFontQueryPDFont.public Encoding getOverrideEncoding()
public String getOverrideFontFamilyName()
public String getOverrideFontName()
public PDFontStyle getOverrideFontStyle()
public String getOverrideFontType()
public void setOverrideEncoding(Encoding overrideEncoding)
overrideEncoding - The required encoding for the result font.public void setOverrideFontFamilyName(String overrideFontFamilyName)
overrideFontFamilyName - The required font family for the result font.public void setOverrideFontName(String overrideFontName)
public void setOverrideFontStyle(PDFontStyle overrideFontStyle)
overrideFontStyle - The required font style for the result font.public void setOverrideFontType(String overrideFontType)
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||