Re: [taskjuggler-devel] Integrating taskjuggler with OpenOffice.org

From: Chris Schlaeger (cs_at_suse.de)
Date: Tue Nov 11 2003 - 10:59:28 CET


From: Chris Schlaeger <cs@suse.de>
Date: Tue, 11 Nov 2003 10:59:28 +0100
Message-Id: <200311111059.40780.cs@suse.de>
Subject: Re: [taskjuggler-devel] Integrating taskjuggler with OpenOffice.org

On Tuesday 11 November 2003 01:39, CPH wrote:
> I think that this is quite possible. OpenOffice.org files are only zipped
> XML files so as a first step I'm thinking of writing the GUIs using
> OpenOffice.org APIs, which would write a TJ xml file, call TJ, convert the
> results into OOo XML files, and display these files in a spreadsheet.

Sounds good. But the GUI is quite a bit of work if you want to support all the
features.

> I downloaded and build the CVS version of TJ, but there is no XML files in
> it. Do you have any examples of XML I could use ?

I'll send you one in a seperate email. You can easyly generate them. Just add
the following lines to a project file.

xmlreport "Filename.tjx" {
  version 2
}

Make sure that the 'version 2' is there. You really don't want to use the old
default format!

I'm not sure if you noticed this already, but the generated XML files contain
all scheduled data, but not in the form of the tables like the CSV or HTML
reports are. You can compute those tables out of the values in the XML files,
but this would mean that you have to reimplement some the TaskJuggler code.
So it would probably make sense generate the same tables as in the CSV and
HTML reports as XML reports. It's fairly easy for me to adapt this. And later
on it would be possible to generate the HTML and CSV reports from the XML
using XSLT.

> If the above works out then better integration can be worked on.
> Also how much of the code depends on Qt ? The reason I ask is not about
> licensing but rather about reusing libs which already come with OpenOffice
> where possible.

TaskJugger makes heavy use of Qt. All compound data structures use Qt classes.
There is no way to get rid of them without starting from scratch again.

Chris

-- 
KDE 3.1: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Tue Nov 11 2003 - 11:00:16 CET