General

Components

Community

Development

TDF

Historic ODFDOM Release Notes - pre ASF times

Release 0.8.7

ODFDOM 0.8.7 is released on Feb 16th, 2011. Major enhancements are coming with this version:

Resolved Issues: 0.8.7

API changes since 0.8.6 Release

1.Package/Class Change List Note: The first column 'Java class' package is relative to 'org.odftoolkit'.

Previous Package Previous Class New Package New Class
odfdom.doc.draw OdfDrawFrame odfdom.incubator.doc.draw OdfDrawFrame
odfdom.doc.number OdfNumberCurrencyStyle odfdom.incubator.doc.number OdfNumberCurrencyStyle
OdfNumberDateStyle OdfNumberDateStyle
OdfNumberPercentageStyle OdfNumberPercentageStyle
OdfNumberStyle OdfNumberStyle
OdfNumberTimeStyle OdfNumberTimeStyle
odfdom.doc.office OdfOfficeAutomaticStyles odfdom.incubator.doc.office OdfOfficeAutomaticStyles
OdfOfficeMasterStyles OdfOfficeMasterStyles
OdfOfficeStyles OdfOfficeStyles
OdfStylesBase OdfStylesBase
odfdom.doc.style OdfDefaultStyle odfdom.incubator.doc.style OdfDefaultStyle
OdfStyle OdfStyle
OdfStylePageLayout OdfStylePageLayout
odfdom.doc.text OdfTextHeading odfdom.incubator.doc.text OdfTextHeading
OdfTextList OdfTextList
OdfTextListLevelStyleBullet OdfTextListLevelStyleBullet
OdfTextListLevelStyleImage OdfTextListLevelStyleImage
OdfTextListLevelStyleNumber OdfTextListLevelStyleNumber
OdfTextListStyle OdfTextListStyle
OdfTextOutlineLevelStyle OdfTextOutlineLevelStyle
OdfTextOutlineStyle OdfTextOutlineStyle
OdfTextParagraph OdfTextParagraph
OdfTextSpan OdfTextSpan
OdfWhitespaceProcessor OdfWhitespaceProcessor
odfdom.doc.draw OdfDrawPage odfdom.doc.presentation OdfSlide
odfdom.pkg OdfPackageStream odfdom.pkg OdfPackageDocument
odfdom NamespaceName odfdom.pkg NamespaceName
OdfAlienAttribute OdfAlienAttribute
OdfAlienElement OdfAlienElement
OdfAttribute OdfAttribute
OdfContainerElementBase OdfContainerElementBase
OdfElement OdfElement
OdfFileDom OdfFileDom
OdfName OdfName
OdfNamespace OdfNamespace
OdfXMLFactory OdfXMLFactory

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

Previous Java Class Previous API New Java Class New API
doc.OdfChartDocument OdfOfficeChart getContentRoot() doc.OdfChartDocument OfficeChartElement getContentRoo()
doc.OdfGraphicsDocument OdfOfficeDrawing getContentRoot() doc.OdfGraphicsDocument OfficeDrawingElement getContentRoot()
doc.OdfImageDocument OdfOfficeImage getContentRoot() doc.OdfImageDocument OfficeImageElement getContentRoot()
doc.OdfSpreadsheetDocument OdfOfficeSpreadsheet getContentRoot() doc.OdfSpreadsheetDocument OfficeSpreadsheetElement getContentRoot()
doc.OdfTextDocument OdfOfficeText getContentRoot() doc.OdfTextDocument OfficeTextElement getContentRoot()
doc.OdfPresentationDocument void deleteSlideByIndex(int) doc.OdfPresentationDocument boolean deleteSlideByIndex(int)
void deleteSlideByName(String) boolean deleteSlideByName(String)
OdfDrawPage getSlideByIndex(int) OdfSlide getSlideByIndex(int)
OdfDrawPage getSlideByName(String) OdfSlide getSlideByName(String)
OdfDrawPage copySlide(int,int,String) OdfSlide copySlide(int,int,String)
OdfDrawPage copyForeignSlide(int,OdfPresentationDocument,int) OdfSlide copyForeignSlide(int,OdfPresentationDocument,int)
OdfDrawPage newSlide(int,String,OdfDrawPage.SlideLayout) OdfSlide newSlide(int,String,OdfSlide.SlideLayout)
doc.OdfDocument OdfDocument loadTemplate(OdfDocument.Resource) doc.OdfDocument OdfDocument loadTemplate(OdfPackageDocument.Resource,OdfDocument.OdfMediaType)
OdfDocument getEmbeddedDocument(String) OdfDocument loadSubDocument(String)
List getEmbeddedDocuments() Map loadSubDocuments()
List getEmbeddedDocuments(OdfDocument.OdfMediaType) Map loadSubDocuments(OdfDocument.OdfMediaType)
String getMediaType() OdfDocument.OdfMediaType getOdfMediaType()
void setMediaType(OdfDocument.OdfMediaType) void setOdfMediaType(OdfDocument.OdfMediaType)
InputStream getContentStream() dom.OdfSchemaDocument InputStream getContentStream()
InputStream getContentStream() dom.OdfSchemaDocument InputStream getContentStream()
InputStream getStylesStream() dom.OdfSchemaDocument InputStream getStylesStream()
InputStream getSettingsStream() dom.OdfSchemaDocument InputStream getSettingsStream()
InputStream getMetaStream() dom.OdfSchemaDocument InputStream getMetaStream()
OdfContentDom getContentDom() dom.OdfSchemaDocument OdfContentDom getContentDom()
OdfStylesDom getStylesDom() dom.OdfSchemaDocument OdfStylesDom getStylesDom()
OdfMetaDom getMetaDom() dom.OdfSchemaDocument OdfMetaDom getMetaDom()
OdfSettingsDom getSettingsDom() dom.OdfSchemaDocument OdfSettingsDom getSettingsDom()
OdfOfficeStyles getDocumentStyles() dom.OdfSchemaDocument OdfOfficeStyles getDocumentStyles()
OdfOfficeStyles getOrCreateDocumentStyles() dom.OdfSchemaDocument OdfOfficeStyles getOrCreateDocumentStyles()
OdfOfficeMasterStyles getOfficeMasterStyles() dom.OdfSchemaDocument OdfOfficeMasterStyles getOfficeMasterStyles()
String getBaseURI() dom.OdfSchemaDocument String getBaseURI()
void embedDocument(String,OdfDocument) pkg.OdfPackageDocument void insertDocument(OdfPackageDocument,String)
void RemoveEmbedDocument(String) pkg.OdfPackageDocument void removeDocument(String)
OdfPackage getPackage() pkg.OdfPackageDocument OdfPackage getPackage()
void setPackage(OdfPackage) pkg.OdfPackageDocument void setPackage(OdfPackage)
String getDocumentPackagePath() pkg.OdfPackageDocument String getDocumentPackagePath()
EntityResolver getEntityResolver() pkg.OdfPackageDocument EntityResolver getEntityResolver()
URIResolver getURIResolver() pkg.OdfPackageDocument URIResolver getURIResolver()
XPath getXPath() pkg.OdfFileDom XPath getXPath()
OdfDocument getRootDocument() pkg.OdfPackage OdfPackageDocument getRootDocument()
pkg.manifest.OdfFileEntry String getMediaType() pkg.manifest.OdfFileEntry
String getMediaTypeString() void setMediaType(String) void setMediaTypeString(String)
pkg.OdfPackage HashMap getManifestEntries() pkg.OdfPackage Map getManifestEntries()
getFileEntries() getFilePaths()
String getMediaType() String getMediaTypeString()
insertPackageDocument(OdfPackageDocument,String) insertDocument(OdfPackageDocument, String)
void removePackageDocument(String) void removeDocument(String)
void flushDecendentDoms(OdfPackageDocument) void flushDoms(OdfPackageDocument)
OdfPackageDocument loadPackageDocument(String) OdfPackageDocument loadDocument(String)
Set getInnerDocumentPaths(String) Set getDocumentPaths()
Set getInnerDocumentPaths(String,String) Set getDocumentPaths(String,String)
incubator.meta.OdfOfficeMeta void setDcdate(Calendar) incubator.meta.OdfOfficeMeta void setDate(Calendar)
Calendar getDcdate() Calendar getDate()

3.Package/Class/Method Removed List

Removed Package/Class/Method Adaptive Solution
remove empty DOC classes from the following packages:
org.odftoolkit.odfdom.doc.anim;
org.odftoolkit.odfdom.doc.chart;
org.odftoolkit.odfdom.doc.config;
org.dftoolkit.odfdom.doc.db;
org.odftoolkit.odfdom.doc.dc;
org.odftoolkit.odfdom.doc.dr3d;
org.odftoolkit.odfdom.doc.draw;
org.odftoolkit.odfdom.doc.form;
org.odftoolkit.odfdom.doc.math;
org.odftoolkit.odfdom.doc.meta;
org.odftoolkit.odfdom.doc.number;
org.odftoolkit.odfdom.doc.office;
org.odftoolkit.odfdom.doc.presentation;
org.odftoolkit.odfdom.doc.script;
org.odftoolkit.odfdom.doc.style;
org.odftoolkit.odfdom.doc.svg;
org.odftoolkit.odfdom.doc.text;
org.odftoolkit.odfdom.doc.xforms
use corresponding DOM layer classes directly.
sample: org.odftoolkit.odfdom.doc.anim.OdfAnimate -> org.odftoolkit.odfdom.dom.anim.AnimAnimateElement
remove get/setValue() from dom attribute classes use get/setValue() in XML DOM directly.
remove classes:
OdfAttributeNames, OdfElementNames, OdfNamespaceNames
from package org.odftoolkit.odfdom.dom
use String to replace emun value.
remove the following methods:
int getColumnSpannedNumber();
int getColumnsRepeatedNumber();
int getRowSpannedNumber();
void setColumnsRepeatedNumber(int repeatedNum);
void setColumnSpannedNumber(int spannedNum);
void setRowSpannedNumber(int spannedNum);
from org.odftoolkit.odfdom.doc.table.OdfTable;
use OdfTableCellRange.merge().
remove method:
OdfOfficeBody getOfficeBody()
from org.odftoolkit.odfdom.doc.OdfDocument
remove class:
OdfXMLHelper
from org.odftoolkit.odfdom.pkg

Release 0.8.6

On July 16th, version 0.8.6 has been released. About a month after the release of 0.8.5 the new 0.8.6 version provides more than a dozen of bug fixes mainly for Table usage from the "high level ODF Document API". Aside of this, minor enhancements have been added, e.g. a higher usability for the Color type.

Resolved Issues: 0.8.6

API changes since 0.8.5 Release

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

Previous Java Class Previous API New Java Class New API
Version String getApplicationName() JarManifest String getOdfdomName()
String getApplicationTitle() String getOdfdomTitle()
String getApplicationVersion() String getOdfdomSupportedOdfVersion()
String getApplicationWebsite() String getOdfdomWebsite()
String getBuildDate() String getOdfdomBuildDate()
String getBuildResponsible() String getOdfdomBuildResponsible()
String getSupportedOdfVersion() String getOdfdomVersion()
doc.table.OdfTableCell double getCurrencyValue() doc.table.OdfTableCell Double getCurrencyValue()
double getPercentageValue() Double getPercentageValue()
setBooleanValue(boolean) setBooleanValue(Boolean)
setCurrencyValue(double, String) setCurrencyValue(Double, String)
setDoubleValue(double) setDoubleValue(Double)
setPercentageValue(double) setPercentageValue(Double)
getVerticalJustify() getVerticalAlignment()
setVerticalJustify(String) setVerticalAlignment(String)
getHorizontalJustify() getHorizontalAlignment()
setHorizontalJustify(String) setHorizontalAlignment(String)
getCellBackColor() getCellBackgroundColor()
setCellBackColor(Color) setCellBackgroundColor(Color)
type.Color String mapColorFromRgbToHex(String) type.Color String toSixDigitHexRGB(String)

Release: 0.8.5

On 3rd July 2010 version 0.8.5 of the Java implementation has been released. In this version, ODFDOM supports the load, parse and save of all available media types of OpenDocument documents - except Formula (MathML) and Database front end documents. As well, ODFDOM now allows the load & save of none-ODF XML elements and attributes. Furthermore, we introduced a series of slide relevant convenient methods for the Document API, which makes easy slide handling possible. In particular the slide access, deletion, reordering, the copy of slides from a presentation to another and even merge of two presentations were enabled.

A second focus had been the overall performance. We improved the start-up time of ODFDOM using a class lazy loading approach and reduced the saving time of ODF documents by avoiding the compressing of already compressed file, e.g. images. In special the performance of table handling via the Document API have been enhanced. For instance by using now automatic table expansion when a requested cell index was out of range. Finally we improved table method robustness by adding sanity checks and the fix of several table issues.

Resolved Issues: 0.8.5

The resolved issues in this version include:

API changes since 0.8 Release

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

Previous Java Class Previous API New Java Class New API
pkg.element.OdfAlienElement getOdfName() OdfAlienElement getOdfName()
pkg.element.OdfAlienAttribute getOdfName() OdfAlienAttribute getOdfName()
getDefault() getDefault()
hasDefault() hasDefault()
doc.OdfElementFactory newOdfElement(OdfFileDom,OdfName) OdfXMLFactory newOdfElement(OdfFileDom,OdfName)
newOdfAttribute(OdfFileDom,OdfName) newOdfAttribute(OdfFileDom,OdfName)
mapElementOdfNameToClass(OdfName,Class) setOdfElementClass(OdfName,Class)
mapAttributeOdfNameToClass(OdfName,Class) setOdfAttributeClass(OdfName,Class)

Release: 0.8

On 19 Feb 2010 version 0.8 of the Java implementation has been released. The API adapts to latest ODF Specification 1.2 part Community Draft 4 and the codegeneration has been updated to the new RelaxNG schema. A major improvement of convenient layer is the introduce of table convenient API - a first prototype of ODF features - which provides methods to manipulate table feature and its sub-features, such as rows, columns, cells and cell ranges. In this prototype, the 1:1 inheritance relationships between convenient layer classes and dom layer classes have been broken up, and composite relationships are used instead. We also provide metadata convenient API in incubator package which will be improved in the following version. Dom layer has been improved to support invalid attributes and values in DOM tree. Some bugs in package layer, DOM/XML layer and document/convenient layer have been fixed. The Java Docs are improved.

Resolved Issues: 0.8

The resolved issues in this version includes:

API changes since 0.7 Release (possibly uncomplete)

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

Java Class Previous API New API
NamespaceName.OdfNamespaceNames getNamespaceUri() getUri()
OdfTable getTableColumn(int):OdfTableColumn getColumnByIndex(int):OdfTableColumn
getTableColumnList():List<OdfTableColumn> getColumnList():List<OdfTableColumn>
getTableColumnCount():int getColumnNumber():int
addTableColumn():OdfTableColumn appendColumn():OdfTableColumn
addTableColumn(int):OdfTableColumn insertColumnBefore(int nIndex,int nCount):List<OdfTableColumn>
appendRow(Node):Node appendRow():OdfTableRow
addStyledTableColumn(String):OdfTableColumn
makeStyledColumnList(List<String>):List<OdfTableColumn>
setColumnList(List<OdfTableColumn)

[1]: https://odftoolkit.org/ [2]: https://odftoolkit.org/ [3]: https://odftoolkit.org/ [4]: https://odftoolkit.org/ [5]: https://odftoolkit.org/ [6]: https://odftoolkit.org/ [7]: https://odftoolkit.org/ [8]: https://odftoolkit.org/ [9]: https://odftoolkit.org/ [10]: https://odftoolkit.org/ [11]: https://odftoolkit.org/ [12]: https://odftoolkit.org/ [13]: https://odftoolkit.org/ [14]: https://odftoolkit.org/ [15]: https://odftoolkit.org/ [16]: https://odftoolkit.org/ [17]: https://odftoolkit.org/ [18]: https://odftoolkit.org/ [19]: https://odftoolkit.org/ [20]: https://odftoolkit.org/ [21]: https://odftoolkit.org/ [22]: https://odftoolkit.org/ [23]: https://odftoolkit.org/ [24]: https://odftoolkit.org/ [25]: https://odftoolkit.org/ [26]: https://odftoolkit.org/ [27]: https://odftoolkit.org/ [28]: https://odftoolkit.org/ [29]: https://odftoolkit.org/ [30]: https://odftoolkit.org/ [31]: https://odftoolkit.org/ [32]: https://odftoolkit.org/ [33]: https://odftoolkit.org/ [34]: https://odftoolkit.org/ [35]: https://odftoolkit.org/ [36]: https://odftoolkit.org/ [37]: https://odftoolkit.org/ [38]: https://odftoolkit.org/ [39]: https://odftoolkit.org/ [40]: https://odftoolkit.org/ [41]: https://odftoolkit.org/ [42]: https://odftoolkit.org/ [43]: https://odftoolkit.org/ [44]: https://odftoolkit.org/ [45]: https://odftoolkit.org/ [46]: https://odftoolkit.org/ [47]: https://odftoolkit.org/ [48]: https://odftoolkit.org/ [49]: https://odftoolkit.org/ [50]: https://odftoolkit.org/ [51]: https://odftoolkit.org/ [52]: https://odftoolkit.org/ [53]: https://odftoolkit.org/ [54]: https://odftoolkit.org/ [55]: https://odftoolkit.org/ [56]: https://odftoolkit.org/ [57]: https://odftoolkit.org/ [58]: https://odftoolkit.org/ [59]: https://odftoolkit.org/ [60]: https://odftoolkit.org/ [61]: https://odftoolkit.org/ [62]: https://odftoolkit.org/ [63]: https://odftoolkit.org/ [64]: https://odftoolkit.org/ [65]: https://odftoolkit.org/ [66]: https://odftoolkit.org/ [67]: https://odftoolkit.org/ [68]: https://odftoolkit.org/ [69]: https://odftoolkit.org/ [70]: https://odftoolkit.org/ [71]: https://odftoolkit.org/ [72]: https://odftoolkit.org/ [73]: https://odftoolkit.org/

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.