Class BasicCellConversionStrategy
- java.lang.Object
-
- org.concordion.ext.excel.conversion.AbstractConversionStrategy<org.apache.poi.ss.usermodel.Cell>
-
- org.concordion.ext.excel.conversion.cell.BasicCellConversionStrategy
-
- All Implemented Interfaces:
ConversionStrategy<org.apache.poi.ss.usermodel.Cell>
- Direct Known Subclasses:
TableCellConversionStrategy
public class BasicCellConversionStrategy extends AbstractConversionStrategy<org.apache.poi.ss.usermodel.Cell>
Generic approach to converting a single cell of a spreadsheet into HTML.
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.poi.ss.usermodel.FormulaEvaluatorEVALUATOR-
Fields inherited from class org.concordion.ext.excel.conversion.AbstractConversionStrategy
ATTR_TRACE
-
-
Constructor Summary
Constructors Constructor Description BasicCellConversionStrategy(java.util.List<ConversionStrategy<org.apache.poi.ss.usermodel.Cell>> contentConverters, java.lang.String tag, boolean includeEmptyCells)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringgetCellContent(org.apache.poi.ss.usermodel.Cell in)protected java.lang.StringgetCellStringContentsForType(org.apache.poi.ss.usermodel.CellType type, org.apache.poi.ss.usermodel.Cell in)protected booleanhasContent(org.apache.poi.ss.usermodel.Cell in)voidprocess(org.apache.poi.ss.usermodel.Cell in, HTMLBuilder out)
-
-
-
Constructor Detail
-
BasicCellConversionStrategy
public BasicCellConversionStrategy(java.util.List<ConversionStrategy<org.apache.poi.ss.usermodel.Cell>> contentConverters, java.lang.String tag, boolean includeEmptyCells)
-
-
Method Detail
-
process
public void process(org.apache.poi.ss.usermodel.Cell in, HTMLBuilder out)
-
getCellContent
protected java.lang.String getCellContent(org.apache.poi.ss.usermodel.Cell in)
-
getCellStringContentsForType
protected java.lang.String getCellStringContentsForType(org.apache.poi.ss.usermodel.CellType type, org.apache.poi.ss.usermodel.Cell in)
-
hasContent
protected boolean hasContent(org.apache.poi.ss.usermodel.Cell in)
-
-