merge the formfield patch from ooo-build
[ooovba.git] / testautomation / xml / optional / input / calc / ExcelXML / formula.xml
blob179adabb63ae7ece37f2609d90ae15cbbcee13cb
1 <?xml version="1.0"?>
2 <?mso-application progid="Excel.Sheet"?>
3 <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">
4     <DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">
5         <Author>Gavin Lu</Author>
6         <LastAuthor>Gavin Lu</LastAuthor>
7         <Created>2003-07-07T08:45:43Z</Created>
8         <Company>Sun China Engineering &amp; Research Institute</Company>
9         <Version>11.5329</Version>
10     </DocumentProperties>
11     <ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">
12         <WindowHeight>9000</WindowHeight>
13         <WindowWidth>13860</WindowWidth>
14         <WindowTopX>240</WindowTopX>
15         <WindowTopY>75</WindowTopY>
16         <ProtectStructure>False</ProtectStructure>
17         <ProtectWindows>False</ProtectWindows>
18     </ExcelWorkbook>
19     <Styles>
20         <Style ss:ID="Default" ss:Name="Normal">
21             <Alignment ss:Vertical="Center"/>
22             <Borders/>
23             <Font ss:FontName="宋体" x:CharSet="134" ss:Size="12"/>
24             <Interior/>
25             <NumberFormat/>
26             <Protection/>
27         </Style>
28         <Style ss:ID="s21">
29             <Alignment ss:Vertical="Center"/>
30             <Interior/>
31         </Style>
32         <Style ss:ID="s22">
33             <Interior/>
34         </Style>
35         <Style ss:ID="s23">
36             <Interior ss:Color="#00FFFF" ss:Pattern="Solid"/>
37         </Style>
38         <Style ss:ID="s24">
39             <Interior ss:Color="#FFFF00" ss:Pattern="Solid"/>
40         </Style>
41         <Style ss:ID="s25">
42             <Interior ss:Color="#FFFF00" ss:Pattern="Solid"/>
43             <Protection x:HideFormula="1"/>
44         </Style>
45         <Style ss:ID="s26">
46             <NumberFormat ss:Format="@"/>
47         </Style>
48         <Style ss:ID="s38">
49             <Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
50             <Font ss:FontName="宋体" x:CharSet="134" ss:Size="36" ss:Color="#FF6600" ss:Bold="1"/>
51             <Interior ss:Color="#0000FF" ss:Pattern="Solid"/>
52         </Style>
53     </Styles>
54     <Names>
55         <NamedRange ss:Name="name1" ss:RefersTo="=Sheet2!R4C2"/>
56         <NamedRange ss:Name="name2" ss:RefersTo="=Sheet1!R4C2"/>
57         <NamedRange ss:Name="name3" ss:RefersTo="=1"/>
58         <NamedRange ss:Name="name4" ss:RefersTo="=3"/>
59     </Names>
60     <Worksheet ss:Name="Sheet1" ss:Protected="1">
61         <Table ss:ExpandedColumnCount="9" ss:ExpandedRowCount="13" x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25">
62             <Row ss:AutoFitHeight="0">
63                 <Cell>
64                     <Data ss:Type="String">name3/4's virtual base</Data>
65                 </Cell>
66                 <Cell ss:Index="5">
67                     <Data ss:Type="String">name4</Data>
68                 </Cell>
69                 <Cell ss:Index="7">
70                     <Data ss:Type="String">name3</Data>
71                 </Cell>
72             </Row>
73             <Row ss:AutoFitHeight="0">
74                 <Cell ss:Index="2" ss:StyleID="s21"/>
75                 <Cell ss:StyleID="s21"/>
76                 <Cell ss:StyleID="s21"/>
77                 <Cell ss:Formula="=name4">
78                     <Data ss:Type="Number">3</Data>
79                 </Cell>
80                 <Cell ss:Index="7" ss:StyleID="s22" ss:Formula="=name3">
81                     <Data ss:Type="Number">1</Data>
82                 </Cell>
83             </Row>
84             <Row ss:AutoFitHeight="0">
85                 <Cell ss:Index="2" ss:StyleID="s23">
86                     <Data ss:Type="Number">23</Data>
87                 </Cell>
88                 <Cell ss:StyleID="s23"/>
89                 <Cell ss:StyleID="s23"/>
90                 <Cell ss:Index="7" ss:StyleID="s24" ss:Formula="=(RC2 * 655+Sheet2!R[-1]C[-5]-R[1]C[2])">
91                     <Data ss:Type="Number">15063</Data>
92                 </Cell>
93                 <Cell ss:Index="9">
94                     <Data ss:Type="Number">232</Data>
95                 </Cell>
96             </Row>
97             <Row ss:AutoFitHeight="0">
98                 <Cell>
99                     <Data ss:Type="String">name2-&gt;</Data>
100                 </Cell>
101                 <Cell ss:StyleID="s23">
102                     <Data ss:Type="Number">65</Data>
103                     <NamedCell ss:Name="name2"/>
104                 </Cell>
105                 <Cell ss:StyleID="s23">
106                     <Data ss:Type="Number">2342</Data>
107                 </Cell>
108                 <Cell ss:StyleID="s23">
109                     <Data ss:Type="Number">32.898000000000003</Data>
110                 </Cell>
111                 <Cell>
112                     <Data ss:Type="String">hidden formula&#45;&#45;-&gt;</Data>
113                 </Cell>
114                 <Cell ss:Index="7" ss:StyleID="s25" ss:Formula="=AVERAGE(RC[-5]:RC[-3])">
115                     <Data ss:Type="Number">813.29933333333338</Data>
116                 </Cell>
117                 <Cell ss:Index="9">
118                     <Data ss:Type="Number">234</Data>
119                 </Cell>
120             </Row>
121             <Row ss:AutoFitHeight="0">
122                 <Cell ss:Index="2" ss:StyleID="s23">
123                     <Data ss:Type="Number">35</Data>
124                 </Cell>
125                 <Cell ss:StyleID="s23"/>
126                 <Cell ss:StyleID="s23"/>
127                 <Cell ss:Index="6" ss:StyleID="s26">
128                     <Data ss:Type="String">+name1-&gt;</Data>
129                 </Cell>
130                 <Cell ss:StyleID="s24" ss:Formula="=SUM(R[-2]C[-5],R[-1]C[-5],R[-1]C[-3],name1)">
131                     <Data ss:Type="Number">463.89800000000002</Data>
132                 </Cell>
133                 <Cell ss:Index="9">
134                     <Data ss:Type="Number">2342</Data>
135                 </Cell>
136             </Row>
137             <Row ss:AutoFitHeight="0">
138                 <Cell ss:Index="6" ss:StyleID="s26">
139                     <Data ss:Type="String">+name2-&gt;</Data>
140                 </Cell>
141                 <Cell ss:StyleID="s24" ss:Formula="=SUM(R[-3]C[-5],R[-2]C[-5],R[-2]C[-3],name2)">
142                     <Data ss:Type="Number">185.898</Data>
143                 </Cell>
144             </Row>
145             <Row ss:AutoFitHeight="0"/>
146             <Row ss:AutoFitHeight="0">
147                 <Cell ss:Index="2" ss:MergeAcross="7" ss:MergeDown="5" ss:StyleID="s38">
148                     <Data ss:Type="String">Protected Sheet</Data>
149                 </Cell>
150             </Row>
151             <Row ss:AutoFitHeight="0" ss:Span="4"/>
152         </Table>
153         <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
154             <Unsynced/>
155             <Print>
156                 <ValidPrinterInfo/>
157                 <PaperSizeIndex>9</PaperSizeIndex>
158                 <HorizontalResolution>600</HorizontalResolution>
159                 <VerticalResolution>600</VerticalResolution>
160             </Print>
161             <Selected/>
162             <Panes>
163                 <Pane>
164                     <Number>3</Number>
165                     <ActiveRow>7</ActiveRow>
166                     <ActiveCol>1</ActiveCol>
167                     <RangeSelection>R8C2:R13C9</RangeSelection>
168                 </Pane>
169             </Panes>
170             <ProtectObjects>True</ProtectObjects>
171             <ProtectScenarios>True</ProtectScenarios>
172         </WorksheetOptions>
173     </Worksheet>
174     <Worksheet ss:Name="Sheet2">
175         <Table ss:ExpandedColumnCount="2" ss:ExpandedRowCount="4" x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25">
176             <Row ss:AutoFitHeight="0"/>
177             <Row ss:AutoFitHeight="0">
178                 <Cell ss:Index="2">
179                     <Data ss:Type="Number">232</Data>
180                 </Cell>
181             </Row>
182             <Row ss:AutoFitHeight="0"/>
183             <Row ss:AutoFitHeight="0">
184                 <Cell>
185                     <Data ss:Type="String">name1-&gt;</Data>
186                 </Cell>
187                 <Cell>
188                     <Data ss:Type="Number">343</Data>
189                     <NamedCell ss:Name="name1"/>
190                 </Cell>
191             </Row>
192         </Table>
193         <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
194             <Unsynced/>
195             <Panes>
196                 <Pane>
197                     <Number>3</Number>
198                     <ActiveRow>30</ActiveRow>
199                 </Pane>
200             </Panes>
201             <ProtectObjects>False</ProtectObjects>
202             <ProtectScenarios>False</ProtectScenarios>
203         </WorksheetOptions>
204     </Worksheet>
205     <Worksheet ss:Name="Sheet3">
206         <Table ss:ExpandedColumnCount="0" ss:ExpandedRowCount="0" x:FullColumns="1" x:FullRows="1" ss:DefaultColumnWidth="54" ss:DefaultRowHeight="14.25"/>
207         <WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">
208             <Unsynced/>
209             <ProtectObjects>False</ProtectObjects>
210             <ProtectScenarios>False</ProtectScenarios>
211         </WorksheetOptions>
212     </Worksheet>
213 </Workbook>