From: CPH (cphennessy_at_openoffice.org)
Date: Wed Nov 12 2003 - 10:35:54 CET
From: CPH <cphennessy@openoffice.org> Date: Wed, 12 Nov 2003 09:35:54 +0000 Message-Id: <200311120935.54827.cphennessy@openoffice.org> Subject: Re: [taskjuggler-devel] Integrating taskjuggler with OpenOffice.org
Hi Chris,
On Tuesday 11 November 2003 09:59, Chris Schlaeger wrote:
> 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.
Well to start with not all features need to be supported. :)
I've been doing some preliminary GUI work but after looking at :
http://taskjuggler.org/manual_cvs/resource.html
I have a few questions.
I'm looking at the data and to me the resource structure could be normalized a
bit to look like :
personel_resource {
id
name
shift
vacation
workinghours
kotrusid / email
}
project_resource {
personel_resource
booking
efficiency
maxeffort
mineffort
rate
resource
}
The personel_resource is for data which is independent of any project, and
the project_resource are for those values which affect the personel in "this"
project ( or subproject ). Maybe I misunderstand the data.
Now I'm not taking about rearrainging the TJ datamodel - I've just trying to
make sure that my GUI sensibly matches what the TJ model actually represents.
It may also help if the data can be stored in a database which may be shared
across an organizarion.
> > 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.
Thanks.
>
> 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.
OK, just asking. I guess that this limits TJ to non-Windows machines ?
-- CPH : openoffice.org volunteer Maybe your question has been answered already? http://support.openoffice.org/#FAQ Also please reply *only* to users@openoffice.org, as your responses will be answered more quickly, more correctly, and shared to help more people. -- To unsubscribe, email: taskjuggler-devel-unsubscribe@suse.com For additional commands, email: taskjuggler-devel-help@suse.com
This archive was generated by hypermail 2.1.7 : Wed Nov 12 2003 - 14:14:24 CET