Add support for indented tables in ODT export
[org-mode.git] / etc / styles / OrgOdtContentTemplate.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <office:document-content
3     xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0"
4     xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0"
5     xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0"
6     xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0"
7     xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0"
8     xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0"
9     xmlns:xlink="http://www.w3.org/1999/xlink"
10     xmlns:dc="http://purl.org/dc/elements/1.1/"
11     xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0"
12     xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0"
13     xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"
14     xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0"
15     xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0"
16     xmlns:math="http://www.w3.org/1998/Math/MathML"
17     xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0"
18     xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0"
19     xmlns:ooo="http://openoffice.org/2004/office"
20     xmlns:ooow="http://openoffice.org/2004/writer"
21     xmlns:oooc="http://openoffice.org/2004/calc"
22     xmlns:dom="http://www.w3.org/2001/xml-events"
23     xmlns:xforms="http://www.w3.org/2002/xforms"
24     xmlns:xsd="http://www.w3.org/2001/XMLSchema"
25     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26     xmlns:rpt="http://openoffice.org/2005/report"
27     xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2"
28     xmlns:xodt="http://www.w3.org/1999/xodt"
29     xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0"    office:version="1.2">
30   <!-- scripts -->
31   <office:scripts/>
32
33   <!-- font face declarations -->
34   <office:font-face-decls>
35     <style:font-face style:name="Tahoma1" svg:font-family="Tahoma"/>
36     <style:font-face style:name="courier" svg:font-family="courier, monospace"/>
37     <style:font-face style:name="Arial Unicode MS" svg:font-family="&apos;Arial Unicode MS&apos;" style:font-pitch="variable"/>
38     <style:font-face style:name="HG Mincho Light J" svg:font-family="&apos;HG Mincho Light J&apos;" style:font-pitch="variable"/>
39     <style:font-face style:name="Thorndale" svg:font-family="Thorndale" style:font-family-generic="roman" style:font-pitch="variable"/>
40     <style:font-face style:name="Times New Roman" svg:font-family="&apos;Times New Roman&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
41     <style:font-face style:name="Albany" svg:font-family="Albany" style:font-family-generic="swiss" style:font-pitch="variable"/>
42     <style:font-face style:name="SimSun" svg:font-family="SimSun" style:font-family-generic="system" style:font-pitch="variable"/>
43     <style:font-face style:name="Tahoma" svg:font-family="Tahoma" style:font-family-generic="system" style:font-pitch="variable"/>
44   </office:font-face-decls>
45
46   <!-- automatic styles -->
47   <office:automatic-styles>
48     <!-- Section styles -->
49     <style:style style:name="OrgIndentedSection-Level-1" style:family="section">
50       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="1.281cm" fo:margin-right="0cm" style:editable="false">
51         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
52       </style:section-properties>
53     </style:style>
54     <style:style style:name="OrgIndentedSection-Level-2" style:family="section">
55       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="1.905cm" fo:margin-right="0cm" style:editable="false">
56         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
57       </style:section-properties>
58     </style:style>
59     <style:style style:name="OrgIndentedSection-Level-3" style:family="section">
60       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="2.54cm" fo:margin-right="0cm" style:editable="false">
61         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
62       </style:section-properties>
63     </style:style>
64     <style:style style:name="OrgIndentedSection-Level-4" style:family="section">
65       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="3.175cm" fo:margin-right="0cm" style:editable="false">
66         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
67       </style:section-properties>
68     </style:style>
69     <style:style style:name="OrgIndentedSection-Level-5" style:family="section">
70       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="3.81cm" fo:margin-right="0cm" style:editable="false">
71         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
72       </style:section-properties>
73     </style:style>
74     <style:style style:name="OrgIndentedSection-Level-6" style:family="section">
75       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="4.445cm" fo:margin-right="0cm" style:editable="false">
76         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
77       </style:section-properties>
78     </style:style>
79     <style:style style:name="OrgIndentedSection-Level-7" style:family="section">
80       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="5.08cm" fo:margin-right="0cm" style:editable="false">
81         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
82       </style:section-properties>
83     </style:style>
84     <style:style style:name="OrgIndentedSection-Level-8" style:family="section">
85       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="5.715cm" fo:margin-right="0cm" style:editable="false">
86         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
87       </style:section-properties>
88     </style:style>
89     <style:style style:name="OrgIndentedSection-Level-9" style:family="section">
90       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="6.35cm" fo:margin-right="0cm" style:editable="false">
91         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
92       </style:section-properties>
93     </style:style>
94     <style:style style:name="OrgIndentedSection-Level-10" style:family="section">
95       <style:section-properties text:dont-balance-text-columns="false" fo:margin-left="6.985cm" fo:margin-right="0cm" style:editable="false">
96         <style:columns fo:column-count="1" fo:column-gap="0cm"/>
97       </style:section-properties>
98     </style:style>
99
100     <!-- Table styles -->
101     <style:style style:name="OrgTable" style:family="table">
102       <style:table-properties style:rel-width="96%" fo:margin-top="0cm" fo:margin-bottom="0.20cm" table:align="center"/>
103     </style:style>
104
105     <style:style style:name="OrgTableColumn" style:family="table-column">
106       <style:table-column-properties style:rel-column-width="1*"/>
107     </style:style>
108
109     <style:style style:name="OrgTblCell" style:family="table-cell">
110       <style:table-cell-properties style:vertical-align="top" fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="none" fo:border-right="none"/>
111     </style:style>
112     <style:style style:name="OrgTblCellL" style:family="table-cell" style:parent-style-name="OrgTblCell">
113       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="0.002cm solid #000000" fo:border-right="none"/>
114     </style:style>
115     <style:style style:name="OrgTblCellR" style:family="table-cell" style:parent-style-name="OrgTblCell">
116       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="none" fo:border-right="0.002cm solid #000000"/>
117     </style:style>
118     <style:style style:name="OrgTblCellLR" style:family="table-cell" style:parent-style-name="OrgTblCell">
119       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000"/>
120     </style:style>
121     <style:style style:name="OrgTblCellT" style:family="table-cell" style:parent-style-name="OrgTblCell">
122       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="none" fo:border-left="none" fo:border-right="none"/>
123     </style:style>
124     <style:style style:name="OrgTblCellTL" style:family="table-cell" style:parent-style-name="OrgTblCell">
125       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="none" fo:border-left="0.002cm solid #000000" fo:border-right="none"/>
126     </style:style>
127     <style:style style:name="OrgTblCellTR" style:family="table-cell" style:parent-style-name="OrgTblCell">
128       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="none" fo:border-left="none" fo:border-right="0.002cm solid #000000"/>
129     </style:style>
130     <style:style style:name="OrgTblCellTLR" style:family="table-cell" style:parent-style-name="OrgTblCell">
131       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="none" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000"/>
132     </style:style>
133     <style:style style:name="OrgTblCellB" style:family="table-cell" style:parent-style-name="OrgTblCell">
134       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="0.002cm solid #000000" fo:border-left="none" fo:border-right="none"/>
135     </style:style>
136     <style:style style:name="OrgTblCellBL" style:family="table-cell" style:parent-style-name="OrgTblCell">
137       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="0.002cm solid #000000" fo:border-left="0.002cm solid #000000" fo:border-right="none"/>
138     </style:style>
139     <style:style style:name="OrgTblCellBR" style:family="table-cell" style:parent-style-name="OrgTblCell">
140       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="0.002cm solid #000000" fo:border-left="none" fo:border-right="0.002cm solid #000000"/>
141     </style:style>
142     <style:style style:name="OrgTblCellBLR" style:family="table-cell" style:parent-style-name="OrgTblCell">
143       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="0.002cm solid #000000" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000"/>
144     </style:style>
145     <style:style style:name="OrgTblCellTB" style:family="table-cell" style:parent-style-name="OrgTblCell">
146       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000" fo:border-left="none" fo:border-right="none"/>
147     </style:style>
148     <style:style style:name="OrgTblCellTBL" style:family="table-cell" style:parent-style-name="OrgTblCell">
149       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000" fo:border-left="0.002cm solid #000000" fo:border-right="none"/>
150     </style:style>
151     <style:style style:name="OrgTblCellTBR" style:family="table-cell" style:parent-style-name="OrgTblCell">
152       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000" fo:border-left="none" fo:border-right="0.002cm solid #000000"/>
153     </style:style>
154     <style:style style:name="OrgTblCellTBLR" style:family="table-cell" style:parent-style-name="OrgTblCell">
155       <style:table-cell-properties fo:padding="0.159cm" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000"/>
156     </style:style>
157
158     <!-- BEGIN: Table styles for numbered equations -->
159     <style:style style:name="OrgEquation" style:family="table">
160       <style:table-properties style:rel-width="100%" fo:margin-top="0cm" fo:margin-bottom="0.20cm" table:align="center"/>
161     </style:style>
162     <style:style style:name="OrgEquationTableColumn" style:family="table-column">
163       <style:table-column-properties style:rel-column-width="1*"/>
164     </style:style>
165     <style:style style:name="OrgFirstEquationFirstColumnTableCell" style:family="table-cell">
166       <style:table-cell-properties style:vertical-align="middle" fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="none" fo:border-right="none"/>
167     </style:style>
168     <style:style style:name="OrgEquationLastColumnTableCell" style:family="table-cell">
169       <style:table-cell-properties style:vertical-align="middle" fo:padding="0.159cm" fo:border-top="none" fo:border-bottom="none" fo:border-left="none" fo:border-right="none"/>
170     </style:style>
171     <style:style style:name="OrgEquationFirstColumnTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
172       <style:paragraph-properties fo:text-align="center" style:justify-single-word="false"/>
173     </style:style>
174     <style:style style:name="OrgEquationLastColumnTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
175       <style:paragraph-properties fo:text-align="end" style:justify-single-word="false"/>
176     </style:style>
177     <!-- END: Table styles for numbered equations -->
178
179     <!-- BEGIN: Custom Table Template -->
180     <style:style style:name="Custom" style:family="table">
181       <style:table-properties style:rel-width="80%" table:align="center"/>
182     </style:style>
183
184     <style:style style:name="CustomColumn" style:family="table-column">
185       <style:table-column-properties style:rel-column-width="1*"/>
186     </style:style>
187
188     <!-- Table Paragraph Styles -->
189     <style:style style:name="CustomTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
190       <style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
191       <style:text-properties fo:color="#000000" style:text-outline="false" style:text-line-through-style="none" style:font-name="Times New Roman" fo:font-size="12pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="12pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="12pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-overline-style="none" style:text-overline-color="font-color"/>
192     </style:style>
193
194     <style:style style:name="CustomLastRowTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
195       <style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
196       <style:text-properties fo:color="#000000" style:text-outline="false" style:text-line-through-style="none" style:font-name="Times New Roman" fo:font-size="12pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="12pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="12pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-overline-style="none" style:text-overline-color="font-color"/>
197     </style:style>
198
199     <style:style style:name="CustomLastColumnTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
200       <style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
201       <style:text-properties fo:color="#000000" style:text-outline="false" style:text-line-through-style="none" style:font-name="Times New Roman" fo:font-size="12pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="12pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="12pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-overline-style="none" style:text-overline-color="font-color"/>
202     </style:style>
203
204     <style:style style:name="CustomFirstRowTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
205       <style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
206       <style:text-properties fo:color="#ffffff" style:text-outline="false" style:text-line-through-style="none" style:font-name="Times New Roman" fo:font-size="12pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="12pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="12pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-overline-style="none" style:text-overline-color="font-color"/>
207     </style:style>
208
209     <style:style style:name="CustomFirstColumnTableParagraph" style:family="paragraph" style:parent-style-name="Table_20_Contents">
210       <style:paragraph-properties fo:text-align="start" style:justify-single-word="false"/>
211       <style:text-properties fo:color="#ffffff" style:text-outline="false" style:text-line-through-style="none" style:font-name="Times New Roman" fo:font-size="12pt" fo:font-style="normal" fo:text-shadow="none" style:text-underline-style="none" fo:font-weight="normal" style:font-size-asian="12pt" style:font-style-asian="normal" style:font-weight-asian="normal" style:font-size-complex="12pt" style:font-style-complex="normal" style:font-weight-complex="normal" style:text-overline-style="none" style:text-overline-color="font-color"/>
212     </style:style>
213
214     <!-- Table Cell Styles -->
215     <style:style style:name="CustomTableCell" style:family="table-cell">
216       <style:table-cell-properties style:vertical-align="top" fo:background-color="#ffffff" fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000">
217         <style:background-image/>
218       </style:table-cell-properties>
219     </style:style>
220
221     <style:style style:name="CustomFirstRowTableCell" style:family="table-cell">
222       <style:table-cell-properties style:vertical-align="top" fo:background-color="#000080" fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000">
223         <style:background-image/>
224       </style:table-cell-properties>
225     </style:style>
226
227     <style:style style:name="CustomLastRowTableCell" style:family="table-cell">
228       <style:table-cell-properties style:vertical-align="top" fo:background-color="#cccccc" fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000">
229         <style:background-image/>
230       </style:table-cell-properties>
231     </style:style>
232
233     <style:style style:name="CustomFirstColumnTableCell" style:family="table-cell">
234       <style:table-cell-properties style:vertical-align="top" fo:background-color="#4d4d4d" fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000">
235         <style:background-image/>
236       </style:table-cell-properties>
237     </style:style>
238
239     <style:style style:name="CustomLastColumnTableCell" style:family="table-cell">
240       <style:table-cell-properties style:vertical-align="top" fo:background-color="#cccccc" fo:padding="0.097cm" fo:border-left="0.002cm solid #000000" fo:border-right="0.002cm solid #000000" fo:border-top="0.002cm solid #000000" fo:border-bottom="0.002cm solid #000000">
241         <style:background-image/>
242       </style:table-cell-properties>
243     </style:style>
244
245     <!-- END: Custom Table Template -->
246
247   </office:automatic-styles>
248
249   <office:body>
250     <office:text>
251       <text:sequence-decls>
252         <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
253         <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
254         <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
255         <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
256         <text:sequence-decl text:display-outline-level="0" text:name="Equation"/>
257         <text:sequence-decl text:display-outline-level="0" text:name="Figure"/>
258       </text:sequence-decls>
259     </office:text>
260   </office:body>
261 </office:document-content>