1. 25 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      Merge the style we just read with the existing information from the cell · f4e2ea7e
      Miguel de Icaza authored
      
      
      1999-06-25  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (xml_read_cell): Merge the style we just read with
      	the existing information from the cell (which are the defaults).
      	This is only for compatibility with the old format
      
      1999-06-24  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (style_font_new_from_x11): Implemented
      
      	* src/style.c (style_font_new): Improved matching of the font.
      
      	* src/xml-io.c 	(xml_write_style): Save Bold and Italic
      	properties.  Save Units as double.
      	(xml_read_style): Add conversion hook from old format.
      	(xml_read_style): Load properly italic and bold properties.
      
      	(xml_read_cell): Add new style reading code.  It is
      	compatible with the old Style reading code.
      	(xml_read_rows_info, xml_read_cols_info, xml_read_styles): Moved
      	Cols, Rows and Styles loading code here, for code clarity.
      f4e2ea7e
  2. 24 Jun, 1999 2 commits
    • Miguel de Icaza's avatar
      Add new style reading code. It is compatible with the old Style reading · a2afcaa3
      Miguel de Icaza authored
      
      1999-06-24  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (xml_read_cell): Add new style reading code.  It is
      	compatible with the old Style reading code.
      	(xml_read_rows_info, xml_read_cols_info, xml_read_styles): Moved
      	Cols, Rows and Styles loading code here, for code clarity.
      
      	* src/style.c (style_font_new_simple): Include the scale in the
      	key lookup variable.
      
      	* src/xml-io.c: The FontDefs and the HREFs to the fonts were never
      	being used.  The new code for styles simplifies this.  Kill all
      	the references to the FontDefs urls and the font indeces.
      a2afcaa3
    • Miguel de Icaza's avatar
      Major updates. (xml_read_colrow_info): Use floating point for loading the · 01d8f1a2
      Miguel de Icaza authored
      
      1999-06-23  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c: Major updates.
      	(xml_read_colrow_info): Use floating point for loading the
      	units, margin_a and margin_b.
      	(xml_write_colrow_info): Save units, margin_a and margin_b using
      	floating point.
      	(xml_set_value_double): Activate this function.
      	(xml_write_cell): Do not save the style here.  Lookup the style
      	id, and write a record with the style id link.
      	(xml_sheet_write): Add call to xml_cell_styles_init and
      	xml_cell_styles_shutdown to init and shutdown the cell styles in a
      	per-sheet basis.
      
      	Renamed functions to suit the gnumeric coding
      	sytle.  Fixed indentation.
      
      	File format now saves a different version.  We store all cell
      	styles first, and then we reference them.
      
      	(parse_xml_context_t): renamed from
      	parseXmlContext.  Add style_table hash table for storing all the
      	styles used by the cells on a workbook.  Used to dump Styles first
      	and then have the cells reference it.
      
      	* src/style.c (style_hash, style_compare): New routines to
      	put Styles on hash tables.
      
      	* src/workbook.c (workbook_sheets): Use g_list_prepend instead of
      	g_list_append and reverse the result.
      01d8f1a2
  3. 17 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      Killed ColType and RowType definitions. They do not save any noticeable · 96e11c3a
      Miguel de Icaza authored
      
      1999-06-14  Miguel de Icaza  <miguel@gnu.org>
      
              * src/cell.h: Killed ColType and RowType definitions.  They do not
              save any noticeable amount of memory; we are not using them but
              on the most useless places and finally they are the current limit
              to our spreadsheet size.
      
              * src/gnumeric-sheet.h: Use int instead of ColType, RowType
              * src/item-cursor.h: Use int instead of ColType, RowType
              * src/item-grid.h: Use int instead of ColType, RowType
      
              * src/print-cell.c (CELL_DIM): Use _pt variants of the margins here.
              (print_cell_text): and here.
              (print_cell): and here.
              (print_cell_range): and here.
              (print_cell_grid): and here.
      
      1999-06-13  Miguel de Icaza  <miguel@gnu.org>
      
              * src/sheet.c (sheet_compute_col_row_new_size): Update margin_a
              and margin_b from the points.
              (col_row_info_init): New function to initialize a sample
              ColRowInfo.  Inits the _pt fields.
              (col_row_unit_distance): Use the new fields in computation.
              (sheet_col_get_unit_distance): Use new fields in computation.
      
              * src/dialog-printer-setup.c (do_setup_margin): Set scroll region.
              (preview_page_create): Implement routine that draws the page for
              the margin setup.
      
              * src/sheet.h (ColRowInfo): Units are now doubles; margin_a_pt and
              margin_b_pt are doubles that represent the a and b margins in
              points.
      
              * src/sheet.c (sheet_compute_col_row_new_size): Use the
      96e11c3a
  4. 13 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      Move the foreground setting routine here and handle single-line and · 1923c24f
      Miguel de Icaza authored
      
      
      1999-06-11  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell-draw.c (cell_draw): Move the foreground setting routine
      	here and handle single-line and multiline coloring properly.
      
      	* src/print-info.c (unit_name_to_unit): New routine, returns the
      	UniName from the string name.
      
      	* src/dialog-printer-setup.c (dialog_printer_setup): Use
      	print_info_save and kill the do_save_settings routine for the
      	cleaner print_info routine.
      
      	* src/print-info.c (print_info_new): Now loads the default
      	settings from the saved configuration.
      	(print_info_save): Saves the print information to the gnome_config.
      1923c24f
  5. 08 Jun, 1999 4 commits
  6. 07 Jun, 1999 3 commits
  7. 06 Jun, 1999 3 commits
  8. 05 Jun, 1999 1 commit
  9. 04 Jun, 1999 2 commits
  10. 03 Jun, 1999 1 commit
  11. 29 May, 1999 1 commit
  12. 05 May, 1999 1 commit
  13. 30 Apr, 1999 1 commit
  14. 11 Apr, 1999 2 commits
  15. 11 Mar, 1999 1 commit
  16. 15 Feb, 1999 1 commit
    • Miguel de Icaza's avatar
      Printer Setup dialog box plus, the PrintInfo workbook information. · c8b142d2
      Miguel de Icaza authored
      
      
      Printer Setup dialog box plus, the PrintInfo workbook information.
      
      Miguel.
      
      1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/dialog-printer-setup.c: New file.  Implements the workbook
      	page configuration dialog box.
      
      	* src/print-info.c, src/print-info.h: Manages the per-worbook
      	print options.
      c8b142d2
  17. 09 Feb, 1999 3 commits
  18. 08 Feb, 1999 2 commits
  19. 07 Feb, 1999 7 commits
  20. 06 Feb, 1999 2 commits