The Simple Java API for ODF builds upon the lower-level ODFDOM DOM and Package layer to provide an easy-to-use, high-level Java API for creating, modifying and extracting data from Open Document Format documents.

Simple Java API for ODF

Packages introduction

The design principle is "make users easily to locate the functions they want".

Document methods

For each frequently used document type, there is a class under package "org.odftoolkit.simple" to provide high level methods to manipulate this kind of documents.

Specific methods for different mimetype

For each frequently used mimetype, their is a package to contain the high level methods for this kind of mimetype, such as org.odftoolkit.simple.text and org.odftoolkit.simple.presentation. The packages for different mimetype contain:

Features methods

there are some packages defined for important common features available for all kinds of documents, such as table, meta and style. The packages for common features will contain the methods for specific features.

Common methods

There is another package named "org.odftoolkit.simpleodf.common", which contains functions that are not related with a specific document type nor a specific feature. For example, the text extractor functions are put in this package.

Further Information

For further Information about Simple Java API for ODF and related topics please visit following pages:
  1. Simple Java API for ODF wiki
  2. Simple Java API for ODF website
  3. ODF 1.2 Specification - ODF XML Schema (part1 - community draft 5)
  4. ODF 1.2 Specification - ODF XML Schema (part1 - latest published version)
  5. ODF 1.2 Specification - ODF Package (part3 - latest published version)
  6. ODFDOM wiki