net.sf.jasperreports.engine
Interface JRFont
- All Known Subinterfaces:
- JRReportFont
- All Known Implementing Classes:
- JRBaseFont, JRBaseReportFont, JRDesignFont, JRDesignReportFont
public interface JRFont
An abstract representation of a font. Fonts in JasperReports are very complex because of the library portability
across operating systems and export formats. This interface provides basic font functionality methods for
managing font attributes and special PDF font attributes.
Users can define report level fonts that can be referenced by name in text elements. Their default properties
can be overriden in each element (for example, a text element can use a report level font and just change its
"underline" attribute). All the "own" methods in this class actually return the override values of font properties.
- Version:
- $Id: JRFont.java,v 1.10 2005/08/22 15:44:50 ionutned Exp $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
getReportFont
JRReportFont getReportFont()
getFontName
java.lang.String getFontName()
getOwnFontName
java.lang.String getOwnFontName()
setFontName
void setFontName(java.lang.String fontName)
isBold
boolean isBold()
isOwnBold
java.lang.Boolean isOwnBold()
setBold
void setBold(boolean isBold)
isItalic
boolean isItalic()
isOwnItalic
java.lang.Boolean isOwnItalic()
setItalic
void setItalic(boolean isItalic)
isUnderline
boolean isUnderline()
isOwnUnderline
java.lang.Boolean isOwnUnderline()
setUnderline
void setUnderline(boolean isUnderline)
isStrikeThrough
boolean isStrikeThrough()
isOwnStrikeThrough
java.lang.Boolean isOwnStrikeThrough()
setStrikeThrough
void setStrikeThrough(boolean isStrikeThrough)
getSize
int getSize()
getOwnSize
java.lang.Integer getOwnSize()
setSize
void setSize(int size)
getPdfFontName
java.lang.String getPdfFontName()
getOwnPdfFontName
java.lang.String getOwnPdfFontName()
setPdfFontName
void setPdfFontName(java.lang.String pdfFontName)
getPdfEncoding
java.lang.String getPdfEncoding()
getOwnPdfEncoding
java.lang.String getOwnPdfEncoding()
setPdfEncoding
void setPdfEncoding(java.lang.String pdfEncoding)
isPdfEmbedded
boolean isPdfEmbedded()
isOwnPdfEmbedded
java.lang.Boolean isOwnPdfEmbedded()
setPdfEmbedded
void setPdfEmbedded(boolean isPdfEmbedded)
isCachingAttributes
boolean isCachingAttributes()
getNonPdfAttributes
java.util.Map getNonPdfAttributes()
getAttributes
java.util.Map getAttributes()
© 2001-2005 JasperSoft Corporation www.jaspersoft.com