public class ExcelXlsxExporter extends AbstractExcelExporter
_exportCache, colorTable, DEFAULT_ROW_HEIGHT, exportedPicDataMap, fontTable, styleTable, tbStyleTable, workbook
Constructor and Description |
---|
ExcelXlsxExporter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addColorScale(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule,
SConditionalFormattingRule rule) |
protected void |
addDataBar(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule,
SConditionalFormattingRule rule) |
protected void |
addFormulas(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule,
SConditionalFormattingRule rule) |
protected void |
addIconSet(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule,
SConditionalFormattingRule rule) |
protected void |
addPOIDxfCellStyle(SExtraStyle extraStyle)
Add DxfCellStyle as poi Dxf.
|
protected void |
addPoiRule(SSheet sheet,
org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule,
SConditionalFormattingRule rule,
int priority) |
protected void |
addPOITableStyle(STableStyle tbStyle)
Add TableStyle as poi TableStyle
|
protected void |
addSqref(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTConditionalFormatting ctcf,
SConditionalFormatting cf) |
protected void |
addValueObject(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfvo ctvo,
SCFValueObject vo) |
protected ChartDataSource<?> |
createCategoryChartDataSource(SGeneralChartData chartData) |
protected ChartTextSource |
createChartTextSource(SSeries series) |
protected Workbook |
createPoiBook() |
protected ChartDataSource<Number> |
createXValueDataSource(SSeries series) |
protected ChartDataSource<Number> |
createYValueDataSource(SSeries series) |
protected ChartDataSource<Number> |
createZValueDataSource(SSeries series) |
protected void |
exportAutoFilter(SSheet sheet,
Sheet poiSheet)
See Javadoc at
AbstractExcelImporter importAutoFilter(). |
protected void |
exportChart(SSheet sheet,
Sheet poiSheet)
reference DrawingManagerImpl.addChartX()
|
protected void |
exportColumnArray(SSheet sheet,
Sheet poiSheet,
SColumnArray columnArr) |
protected void |
exportConditionalFormatting(SSheet sheet,
Sheet poiSheet) |
protected void |
exportFilterColumns(XSSFAutoFilter poiAutoFilter,
SAutoFilter autoFilter,
int numberOfColumn) |
protected void |
exportPassword(SSheet sheet,
Sheet poiSheet)
Export hashed password directly to poiSheet.
|
protected void |
exportPicture(SSheet sheet,
Sheet poiSheet)
Reference DrawingManagerImpl.addPicture()
|
protected int |
exportTables(SSheet sheet,
Sheet poiSheet0,
int tbId) |
protected void |
exportValidation(SSheet sheet,
Sheet poiSheet)
According to
SDataValidation.ValidationType , FORMULA means custom validation. |
protected void |
fillCategoryData(SGeneralChartData chartData,
CategoryData categoryData)
reference ChartDataUtil.fillCategoryData()
|
protected ChartData |
fillPoiChartData(SChart chart) |
protected void |
fillXYData(SGeneralChartData chartData,
XYData xyData)
reference ChartDataUtil.fillXYData()
|
protected void |
fillXYZData(SGeneralChartData chartData,
XYZData xyzData)
reference ChartDataUtil.fillXYZData()
|
protected int |
getOrCreateDxfId(STableStyleElem tbStyleElem) |
protected void |
plotPoiChart(SChart chart,
ChartData chartData,
SSheet sheet,
Sheet poiSheet)
Create and plot a POI chart with its chart data.
|
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STConditionalFormattingOperator.Enum |
toCFRuleOperator(SConditionalFormattingRule.RuleOperator ctType) |
protected ClientAnchor |
toClientAnchor(ViewAnchor viewAnchor,
SSheet sheet) |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfType.Enum |
toConditionalFormatingRuleType(SConditionalFormattingRule.RuleType stype) |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfType.Enum |
toConditionalFormattingRuleType(SConditionalFormattingRule.RuleType cfType) |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType.Enum |
toIconSetType(SIconSet.IconSetType ctType) |
protected CellStyle |
toPOIDefaultCellStyle(SCellStyle cellStyle) |
protected Font |
toPOIDxfFont(SFont font0) |
protected RichTextString |
toPOIRichText(SRichText richText) |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STTimePeriod.Enum |
toTimePeriod(SConditionalFormattingRule.RuleTimePeriod ctPeriod) |
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfvoType.Enum |
toValueObjectType(SCFValueObject.CFValueObjectType ctType) |
export, exportCell, exportMergedRegions, exportNamedRange, exportPictureData, exportRow, exportRowColumn, exportSheet, exportSheetProtection, isExportCache, setExportCache, toPOICellStyle, toPOIColor, toPOIFont, toPOINamedStyle
export, export, export
protected void exportColumnArray(SSheet sheet, Sheet poiSheet, SColumnArray columnArr)
exportColumnArray
in class AbstractExcelExporter
protected Workbook createPoiBook()
createPoiBook
in class AbstractExcelExporter
protected void exportChart(SSheet sheet, Sheet poiSheet)
exportChart
in class AbstractExcelExporter
protected void exportPicture(SSheet sheet, Sheet poiSheet)
exportPicture
in class AbstractExcelExporter
protected ChartData fillPoiChartData(SChart chart)
chart
- protected void plotPoiChart(SChart chart, ChartData chartData, SSheet sheet, Sheet poiSheet)
chart
- chartData
- sheet
- poiSheet
- the sheet where the POI chart locatesprotected ClientAnchor toClientAnchor(ViewAnchor viewAnchor, SSheet sheet)
protected void fillCategoryData(SGeneralChartData chartData, CategoryData categoryData)
chart
- categoryData
- protected void fillXYData(SGeneralChartData chartData, XYData xyData)
chart
- xyData
- protected void fillXYZData(SGeneralChartData chartData, XYZData xyzData)
protected ChartDataSource<Number> createXValueDataSource(SSeries series)
protected ChartDataSource<Number> createYValueDataSource(SSeries series)
protected ChartDataSource<Number> createZValueDataSource(SSeries series)
protected ChartTextSource createChartTextSource(SSeries series)
protected ChartDataSource<?> createCategoryChartDataSource(SGeneralChartData chartData)
protected void exportValidation(SSheet sheet, Sheet poiSheet)
SDataValidation.ValidationType
, FORMULA means custom validation.exportValidation
in class AbstractExcelExporter
protected void exportAutoFilter(SSheet sheet, Sheet poiSheet)
AbstractExcelImporter
importAutoFilter().exportAutoFilter
in class AbstractExcelExporter
protected void exportFilterColumns(XSSFAutoFilter poiAutoFilter, SAutoFilter autoFilter, int numberOfColumn)
protected void exportPassword(SSheet sheet, Sheet poiSheet)
exportPassword
in class AbstractExcelExporter
protected CellStyle toPOIDefaultCellStyle(SCellStyle cellStyle)
toPOIDefaultCellStyle
in class AbstractExcelExporter
protected int exportTables(SSheet sheet, Sheet poiSheet0, int tbId)
exportTables
in class AbstractExcelExporter
protected void addPOIDxfCellStyle(SExtraStyle extraStyle)
AbstractExcelExporter
addPOIDxfCellStyle
in class AbstractExcelExporter
protected void exportConditionalFormatting(SSheet sheet, Sheet poiSheet)
exportConditionalFormatting
in class AbstractExcelExporter
protected void addSqref(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTConditionalFormatting ctcf, SConditionalFormatting cf)
protected void addPoiRule(SSheet sheet, org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule, SConditionalFormattingRule rule, int priority)
protected void addIconSet(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule, SConditionalFormattingRule rule)
protected void addColorScale(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule, SConditionalFormattingRule rule)
protected void addDataBar(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule, SConditionalFormattingRule rule)
protected void addFormulas(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfRule ctRule, SConditionalFormattingRule rule)
protected void addValueObject(org.openxmlformats.schemas.spreadsheetml.x2006.main.CTCfvo ctvo, SCFValueObject vo)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STTimePeriod.Enum toTimePeriod(SConditionalFormattingRule.RuleTimePeriod ctPeriod)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STConditionalFormattingOperator.Enum toCFRuleOperator(SConditionalFormattingRule.RuleOperator ctType)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STIconSetType.Enum toIconSetType(SIconSet.IconSetType ctType)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfvoType.Enum toValueObjectType(SCFValueObject.CFValueObjectType ctType)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfType.Enum toConditionalFormattingRuleType(SConditionalFormattingRule.RuleType cfType)
protected org.openxmlformats.schemas.spreadsheetml.x2006.main.STCfType.Enum toConditionalFormatingRuleType(SConditionalFormattingRule.RuleType stype)
protected void addPOITableStyle(STableStyle tbStyle)
AbstractExcelExporter
addPOITableStyle
in class AbstractExcelExporter
protected int getOrCreateDxfId(STableStyleElem tbStyleElem)
protected RichTextString toPOIRichText(SRichText richText)
toPOIRichText
in class AbstractExcelExporter
Copyright © 2020. All rights reserved.