public interface JRFont extends JRStyleContainer
Users can define report level fonts that can be referenced by name in text elements. Their default properties can be overridden 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.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FONT_NAME |
static String |
DEFAULT_FONT_SIZE |
static String |
DEFAULT_PDF_EMBEDDED |
static String |
DEFAULT_PDF_ENCODING |
static String |
DEFAULT_PDF_FONT_NAME |
getDefaultStyleProvider, getStyle, getStyleNameReference
static final String DEFAULT_FONT_NAME
static final String DEFAULT_FONT_SIZE
static final String DEFAULT_PDF_FONT_NAME
static final String DEFAULT_PDF_ENCODING
static final String DEFAULT_PDF_EMBEDDED
String getFontName()
String getOwnFontName()
void setFontName(String fontName)
boolean isBold()
Boolean isOwnBold()
void setBold(boolean isBold)
void setBold(Boolean isBold)
boolean isItalic()
Boolean isOwnItalic()
void setItalic(boolean isItalic)
void setItalic(Boolean isItalic)
boolean isUnderline()
Boolean isOwnUnderline()
void setUnderline(boolean isUnderline)
void setUnderline(Boolean isUnderline)
boolean isStrikeThrough()
Boolean isOwnStrikeThrough()
void setStrikeThrough(boolean isStrikeThrough)
void setStrikeThrough(Boolean isStrikeThrough)
float getFontsize()
Float getOwnFontsize()
void setFontSize(Float size)
int getFontSize()
getFontsize()
.Integer getOwnFontSize()
getOwnFontsize()
.void setFontSize(int fontSize)
setFontSize(Float)
.void setFontSize(Integer fontSize)
setFontSize(Float)
.String getPdfFontName()
String getOwnPdfFontName()
void setPdfFontName(String pdfFontName)
String getPdfEncoding()
String getOwnPdfEncoding()
void setPdfEncoding(String pdfEncoding)
boolean isPdfEmbedded()
Boolean isOwnPdfEmbedded()
void setPdfEmbedded(boolean isPdfEmbedded)
void setPdfEmbedded(Boolean isPdfEmbedded)
Copyright © 2016. All rights reserved.