Excel2007以后都是用XML格式存储,那么如何来查看存储格式呢?其实很简单,将xlsx后缀修改为zip格式,然后用压缩软件打开。
1、文件目录
2、sheet文件夹
3、sheet页
4、下面这个是excel一行的存储结构
<?xml version="1.0" encoding="utf-8"?>
<row r="3">
<c r="A3" t="inlineStr">
<is>
<t>2</t>
</is>
</c>
<c r="B3" t="inlineStr">
<is>
<t>name2</t>
</is>
</c>
<c r="C3" t="inlineStr">
<is>
<t>desc2</t>
</is>
</c>
<c r="D3" t="inlineStr">
<is>
<t>java.util.GregorianCalendar[time=1554266304198,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util.calendar.ZoneInfo[id="Asia/Shanghai",offset=28800000,dstSavings=0,useDaylight=false,transitions=19,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=1,YEAR=2019,MONTH=3,WEEK_OF_YEAR=14,WEEK_OF_MONTH=1,DAY_OF_MONTH=3,DAY_OF_YEAR=93,DAY_OF_WEEK=4,DAY_OF_WEEK_IN_MONTH=1,AM_PM=1,HOUR=0,HOUR_OF_DAY=12,MINUTE=38,SECOND=24,MILLISECOND=198,ZONE_OFFSET=28800000,DST_OFFSET=0]</t>
</is>
</c>
</row>