Re: PATCH: Add --print support to command line
- From: Jody Goldberg <jody gnome org>
- To: Matthew Chappee <matthew orasoft org>
- Cc: gnumeric-list gnome org
- Subject: Re: PATCH: Add --print support to command line
- Date: Thu, 14 Mar 2002 14:05:30 -0500
On Thu, Mar 14, 2002 at 09:09:39AM -0600, Matthew Chappee wrote:
...and gnumeric will print the active sheet and then exit, without
throwing up any GUI elements. It's *not* a console-only app. Hacking
the X dependencies out would be difficult, if not impossible. We've been
using it, and it works well. I have no problem "owning" it if that's an
issue. The patch applies to gnumeric 1.0.4.
Hmm, the idea is good, but the implementation could use some love.
Adding a 'just print it' to wbcg_new is not correct. Lets take this
from the top. In the long run the correct answer here will be to
have a standalone app based on libgnumeric. For now we can extend
the core app.
I'd like to see something like
gnumeric --print-sheet=sheet2 --print-sheet=sheet3 foo.xls
Which requires 2 changes
1) Check that there is only 1 file to be opened.
2) change the flag to be a string with a NULL being equivalent to
the current behavior of 'print the visible sheet'
Get the handling in place for that and we can discuss how to get
things printed.
Nice work, I don't think the result can go into 1.0, but it is
definitely fodder for 1.1.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]