The Simple Java API for ODF focuses on the high level methods development. It has three layers:
Following diagram shows the structure of Simple Java API for ODF. The yellow boxes represent packages. The root package is org.odftoolkit.simple. The other packages are under the root package, and the name has eliminated org.odftoolkit.simple.
The Simple Java API has corresponding classes for the document layer of ODFDOM. Follow table shows the mapping between ODFDOM and Simple Java API.
Note: The first column "ODFDOM Package" is relative to "org.odftoolkit.odfdom", and the third column "Simple Package" is relative to "org.odftoolkit.simple".
ODFDOM Package | ODFDOM Class | Simple Package | Simple Class |
---|---|---|---|
doc | OdfDocument | root | Document |
OdfTextDocument | TextDocument | ||
OdfSpreadsheetDocument | SpreadsheetDocument | ||
OdfPresentationDocument | PresentationDocument | ||
OdfChartDocument | ChartDocument | ||
OdfGraphicsDocument | GraphicsDocument | ||
doc.table | OdfTable | table | Table |
OdfTableRow | Row | ||
OdfTableColumn | Column | ||
OdfTableCell | Cell | ||
OdfTableCellRange | CellRange | ||
doc.presentation | OdfSlide | presentation | Slide |
OdfPresentationNotes | Notes | ||
incubator.meta | OdfOfficeMeta | meta | Meta |
OdfMetaDocumentStatistic | DocumentStatistic | ||
incubator.search | common.navigation | ||
incubator.doc.text | common |