General

Components

Community

Development

TDF

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 Class Previous Method New Class New Method
simple.text.Paragraph TextPElement getOdfElement() simple.text.Paragraph TextParagraphElementBase getOdfElement()
simple.text.Paragraph DefaultStyleHandler getStyleHandler() simple.text.Paragraph ParagraphStyleHandler getStyleHandler()
simple.text.Paragraph Paragraph getInstanceof(TextPElement) simple.text.Paragraph Paragraph 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 Class Previous Method New Class New Method
simple.table.Table long getWidth() simple.table.Table double getWidth()
simple.table.Table void setWidth(long) simple.table.Table void setWidth(double)
simple.table.Column long getWidth() simple.table.Column double getWidth()
simple.table.Column void setWidth(long) simple.table.Column void setWidth(double)
simple.table.Row long getHeight() simple.table.Table double getHeight()
simple.table.Table void setHeight(long) simple.table.Table void 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 Class Previous Method New Class New Method
simple.table.Cell void setImage(URI) simple.table.Cell Image setImage(URI)
simple.table.Cell Image getImage() simple.table.Cell BufferedImage 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.

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 Class Previous Method New Class New Method
simple.table.CellStyleHandler getCellStyleElementForRead() simple.style.DefaultStyleHandler getStyleElementForRead()
simple.table.CellStyleHandler getCellStyleElementForWrite() simple.style.DefaultStyleHandler getStyleElementForWrite()

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'.

Class Enum Previous name Enum New name
style.StyleTypeDefinitions SimpleFontStyle FontStyle
SimpleHorizontalAlignmentType HorizontalAlignmentType
SimpleVerticalAlignmentType VerticalAlignmentType
SimpleCellBordersType CellBordersType

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

Class Previous method New method
common.navigation.Navigation getCurrentItem() nextSelection()
common.navigation.TextNavigation getCurrentItem() nextSelection()
common.navigation.TextStyleNavigation getCurrentItem() nextSelection()
style.Font setSimpleFontStyle(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'.

Class deleted method suggested substitute
style.Font Locale setLocale() CellStyleHandler.setFont(Font font, Locale language)
style.Font Locale 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 Package Previous Class New Package New Class
simple.text.search Navigation simple.common.navigation Navigation
Selection Selection
TextNavigation TextNavigation
TextSelection TextSelection
TextStyleNavigation TextStyleNavigation
InvalidNavigationException InvalidNavigationException

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.

Impressum (Legal Info) | Privacy Policy (Datenschutzerklärung) | Statutes (non-binding English translation) - Satzung (binding German version) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Apache License, v2.0. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License v2.0. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy. LibreOffice was based on OpenOffice.org.