summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/shared/00/00000021.xhp
blob: e7555b18df1e2564dd0463b2e1c1443437fef98d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
 *
 *  The Contents of this file are made available subject to the terms of
 *  either of the following licenses
 *
 *         - GNU Lesser General Public License Version 2.1
 *         - Sun Industry Standards Source License Version 1.1
 *
 *  Sun Microsystems Inc., October, 2000
 *
 *  GNU Lesser General Public License Version 2.1
 *  =============================================
 *  Copyright 2000 by Sun Microsystems, Inc.
 *  901 San Antonio Road, Palo Alto, CA 94303, USA
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License version 2.1, as published by the Free Software Foundation.
 *
 *  This library is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 *  MA  02111-1307  USA
 *
 *
 *  Sun Industry Standards Source License Version 1.1
 *  =================================================
 *  The contents of this file are subject to the Sun Industry Standards
 *  Source License Version 1.1 (the "License"); You may not use this file
 *  except in compliance with the License. You may obtain a copy of the
 *  License at http://www.openoffice.org/license.html.
 *
 *  Software provided under this License is provided on an "AS IS" basis,
 *  WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
 *  WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 *  See the License for the specific provisions governing your rights and
 *  obligations concerning the Software.
 *
 *  The Initial Developer of the Original Code is: Sun Microsystems, Inc..
 *
 *  Copyright: 2000 by Sun Microsystems, Inc.
 *
 *  All Rights Reserved.
 *
 *  Contributor(s): _______________________________________
 *
 *
 ************************************************************************-->
	
<helpdocument version="1.0">
<meta>
<topic id="textshared0000000021xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">XML File Formats</title>
<filename>/text/shared/00/00000021.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-10-20T15:47:45">FPE: Removed screenshot
dedr: reviewed
UFI: added spec "File Format Names for New Oasis Open Office Format"
YJ: reviewed</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3154408"><bookmark_value>importing; XML</bookmark_value>
<bookmark_value>exporting; XML files</bookmark_value>
<bookmark_value>filters; for XML</bookmark_value>
<bookmark_value>file formats; XML</bookmark_value>
<bookmark_value>XML; file formats</bookmark_value>
<bookmark_value>extensions; file formats</bookmark_value>
<bookmark_value>suffixes in file formats</bookmark_value>
<bookmark_value>document types;XML</bookmark_value>
<bookmark_value>file formats; changing defaults</bookmark_value>
<bookmark_value>default formats; changing</bookmark_value>
<bookmark_value>file formats;Open Office</bookmark_value>
<bookmark_value>Open Office file formats</bookmark_value>
</bookmark>
<bookmark xml-lang="en-US" branch="hid/HID_DID_SAVE_PACKED_XML" id="bm_id3159242" localize="false"/>
<paragraph role="heading" id="hd_id3154408" xml-lang="en-US" level="1" l10n="U" oldref="2"><variable id="xmlformat"><link href="text/shared/00/00000021.xhp" name="XML File Formats">XML File Formats</link>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3148919" xml-lang="en-US" l10n="CHG" oldref="3"><ahelp hid="HID_DID_SAVE_PACKED_XML">By default, $[officename] loads and saves files in the Open Office file format.</ahelp><comment>UFI: or will it be called OpenOffice.org file format? Currently (20.Oct04) discussed by pteam</comment></paragraph>
<paragraph role="note" id="par_idN10725" xml-lang="en-US" l10n="NEW">The Open Office file format is an XML file format standardized by <link href="http://www.oasis-open.org">OASIS</link> (Organization for the Advancement of Structured Information Standards).</paragraph>
<paragraph role="heading" id="hd_id3156324" xml-lang="en-US" level="2" l10n="CHG" oldref="4">Open Office file format names</paragraph>
<paragraph role="paragraph" id="par_id3154926" xml-lang="en-US" l10n="CHG" oldref="5">%PRODUCTNAME %PRODUCTVERSION uses the following file formats:</paragraph>
<table id="tbl_id3109850">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3157898" xml-lang="en-US" l10n="U" oldref="6">Application</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_id3149549" xml-lang="en-US" l10n="U" oldref="7">File extension</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10762" xml-lang="en-US" l10n="NEW">Open Office Text </paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10767" xml-lang="en-US" l10n="NEW">*.oot</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1076D" xml-lang="en-US" l10n="NEW">Open Office Text Template</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10772" xml-lang="en-US" l10n="NEW">*.ott</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10778" xml-lang="en-US" l10n="NEW">Open Office Master Document</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1077D" xml-lang="en-US" l10n="NEW">*.oom</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10783" xml-lang="en-US" l10n="NEW">HTML Document</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10788" xml-lang="en-US" l10n="NEW">*.html</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1078E" xml-lang="en-US" l10n="NEW">HTML Document Template</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10793" xml-lang="en-US" l10n="NEW">*.oth</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10799" xml-lang="en-US" l10n="NEW">Open Office Spreadsheet</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1079E" xml-lang="en-US" l10n="NEW">*.oos</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107A4" xml-lang="en-US" l10n="NEW">Open Office Spreadsheet Template</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107A9" xml-lang="en-US" l10n="NEW">*.ots</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107AF" xml-lang="en-US" l10n="NEW">Open Office Drawing</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107B4" xml-lang="en-US" l10n="NEW">*.ood</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107BA" xml-lang="en-US" l10n="NEW">Open Office Drawing Template</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107BF" xml-lang="en-US" l10n="NEW">*.otd</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107C5" xml-lang="en-US" l10n="NEW">Open Office Presentation</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107CA" xml-lang="en-US" l10n="NEW">*.oop</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107D0" xml-lang="en-US" l10n="NEW">Open Office Presentation Template</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107D5" xml-lang="en-US" l10n="NEW">*.otp</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107DB" xml-lang="en-US" l10n="NEW">Open Office Formula</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN107E0" xml-lang="en-US" l10n="NEW">*.oof</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN1085B" xml-lang="en-US" l10n="NEW">Open Office Database</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_idN10860" xml-lang="en-US" l10n="NEW">*.odb</paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="heading" id="par_idN107E3" xml-lang="en-US" level="2" l10n="NEW">Older File Formats Prior to %PRODUCTNAME %PRODUCTVERSION</paragraph>
<paragraph role="paragraph" id="par_idN107E9" xml-lang="en-US" l10n="NEW">If you want to exchange documents with users that still use older versions of %PRODUCTNAME, save the document in the following formats:</paragraph>
<table id="tbl_id7832880">
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_idN107F8" xml-lang="en-US" l10n="NEW">Application</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablehead" id="par_idN107FE" xml-lang="en-US" l10n="NEW">File extension</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3149999" xml-lang="en-US" l10n="U" oldref="8">$[officename] Writer before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145314" xml-lang="en-US" l10n="U" oldref="9">*.sxw</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147008" xml-lang="en-US" l10n="U" oldref="10">$[officename] Writer templates before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3145212" xml-lang="en-US" l10n="U" oldref="11">*.stw</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154906" xml-lang="en-US" l10n="U" oldref="26">Master documents before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155922" xml-lang="en-US" l10n="U" oldref="27">*.sxg</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3152997" xml-lang="en-US" l10n="U" oldref="12">$[officename] Calc before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3109848" xml-lang="en-US" l10n="U" oldref="13">*.sxc</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3151339" xml-lang="en-US" l10n="U" oldref="14">$[officename] Calc templates before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3154307" xml-lang="en-US" l10n="U" oldref="15">*.stc</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3159167" xml-lang="en-US" l10n="U" oldref="16">$[officename] Impress before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3153825" xml-lang="en-US" l10n="U" oldref="17">*.sxi</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3150244" xml-lang="en-US" l10n="U" oldref="18">$[officename] Impress templates before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146949" xml-lang="en-US" l10n="U" oldref="19">*.sti</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155435" xml-lang="en-US" l10n="U" oldref="20">$[officename] Draw before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3157910" xml-lang="en-US" l10n="U" oldref="21">*.sxd</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3147618" xml-lang="en-US" l10n="U" oldref="22">$[officename] Draw templates before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155180" xml-lang="en-US" l10n="U" oldref="23">*.std</paragraph>
</tablecell>
</tablerow>
<tablerow>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3146848" xml-lang="en-US" l10n="U" oldref="24">$[officename] Math before %PRODUCTNAME %PRODUCTVERSION</paragraph>
</tablecell>
<tablecell colspan="" rowspan="">
<paragraph role="tablecontent" id="par_id3155829" xml-lang="en-US" l10n="U" oldref="25">*.sxm</paragraph>
</tablecell>
</tablerow>
</table>

<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="CHG" oldref="41">These file name extensions help you to identify the different file types in a directory. If you unzip the XML files, you can use applications other than %PRODUCTNAME to edit the file contents.</paragraph>
<paragraph role="tip" id="par_id3146907" xml-lang="en-US" l10n="CHG" oldref="1">If you want to define another file format as the default, choose <link href="text/shared/optionen/01010200.xhp" name="Tools - Options - Load/Save - General"><emph>Tools - Options - Load/Save - General</emph></link> to find alternative file formats for each $[officename] document type.</paragraph>
<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="2" l10n="U" oldref="28">XML file structure</paragraph>
<paragraph role="paragraph" id="par_id3149649" xml-lang="en-US" l10n="CHG" oldref="29">Documents in Open Office file format are stored as compressed zip archives that contain XML files. To view these XML files, you can open the Open Office file with an unzip program. The following files and directories are contained within the Open Office files:</paragraph>
<list type="unordered">
<listitem>
<paragraph role="listitem" id="par_id3153178" xml-lang="en-US" l10n="U" oldref="30">The text content of the document is located in <emph>content.xml</emph>.</paragraph>
<paragraph role="listitem" id="par_id3154068" xml-lang="en-US" l10n="U" oldref="31">By default, <emph>content.xml</emph> is stored without formatting elements like indentation or line breaks to minimize the time for saving and opening the document. On the <emph>Tools - Options - Load/Save - General</emph> tab page you can activate the use of indentations and line breaks by clearing the check box <emph>Size optimization for XML format (no pretty printing)</emph>.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3145152" xml-lang="en-US" l10n="U" oldref="32">The file <emph>meta.xml</emph> contains the meta information of the document, which you can enter under <emph>File - Properties</emph>.</paragraph>
<paragraph role="listitem" id="par_id3150740" xml-lang="en-US" l10n="U" oldref="33">If you save a document with a password, all XML files except <emph>meta.xml</emph> will be encrypted.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150391" xml-lang="en-US" l10n="U" oldref="34">The file <emph>settings.xml</emph> contains further information about the settings for this document.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3150447" xml-lang="en-US" l10n="U" oldref="35">In <emph>styles.xml,</emph> you find the styles applied to the document that can be seen in the Styles and Formatting window.</paragraph>
</listitem>
<listitem>
<paragraph role="listitem" id="par_id3153353" xml-lang="en-US" l10n="U" oldref="36">The <emph>meta-inf/manifest.xml</emph> file describes the structure of the XML file.</paragraph>
</listitem>
</list>
<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="37">Additional files can be contained in the packed file format. For example, illustrations can be contained in a <emph>Pictures</emph> subdirectory, Basic code in a <emph>Basic</emph> subdirectory, and linked Basic libraries in further subdirectories of <emph>Basic</emph>.</paragraph>
<paragraph role="heading" id="hd_id3154299" xml-lang="en-US" level="2" l10n="U" oldref="38">Definition of the XML formats</paragraph>
<paragraph role="paragraph" id="par_id3149561" xml-lang="en-US" l10n="U" oldref="39">The DTD (Document Type Description) files can be found in <switchinline select="sys"><caseinline select="UNIX">$[officepath]/share/dtd 
</caseinline><defaultinline>$[officepath]\share\dtd</defaultinline></switchinline>.</paragraph>
<paragraph role="paragraph" id="par_id3152596" xml-lang="en-US" l10n="U" oldref="40">Note that the formats are subject to certain licenses. You can find notes on the licenses at the start of the DTD files. More detailed information can be found on the <link href="http://www.openoffice.org" name="OpenOffice.org">OpenOffice.org</link> website.</paragraph>
<section id="relatedtopics">
<embed href="text/shared/guide/doc_open.xhp#doc_open"/>
<embed href="text/shared/guide/doc_save.xhp#doc_save"/>
<embed href="text/shared/guide/ms_doctypes.xhp#ms_doctypes"/>
<paragraph role="paragraph" id="par_idN10AC5" xml-lang="en-US" l10n="NEW"><link href="text/shared/autopi/01130000.xhp">Document Converter Wizard</link></paragraph>
</section>
</body>
</helpdocument>