1. 21 Dec, 2001 1 commit
  2. 07 Jul, 2001 1 commit
    • Almer S. Tigelaar's avatar
      New, custom marshaller. (pg_get_row_height): Get default row height by · d0536700
      Almer S. Tigelaar authored
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.[ch] (marshal_POINTER__INT_INT): New, custom marshaller.
      	(pg_get_row_height): Get default row height by emitting signal.
      	(pg_get_col_width): Idem for column width.
      	(pg_get_style): Idem for style.
      	(pg_construct_cell): Idem for value.
      	(preview_grid_init): Provide sensible defaults.
      	(preview_grid_set_arg): Remove callback related arguments.
      	(preview_grid_class_init): Idem and create all newly added signals.
      
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* dialog-autoformat.c (cb_get_row_height): Burn.
      	(cb_get_col_width): Burn.
      	(cb_get_cell_style): Tidy and cope for new parameters.
      	(cb_get_cell_value): Idem.
      	(previews_load): Remove setting of callback arguments upon
      	preview-grid creation and connect the get_cell_style and
      	get_cell_value signals.
      
      2001-07-07  Almer S. Tigelaar  <almer@gnome.org>
      
      	* widget-font-selector.c (cb_get_row_height): Adjust signature for
      	changes to the preview-grid.
      	(cb_get_col_width): Idem.
      	(cb_get_cell_style): Idem.
      	(cb_get_cell_value): Idem.
      	(fs_init): Remove setting of callback arguments, instead connect signal
      	callbacks to the preview grid.
      d0536700
  3. 15 Apr, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Calls upon cb_cell_get_style, if NULL use default. (pg_get_row_height) : · 8959f61e
      Almer S. Tigelaar authored
      2001-04-15  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/preview-grid.c (pgrid_get_style) : Calls upon
      	cb_cell_get_style, if NULL use default.
      	(pg_get_row_height) : Retrieve row height.
      	(pg_get_col_width) : Retrieve col width.
      	(pg_get_row_offset) : Get offset of row.
      	(pg_get_col_offset) : Get offset of column.
      	(pg_construct_cell) : Construct a cell from a value.
      	(pg_destruct_cell) : Destruct a cell.
      	(preview_grid_realize) : Initialize default mstyle.
      	(preview_grid_unrealize) : Free default mstyle.
      	(preview_grid_set_arg) : Add support for row height and col
      	width.
      	(pg_style_get_row) : Use pg_* routines.
      	(preview_grid_draw) : Idem.
      8959f61e
  4. 09 Feb, 2001 1 commit
    • Jody Goldberg's avatar
      Remove the ugly alight right · 2f67d8d0
      Jody Goldberg authored
      
      2001-02-08  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric.xml : Remove the ugly alight right
      
      	* src/style-border.c (style_borders_row_draw) : Do a quick
      	  implementation of diagonals.
      2f67d8d0
  5. 05 Feb, 2001 1 commit
    • Jody Goldberg's avatar
      built from the original (style_border_vmargins) : draw routines. · 27c431f4
      Jody Goldberg authored
      
      2001-02-05  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-border.c (style_border_hmargins) : built from the original
      	(style_border_vmargins) : draw routines.
      	(style_borders_row_draw) : a wrapper to draw a set of borders.
      
      2001-02-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-style.c (style_row) : Handle the display of gridlines
      	  here.
      
      	* src/item-grid.c (item_grid_draw_merged_range) : prepare to do
      	  borders & grids in a batch as part of the standard render process.
      	(item_grid_draw) : Ditto.
      
      2001-02-04  Jody Goldberg <jgoldberg@home.com>
      
      	* src/preview-grid.c (preview_grid_realize) : no need for
      	  visual_is_paletted.
      	* src/item-grid.c (item_grid_realize) : ditto.
      27c431f4
  6. 15 Nov, 2000 1 commit
    • Morten Welinder's avatar
      Remove trailing white-space from files that have it. · 5570aef3
      Morten Welinder authored
      (The following command was done in src/ and plugins/.  Note, that the
      grep has a space and a tab.)
      
      for i in `find . -name '*.[ch]' -print`; do if grep '[         ]$' $i >/dev/null; then echo $i; perl -pi -e 's/[ \t]+$//' $i; fi; done
      5570aef3
  7. 03 Sep, 2000 1 commit
    • Almer. S. Tigelaar's avatar
      Modify to accept a NULL sheet for cell->sheet. · f265f363
      Almer. S. Tigelaar authored
      2000-09-03  Almer. S. Tigelaar.  <almer1@dds.nl>
      
      	* src/cell-draw.c:
      	(cell_draw): Modify to accept a NULL sheet for
      	cell->sheet.
      
      	* src/item-grid.c, src/item-grid.h:
      	(item_grid_draw_border): Export this routine for use
      	by the preview-grid.
      
      	* src/preview-grid.h, src/preview-grid.c:
      	New, preview-grid canvasitem, based upon item-grid.
      
      	* src/preview-grid-controller.h, src/preview-grid-controller.c:
      	New, easy to use wrapper around canvas and preview-grid.
      
      	* src/dialogs/dialogs.h: Add autoformat dialog and
      	autoformat edit dialog invocation functions.
      
      	* src/dialogs/autoformat.glade: New,
      	glade file for autoformat dialog.
      
      	* src/dialogs/autoformat.glade.h: New,
      	translation header for autoformat dialog.
      
      	* src/dialogs/dialog-autoformat.c: New, source
      	for controlling autoformat dialog.
      
      	* src/sheet-view.c:
      	(sheet_view_get_style_font): Modify to accept a
      	NULL sheet. (defaults to zoomlevel 1)
      
      	* src/workbook.c:
      	(workbook_menu_format[]): Add autoformat.
      	(autoformat_cmd): New, invokes autoformat dialog.
      
      	* src/mstyle.c, mstyle.h:
      	(mstyle_replace_element): New, replaces an element
      	in an mstyle with an element from another mstyle.
      
      	* src/rendered-value.c, src/rendered-value.h:
      	(rendered_value_calc_size_ext): Same as the previous
      	rendered_value_calc_size, but accepts an mstyle as
      	extra parameter. the purpose of this and some other
      	minor changes from the rendered_value_calc_size is
      	to be able to calc the size of a sheetless cell.
      	(rendered_value_calc_size): Performs the same role
      	as the previous rendered_value_calc_size and
      	calls upon rendered_value_calc_size_ext to do its
      	thing.
      	(rendered_value_new_ext): Same as previous rendered_value_new
      	but accept an mstyle as parameter for sheetless cells.
      	(rendered_value_new): Exacly the same as the previous
      	render_value_new, but calls upon rendered_value_calc_size_ext.
      
      	* src/xml-io.c, src/xml-io.h:
      	(xml_search_child): Export for use by xml-io-autoft.c.
      	(xml_get_value_string): Idem.
      	(xml_set_value_string): Idem.
      	(xml_get_value_int): Idem.
      	(xml_set_value_int): Idem.
      	(xml_write_style): Idem.
      	(xml_read_style): Idem.
      
      	* src/xml-io-autoft.c, src/xml-io-autoft.h:
      	New, these handle the reading/writing of autoformat templates.
      
      	* src/format-template.h, src/format-template.c:
      	New, wrapper around the loading and saving and managing
      	of format templates.
      
      	* templates/autoformat:
      	Add default autoformat templates
      
      	* configure.in:
      	Modify to include the autoformat templates and define
      	a new variable for the autoformat templates directory
      	so we can find them at run-time
      f265f363