ODF in action
Using OpenDocument format text in OpenOffice, KOffice and AbiWord
Download the whole article as PDF
- 2006-05-05
- User space | Easy
-
Write a full post in response to this!
This content was sponsored by:
Numerous office suites and word processors support the OpenDocument format (ODF). ODF is an open standard for saving and exchanging office documents. The standard has been developed to provide an open alternative to proprietary, for example Microsoft Office, document formats.
In this article we will take a visual tour through different free software editors and examine their core abilities in creating, editing and saving an ODF document. The exercise may on the surface seem trivial, but in reality it has important implications. We demonstrate on a small scale that which may happen in real world situations when a document is shared by different users in multiple environments: home, work, on the road.
Note: If you have a reasonable internet connection then the authors recommend downloading the live CD’s mentioned in the resource section. This will allow you to preview all the software mentioned and experiment with the Gnome and KDE desktop environments.
The Ubuntu live OpenOffice combination
To start the tour let us focus on OpenOffice, a well respected professional office suite. Along with text documents the application also has the ability to save spreadsheets, charts and presentations in ODF. In this article, for the sake of simplicity, we will concentrate on manipulating text documents. Please note, all documents mentioned within this article are contained in a tar file referenced in the resources section.
The recipe: After booting from the Ubuntu live CD (version 5.10), we started up OpenOffice Writer from within the Gnome desktop environment and created a new word processor document. The document contained multiple paragraphs, different headings, various fonts, a table and a picture. We considered the document stereotypical of its type. After finishing writing the document, we saved via selecting Save from the File menu. By default OpenOffice.org loads and saves files in the OpenDocument file format. Notice that the file type has been set to OpenDocument Text (.odt) (shown in figure 1). Further, please note that OpenDocument Spreadsheets are saved with extension .ods, and OpenDocument Presentations as .odp files. We saved the edited document as demo.odt. We plan later to modify the document from within other applications. Due to the fact that we are running from a Live CD we cannot guarantee write access to the hard drive. Therefore we recommend storing file on a USB pen drive. However, on a positive note, the Knoppix live CD (version 4.02) had no troubles guessing type and mounting the windows partitions on my home computer.
Slax 5.0.6 with KOffice
Slax, another excellent live CD distribution, is derived from Slackware. We deployed the Standard Edition which employs KDE 3.4 (the K Desktop Environment). The word processor we had available and tested was KWord version 1.4 part of the well regarded KOffice suite.
The recipe: Let us first test if we can now open the previously created document demo.odt in this new environment. Go to the File menu and select Open. The dialog window displays a list of supported filters (file types), but does not display the file type extensions. To open our demo.odt file we point the operating system to the USB stick. First, double click on the System desktop icon, then go to Storage Media. The USB stick gets mounted when you click on the Removable Device icon.
In KWord .odt files are referred to as OASIS OpenDocument Text.
An aside: OASIS is the originating standards body. OASIS is a not-for-profit, global consortium that drives the development, convergence and adoption of e-business standards. OASIS has developed many interesting standards spread across a wide spectrum of problem domains. At the University of Amsterdam we provision our premier E-learning environment via XML based communications adhering to OASIS enterprise standards. This group really understands how to write high quality standards for mission critical systems.
When you open the document you will notice that the document looks different from how it was saved in OpenOffice. The picture which was centered is now aligned to the left. Additionally there is extra white space below the image. All these minor changes accumulate into generating a two page document instead of the original single page.
Although the document can be read without problems and all content is available, this is not what you would expect from an open standard for exchanging office files. However, that said, in the short term the software market is rapidly evolving. It would not surprise the authors if the compatibility issue is vastly improved or removed within months.
To continue the roundtrip it is now necessary that we make changes to the demo document. We are now highly motivated to see how other popular word processors handle the document. We now insert an extra paragraph above the picture and centre the picture. The modified document is then saved, by clicking Save from the File menu or pressing Ctrl+S. Now we do not have to specify the file format, because the word processor automatically saves the file to .odt format.
Windows XP with Abiword
An important benefit of standards is the enabling of easy and transparent exchange of data. You are not tied to a specific application or vendor. This interoperability does not just exist on the application level but also on platform level as well. To demonstrate this we open the document created and edited in the previous steps, but now on a Windows platform. For this purpose we use the standalone word processor AbiWord running under Windows XP.
Write a full post in response to this!
Download the files attached with this article.
Similar articles
Do you like this post?
Vote for it!
Copyright information
This article is made available under the "Attribution-NonCommercial-NoDerivs" Creative Commons License 3.0 available from http://creativecommons.org/licenses/by-nc-nd/3.0/.
Biography
Tom Kuipers: Tom Kuipers, MA., is a developer at the University of Amsterdam. His fields of expertise include ColdFusion, Java, JSF, XML, XSLT, CMS, streaming media and electronic learning environments. He likes to play with his casemodded Linux box.
Alan Berg Bsc. MSc. PGCE, has been a lead developer at the Central Computer Services at the University of Amsterdam for the last eight years. In his spare time, he writes computer articles. He has a degree, two masters and a teaching qualification. In previous incarnations, he was a technical writer, an Internet/Linux course writer, and a science teacher. He likes to get his hands dirty with the building and gluing of systems. He remains agile by playing computer games with his kids who (sadly) consistently beat him physically, mentally and morally.
You may contact him at reply.to.berg At chello.nl
- Login or register to post comments
- 13517 reads
- Printer friendly version (unavailable!)




Best voted contents
-
Google App Engine: Is it evil?
Terry Hancock, 2008-04-24 -
The Bizarre Cathedral - 3
Ryan Cartwright, 2008-05-05 -
Free Software Magazine Awards 2008
Tony Mobily, 2008-04-22 -
The Bizarre Cathedral - 2
Ryan Cartwright, 2008-04-27
Similar entries
Buzz authors
All news
From the FSM staff...
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). A site about short stories and writing.
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
Installing an all-in-one printer device in Debian
Ryan Cartwright, 2008-05-05 -
What is the free software community?
Tony Mobily, 2008-03-29 -
Things you miss with GNU/Linux
Ryan Cartwright, 2008-05-01 -
How do you replace Microsoft Outlook? Groupware applications
Ryan Cartwright, 2008-03-20 -
Why Microsoft should not lose (and free software will still win)
Ryan Cartwright, 2008-04-21
Hot topics - last 21 days
-
Installing an all-in-one printer device in Debian
Ryan Cartwright, 2008-05-05 -
Things you miss with GNU/Linux
Ryan Cartwright, 2008-05-01 -
Digital Rights Management (DRM): is it in its death throes?
Gary Richmond, 2008-05-07 -
Open letter to standards professionals, developers, and activists
Pieter Hintjens, 2008-05-13


Dedicated server
Just one problem not related
Submitted by Jaro Larnos on Fri, 2006-04-07 10:35.
Vote!Just one problem not related to the article itself:
This article is made available under the “Attribution-Sharealike� Creative Commons License 2.5 available from http://creativecommons.org/licenses/by-nc-nd/2.5/.
The link is to a different license (attribution-noncommercial-noderivs) than the mentioned Attr-Sharealike license.
Just thought I should mention it.
- Jaro -
Thanks - Fixed
Submitted by admin on Mon, 2006-04-10 01:29.
Vote!Hi Jaro,
Thanks for pointing that out.
The link was correct; the text was not.
Fixed.
Bye
Good article + missing tar file?
Submitted by Ryan Cartwright on Fri, 2006-05-05 12:57.
Vote!Good article, thanks. I assume that OOo under Windows renders the same as OOo under Ubuntu. It'd be interesting to know if there's any differences between platforms.
FTA: "Please note, all documents mentioned within this article are contained in a tar file referenced in the resources section."
Couldn't see the tar file - am I missing something?
rendering in OOo under different OS's
Submitted by Ryan Cartwright on Fri, 2006-05-05 13:18.
Vote!I assume that OOo under Windows renders the same as OOo under Ubuntu. It'd be interesting to know if there's any differences between platforms.
Sorry to reply to myself but I figured I may as well try it out myself and it does render the same on both OS's.
Ryan
The tar file
Submitted by admin on Mon, 2006-05-08 15:59.
Vote!Hello,
The tar file is now there!
Staff.
KOffice 1.5
Submitted by Rick Stockton on Mon, 2006-05-08 07:41.
Vote!At the time you wrote this, the RC had been out for only a few days... and no one builds "live CD" Distros out of pre-release software, so you were kinda stuck with using the really stale KOffice 1.4.
Release 1.5 is HUGELY better at ODF than 1.4 was. It's worth another look.
Good article
Submitted by ListenLocally on Sat, 2006-05-13 16:32.
Vote!Good article. I was searching for it for long time. It has made my day. Thank you.