Class ParagraphRowStrategy
- java.lang.Object
-
- org.concordion.ext.excel.conversion.AbstractConversionStrategy<org.apache.poi.ss.usermodel.Row>
-
- org.concordion.ext.excel.conversion.row.ParagraphRowStrategy
-
- All Implemented Interfaces:
ConversionStrategy<org.apache.poi.ss.usermodel.Row>
- Direct Known Subclasses:
ParagraphsAndTablesRowStrategy
public class ParagraphRowStrategy extends AbstractConversionStrategy<org.apache.poi.ss.usermodel.Row>
Handles the conversion of Excel rows by turning each one into a "p" HTML tag.
-
-
Field Summary
-
Fields inherited from class org.concordion.ext.excel.conversion.AbstractConversionStrategy
ATTR_TRACE
-
-
Constructor Summary
Constructors Constructor Description ParagraphRowStrategy(ConversionStrategy<org.apache.poi.ss.usermodel.Cell> cellStrategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidappendInterCellElements(HTMLBuilder result)protected booleancellHasData(org.apache.poi.ss.usermodel.Cell in)voidprocess(org.apache.poi.ss.usermodel.Row r, HTMLBuilder result)protected booleanprocessCell(HTMLBuilder result, org.apache.poi.ss.usermodel.Cell cell, boolean firstCell)protected booleanrowNeedsParagraph(org.apache.poi.ss.usermodel.Row r)
-
-
-
Constructor Detail
-
ParagraphRowStrategy
public ParagraphRowStrategy(ConversionStrategy<org.apache.poi.ss.usermodel.Cell> cellStrategy)
-
-
Method Detail
-
process
public void process(org.apache.poi.ss.usermodel.Row r, HTMLBuilder result)
-
processCell
protected boolean processCell(HTMLBuilder result, org.apache.poi.ss.usermodel.Cell cell, boolean firstCell)
-
appendInterCellElements
protected void appendInterCellElements(HTMLBuilder result)
-
cellHasData
protected boolean cellHasData(org.apache.poi.ss.usermodel.Cell in)
-
rowNeedsParagraph
protected boolean rowNeedsParagraph(org.apache.poi.ss.usermodel.Row r)
-
-