Class HtmlFontUtil
- java.lang.Object
-
- net.sf.jasperreports.engine.export.HtmlFontUtil
-
public class HtmlFontUtil extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
CSS_RESOURCE_EXTENSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
getFontCSSResourceName(HtmlFontFamily fontFamily)
static String
getFontIdFromCSSResource(String cssResource)
String
getHtmlFont(HtmlResourceHandler fontPathProvider, HtmlResourceHandler fontResourceSaver, HtmlFontFamily htmlFontFamily, boolean useShortId, boolean useLocal)
static HtmlFontUtil
getInstance(JasperReportsContext jasperReportsContext)
void
handleHtmlFont(HtmlResourceHandler cssResourceSaver, HtmlResourceHandler fontPathProvider, HtmlResourceHandler fontResourceSaver, HtmlFontFamily htmlFontFamily, boolean useShortId, boolean useLocal)
-
-
-
Field Detail
-
CSS_RESOURCE_EXTENSION
public static final String CSS_RESOURCE_EXTENSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static HtmlFontUtil getInstance(JasperReportsContext jasperReportsContext)
-
handleHtmlFont
public void handleHtmlFont(HtmlResourceHandler cssResourceSaver, HtmlResourceHandler fontPathProvider, HtmlResourceHandler fontResourceSaver, HtmlFontFamily htmlFontFamily, boolean useShortId, boolean useLocal)
-
getHtmlFont
public String getHtmlFont(HtmlResourceHandler fontPathProvider, HtmlResourceHandler fontResourceSaver, HtmlFontFamily htmlFontFamily, boolean useShortId, boolean useLocal)
-
getFontCSSResourceName
public static String getFontCSSResourceName(HtmlFontFamily fontFamily)
-
-