Class XlsxStyleHelper
- java.lang.Object
-
- net.sf.jasperreports.engine.export.ooxml.BaseHelper
-
- net.sf.jasperreports.engine.export.ooxml.XlsxStyleHelper
-
public class XlsxStyleHelper extends BaseHelper
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
fontUtil, jasperReportsContext, writer
-
-
Constructor Summary
Constructors Constructor Description XlsxStyleHelper(JasperReportsContext jasperReportsContext, Writer writer, String exporterKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export()
int
getCellStyle(JRExporterGridCell gridCell, JRPrintElement element, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction)
int
getCellStyle(JRLineBox box, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction, JRStyle parentStyle)
int
getCellStyle(JRPrintElement element, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction, JRStyle parentStyle)
protected int
getRotation(RotationEnum rotation)
void
setConfiguration(XlsReportConfiguration configuration)
-
Methods inherited from class net.sf.jasperreports.engine.export.ooxml.BaseHelper
close, flush, write
-
-
-
-
Constructor Detail
-
XlsxStyleHelper
public XlsxStyleHelper(JasperReportsContext jasperReportsContext, Writer writer, String exporterKey)
-
-
Method Detail
-
setConfiguration
public void setConfiguration(XlsReportConfiguration configuration)
-
getCellStyle
public int getCellStyle(JRExporterGridCell gridCell, JRPrintElement element, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction)
-
getCellStyle
public int getCellStyle(JRPrintElement element, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction, JRStyle parentStyle)
-
getCellStyle
public int getCellStyle(JRLineBox box, String pattern, Locale locale, boolean isWrapText, boolean isHidden, boolean isLocked, boolean isShrinkToFit, boolean isIgnoreTextFormatting, RotationEnum rotation, JRXlsAbstractExporter.SheetInfo sheetInfo, LineDirectionEnum direction, JRStyle parentStyle)
-
export
public void export()
-
getRotation
protected int getRotation(RotationEnum rotation)
-
-