This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

staroffice 6


Just installed office 6.

Really disappointed, no 'export as xml' !!!
RTFM :-)

The default .sxw format is zipped xml.
•The text content of the document is located in content.xml. You can view this file with, for example, a pure text editor.
By default content.xml without indents is stored at the start of the line in order to minimize the time for saving and opening. By choosing Tools - Options - Load/Save - General you can change this procedure so that the lines are saved with a structured indent.
•meta.xml contains, inter alia, the meta information on the document, which you can enter underFile - Properties.
If you save a document with security, only meta.xml is not secured.
•settings.xml contains further information on settings for this document, for example on the printer, on the recording of changes, the associated data sources and so on.
•In styles.xml you find the Styles defined for the document that can, for example, be seen in the Stylist.
•The meta-inf/manifest.xml file describes the structure of the XML file.

example below. Even has the fo namespace!

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE office:document-content PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "office.dtd">

<office:document-content xmlns:office="http://openoffice.org/2000/office";

xmlns:style="http://openoffice.org/2000/style";

xmlns:text="http://openoffice.org/2000/text";

xmlns:table="http://openoffice.org/2000/table";

xmlns:draw="http://openoffice.org/2000/drawing";
xmlns:fo="http://www.w3.org/1999/XSL/Format";

xmlns:xlink="http://www.w3.org/1999/xlink";

xmlns:number="http://openoffice.org/2000/datastyle";

xmlns:svg="http://www.w3.org/2000/svg";

xmlns:chart="http://openoffice.org/2000/chart";

xmlns:dr3d="http://openoffice.org/2000/dr3d";
xmlns:math="http://www.w3.org/1998/Math/MathML";

xmlns:form="http://openoffice.org/2000/form";
xmlns:script="http://openoffice.org/2000/script";

office:class="text"
office:version="1.0">

<office:script/>

<office:font-decls>

<style:font-decl style:name="Arial Unicode MS" fo:font-family="&apos;Arial Unicode MS&apos;" style:font-pitch="variable"/>

<style:font-decl style:name="HG Mincho Light J"

fo:font-family="&apos;HG Mincho Light J&apos;"

style:font-pitch="variable"/>

<style:font-decl style:name="Thorndale"

fo:font-family="Thorndale"

style:font-family-generic="roman"

style:font-pitch="variable"/>

<style:font-decl style:name="Albany"

fo:font-family="Albany" style:font-family-generic="swiss"

style:font-pitch="variable"/>

<style:font-decl style:name="Arial"
fo:font-family="Arial" style:font-style-name="Regular"
style:font-family-generic="swiss" style:font-pitch="variable"/>

</office:font-decls>

<office:automatic-styles/>

<office:body>

<text:sequence-decls>
<text:sequence-decl text:display-outline-level="0"
text:name="Illustration"/>
<text:sequence-decl text:display-outline-level="0"
text:name="Table"/>
<text:sequence-decl text:display-outline-level="0" text:name="Text"/>

<text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
</text:sequence-decls>

<text:h text:style-name="Heading 1"
text:level="1">Heading 1
</text:h>
<text:h text:style-name="Heading 2" text:level="2">Test Heading 2.</text:h>
<text:p text:style-name="Text body">Normal Text; Standard paragraph using basic fonts.</text:p><text:p text:style-name="Text body"/>
<text:p text:style-name="First line indent">Text with first line indent. More text on same line without breaks. Note that it continues underneath the paragraph styles.</text:p>
<text:p text:style-name="First line indent"/>

<text:p text:style-name="Text body">Back to normal paragraph. Appears to word completion, don&apos;t know how to utilise it yet.</text:p>
<text:p text:style-name="Text body"/>
<text:p text:style-name="Marginalia">Marginalia. Centred or right aligned. Lets find out by keeping typing until it wraps. Yep. Appears right aligned. Word finishing appears to be based on previously typed words.</text:p>
<text:p text:style-name="Marginalia"/>
<text:p text:style-name="Signature">Signature line.</text:p>
</office:body>

</office:document-content>

regards DaveP




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]