Skip to main content

By clicking Submit, you agree to the developerWorks terms of use.

The first time you sign into developerWorks, a profile is created for you. Select information in your profile (name, country/region, and company) is displayed to the public and will accompany any content you post. You may update your IBM account at any time.

All information submitted is secure.

  • Close [x]

The first time you sign in to developerWorks, a profile is created for you, so you need to choose a display name. Your display name accompanies the content you post on developerworks.

Please choose a display name between 3-31 characters. Your display name must be unique in the developerWorks community and should not be your email address for privacy reasons.

By clicking Submit, you agree to the developerWorks terms of use.

All information submitted is secure.

  • Close [x]

Introducing OpenDocument

Become acquainted with OpenDocument Format for Office Applications (ODF)

Uche Ogbuji (uche@ogbuji.net), Partner, Zepheira, LLC
Photo of Uche Ogbuji
Uche Ogbuji is a partner at Zepheira, LLC, a solutions firm specializing in the next generation of Web technologies. Mr. Ogbuji is lead developer of 4Suite, an open source platform for XML, RDF, and knowledge-management applications, and lead developer of the Versa RDF query language. He is a computer engineer and writer born in Nigeria, living and working in Boulder, Colorado. You can find more about Mr. Ogbuji at his Weblog, Copia.

Summary:  The OASIS Open Document Format for Office Applications (ODF) is an XML standard that lets you store and exchange office application documents, including word-processor, spreadsheet, and presentation files. Whether you try to perform special tasks on files saved from such applications or work on applications to process such files, you should become familiar with this important format. Learn about the two possible forms of OpenDocument files, as multipart packages and as single XML documents, and learn how to structure text and tabular information in OpenDocument.

Date:  22 Jul 2008 (Published 08 Apr 2008)
Level:  Introductory PDF:  A4 and Letter (239 KB)Get Adobe® Reader®

Activity:  13317 views
Comments:  

Before you start

Revisions on July 22, 2008: Added IBM® Lotus® Symphony to Prerequisites, Wrapping up, and Resources.

Learn what to expect from this tutorial, and how to get the most out of it.

About this tutorial

Even from the early days of computers in the office, word processors, spreadsheets, presentation software have been the giants among applications. From Lotus® 1-2-3 and WordStar to today's behemoth integrated office suites, much of the information valuable to computer users is maintained in the saved files of office apps. Recently people and organizations are more conscious about the importance of open data formats. You don't entirely own your data if the only way to use it is through the interface of a proprietary application. With the acceptance of XML as lingua franca for semi-structured data, users inevitably began to demand open formats for their office apps, preferably in XML. Users want to be able to make some sense of what's in their saved files, and to use a variety of tools on them.

Frequently used acronyms

  • HTML: Hypertext Markup Language
  • XHTML: Extensible Hypertext Markup Language
  • XML - Extensible Markup Language

Responding to such demands In 2002, the Organization for the Advancement of Structured Information Standards (OASIS) began an effort to create a standard for office application files, formally called OASIS Open Document Format for Office Applications and popularly abbreviated ODF. The International Organization for Standardization (ISO) followed up with acceptance of ODF as an international standard (ISO/IEC 26300). After years of overall development, ODF nears version 1.2 and covers spreadsheets, word processor documents, presentation files, drawings, and more. You've probably come across files with extensions such as .odt, .ods, .odp, or .odd. Obviously you can process such files by running an office application suite. But sometimes you need more control, or you need to do things that are not the typical role for office applications. Suppose you wanted to develop a system that automatically generated open document files from a Web form, or perhaps a search engine for office documents. In such cases you need a good understanding of the storage format, and this tutorial offers an easy start.


Prerequisites

This tutorial is written for developers who are familiar with XML and XML Namespaces. It might be useful to have some familiarity with XHTML. See Resources for articles and tutorials covering these topics. You should have an application that can create and open ODF files, such as the OpenOffice.org application suite or IBM Lotus Symphony.

1 of 7 | Next

Comments



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=XML
ArticleID=299090
TutorialTitle=Introducing OpenDocument
publish-date=07222008
author1-email=uche@ogbuji.net
author1-email-cc=dwxed@us.ibm.com