On Thursday 09 March 2006 5:30 pm, Dale Harris wrote: > Package: gnotime > Version: 2.2.2-5 > Severity: wishlist > > Since I'm using gnotime as a tool for my boss to keep track of my time > on projects. It'd be nice to have a way to easily print out and report > a whole week, or any arbitrary multi-day period of time. I've been > looking at the reports and there doesn't appear to be an easy way to do > this off hand.
The support for such an export is available in libqof1. > ii libqof1 0.6.2-1 Query Object Framework It is possible for gnotime to copy selected task entities to a second, export, QofSession (using qof_entity_copy_*) which libqof1 will automatically export using QSF XML. The XML can be transformed using XSL into whatever kind of report the user requires - the benefit being that the user only gets the data they need in the exported XML. By setting QofSetterFunc handlers in a new Task QofObject, the data can also be imported into gnotime and merged into the existing project using qof_book_merge_*. This is currently used in pilot-qof and in gnucash 1.9.x (svn). I would recommend this approach but I'm a libqof1 developer, not gnotime developer. At present, gnotime is not making use of the new functionality in libqof1. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpQaSnH5vI10.pgp
Description: PGP signature