Re: Drag & Drop between workbooks



On Mon, 2003-03-03 at 04:53, Jody Goldberg wrote:
* src/commands.[c,h] (cmd_delete_sheet, cmd_insert_sheet): New.

There is quite a bit of deep magic in the sheet life cycle.  The
simple life cycle you posit in your implementation would be nice,
but is definitely not reality.  Detaching will leave dangling
references to the sheet, and re-attaching will not restore all of
the changed things.

I checked only the references in the sheet that got moved, and those
will be made absolute (i.e. changed from "=Sheet2!A1" to
"=[/home/lutz/Test.gnumeric]Sheet2!A1"). So, no problem here. 

However, you are right, the references _to_ the sheet need to be
adjusted, too. Will look into this.

-- 
Lutz Müller <lutz users sourceforge net>




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