|
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.font.outlet.FontQuery
public class FontQuery
A query for requesting PDFont
instances from an IFontFactory
with the defined attributes.
Constructor Summary | |
---|---|
FontQuery(PDFont baseFont)
Create a new IFontQuery based on another PDFont . |
|
FontQuery(String family,
FontStyle 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 . |
FontStyle |
getFontStyle()
The desired font style for the PDFont . |
Encoding |
getOverrideEncoding()
The required encoding for the result font. |
String |
getOverrideFontFamilyName()
The required font family for the result font. |
FontStyle |
getOverrideFontStyle()
The required font style for the result font. |
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 |
setOverrideFontStyle(FontStyle overrideFontStyle)
Set the font style attribute for the font to be looked up. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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 family, String style)
IFontQuery
denoting a font from the
family
in style style
.
baseFont
- The font serivng as a template for this query.public FontQuery(String family, FontStyle style)
IFontQuery
denoting a font from the
family
in style style
.
baseFont
- The font serivng as a template for this query.Method Detail |
---|
public Encoding getEncoding()
IFontQuery
PDFont
.
getEncoding
in interface IFontQuery
PDFont
.public String getFontFamilyName()
IFontQuery
PDFont
.
getFontFamilyName
in interface IFontQuery
PDFont
.public FontStyle getFontStyle()
IFontQuery
PDFont
.
getFontStyle
in interface IFontQuery
PDFont
.public void setOverrideEncoding(Encoding overrideEncoding)
overrideEncoding
- The required encoding for the result font.public Encoding getOverrideEncoding()
public void setOverrideFontFamilyName(String overrideFontFamilyName)
overrideFontFamilyName
- The required font family for the result font.public String getOverrideFontFamilyName()
public void setOverrideFontStyle(FontStyle overrideFontStyle)
overrideFontStyle
- The required font style for the result font.public FontStyle getOverrideFontStyle()
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |