Package org.openl.excel.parser.event
Class StyleTrackingListener
- java.lang.Object
-
- org.openl.excel.parser.event.StyleTrackingListener
-
- All Implemented Interfaces:
org.apache.poi.hssf.eventusermodel.HSSFListener
public class StyleTrackingListener extends Object implements org.apache.poi.hssf.eventusermodel.HSSFListener
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFormatIndex(org.apache.poi.hssf.record.CellValueRecordInterface cell)Returns the index of the format string, used by your cell, or -1 if none foundStringgetFormatString(int formatIndex)shortgetIndent(org.apache.poi.hssf.record.CellValueRecordInterface cell)voidprocessRecord(org.apache.poi.hssf.record.Record record)
-
-
-
Method Detail
-
processRecord
public void processRecord(org.apache.poi.hssf.record.Record record)
- Specified by:
processRecordin interfaceorg.apache.poi.hssf.eventusermodel.HSSFListener
-
getFormatString
public String getFormatString(int formatIndex)
-
getFormatIndex
public int getFormatIndex(org.apache.poi.hssf.record.CellValueRecordInterface cell)
Returns the index of the format string, used by your cell, or -1 if none found- Parameters:
cell- the cell- Returns:
- the index of the format string
-
getIndent
public short getIndent(org.apache.poi.hssf.record.CellValueRecordInterface cell)
-
-