Re: Some dev guidance needed



On Fri, May 16, 2003 at 10:06:34PM +0000, Ker Nulov wrote:

I am modifying the sources to make Gnumeric 1.1.15 to achieve this 2 
features: 
current release is 1.1.17 but 1.1.18 is imminent with lots of
goodies.
 
1. save in .XLS format by default
Trivial.  Edit plugins/excel/plugin.xml.in and add
    default_saver_priority=51 (or any number > 50)
To any of the file_saver declarations
eg
    <service type="file_saver" id="excel_biff8" file_extension="xls"
     default_saver_priority="100"

2. make print default to a file named /tmp/printed.ps 
This takes a smidge more work.  The gnome-print settings management
is undergoing a bit of a change.  For newer gnumeric's (I don't
think its in 1.1.15) you may be able to just print a document to
those settings and it will remember it.  Have a look in gconf dir
    /apps/gnumeric/printer-config

for more details



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]