summaryrefslogtreecommitdiffstats
path: root/test/xls-xml/table
diff options
context:
space:
mode:
Diffstat (limited to 'test/xls-xml/table')
-rw-r--r--test/xls-xml/table/autofilter.xml180
1 files changed, 180 insertions, 0 deletions
diff --git a/test/xls-xml/table/autofilter.xml b/test/xls-xml/table/autofilter.xml
new file mode 100644
index 0000000..6a65df8
--- /dev/null
+++ b/test/xls-xml/table/autofilter.xml
@@ -0,0 +1,180 @@
+<?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">
+ <Author>Kohei Yoshida</Author>
+ <LastAuthor>Kohei Yoshida</LastAuthor>
+ <Created>2013-11-02T20:32:38Z</Created>
+ <LastSaved>2017-03-03T02:41:39Z</LastSaved>
+ <Version>15.00</Version>
+ </DocumentProperties>
+ <OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">
+ <AllowPNG/>
+ </OfficeDocumentSettings>
+ <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
+ <WindowHeight>9525</WindowHeight>
+ <WindowWidth>19155</WindowWidth>
+ <WindowTopX>0</WindowTopX>
+ <WindowTopY>75</WindowTopY>
+ <ProtectStructure>False</ProtectStructure>
+ <ProtectWindows>False</ProtectWindows>
+ </ExcelWorkbook>
+ <Styles>
+ <Style ss:ID="Default" ss:Name="Normal">
+ <Alignment ss:Vertical="Bottom"/>
+ <Borders/>
+ <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"/>
+ <Interior/>
+ <NumberFormat/>
+ <Protection/>
+ </Style>
+ <Style ss:ID="s16">
+ <Borders>
+ <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ </Style>
+ <Style ss:ID="s17">
+ <Borders>
+ <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ </Style>
+ <Style ss:ID="s18">
+ <Borders>
+ <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
+ <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ </Style>
+ <Style ss:ID="s19">
+ <Borders>
+ <Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
+ <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ </Style>
+ <Style ss:ID="s20">
+ <Borders>
+ <Border ss:Position="Left" ss:LineStyle="Continuous" ss:Weight="1"/>
+ <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
+ ss:Bold="1"/>
+ <Interior ss:Color="#92D050" ss:Pattern="Solid"/>
+ </Style>
+ <Style ss:ID="s21">
+ <Borders>
+ <Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
+ <Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
+ </Borders>
+ <Font ss:FontName="Calibri" x:Family="Swiss" ss:Size="11" ss:Color="#000000"
+ ss:Bold="1"/>
+ <Interior ss:Color="#92D050" ss:Pattern="Solid"/>
+ </Style>
+ </Styles>
+ <Worksheet ss:Name="Filter">
+ <Names>
+ <NamedRange ss:Name="_FilterDatabase" ss:RefersTo="=Filter!R2C2:R11C3"
+ ss:Hidden="1"/>
+ </Names>
+ <Table ss:ExpandedColumnCount="3" ss:ExpandedRowCount="11" x:FullColumns="1"
+ x:FullRows="1" ss:DefaultRowHeight="15">
+ <Row ss:Index="2">
+ <Cell ss:Index="2" ss:StyleID="s20"><Data ss:Type="String">Field1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s21"><Data ss:Type="String">Field2</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row>
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">A</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row ss:Hidden="1">
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">B</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">2</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row>
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">C</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row ss:Hidden="1">
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">A</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">2</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row ss:Hidden="1">
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">B</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row ss:Hidden="1">
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">C</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">2</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row>
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">A</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row ss:Hidden="1">
+ <Cell ss:Index="2" ss:StyleID="s16"><Data ss:Type="String">B</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s17"><Data ss:Type="Number">2</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ <Row>
+ <Cell ss:Index="2" ss:StyleID="s18"><Data ss:Type="String">C</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ <Cell ss:StyleID="s19"><Data ss:Type="Number">1</Data><NamedCell
+ ss:Name="_FilterDatabase"/></Cell>
+ </Row>
+ </Table>
+ <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
+ <PageSetup>
+ <Header x:Margin="0.3"/>
+ <Footer x:Margin="0.3"/>
+ <PageMargins x:Bottom="0.75" x:Left="0.7" x:Right="0.7" x:Top="0.75"/>
+ </PageSetup>
+ <Print>
+ <ValidPrinterInfo/>
+ <HorizontalResolution>600</HorizontalResolution>
+ <VerticalResolution>600</VerticalResolution>
+ </Print>
+ <Selected/>
+ <FilterOn/>
+ <Panes>
+ <Pane>
+ <Number>3</Number>
+ <ActiveRow>15</ActiveRow>
+ <ActiveCol>3</ActiveCol>
+ </Pane>
+ </Panes>
+ <ProtectObjects>False</ProtectObjects>
+ <ProtectScenarios>False</ProtectScenarios>
+ </WorksheetOptions>
+ <AutoFilter x:Range="R2C2:R11C3"
+ xmlns="urn:schemas-microsoft-com:office:excel">
+ <AutoFilterColumn x:Type="Custom">
+ <AutoFilterOr>
+ <AutoFilterCondition x:Operator="Equals" x:Value="A"/>
+ <AutoFilterCondition x:Operator="Equals" x:Value="C"/>
+ </AutoFilterOr>
+ </AutoFilterColumn>
+ <AutoFilterColumn x:Type="Custom">
+ <AutoFilterCondition x:Operator="Equals" x:Value="1"/>
+ </AutoFilterColumn>
+ </AutoFilter>
+ </Worksheet>
+</Workbook>