Class ParagraphsAndTablesRowStrategy
- java.lang.Object
-
- org.concordion.ext.excel.conversion.AbstractConversionStrategy<org.apache.poi.ss.usermodel.Row>
-
- org.concordion.ext.excel.conversion.row.ParagraphRowStrategy
-
- org.concordion.ext.excel.conversion.row.ParagraphsAndTablesRowStrategy
-
- All Implemented Interfaces:
ConversionStrategy<org.apache.poi.ss.usermodel.Row>
public class ParagraphsAndTablesRowStrategy extends ParagraphRowStrategy
This class takes notice of when cells are parts of tables, and calls the table strategy for those that are. That is, it allows us to decide between 'table' and 'not table' cells.
-
-
Field Summary
-
Fields inherited from class org.concordion.ext.excel.conversion.AbstractConversionStrategy
ATTR_TRACE
-
-
Constructor Summary
Constructors Constructor Description ParagraphsAndTablesRowStrategy(ConversionStrategy<org.apache.poi.ss.usermodel.Cell> cellStrategy, ConversionStrategy<org.apache.poi.xssf.usermodel.XSSFTable> tableStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancellHasData(org.apache.poi.ss.usermodel.Cell in)protected booleanprocessCell(HTMLBuilder result, org.apache.poi.ss.usermodel.Cell cell, boolean firstCell)-
Methods inherited from class org.concordion.ext.excel.conversion.row.ParagraphRowStrategy
appendInterCellElements, process, rowNeedsParagraph
-
-
-
-
Constructor Detail
-
ParagraphsAndTablesRowStrategy
public ParagraphsAndTablesRowStrategy(ConversionStrategy<org.apache.poi.ss.usermodel.Cell> cellStrategy, ConversionStrategy<org.apache.poi.xssf.usermodel.XSSFTable> tableStrategy)
-
-
Method Detail
-
processCell
protected boolean processCell(HTMLBuilder result, org.apache.poi.ss.usermodel.Cell cell, boolean firstCell)
- Overrides:
processCellin classParagraphRowStrategy
-
cellHasData
protected boolean cellHasData(org.apache.poi.ss.usermodel.Cell in)
- Overrides:
cellHasDatain classParagraphRowStrategy
-
-