Commit ac57f8df authored by Committed by Arturo EspinosaBrowse files
Today: - Row insertion works. - Dialog box for adding various things (equivalent to excel's Insert/Cells dialog box, any similarities with Excel are accidental). - Plus the usual exciting features you would expect. Miguel 1998-08-21 Miguel de Icaza <firstname.lastname@example.org> * src/dialog-insert-cells.c: New file. Handle the insert cells dialog box. This uses GtkCauldron for the first time. That routine is soooo cool! * src/sheet.c (sheet_cell_remove): Remove the memory used by the key in the hashtable as well. (sheet_insert_col): new routine used to insert columns in the spreadsheet, it is pretty elaborate. (sheet_col_destroy, sheet_row_destroy): New routine used by the column-overflow logic in the insertion routines. (sheet_cell_add): Only attach a style to a cell if it does not have any yet. (sheet_move_row): New routine: shifts a row a number of columns. (sheet_verify_selection_simple): New routine for warnging about the multiple-selections case. In the future it should provide a help context. (sheet_insert_row): Implement this new routine. * src/clipboard.c (paste_cell): Simplify. * src/cell.c (cell_make_value, cell_formula_relocate): New routines based on the code that was done for the clipboard. Now they are used in other places as well. cell_make_value actually fixes a potential bug that caused formulas to reappear magically on paste-values commands (never hit the bug, but it was there, I swear to god).