public abstract static class AbstractXlsxSolutionFileIO.AbstractXlsxWriter<Solution_> extends Object
Modifier and Type | Field and Description |
---|---|
protected Collection<org.optaplanner.core.api.score.constraint.ConstraintMatchTotal> |
constraintMatchTotals |
protected org.apache.poi.ss.usermodel.CreationHelper |
creationHelper |
protected int |
currentColumnNumber |
protected org.apache.poi.ss.usermodel.Drawing |
currentDrawing |
protected org.apache.poi.xssf.usermodel.XSSFRow |
currentRow |
protected int |
currentRowNumber |
protected org.apache.poi.xssf.usermodel.XSSFSheet |
currentSheet |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
defaultStyle |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
hardPenaltyStyle |
protected int |
headerCellCount |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
headerStyle |
protected Map<Object,org.optaplanner.core.api.score.constraint.Indictment> |
indictmentMap |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
mediumPenaltyStyle |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
pinnedStyle |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
republishedStyle |
protected org.optaplanner.core.api.score.Score |
score |
protected org.optaplanner.core.impl.score.definition.ScoreDefinition |
scoreDefinition |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
scoreStyle |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
softPenaltyStyle |
protected Solution_ |
solution |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
unavailableStyle |
protected org.apache.poi.xssf.usermodel.XSSFWorkbook |
workbook |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
wrappedStyle |
Constructor and Description |
---|
AbstractXlsxWriter(Solution_ solution,
String solverConfigResource) |
Modifier and Type | Method and Description |
---|---|
protected void |
autoSizeColumnsWithHeader() |
protected org.apache.poi.xssf.usermodel.XSSFCellStyle |
createStyle(org.apache.poi.xssf.usermodel.XSSFColor color) |
protected void |
createStyles() |
protected org.apache.poi.xssf.usermodel.XSSFCell |
nextCell() |
protected org.apache.poi.xssf.usermodel.XSSFCell |
nextCell(org.apache.poi.xssf.usermodel.XSSFCellStyle cellStyle) |
protected org.apache.poi.xssf.usermodel.XSSFCell |
nextCellVertically() |
protected org.apache.poi.xssf.usermodel.XSSFCell |
nextCellVertically(org.apache.poi.xssf.usermodel.XSSFCellStyle cellStyle) |
protected void |
nextHeaderCell(double value) |
protected void |
nextHeaderCell(String value) |
protected void |
nextHeaderCellVertically(String value) |
protected void |
nextRow() |
protected void |
nextSheet(String sheetName,
int colSplit,
int rowSplit,
boolean view) |
protected void |
setSizeColumnsWithHeader(int width) |
abstract org.apache.poi.ss.usermodel.Workbook |
write() |
protected void |
writeIntConstraintParameterLine(String name,
int value,
String constraintDescription) |
protected void |
writeIntConstraintParameterLine(String name,
Supplier<Integer> supplier,
String constraintDescription) |
protected void |
writeLongConstraintParameterLine(String name,
Supplier<Long> supplier,
String constraintDescription) |
protected void |
writeScoreConstraintHeaders() |
protected <Score_ extends org.optaplanner.core.api.score.Score<Score_>> |
writeScoreConstraintLine(String constraintName,
Score_ constraintScore,
String constraintDescription) |
protected void |
writeScoreView(Function<List<Object>,String> justificationListFormatter) |
void |
writeSetup() |
protected final Solution_ solution
protected final org.optaplanner.core.api.score.Score score
protected final org.optaplanner.core.impl.score.definition.ScoreDefinition scoreDefinition
protected final Collection<org.optaplanner.core.api.score.constraint.ConstraintMatchTotal> constraintMatchTotals
protected final Map<Object,org.optaplanner.core.api.score.constraint.Indictment> indictmentMap
protected org.apache.poi.xssf.usermodel.XSSFWorkbook workbook
protected org.apache.poi.ss.usermodel.CreationHelper creationHelper
protected org.apache.poi.xssf.usermodel.XSSFCellStyle headerStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle defaultStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle scoreStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle unavailableStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle pinnedStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle hardPenaltyStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle mediumPenaltyStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle softPenaltyStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle wrappedStyle
protected org.apache.poi.xssf.usermodel.XSSFCellStyle republishedStyle
protected org.apache.poi.xssf.usermodel.XSSFSheet currentSheet
protected org.apache.poi.ss.usermodel.Drawing currentDrawing
protected org.apache.poi.xssf.usermodel.XSSFRow currentRow
protected int currentRowNumber
protected int currentColumnNumber
protected int headerCellCount
public abstract org.apache.poi.ss.usermodel.Workbook write()
public void writeSetup()
protected void createStyles()
protected org.apache.poi.xssf.usermodel.XSSFCellStyle createStyle(org.apache.poi.xssf.usermodel.XSSFColor color)
protected void writeIntConstraintParameterLine(String name, int value, String constraintDescription)
protected void writeIntConstraintParameterLine(String name, Supplier<Integer> supplier, String constraintDescription)
protected void writeLongConstraintParameterLine(String name, Supplier<Long> supplier, String constraintDescription)
protected void writeScoreConstraintHeaders()
protected <Score_ extends org.optaplanner.core.api.score.Score<Score_>> void writeScoreConstraintLine(String constraintName, Score_ constraintScore, String constraintDescription)
protected void writeScoreView(Function<List<Object>,String> justificationListFormatter)
protected void nextSheet(String sheetName, int colSplit, int rowSplit, boolean view)
protected void nextRow()
protected void nextHeaderCell(String value)
protected void nextHeaderCell(double value)
protected org.apache.poi.xssf.usermodel.XSSFCell nextCell()
protected org.apache.poi.xssf.usermodel.XSSFCell nextCell(org.apache.poi.xssf.usermodel.XSSFCellStyle cellStyle)
protected void nextHeaderCellVertically(String value)
protected org.apache.poi.xssf.usermodel.XSSFCell nextCellVertically()
protected org.apache.poi.xssf.usermodel.XSSFCell nextCellVertically(org.apache.poi.xssf.usermodel.XSSFCellStyle cellStyle)
protected void autoSizeColumnsWithHeader()
protected void setSizeColumnsWithHeader(int width)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.