General

Components

Community

Development

PPMC

ASF

Simple API Release Notes

Release 0.6.6
Auguest 12th 2011

We are pleased to announce the release of the Simple Java API for ODF version 0.6.6 today. The improvements in this version include:

You can download it here.

ODF Toolkit has been accepted as Apache incubator project and the move process has been started. The security feature will be included in Apache version. Thanks all of the contributors and users, please continue to pay attention to us in Apache.

Resolved Issues

Release 0.6.5
July 1st 2011

We are pleased to announce the release of the Simple Java API for ODF version 0.6.5 today. The improvements in this version focus on paragraph and text documents. They are:

An interesting demo is uploaded to the website to show how to use these new features to format a text document.

Resolved Issues

API changes since 0.6 Release

Method Change List
Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous ClassPrevious MethodNew ClassNew Method
simple.text.ParagraphTextPElement getOdfElement()simple.text.ParagraphTextParagraphElementBase getOdfElement()
simple.text.ParagraphDefaultStyleHandler getStyleHandler()simple.text.ParagraphParagraphStyleHandler getStyleHandler()
simple.text.ParagraphParagraph getInstanceof(TextPElement)simple.text.ParagraphParagraph getInstanceof(TextParagraphElementBase)

Release 0.6
June 1st 2011

We are pleased to announce the release of the Simple Java API for ODF version 0.6 today. A major improvement of this version is the chart API. Now you can add charts to text, spreadsheet and presentation documents with easy-to-use methods. An interesting demo is uploaded to the website to show how to create a presentation/text/spreadsheet document with charts only using Simple ODF API.

We also make some enhancements based on user requests:

Resolved Issues

API changes since 0.5.5 Release

Method Change List
Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous ClassPrevious MethodNew ClassNew Method
simple.table.Tablelong getWidth()simple.table.Tabledouble getWidth()
simple.table.Tablevoid setWidth(long)simple.table.Tablevoid setWidth(double)
simple.table.Columnlong getWidth()simple.table.Columndouble getWidth()
simple.table.Columnvoid setWidth(long)simple.table.Columnvoid setWidth(double)
simple.table.Rowlong getHeight()simple.table.Tabledouble getHeight()
simple.table.Tablevoid setHeight(long)simple.table.Tablevoid setHeight(double)

Release 0.5.5
April 30th 2011

We released the Simple Java API for ODF version 0.5.5 today. In this version, we provide high level methods for image and text span. Now you can add images to text, spreadsheet and presentation documents. The position of the image can be specified by a rectangle, a paragraph or a cell. With text span, you can set a different style to a small unit of the text content. An interesting demo has been upload to website to demonstrate how to add a 2D barcode image to a presentation slide.

We also made some useful enhancements based on user requests:

Resolved Issues

API changes since 0.5 Release

Method Change List
Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous ClassPrevious MethodNew ClassNew Method
simple.table.Cellvoid setImage(URI)simple.table.CellImage setImage(URI)
simple.table.CellImage getImage()simple.table.CellBufferedImage getBufferedImage()

Release 0.5
April 2nd 2011

We released the Simple Java API for ODF version 0.5 today.

In this version, we provides paragraph, field, and text box manipulation methods. - Paragraph methods allow you to create paragraph, get paragraph by index, set the text content, and remove paragraph. - Fields methods allow you to easily add a field to a document, and change the value of a field. We now support data field, time field, chapter field, title field, subject field, author field, page number field, page count field, etc. - Text box methods allow you to add a text box, change the content of text box, and delete a text box.
You can implement powerful document generation scenarios with these API. You can get sample codes from the cookbook for paragraph, field and text box.

Resolved Issues

API changes since 0.4.5 Release
Method Change List
Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous ClassPrevious MethodNew ClassNew Method
simple.table.CellStyleHandlergetCellStyleElementForRead()simple.style.DefaultStyleHandlergetStyleElementForRead()
simple.table.CellStyleHandlergetCellStyleElementForWrite()simple.style.DefaultStyleHandlergetStyleElementForWrite()

Release 0.4.5
March 4th 2011

We are pleased to announce the release of the Simple Java API for ODF version 0.4.5. Major changes in this release include:

Resolved Issues

There is no API changes in this version.

Release 0.4
January 31st 2011

We are pleased to announce that we are releasing version 0.4 of the Simple Java API for ODF today. In this version, we have added powerful list functions. With these new methods, you can easily add lists to text document and presentation document, with numbering, bullets, or graphic bullets. An interesting code sample of this API is available in the website.
We have also introduced methods to get, copy and paste sections in text documents. Copying and pasting sections are useful when you want to clone a section of a template multiple times for different data. The introduce of list and section functions has been added to cookbook for your reference.
Also, along with various bug fixes we have greatly improved the performance of the table API. Now creating a large table by adding one row after another is 20 times faster than before.

There is no API changes in this version.

Resolved Issues

Release 0.3.5
December 24th 2010

Today we released a new version of the Simple Java API for ODF: Release 0.3.5. In this version, we have improved the navigation, text extraction, table and style handling features by fixing bugs and improving the JavaDoc. We also fixed a memory leak issue related to tables.
You may notice that there are no new features in this month's release. Our intent is to alternate "bug fixing" releases with "new feature" release. So next month will be a new feature release (0.4) followed by a bug fixing release (0.4.5), etc.

Resolved Issues

API changes since 0.3 Release
Enum name change list
The enum's defined in org.odftoolkit.simple.style.StyleTypeDefinitions have changed. The prefix "Simple" has been removed.

Note: The first column 'Java class' package is relative to 'org.odftoolkit.simple'.

ClassEnum Previous nameEnum New name
style.StyleTypeDefinitionsSimpleFontStyleFontStyle
SimpleHorizontalAlignmentTypeHorizontalAlignmentType
SimpleVerticalAlignmentTypeVerticalAlignmentType
SimpleCellBordersTypeCellBordersType

Method name change list
Note: The first column 'Java class' package is relative to 'org.odftoolkit.simple'.

ClassPrevious methodNew method
common.navigation.NavigationgetCurrentItem()nextSelection()
common.navigation.TextNavigationgetCurrentItem()nextSelection()
common.navigation.TextStyleNavigationgetCurrentItem()nextSelection()
style.FontsetSimpleFontStyle(StyleTypeDefinitions$SimpleFontStyle)setFontStyle(StyleTypeDefinitions$FontStyle)
StyleTypeDefinitions.SimpleFontStyle getSimpleFontStyle()StyleTypeDefinitions$FontStyle getFontStyle()

Method deleted
The locale handling methods in org.odftoolkit.simple.style.Font have been removed in order to simplify the API. Users who want to use advanced functions can use the suggested substitute.

Note: The first column 'Java class' package is relative to 'org.odftoolkit.simple'.

Classdeleted methodsuggested substitute
style.FontLocale setLocale()CellStyleHandler.setFont(Font font, Locale language)
style.FontLocale getLocale()CellStyleHandler.getCountry(ScriptType type),CellStyleHandler.getLanguage(ScriptType type)

Release 0.3
December 1st 2010

We are pleased to announce the 2nd release of the Simple Java API for ODF. In this release. we provided easy-to-use functions for setting the text and border styles in tables, as a first taste of a high-level style API.
We also enhanced the navigation functions. Now the navigation functions work for text, spreadsheet, presentation and chart document. An instructive sample has been added to the website to demonstrate these powerful functions.
There are also a few updates in table cell functions: some functions are enhanced and some functions are marked as "Deprecated". More details are described below.

Resolved Issues

API changes since 0.2 Release
Package/Class Change List
Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous PackagePrevious ClassNew PackageNew Class
simple.text.searchNavigationsimple.common.navigationNavigation
SelectionSelection
TextNavigationTextNavigation
TextSelectionTextSelection
TextStyleNavigationTextStyleNavigation
InvalidNavigationExceptionInvalidNavigationException

Release 0.2

Simple Java API for ODF 0.2 has been released on Nov 1th, with table, presentation, and metadata convenient methods moved from ODFDOM into a new package structure. Better documents are provided in this release. The cookbook, JavaDoc and demo codes can be found. You can download the binary jar file from downloads page.
Go to PackageLayer to get an overall introduction of package structure and the API changes from ODFDOM.


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.