After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303657 - Gnumeric Template Support
Gnumeric Template Support
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-05-10 12:10 UTC by Wilber Washbucket
Modified: 2009-07-05 06:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Partial patch (7.78 KB, patch)
2009-06-12 17:40 UTC, Morten Welinder
needs-work Details | Review
Much better, but still partial, patch (6.54 KB, patch)
2009-06-14 03:24 UTC, Morten Welinder
needs-work Details | Review

Description Wilber Washbucket 2005-05-10 12:10:35 UTC
I would really like template support in Gnumeric as I would use this feature 
everyday when I create a new tax invoice for work purposes.
Comment 1 Andreas J. Guelzow 2005-05-10 13:17:17 UTC
How would such "template support" differ from you opening a file you  previously
created that contains the desired formatting and formulas?
Comment 2 Morten Welinder 2005-05-10 18:32:43 UTC
Mostly by not saving to the opened file by default.

Perhaps also by occurring in the File menus as New-with-template and a submenu
with installed choices.
Comment 3 Andreas J. Guelzow 2005-05-11 21:47:48 UTC
New-with-templates with a submenu of recently used templates seems to be a
reasonable (and on first glance easy) implementation of that.
Comment 4 Wilber Washbucket 2005-05-12 14:07:20 UTC
As mentioned by Morten you would create a new file based on the selected 
template and then save to a new file and not to the template file. 
 
You would also need to ensure that "Auto Save" does not save to the template 
file but rather brings up "Save workbook as" dialogue box the first time "Auto 
Save" automatically runs. 
 
Also could you please provide a method for users to edit/customise any 
existing templates and also please provide a method for users to create/save 
new templates. 
 
Check out KSpread for a good example of templates and how they work within 
that program. 
Comment 5 G Rajesh 2006-02-26 13:19:28 UTC
I do support for this feature. Once I posted this in devel list and it was said a patch has been worked out. But, I could not find the feature till now. Mr Guelzow must under stand that template may not have the values but the skeleton alone (say for an Income & Expenditure statement), but the actual file carries values for individual project. Template just saves us from repetitive works.
Comment 6 Wilber Washbucket 2009-06-12 06:57:35 UTC
Feature now implemented?
Comment 7 Morten Welinder 2009-06-12 17:40:55 UTC
Created attachment 136460 [details] [review]
Partial patch

Not implemented, but here's a partial patch that sets up the UI for this.
It has issues, though: the menu should probably not be populated until needed
as it slows us down on startup.

This is a good starting point if you wish to make the actual function of this
and produce a patch.
Comment 8 Morten Welinder 2009-06-14 03:24:32 UTC
Created attachment 136536 [details] [review]
Much better, but still partial, patch
Comment 9 Morten Welinder 2009-06-14 14:03:08 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.


We are going to need some better templates, though.  "invoice", for example,
pretty much stinks!
Comment 10 Wilber Washbucket 2009-07-05 06:04:59 UTC
Let your userbase come up with the templates. Just make sure you heavily promote the new templates feature(with a tutorial on how to use it) and ask the userbase to submit their templates for inclusion into the following version.