Skip to content
  • Andreas J. Guelzow's avatar
    Add menu item to autofit column width or row height based on the selection only. [#125595] · 41a7b257
    Andreas J. Guelzow authored
    2010-07-08  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* component/Gnumeric-embed.xml.in: add menu items to Format->Cells
    	* src/GNOME_Gnumeric-gtk.xml.in: ditto
    	* src/HILDON_Gnumeric-gtk.xml.in: ditto
    	* src/colrow.c (colrow_set_sizes): add arguments to restrict the
    	  range of autofitting.
    	* src/colrow.h (colrow_set_sizes): add arguments
    	* src/commands.c (cmd_autofit_selection): new
    	(cmd_resize_colrow): adjust call of colrow_set_sizes
    	* src/commands.h (cmd_autofit_selection): new
    	* src/stf-parse.c (stf_parse_sheet): adjust call of colrow_set_sizes
    	* src/undo.c (gnm_undo_colrow_set_sizes_new): ditto
    	(gnm_undo_colrow_set_sizes_undo): adjust call of colrow_set_sizes
    	* src/undo.h (_GNMUndoColrowSetSizesClass): add from/to specifiers
    	(gnm_undo_colrow_set_sizes_new): ditto
    	* src/wbc-gtk-actions.c (cb_format_cells_auto_fit_height): new
    	(cb_format_cells_auto_fit_width): new
    	(FormatCellsFitHeight): new action
    	(FormatCellsFitWidth): new action
    	* src/workbook-cmd-format.c (workbook_cmd_autofit_selection): new
    	* src/workbook-cmd-format.h (workbook_cmd_autofit_selection): new
    41a7b257