ODFDOM ODF as a server

download ODFDOM ODF as a server

If you can't read please download the document

Transcript of ODFDOM ODF as a server

ODFDOM -
Present, Past
and Future

Svante SchubertSoftware EngineerSun Microsystems Inc.

Who am I:- Since over 10 years working for Sun Microsystems in XML area for StarOffice/OpenOffice.org- Developer of the XHTML export filter (XSLT) and MS Office 2003 SpreadsheetML export filter- Co-Lead of the OpenOffice.org XML Projectes- Member of the W3C Compound Document Format WG and related to this in the W3C CSS WG the editor of the CSS Mobile Profile 2.0- Member of the W3C Semantic Interest Group- Member of the OASIS ODF TC- Member of the OASIS ODF Metadata Subcommittee (Co-editor der Metadaten Spec with Patrick Durusau)- Member of the OASIS ODF Interoperability and Conformance TC (OIC)- Chair des ODFDOM Projektes (ODF Java library) on odftoolkit.org

ODFDOM - Present, Past and Future

The PastRequirements

Principles

The PresentArchitecture

Resources

The FutureNext Step

Visions

The Past - Requirements

Library for ODF processingODF centric library

Lightweight / lean library

Simple / intuitive API

Opensource

High usability

IF you need an ODF opensource library on the server (manipulating thousends of document)You want an:- Lean library (only provide, what you need for ODF document creation/manipulation - e.g. no UI)- ODF centric (package / XML) (OOo source base founded 1984 - 2002 OASIS Open Office XML - ODF 1.0 ISO 2006) - 22 years later- Simple API (intuitive, repeating pattern, low learning curve)- high usability (ease of use) - be comfortable, avoid redunandant tasks for the user

The Past - Principles

Base PrinciplesModel based on ODF

Focus on model

Generate sources (typed DOM)
from ODF schema

Public available on Odftoolkit.org
using Apache 2

Allow feature perspective

IF you need an ODF opensource library on the server (manipulating thousends of document)You want an:- Lean library (only provide, what you need for ODF document creation/manipulation - e.g. no UI)- ODF centric (package / XML) (OOo source base founded 1984 - 2002 OASIS Open Office XML - ODF 1.0 ISO 2006) - 22 years later- Simple API (intuitive, repeating pattern, low learning curve)- high usability (ease of use) - be comfortable, avoid redunandant tasks for the user

The Present - Layered Model

Layered model similar to the ODF 1.2 specification Part 1 (Schema) and Part 3 (Package)

The Present ODF Table Example

The Present - ODF Table as DOM

The Present - API Model

Convenient APICommon high-level convenience functionality based on Feature (e.g. add table, add table row, etc.)DOM APIProcessing ODF documents on ODF XML element level
Generated from the ODF RelaxNG Schema (typed W3C XML DOM)Package APIAdding / removing file streams from the ODF package (ZIP)

The Present - Resources

Quick LookProject of ODF Toolkit - http://odftoolkit.org

Wiki - http://odftoolkit.org/projects/odfdom/pages/Home

Deep Look (Packages)The zipped JavaDoc API

The JAR of the reference Java 5 implementation

The zipped Maven package containing the sources of ODFDOM 0.7.5

The Present - Resources / Tools

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

Get default values from ODF 1.2 specCurrently XSLT soon ODFDOM bootstraping itself

The Future - Resources / Tools

Most powerful: schema2templateCreates model of XML schema
(using Sun' Multi Schema Validator)

Templates using scripts to access model(using Apache's Velocity template engine)

Templates generatingSource code for type DOM (e.g. in Java)

XML reference documentation (e.g. in HTML)

Comparison of two models to identify changesODF 1.0 with ODF 1.1

ODF 1.1 with ODF 1.2

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

The Future Union of ODF teams

ODFDOM concepts applied forC# (AODL team)

Python (LpOD team)

Cooperation on convenient APIFinding of mapping from XML to (sub-)feature

Proof of concept:Test document is generable

Convenient API is generable

Prototype base on ODF image feature

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

The Future ODF SDK

ODF SDK will consist of..ODF library (ODFDOM)JavaDoc (in HTML) linked to spec

ODF 1.2 spec (in HTML)

ODF XML reference (in HTML)

Visual ODF comparison toolComparison based on file/line level

Common use casesReference code as solution (e.g. Java)

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

Join the Agile Team of ODFDOM!

Agile group of professional developers from IBM, Sun and private contributors

Test driven development

Communication via mail & bugtracker

One weekly phone call (toll free)

Using Maven & Mercurial

Commitment by patches and review

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

Come together NOW!

ODF Toolkits BoF:
Programming Anywhere"

New session:
17:15-18:00 Palazzo del Popolo - Sala Etrusca

ODF to XHTML transformationODF 1.2 specification as HTML

Allow JavaDoc to reference directly to spec

Questions & Answers

Svante [email protected]

Sun Microsystems, Inc.

Page

Click to edit the title text format

Click to edit the outline text formatSecond Outline Level

Click to edit the notes format

Page

Click to edit the title text format

Presenters NamePresenters TitlePresenters Company

Click to edit the notes format

Page