Open Office Specification 1.0
Total Page:16
File Type:pdf, Size:1020Kb
Open Office Specification 1.0 Committee Draft 1, 22 Mar 2004 Document identifier: office-spec-1.0-cd-1.sxw Location: http://www.oasis-open.org/committees/office/ Editors: Michael Brauer, Sun Microsystems <[email protected]> Gary Edwards <[email protected]> Daniel Vogelheim, Sun Microsystems <[email protected]> Contributors: Doug Alberg, Boeing <[email protected]> Simon Davis, National Archive of Australia <[email protected]> Patrick Durusau, Society of Biblical Literature <[email protected]> David Faure, <[email protected]> Paul Grosso, Arbortext <[email protected]> Tom Magliery, Blast Radius <[email protected]> Phil Boutros, Stellent <[email protected]> John Chelsom, CSW Informatics <[email protected]> Jason Harrop, SpeedLegal <[email protected]> Mark Heller, New York State Office of the Attorney General <[email protected]> Paul Langille, Corel <[email protected]> Monica Martin, Drake Certivo <[email protected]> Uche Ogbuji <[email protected]> Lauren Wood <[email protected]> Abstract: This is the specification of Open Office XML, an open, XML-based file format for office applications, based on OpenOffice.org XML [OOo]. Status: This document is a draft, and will be updated periodically on no particular schedule. Send comments to the editors. Committee members should send comments on this specification to the [email protected] list. Others should subscribe to and send comments to the [email protected] list. To subscribe, send an email message to office- [email protected] with the word "subscribe" as the body of the message. office-spec-1.0-cd-1.sxw 22 March 2004 Copyright © OASIS Open 2002 - 2004. All Rights Reserved. Page 1 of 607 Table of Contents 1 Introduction...................................................................................................................................26 1.1 Introduction...........................................................................................................................26 1.2 Notation.................................................................................................................................26 1.3 Namespaces.........................................................................................................................26 1.4 Relax-NG Schema................................................................................................................28 1.5 Document Processing and Conformance.............................................................................28 1.6 White-Space Processing and EOL Handling........................................................................29 1.7 MIME Types..........................................................................................................................30 2 Document Structure.....................................................................................................................31 2.1 Document Roots...................................................................................................................31 2.1.1 Document Root Element Content Models.....................................................................32 2.1.2 Document Root Attributes.............................................................................................33 2.2 Document Metadata..............................................................................................................33 2.2.1 Pre-Defined vs. Custom Metadata................................................................................34 2.2.2 Sample Metadata..........................................................................................................34 2.3 Body Element and Document Types....................................................................................35 2.3.1 Text Documents............................................................................................................35 2.3.2 Drawing Documents......................................................................................................37 2.3.3 Presentation Documents...............................................................................................37 2.3.4 Spreadsheet Documents...............................................................................................38 2.3.5 Chart Documents...........................................................................................................39 2.3.6 Image Documents.........................................................................................................40 2.4 Application Settings...............................................................................................................40 2.4.1 Sequence of Settings....................................................................................................41 2.4.2 Base Settings.................................................................................................................42 2.4.3 Index Access of Sequences..........................................................................................42 2.4.4 Map Entry......................................................................................................................43 2.4.5 Name Access of Sequences.........................................................................................43 2.4.6 Cursor Position Setting..................................................................................................43 2.5 Scripts...................................................................................................................................44 2.5.1 Script..............................................................................................................................44 2.6 Font Face Declarations.........................................................................................................45 2.7 Styles....................................................................................................................................45 2.7.1 Location of Styles .........................................................................................................46 office-spec-1.0-cd-1.sxw 22 March 2004 Copyright © OASIS Open 2002 - 2004. All Rights Reserved. Page 2 of 607 2.8 Page Styles and Layout........................................................................................................48 3 Meta Data Elements.....................................................................................................................49 3.1 Pre-Defined Metadata Elements...........................................................................................49 3.1.1 Generator.......................................................................................................................49 3.1.2 Title................................................................................................................................49 3.1.3 Description.....................................................................................................................49 3.1.4 Subject...........................................................................................................................50 3.1.5 Keywords.......................................................................................................................50 3.1.6 Initial Creator ................................................................................................................50 3.1.7 Creator...........................................................................................................................50 3.1.8 Printed By......................................................................................................................50 3.1.9 Creation Date and Time................................................................................................51 3.1.10 Modification Date and Time.........................................................................................51 3.1.11 Print Date and Time.....................................................................................................51 3.1.12 Document Template....................................................................................................51 3.1.13 Automatic Reload........................................................................................................52 3.1.14 Hyperlink Behavior.......................................................................................................53 3.1.15 Language.....................................................................................................................54 3.1.16 Editing Cycles..............................................................................................................54 3.1.17 Editing Duration...........................................................................................................54 3.1.18 Document Statistics.....................................................................................................55 3.2 User-defined Metadata.........................................................................................................56 3.3 Custom Metadata..................................................................................................................57 4 Text Content.................................................................................................................................58