Author: buildbot Date: Tue Sep 6 02:28:13 2011 New Revision: 795348 Log: Staging update by buildbot Added: websites/staging/odftoolkit/trunk/content/odftoolkit/odfdom/index.html Added: websites/staging/odftoolkit/trunk/content/odftoolkit/odfdom/index.html ============================================================================== --- websites/staging/odftoolkit/trunk/content/odftoolkit/odfdom/index.html (added) +++ websites/staging/odftoolkit/trunk/content/odftoolkit/odfdom/index.html Tue Sep 6 02:28:13 2011 @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + +
+ +
+

General

+ +

Components

+ +

Community

+ +

Development

+ +

PPMC

+ +

ASF

+ +
+
+ + +

[[image: oasis_odf_logo.png|right]]

+

=ODFDOM - the OpenDocument API=

+

ODFDOM is a free OpenDocument Format (ODF) library. Its purpose is to provide an easy common way to create, access and manipulate ODF files, without requiring detailed knowledge of the ODF specification. It is designed to provide the ODF developer community with an easy lightwork programming API portable to any object-oriented language.

+

The current reference implementation is written in Java.

+

To learn more about the project's architecture, refer to the [[ProjectOverview|project overview]] and the [[Layers|ODFDOM Layers]] section.

+

==News==

+

=== New ODFDOM 0.8.7 Release===

+

ODFDOM 0.8.7 was [http://odftoolkit.org/projects/odfdom/lists/users/archive/2011-02/message/6 released on Feb 16th 2011]. Major enhancements are coming with this version: + Full Maven support: ODFDOM is now on the public Maven servers. + The sub document handling had been enhanced. + ODF Package validation in ODFDOM was enabled. ODFDOM is used by the ODF Validator project of ODF Toolkit. + More functionality for source code generation of the ODF 1.2 typed DOM classes by using MultiSchemaValidator as RelaxNG parser and Apache Velocity as template engine + A major design clean-up had been archived. The inheritance relationship between DOM and Document layer has been broken up as it was no 1:1 relationship. The convenient methods for text, image and style are moved to incubator package. + A new function to extract text from documents, DOMs and elements has been provided. +* Several bugs related with table and presentation had been fixed.

+

For more details see [http://odftoolkit.org/projects/odfdom/lists/users/archive/2011-02/message/6 feature summary on the mailing list] and the [[ReleaseNotes|release notes with the API change list]].

+

==Download==

+

The ODFDOM downloads are now available from the [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/ official Maven repository]:

+

'''ODFDOM'' - [http://odftoolkit.org/downloads/odfdom/KEYS KEYS] + [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7.jar ODFDOM 0.8.7 binary - jar] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7.jar.asc [PGP]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7.jar.md5 [MD5]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7.jar.sha1 [SHA]] + [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-javadoc.jar ODFDOM 0.8.7 JavaDoc - jar] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-javadoc.jar.asc [PGP]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-javadoc.jar.md5 [MD5]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-javadoc.jar.sha1 [SHA]] +* [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-sources.jar ODFDOM 0.8.7 sources - jar] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-sources.jar.asc [PGP]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-sources.jar.md5 [MD5]] [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/0.8.7/odfdom-java-0.8.7-sources.jar.sha1 [SHA]]

+

For information on working with the source code, please refer to the [[Development|development section]].

+

==Quickstart== +Put the odfdom.jar file in your classpath. You will need [http://xml.apache.org/dist/xerces-j/ Apache Xerces-J] as XML parser and DOM implementation as well. Start with the following sample code to create a simple text document. +

+
+// Create a text document from a standard template (empty documents within the JAR)
+OdfTextDocument odt = OdfTextDocument.newTextDocument();
+
+// Append text to the end of the document. 
+odt.addText("This is my very first ODF test");
+
+// Save document
+odt.save("MyFilename.odt");
+
+ +

==Documentation==

+

A good starting point is reading the [[ProjectOverview|project overview]] and the [[Layers|ODFDOM Layers]] will help you to get an overview over the ODFDOM package structure.

+

Javadocs are [http://odfdom.odftoolkit.org/0.8.7/odfdom/apidocs/ viewable online] or [https://oss.sonatype.org/content/groups/public/org/odftoolkit/odfdom-java/ downloadable as bundle from the official Maven repository].

+

There are [http://www.langintro.com/odfdom_tutorials/ David's ODFDOM tutorials]. You'll find an introduction as well as sample code for creating text and spreadsheet documents. (Note: The tutorials might not yet be adapted to the latest version).

+

When meeting with questions, check if [[FrequentQuestions|FAQs]] can help you.

+

==How to Participate==

+

There are many ways to participate and we're always looking for [[WhoWeAre|contributors]]. Just [https://odftoolkit.org/people/new sign up] on the ODF Toolkit Project and afterwards [http://odftoolkit.org/projects/odfdom/ watch this project]. Then you may want to start with reading and posting on the [http://odftoolkit.org/projects/odfdom/lists mailing lists] or on the [http://odftoolkit.org/projects/odftoolkit/forums/ODFDOM ODFDOM forum], report [http://odftoolkit.org/bugzilla/buglist.cgi?product=odfdom&order=bugs.bug_id bugs] or write documentation.

+

If you're a developer, just dive into the [[Development|development section]]. Here you find information on where to access the source code and how to set up a build environment.

+

You can contact us by IRC "irc://irc.freenode.org/odfdom".

+

Back to: [http://odftoolkit.org/ ODF Toolkit Wiki Home]

+
+ +
+
+


Powered by the Apache CMS.

+
+
+

+ Apache "ODF Toolkit" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. + Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and + decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is + not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has + yet to be fully endorsed by the ASF.

+

+ Copyright © 2011 The Apache Software Foundation Licensed under the Apache License, Version 2.0. + Contact Us +
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. +
Other names appearing on the site may be trademarks of their respective owners. +

+
+
+ + +