Browse Source

Merge pull request #1972 from boatrainlsz/master

fix grammar errors
developing
Jiaju Zhuang 3 years ago committed by GitHub
parent
commit
aaf4504981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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