1. 18 May, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      From ODF also import named expressions with illegal name. [#650125] · 130565c6
      Andreas J. Guelzow authored
      2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/parse-util.h (_GnmConventions): add name_validate field
      	* src/parse-util.c (gnm_conventions_new_full): initialize name_validate
      	* src/parser.y (parser_simple_val_or_name): use
      	state->convs->input.name_validate
      
      2011-05-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-read.c (odf_fix_expr_names): new stub
      	(odf_expr_name_validate): new
      	(oo_conventions_new): connect odf_expr_name_validate
      	(openoffice_file_open): connect odf_fix_expr_names
      130565c6
  2. 10 May, 2011 1 commit
    • Andreas J. Guelzow 's avatar
      ODF 1.2 import fix [#649906] · 1ee8b864
      Andreas J. Guelzow authored
      2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-write.c (odf_string_handler): add comment
      	* openoffice-read.c (odf_strunescape): new
      	(oo_conventions_new): connect odf_strunescape
      
      2011-05-09  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/parse-util.h (_GnmConventions): add input.string
      	* src/parse-util.c (std_string_parser): new
      	(gnm_conventions_new_full): connect std_string_parser
      	* src/parser.y (yylex): use state->convs->input.string
      1ee8b864
  3. 30 Mar, 2011 1 commit
  4. 04 Mar, 2011 1 commit
  5. 21 Sep, 2010 1 commit
  6. 07 Jun, 2010 1 commit
  7. 05 Sep, 2009 1 commit
  8. 17 Jun, 2009 1 commit
    • Andreas J. Guelzow 's avatar
      Start with function name adjustments on ODF export · 4a4bce21
      Andreas J. Guelzow authored
      2009-06-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* openoffice-read.c (oo_func_map_in): handle ORG.GNUMERIC. prefix
      	* openoffice-write.c (odf_expr_func_handler): new
      	(odf_expr_conventions_new): hook up odf_expr_func_handler
      
      2009-06-17  Andreas J. Guelzow <aguelzow@pyrshep.ca>
      
      	* src/expr.h (gnm_expr_list_as_string): new
      	* src/expr.h (gnm_expr_list_as_string): make non-static
      	(do_expr_as_string): use convs->output.func
      	* src/parse-util.h (_GnmConventions): add func field
      	* src/parse-util.c (std_expr_func_handler): new
      	(gnm_conventions_new_full): initialize func field
      4a4bce21
  9. 15 Jun, 2009 1 commit
  10. 11 Jun, 2009 1 commit
  11. 10 Jun, 2009 1 commit
  12. 08 Jun, 2009 1 commit
  13. 22 May, 2009 1 commit
  14. 05 May, 2009 1 commit
  15. 02 May, 2009 1 commit
  16. 01 May, 2009 2 commits
  17. 29 Apr, 2009 1 commit
  18. 28 Apr, 2009 2 commits
  19. 27 Apr, 2009 1 commit
  20. 17 Apr, 2009 3 commits
  21. 04 Apr, 2009 2 commits
  22. 01 Apr, 2009 1 commit
  23. 29 Jan, 2009 1 commit
  24. 12 Jan, 2009 1 commit
    • Morten Welinder's avatar
      Set value format properly. · 697c3c0b
      Morten Welinder authored
      2009-01-12  Morten Welinder  <terra@gnome.org>
      
      	* src/expr.c (gnm_expr_eval): Set value format properly.
      
      	* src/value.h (VALUE_FMT): Make result const and an r-value.  All
      	users changed as needed.
      	* src/number-match.h (format_match, format_match_number): Make the
      	cur_fmt argument const.
      	* src/mstyle.c (gnm_style_set_format): Make the format argument
      	const.
      	* src/parse-util.c (parse_text_value_or_expr): Make the cur_fmt
      	argument const.
      	* src/cell.c (gnm_cell_get_format): Make the result const.  All
      	callers changed as needed.
      
      
      svn path=/trunk/; revision=17066
      697c3c0b
  25. 13 Dec, 2008 1 commit
    • Morten Welinder's avatar
      Default value GNM_DIG for new field output.decimal_digits. · e17612d8
      Morten Welinder authored
      2008-12-13  Morten Welinder  <terra@gnome.org>
      
      	* src/parse-util.c (gnm_conventions_new_full): Default value
      	GNM_DIG for new field output.decimal_digits.
      
      	* src/value.c (value_get_as_gstring): Use number of digits from
      	output.decimal_digits.
      
      	* src/xml-sax-write.c (gnm_xml_io_conventions): Increase the
      	number of decimal digits used for output to avoid rounding errors
      	and overflow.  Fixes #552464.
      
      
      svn path=/trunk/; revision=17007
      e17612d8
  26. 19 May, 2008 1 commit
  27. 28 Apr, 2008 2 commits
  28. 12 Nov, 2007 1 commit
  29. 08 Sep, 2007 1 commit
  30. 22 Jul, 2007 1 commit
    • Jody Goldberg's avatar
      send the actual record, not the 4 byte header that loses 4 trailing bytes. · ae7980ba
      Jody Goldberg authored
      2007-07-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_read_biff8_obj) : send the actual record, not
      	  the 4 byte header that loses 4 trailing bytes.
      	(ms_obj_map_forms_obj) : Use existing tools to properly handle
      	 longer names and objects with data sources (combos/lists).
      
      	* xlsx-write.c (xlsx_write_calcPR) : new.
      
      2007-07-13  Jody Goldberg <jody@gnome.org>
      
      	* sylk.c (sylk_next_token) : initial version of accent support.  pango
      	  does not handle it well.
      
      2007-07-22  Jody Goldberg  <jody@gnome.org>
      
      	* src/sheet.c (PROP_CONVENTIONS) : new property.
      	(PROP_USE_R1C1) : made this a convenience wrapper for
      	(sheet_set_conventions) : rename.
      	(sheet_get_conventions) : renamed from sheet_conventions.
      
      	* src/workbook.c (RECALC_MODE) : new property.
      
      	* src/xml-sax-read.c (gnm_xml_attr_int) : make more rigorous.
      	(xml_sax_calculation) : add DateConvention.
      	(xml_sax_old_dateconvention) : new.
      	(xml_sax_sheet_start) : store the name of the expr conv.
      	(xml_sax_sheet_name) : assigned the named expr conv.
      
      	* src/xml-sax-write.c (xml_write_sheet) : Use an enum in place of a
      	  bool to store R1C1, for future expandability
      	(xml_write_calculation) : Store the DateConvention here, rather than
      	  in a magic element missing from the schema.
      	* src/xml-io.c (xml_sheet_read) : support new ExprConvention hook.
      	(xml_workbook_read) : support DateConvention in Calculation.
      
      svn path=/trunk/; revision=15672
      ae7980ba
  31. 12 Jul, 2007 1 commit
  32. 03 Jul, 2007 1 commit
    • Jody Goldberg's avatar
      virtualize string escaping. use it here. · 0a3cc5cc
      Jody Goldberg authored
      2007-07-02  Jody Goldberg <jody@gnome.org>
      
      	* src/parse-util.c (std_output_string) : virtualize string escaping.
      	* src/expr.c (do_expr_as_string) : use it here.
      
      svn path=/trunk/; revision=15635
      0a3cc5cc
  33. 18 Jun, 2007 1 commit
    • Morten Welinder's avatar
      Use gnm_cell_set_text only as a last resort. (struct XMLSaxParseState): · 5e4a3669
      Morten Welinder authored
      2007-06-18  Morten Welinder  <terra@gnome.org>
      
      	* src/xml-sax-read.c (xml_sax_cell_content): Use gnm_cell_set_text
      	only as a last resort.
      	(struct XMLSaxParseState): Add convs member.
      	(xml_sax_validation_expr_end, xml_sax_condition_expr_end,
      	xml_cell_set_array_expr, xml_sax_cell_content,
      	handle_delayed_names): Use conventions.
      	(xml_sax_sheet_name): Handle forgotten "protected" attribute.
      	(xml_sax_sheet_start, xml_sax_sheet_start, xml_sax_sheet_name):
      	Handle R1C1.  Fixes #448714.
      
      
      svn path=/trunk/; revision=15611
      5e4a3669
  34. 16 Jun, 2007 1 commit
    • Jody Goldberg's avatar
      release the page breaks. (print_info_load_defaults) : init them. · 929b86a9
      Jody Goldberg authored
      2007-06-15  Jody Goldberg <jody@gnome.org>
      
      	* src/print-info.c (print_info_free) : release the page breaks.
      	(print_info_load_defaults) : init them.
      	(print_info_dup) : dup them.
      	(print_info_set_breaks) : new.
      	(gnm_page_breaks_new) : new.
      	(gnm_page_breaks_dup) : new.
      	(gnm_page_breaks_free) : new.
      	(gnm_page_breaks_append_break) : new.
      
      	* src/print-info.h (GnmPageBreakType) : new.
      	(GnmPageBreak) : new.
      
      	* src/parse-util.c (gnm_expr_parse_str_simple) : rename arg to be more
      	  consistent.
      
      2007-06-15  Jody Goldberg <jody@gnome.org>
      
      	* openoffice-read.c (oo_expr_parse_str) : make this a real function
      	  and centralize the error handling.
      	(oo_cell_start) : simplify expr parse error handling.
      	(oo_named_expr) : ditto.
      	(od_plot_area) : ditto.
      	(oo_table_start) : apply the table style.
      	(oo_col_start) : make the col/row style smarter in prep for page breaks.
      	(oo_row_start) : ditto.
      	(oo_style) : handle table styles.
      	(oo_style_end) : ditto.
      	(oo_style_prop) : ditto.
      	(oo_page_break_type) : new.
      	(oo_style_prop_col_row) : merge oo_style_prop_row and
      	  oo_style_prop_col and add support for page breaks.
      	(oo_style_prop_table) : new.
      	(openoffice_file_open) : init the table styles.
      
      	* openoffice-write.c (odf_write_table_style) : new.
      	(table_style_name) : new.
      	(odf_write_table_styles) : generate the styles based on the sheets.
      	(odf_write_content) : write a style appropriate for the sheet.
      
      2007-06-16  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_PAGE_BREAK) : new.
      	(excel_read_sheet) : called from here.
      
      	* ms-excel-write.c (excel_write_PAGE_BREAK) : new.
      	(write_sheet_head) : called from here.
      
      	* xlsx-read.c (xlsx_CT_PageBreak) : new.
      	(xlsx_CT_PageBreaks_begin) : new.
      	(xlsx_CT_PageBreaks_end) : new.
      
      	* xlsx-write.c (xlsx_write_breaks) : new.
      	(xlsx_write_print_info) : called from here.
      
      svn path=/trunk/; revision=15605
      929b86a9