<?xml version="1.0"?>
|
<?mso-application progid="Excel.Sheet"?>
|
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
|
xmlns:o="urn:schemas-microsoft-com:office:office"
|
xmlns:x="urn:schemas-microsoft-com:office:excel"
|
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
|
xmlns:html="http://www.w3.org/TR/REC-html40">
|
<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
|
<Version>11.9999</Version>
|
</DocumentProperties>
|
<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
|
<WindowHeight>9645</WindowHeight>
|
<WindowWidth>14985</WindowWidth>
|
<WindowTopX>600</WindowTopX>
|
<WindowTopY>45</WindowTopY>
|
<ProtectStructure>False</ProtectStructure>
|
<ProtectWindows>False</ProtectWindows>
|
</ExcelWorkbook>
|
<Styles>
|
<Style ss:ID="Default" ss:Name="Normal">
|
<Alignment ss:Vertical="Center"/>
|
<Borders/>
|
<Font ss:FontName="宋体" x:CharSet="134" ss:Size="12"/>
|
<Interior/>
|
<NumberFormat/>
|
<Protection/>
|
</Style>
|
<Style ss:ID="s21">
|
<Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
<Font ss:FontName="宋体" x:CharSet="134" ss:Size="12" ss:Bold="1"/>
|
<Interior ss:Color="#C0C0C0" ss:Pattern="Solid"/>
|
</Style>
|
<Style ss:ID="s22">
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
</Style>
|
<Style ss:ID="s23">
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
<NumberFormat ss:Format="yyyy/mm/dd\ hh:mm:ss"/>
|
</Style>
|
<Style ss:ID="s24">
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
<NumberFormat ss:Format="yyyy/mm/dd"/>
|
</Style>
|
<Style ss:ID="s25">
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
<NumberFormat ss:Format="hh:mm:ss"/>
|
</Style>
|
<Style ss:ID="s26">
|
<Borders>
|
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
</Borders>
|
<NumberFormat ss:Format="yyyy/mm"/>
|
</Style>
|
</Styles>
|
<Worksheet ss:Name="${title}">
|
<Table ss:ExpandedColumnCount="${fields?size}" ss:ExpandedRowCount="${data?size + 1}" x:FullColumns="1"
|
x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25">
|
<#list fields as field>
|
<Column ss:AutoFitWidth="0" ss:Width="${field.width}"/>
|
</#list>
|
<Row ss:AutoFitHeight="0">
|
<#list fields as field>
|
<Cell ss:StyleID="s21"><Data ss:Type="String">${field.label}</Data></Cell>
|
</#list>
|
</Row>
|
<#list data as datarow>
|
<Row ss:AutoFitHeight="0">
|
<#list fields as field>
|
<#if field.fieldType == "int" || field.fieldType == "double">
|
<#assign style="s22" type="Number">
|
<#elseif field.fieldType == "datetime" && datarow[field_index]??>
|
<#assign style="s23" type="DateTime">
|
<#elseif field.fieldType == "date" && datarow[field_index]??>
|
<#assign style="s24" type="DateTime">
|
<#elseif field.fieldType == "time" && datarow[field_index]??>
|
<#assign style="s25" type="DateTime">
|
<#elseif field.fieldType == "month" && datarow[field_index]??>
|
<#assign style="s26" type="DateTime">
|
<#else>
|
<#assign style="s22" type="String">
|
</#if>
|
<#if type == "DateTime">
|
<Cell ss:StyleID="${style}"><Data ss:Type="${type}">${datarow[field_index]?string("yyyy-MM-dd'T'HH:mm:ss.SSS")}</Data></Cell>
|
<#else>
|
<Cell ss:StyleID="${style}"><Data ss:Type="${type}">${(datarow[field_index]!"")?html}</Data></Cell>
|
</#if>
|
</#list>
|
</Row>
|
</#list>
|
</Table>
|
<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
|
<Unsynced/>
|
<Print>
|
<ValidPrinterInfo/>
|
<PaperSizeIndex>9</PaperSizeIndex>
|
<HorizontalResolution>600</HorizontalResolution>
|
<VerticalResolution>600</VerticalResolution>
|
</Print>
|
<Selected/>
|
<ProtectObjects>False</ProtectObjects>
|
<ProtectScenarios>False</ProtectScenarios>
|
</WorksheetOptions>
|
</Worksheet>
|
</Workbook>
|