10
Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license. OpenDocument Format (ODF) SpreadSheet Emitter for BIRT Santosh Kumar IBM India Software Labs [email protected]

OpenDocument Format (ODF) SpreadSheet Emitter for BIRT

Embed Size (px)

DESCRIPTION

OpenDocument Format (ODF) SpreadSheet Emitter for BIRT. Santosh Kumar IBM India Software Labs [email protected]. BIRT. Business Intelligence and Reporting Tools Eclipse-based open source reporting framework - PowerPoint PPT Presentation

Citation preview

Page 1: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

OpenDocument Format (ODF) SpreadSheet Emitter for BIRT

Santosh Kumar IBM India Software [email protected]

Page 2: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

BIRT

• Business Intelligence and Reporting Tools

• Eclipse-based open source reporting framework

• Provides core reporting features such as report layout, data access and scripting.

• Outputs reports in different formats HTML, PDF etc. Different emitters used for each format

Page 3: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

What is ODF, the OpenDocument Format?

• An XML-based specification describing the content and formatting of a document.

• The open standard developed by a multi-vendor committee at OASIS and an ISO standard.

• The default document format in prominent office suites including OpenOffice.org, Google Docs, IBM Lotus Symphony and IBM Productivity Tools in Notes 8.

• The option that gives the most choices for interoperability and future-proofing information.

Page 4: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

Why ODF SpreadSheet Emitter• Standardized XML file format : Provides control over documents

• Multi Platform Support - Supported on Windows, Linux and Mac

• Better interoperability : Separation of document from application Document can be processed by other applications

• Provides choice, freedom of action, cost effectiveness, access to innovation and greater control over the use of documents

• Once the data is in Spreadsheet, it can be manipulated using Spreadsheet functions/formula's.

Page 5: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

ODF Basics• Filename extensions OpenDocument documents

.odt for word processing (text) documents

.ods for spreadsheets

.odp for presentations

• Basic anatomy of ODF file Zip container

Manifest, mimetype and streams Content.xml Meta.xml Styles.xml

Page 6: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

ODF SpreadSheet Emitter for BIRT

• Implementation of ODS (Open Document Spreadsheet) custom BIRT emitter.

• Creates ODF Spread-Sheets from BIRT reports

• Prototype supports extraction of data and basic styles into spreadsheet.

• Work in progress to match original layout of the report and output images.

Page 7: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

ODF SpreadSheet Emitter

IBM Symphony

BIRT

Page 8: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

Basic Design• Leverage BIRT emitter extension point to read report design and data.

• ODF DOM API to create the ODF model representation of ODS Spreadsheet.

BIRT

Emitter ExtensionODF DOM API (Java)

ODS Spreadsheet

Page 9: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

The Challenge : Need of programming frameworks

• Programming the ODF as XML DOM elements requires mastery of ODF specification. There is need of an ODF API that exposes a higher level abstraction of ODF to application developers

• Odf4j in ODFToolkit intends to provide programming framework in Java for creating and processing ODF document. Odf4j is still in early stages.

• Initial prototypes of ODF based emitter are based on Odf4j with added extensions.

Page 10: OpenDocument Format (ODF) SpreadSheet      Emitter for BIRT

Copyright © IBM Corp., 2007-2008. All rights reserved. This presentation is licensed under Creative Commons Att. Nc Nd 2.5 license.

References

• General information on ODF available at:http://opendocument.xml.orghttp://odfalliance.org

•Odf4j http://odftoolkit.openoffice.org/source/browse/odftoolkit/odf4j/