Table of Contents

Preface

Who Should Read This Book?

Who Should Not Read This Book?

About the Examples

Organization of This Book

Conventions Used in This Book

Acknowledgments

Chapter 1. The Open Document Format

The Proprietary World

The OpenDocument Approach

Inside an OpenDocument file

File or Document?

The manifest.xml File

Namespaces

Unpacking and Packing OpenDocument files

The Virtues of Cheating

Chapter 2. The meta.xml, styles.xml, settings.xml, and content.xml Files

The settings.xml File

Configuration Items

Named Item Maps

Indexed Item Maps

The meta.xml File

The Dublin Core Elements

Elements from the meta Namespace

Time and Duration Formats

Case Study: Extracting Meta-Information

Archive::Zip::MemberRead

XML::Simple

The Meta Extraction Program

The styles.xml File

Font Declarations

Office Default and Named Styles

Names and Display Names

The content.xml File

Chapter 3. Text Document Basics

Characters and Paragraphs

Whitespace

Defining Paragraphs and Headings

Character and Paragraph Styles

Creating Font Declarations

Creating Automatic Styles

Character Styles

Using Character Styles

Paragraph Styles

Borders and Padding

Tab Stops

Asian and Complex Text Layout Characters

Case Study: Extracting Headings

Sections

Pages

Specifying a Page Master

Master Styles

Pages in the content.xml file

Bulleted, Numbered, and Outlined Lists

Case Study: Adding Headings to a Document

Chapter 4. Text Documents—Advanced

Frames

Style Information for Frames

Body Information for Frames

Inserting Images in ...

Get OASIS OpenDocument Essentials: Using OASIS OpenDocument XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.