Associating Saved Reports and Preferences with Data File.
David T.
sunfish62 at yahoo.com
Fri Mar 23 13:36:07 EDT 2012
Derek--
________________________________
From: Derek Atkins <warlord at MIT.EDU>
To: David T. <sunfish62 at yahoo.com>
Cc: "philologos at mindspring.com" <philologos at mindspring.com>; "john.layman at laymanandlayman.com" <john.layman at laymanandlayman.com>; "gnucash-user at gnucash.org" <gnucash-user at gnucash.org>
Sent: Friday, March 23, 2012 5:53 AM
Subject: Re: Associating Saved Reports and Preferences with Data File.
"David T." <sunfish62 at yahoo.com> writes:
>> In an ideal world, the report specifications would somehow be a *part* of the
>> datafile. That, of course, would be problematic from the
>> backward-compatibility perspective, not to mention creating appropriate
>> structures in the file formats (one in XML and one in the SQL files) to hold
>> them.
>
>Yes, this would be the "ideal" way, but we would need to define a new
>core type "report" that could be stored in the data file. Perhaps it
>could be just a blob that gets stored? But doing this would be a major
>shift from the current method. I don't know if it would work, or not.
I agree. From what I recall, the saved reports file is pretty straightforward text, and a simple blob container could be feasible. It would require that the engine learn to digest these blobs instead of saved-reports-**
Of course, it doesn't really take care of all those "other" report files that get loaded from the settings folder...
>It might've been an interesting GSoC project. ;)
Alas.
David
More information about the gnucash-user
mailing list