- 25 Jun, 1999 1 commit
-
-
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.
-
- 24 Jun, 1999 2 commits
-
-
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.
-
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.
-
- 17 Jun, 1999 1 commit
-
-
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
-
- 13 Jun, 1999 1 commit
-
-
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.
-
- 08 Jun, 1999 4 commits
-
-
Arturo Espinosa authored
Lots of improvements to the printing code: - grid works - settings for page info works. - nice multi-line works. - Margins are used. - Other misc improvements to printing Miguel.
-
Arturo Espinosa authored
Ok, it fully prints with all the crap you expect from Excel, I got the margin backwards, fix tomorrow -mig
-
Arturo Espinosa authored
Ok, printing stuff in place. I got the base_x and base_y wrong, as I see exactly nothing on the ggv. 10 minute fix after I pack, I bet. Miguel.
-
Arturo Espinosa authored
-
- 07 Jun, 1999 3 commits
-
-
Arturo Espinosa authored
More work. The dialog box now reflects the PrintInfo internal structure. I will need to expand the PrintInfo stuff with the new gui code though. Miguel.
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
- 06 Jun, 1999 3 commits
-
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
- 05 Jun, 1999 1 commit
-
-
Arturo Espinosa authored
More fun print dialog hacking Enjoyin the secrets of guis. miguel.
-
- 04 Jun, 1999 2 commits
-
-
Arturo Espinosa authored
-
Arturo Espinosa authored
-
- 03 Jun, 1999 1 commit
-
-
Arturo Espinosa authored
Big merge from HEAD to toe. I mean, from HEAD to GNUMERIC_PRINT. Does not work. Dont try it. This was hard. Miguel.
-
- 29 May, 1999 1 commit
-
-
Arturo Espinosa authored
-
- 05 May, 1999 1 commit
-
-
Arturo Espinosa authored
Commiting my pile of changes to the print branch, this does not only print very nicely, but it is actually cleaner. Some fixes are required to get the code to display properly, but i have all figured it out by now. Miguel.
-
- 30 Apr, 1999 1 commit
-
-
Arturo Espinosa authored
Basically, it now prints correctly. It still needs the dialog boxes, will do merge to the HEAD rsn. Miguel.
-
- 11 Apr, 1999 2 commits
-
-
Arturo Espinosa authored
It print. Althought it prints in reverse order. Tomorrow I need to go to the library to get the Postscript book and figure out the concat matrix operator. Miguel.
-
Arturo Espinosa authored
-
- 11 Mar, 1999 1 commit
-
-
Arturo Espinosa authored
-
- 15 Feb, 1999 1 commit
-
-
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.
-
- 09 Feb, 1999 3 commits
-
-
Arturo Espinosa authored
-
Arturo Espinosa authored
Development branch where I do add Printing to Gnumeric. GnomePrint needs some tweaking before I can make this the default Gnumeric tree. miguel.
-
Arturo Espinosa authored
-
- 08 Feb, 1999 2 commits
-
-
Sergey I. Panov authored
-
Miguel de Icaza authored
1999-02-08 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_draw): Make the clip region one pixel bigger to account for the offset. (cell_draw): Do not add one to text_base. * src/item-edit.c (item_edit_draw): Take into account the margin_b.
-
- 07 Feb, 1999 7 commits
-
-
Michael Meeks authored
-
Miguel de Icaza authored
1999-02-07 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/cell.c (cell_set_text_simple): Allow a single "=" to represent a string.
-
Vincent Renardias authored
* Remove a few compile warnings
-
Miguel de Icaza authored
1999-02-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/gnumeric-util.c (gnumeric_notice): Now we take a Workbook argument to bind the dialog boxes properly to the main window. We use gnome_messagebox now to report errors. We now take a type parameter for the message box type. * plugins/ff-csv/csv-io.c: Use gnumeric_error * src/workbook.c (wb_input_finished): Call sheet_set_current_value instead of the cancel pending input routine. * Moved src/csv-io.[ch] to the plugins/ff-csv directory and converted them to
-
Vincent Renardias authored
-
Vincent Renardias authored
* Got bored to just do translation updates, so I tried to remember C and implemented CSV format loading (saving code in progress) ;)
-
Miguel de Icaza authored
1999-02-06 Miguel de Icaza <miguel@nuclecu.unam.mx> * src/file.c (fill_save_menu): Creates an option menu with the file format to save on. (workbook_save_as): Use the saver selected by the user. (saver_activate): Keep track of the current file save format, set as default. gnumeric_file_savers, gnumeric_file_openers: made static.
-
- 06 Feb, 1999 2 commits
-
-
Arturo Espinosa authored
Memory leak fix. I was releasing invalid memory during sheet-destruction Warning fixes. Miguel
-
Michael Meeks authored
-