Class PptxFontHelper
- java.lang.Object
-
- net.sf.jasperreports.engine.export.ooxml.BaseHelper
-
- net.sf.jasperreports.engine.export.ooxml.BaseFontHelper
-
- net.sf.jasperreports.engine.export.ooxml.PptxFontHelper
-
public class PptxFontHelper extends BaseFontHelper
- Author:
- Sanda Zaharia(shertage@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.export.ooxml.BaseFontHelper
fontPaths, isEmbedFonts, ooxmlFonts, ooxmlFontsFirstLocales, PPT_FONTS_DIR, relsWriter, WORD_FONTS_DIR, zip
-
Fields inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
fontUtil, jasperReportsContext, writer
-
-
Constructor Summary
Constructors Constructor Description PptxFontHelper(JasperReportsContext jasperReportsContext, Writer writer, Writer relsWriter, FileBufferedZip zip, boolean isEmbedFonts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getBoldEmbedding(String id)
protected String
getBoldItalicEmbedding(String id)
protected String
getEndFontTag()
protected String
getExporterKey()
protected String
getFontPath(FontFace fontFace)
protected String
getFontsDir()
protected String
getItalicEmbedding(String id)
protected String
getRegularEmbedding(String id)
protected String
getStartFontTag(String fontName)
-
Methods inherited from class net.sf.jasperreports.engine.export.ooxml.BaseFontHelper
exportFonts, resolveFontFamily
-
Methods inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
close, flush, write
-
-
-
-
Constructor Detail
-
PptxFontHelper
public PptxFontHelper(JasperReportsContext jasperReportsContext, Writer writer, Writer relsWriter, FileBufferedZip zip, boolean isEmbedFonts)
-
-
Method Detail
-
getExporterKey
protected String getExporterKey()
- Specified by:
getExporterKey
in classBaseFontHelper
-
getEndFontTag
protected String getEndFontTag()
- Specified by:
getEndFontTag
in classBaseFontHelper
-
getFontsDir
protected String getFontsDir()
- Specified by:
getFontsDir
in classBaseFontHelper
-
getStartFontTag
protected String getStartFontTag(String fontName)
- Specified by:
getStartFontTag
in classBaseFontHelper
-
getRegularEmbedding
protected String getRegularEmbedding(String id)
- Specified by:
getRegularEmbedding
in classBaseFontHelper
-
getBoldEmbedding
protected String getBoldEmbedding(String id)
- Specified by:
getBoldEmbedding
in classBaseFontHelper
-
getItalicEmbedding
protected String getItalicEmbedding(String id)
- Specified by:
getItalicEmbedding
in classBaseFontHelper
-
getBoldItalicEmbedding
protected String getBoldItalicEmbedding(String id)
- Specified by:
getBoldItalicEmbedding
in classBaseFontHelper
-
getFontPath
protected String getFontPath(FontFace fontFace)
- Specified by:
getFontPath
in classBaseFontHelper
-
-