OASIS OpenDocument Essentials: Using OASIS OpenDocument XML

Book description

The Organization for the Advancement of Structured Information Standards (OASIS) recently approved OpenDocument as standard. OpenDocument is "a royalty-free, XML-based file format that covers features required by text, spreadsheets, charts, and graphical documents." OpenDocument serves as the native file format for OpenOffice.org version 2 and future versions of KOffice.

OASIS OpenDocument Essentials—Using OASIS OpenDocument XML shows you how to take advantage of this format. In addition to explaining the basics of OpenDocument, this book has examples showing how to extract information from, transform, and programmatically create OpenDocument files.

Table of contents

  1. Cover Page
  2. Title Page
  3. Copyright
  4. Contents
  5. Preface
    1. Who Should Read This Book?
    2. Who Should Not Read This Book?
    3. About the Examples
    4. Organization of This Book
    5. Conventions Used in This Book
    6. Acknowledgments
  6. Chapter 1. The Open Document Format
    1. The Proprietary World
    2. The OpenDocument Approach
    3. Inside an OpenDocument file
    4. The manifest.xml File
    5. Namespaces
    6. Unpacking and Packing OpenDocument files
    7. The Virtues of Cheating
  7. Chapter 2. The meta.xml, styles.xml, settings.xml, and content.xml Files
    1. The settings.xml File
    2. Configuration Items
    3. Case Study: Extracting Meta-Information
    4. The styles.xml File
  8. Chapter 3. Text Document Basics
    1. Characters and Paragraphs
    2. Pages
    3. Bulleted, Numbered, and Outlined Lists
    4. Case Study: Adding Headings to a Document
  9. Chapter 4. Text Documents—Advanced
    1. Frames
    2. Style Information for Frames
    3. Body Information for Frames
    4. Inserting Images in Text
    5. Style Information for Images in Text
    6. Body Information for Images in Text
    7. Background Images
    8. Fields
    9. Date and Time Fields
    10. Page Numbering
    11. Document Information
    12. Footnotes and Endnotes
    13. Tracking Changes
    14. Tables in Text Documents
    15. Text Table Body Information
    16. Merged Cells
    17. Case Study: Creating a Table of Changes
  10. Chapter 5. Spreadsheets
    1. Spreadsheet Information in styles.xml
    2. Spreadsheet Information in content.xml
    3. Column and Row Styles
    4. Styles for the Sheet as a Whole
    5. Number Styles
    6. Internationalizing Number Styles
    7. Cell Styles
    8. Table Content
    9. Columns and Rows
    10. String Content Table Cells
    11. Numeric Content in Table Cells
    12. Putting it all Together
    13. Formula Content in Table Cells
    14. Merged Cells in Spreadsheets
    15. Case Study: Modifying a Spreadsheet
    16. Main Program
    17. Getting Parameters
    18. Converting the XML
    19. DOM Utilities
    20. Parsing the Format Strings
    21. Print Ranges
    22. Case Study: Creating a Spreadsheet
  11. Chapter 6. Drawings
    1. A Drawing's styles.xml File
    2. A Drawing's content.xml File
    3. Lines
    4. Line Attributes
    5. Arrows
    6. Measure Lines
    7. Attaching Text to a Line
    8. Basic Shapes
    9. Fill Styles
    10. Drop Shadows
    11. Rectangles
    12. Circles and Ellipses
    13. Arcs and Segments
    14. Polylines, Polygons, and Free Form Curves
    15. Adding Text to Drawings
    16. Rotation of Objects
    17. Case Study: Weather Diagram
    18. Styles for the Weather Drawing
    19. Objects in the Weather Drawing
    20. Grouping Objects
    21. Connectors
    22. Custom Glue Points
    23. Three-dimensional Graphics
    24. The dr3d:scene element
    25. Lighting
    26. The Object
    27. Extruded Objects
    28. Styles for 3-D Objects
  12. Chapter 7. Presentations
    1. Presentation Styles in styles.xml
    2. Page Layouts in styles.xml
    3. Master Styles in styles.xml
    4. A Presentation's content.xml File
    5. Text Boxes in a Presentation
    6. Images and Objects in a Presentation
    7. Text Animation
    8. SMIL Animations
    9. Transitions
    10. Interaction in Presentations
    11. Case Study: Creating a Slide Show
  13. Chapter 8. Charts
    1. Chart Terminology
    2. Charts are Objects
    3. Common Attributes for <draw:object>
    4. Charts in Word Processing Documents
    5. Charts in Drawings
    6. Charts in Spreadsheets
    7. Chart Contents
    8. The Plot Area
    9. Data Series
    10. Wall and Floor
    11. The Chart Data Table
    12. Case Study - Creating Pie Charts
    13. Three-D Charts
  14. Chapter 9. Filters in OpenOffice.org
    1. The Foreign File Format
    2. Building the Import Filter
    3. Building the Export Filter
    4. Installing a Filter
  15. Appendix A. The XML You Need for OpenDocument
    1. What is XML?
    2. Anatomy of an XML Document
    3. Elements and Attributes
    4. Name Syntax
    5. Well-Formed
    6. Comments
    7. Entity References
    8. Character References
    9. Character Encodings
    10. Unicode Encoding Schemes
    11. Other Character Encodings
    12. Validity
    13. Document Type Definitions (DTDs)
    14. Putting It Together
    15. XML Namespaces
    16. Tools for Processing XML
    17. XSLT Processors
  16. Appendix B. The XSLT You Need for OpenDocument
    1. XPath
    2. Axes
    3. Predicates
    4. XSLT
    5. XSLT Default Processing
    6. Adding Your Own Templates
    7. Selecting Nodes to Process
    8. Conditional Processing in XSLT
    9. XSLT Functions
    10. Named Templates, Calls, and Parameters
  17. Appendix C. Utilities for Processing OpenDocument Files
    1. An XSLT Transformation
    2. Using XSLT to Indent OpenDocument Files
    3. An XSLT Framework for OpenDocument files
    4. OpenDocument White Space Representation
    5. Showing Meta-information Using SAX
    6. Creating Multiple Directory Levels
  18. Appendix D. GNU Free Documentation License
    1. PREAMBLE
    2. APPLICABILITY AND DEFINITIONS
    3. VERBATIM COPYING
    4. COPYING IN QUANTITY
    5. MODIFICATIONS
    6. COMBINING DOCUMENTS
    7. COLLECTIONS OF DOCUMENTS
    8. AGGREGATION WITH INDEPENDENT WORKS
    9. TRANSLATION
    10. TERMINATION
    11. FUTURE REVISIONS OF THIS LICENSE
    12. ADDENDUM: How to use this License for your documents
  19. Index

Product information

  • Title: OASIS OpenDocument Essentials: Using OASIS OpenDocument XML
  • Author(s): J. David Eisenberg
  • Release date: February 2005
  • Publisher(s): O'Reilly Media, Inc.
  • ISBN: 9781411668324