fr.opensagres.xdocreport.itext.extension.font
Class AbstractFontRegistry
java.lang.Object
fr.opensagres.xdocreport.itext.extension.font.AbstractFontRegistry
- All Implemented Interfaces:
- IFontProvider
- Direct Known Subclasses:
- ITextFontRegistry
public abstract class AbstractFontRegistry
- extends Object
- implements IFontProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFontRegistry
public AbstractFontRegistry()
getFont
public com.lowagie.text.Font getFont(String familyName,
String encoding,
float size,
int style,
Color color)
- Specified by:
getFont
in interface IFontProvider
isBold
public boolean isBold(int style)
- checks if this font is Bold.
- Returns:
- a
boolean
isItalic
public boolean isItalic(int style)
- checks if this font is Bold.
- Returns:
- a
boolean
isUnderlined
public boolean isUnderlined(int style)
- checks if this font is underlined.
- Returns:
- a
boolean
isStrikethru
public boolean isStrikethru(int style)
- checks if the style of this font is STRIKETHRU.
- Returns:
- a
boolean
getSystemEncoding
public String getSystemEncoding()
resolveFamilyName
protected abstract String resolveFamilyName(String familyName,
int style)
Copyright © 2013. All rights reserved.