Browse Source

fix grammar errors

pull/1972/head
Samuel 4 years ago
parent
commit
c7dc8fd08e
  1. 14
      src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java

14
src/main/java/com/alibaba/excel/analysis/v07/handlers/CellTagHandler.java

@ -27,13 +27,13 @@ public class CellTagHandler extends AbstractXlsxTagHandler {
xlsxReadSheetHolder.setColumnIndex(PositionUtils.getCol(attributes.getValue(ExcelXmlConstants.ATTRIBUTE_R), xlsxReadSheetHolder.setColumnIndex(PositionUtils.getCol(attributes.getValue(ExcelXmlConstants.ATTRIBUTE_R),
xlsxReadSheetHolder.getColumnIndex())); xlsxReadSheetHolder.getColumnIndex()));
// t="s" ,it's means String // t="s" ,it means String
// t="str" ,it's means String,but does not need to be read in the 'sharedStrings.xml' // t="str" ,it means String,but does not need to be read in the 'sharedStrings.xml'
// t="inlineStr" ,it's means String // t="inlineStr" ,it means String
// t="b" ,it's means Boolean // t="b" ,it means Boolean
// t="e" ,it's means Error // t="e" ,it means Error
// t="n" ,it's means Number // t="n" ,it means Number
// t is null ,it's means Empty or Number // t is null ,it means Empty or Number
CellDataTypeEnum type = CellDataTypeEnum.buildFromCellType(attributes.getValue(ExcelXmlConstants.ATTRIBUTE_T)); CellDataTypeEnum type = CellDataTypeEnum.buildFromCellType(attributes.getValue(ExcelXmlConstants.ATTRIBUTE_T));
xlsxReadSheetHolder.setTempCellData(new CellData(type)); xlsxReadSheetHolder.setTempCellData(new CellData(type));
xlsxReadSheetHolder.setTempData(new StringBuilder()); xlsxReadSheetHolder.setTempData(new StringBuilder());

Loading…
Cancel
Save