1. 29 Jul, 2005 1 commit
    • Jody Goldberg's avatar
      store the style for labels (BC_R(fontx)) : lookup the font and assign it · 7b77a4d0
      Jody Goldberg authored
      
      2005-07-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (BC_R(objectlink)) : store the style for labels
      	(BC_R(fontx)) : lookup the font and assign it to a style.  Need to
      	  finish GOFont to store the remaining attributes.
      	* ms-excel-read.c (excel_font_get_gofont) : new.
      	(excel_read_FONT) : init the gofont member.
      	(excel_font_free) : unref it here.
      7b77a4d0
  2. 26 Jun, 2005 1 commit
    • Jody Goldberg's avatar
      new. (xml_sax_input_msg) : new. · e406c13c
      Jody Goldberg authored
      
      2005-06-25  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-sax-read.c (xml_sax_hlink) : new.
      	(xml_sax_input_msg) : new.
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : enable pango-test
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* * : s/MStyle/GnmStyle/
      	      s/mstyle_/gnm_style_/
      	      s/StyleHAlignFlags/GnmHAlign/
      	      s/StyleVAlignFlags/GnmVAlign/
      e406c13c
  3. 07 May, 2005 1 commit
    • Jody Goldberg's avatar
      We do not need the VARARG vs FIXED flags anymore min_args vs max_args is · 94ca1328
      Jody Goldberg authored
      
      2005-04-23  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (excel_func_desc) : We do not need the VARARG vs
      	  FIXED flags anymore min_args vs max_args is enough.  Replace both
      	  with XL_STD.
      	(make_function) : No need to generate warnings about VAR vs FIXED
      	* ms-formula-write.c (write_funcall) : Use max_args from the func
      	  descriptor
      94ca1328
  4. 04 May, 2005 1 commit
  5. 14 Jan, 2005 1 commit
  6. 01 Nov, 2004 1 commit
    • Morten Welinder's avatar
      Give g_iconv the right kind of pointer. · 662d32fe
      Morten Welinder authored
      2004-11-01  Morten Welinder  <terra@gnome.org>
      
      	* ms-excel-read.c (ms_biff_get_chars): Give g_iconv the right kind
      	of pointer.
      
      	* ms-excel-write.c (excel_write_string): Ditto.
      	(excel_write_string_len): Change second argument to be size_t*.
      
      	* ms-excel-read.h (ms_biff_get_chars): Give g_iconv the right kind
      	of pointer.
      
      	* ms-excel-write.h (excel_write_string_len): Change second
      	argument to be size_t*.
      
      	* ms-escher.c (ms_escher_get_data): Fix confusion between
      	ptrdiff_t and int.
      662d32fe
  7. 26 Sep, 2004 1 commit
    • Jody Goldberg's avatar
      add some safety checking (ms_obj_read_pre_biff8_obj) : merge up the · 5500f712
      Jody Goldberg authored
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
      	(ms_obj_read_pre_biff8_obj) : merge up the handling of similar
      	  structures to get more consistent import.
      
      	* ms-excel-write.c (excel_write_objs) : now that text boxes and
      	  rectangles are the same we need to do more work to figure out which
      	  are which.  Make a list and use that in place of repeated lookups.
      	(excel_sheet_new) : make the list here.
      	(excel_write_state_new) : use the list.
      	(excel_sheet_free) : new.
      	(excel_write_state_free) : use excel_sheet_free.
      
      	* ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
      	(ms_sheet_realize_obj) : simplify greatly by using GObject properties
      	  with common names in the sheet objects and merging the handling of
      	  related types (text==rectangle ...)
      	(ms_sheet_create_obj) : Use the new object types in a step towards
      	  removing this function.
      
      	* ms-escher.c (ms_escher_read_OPT_bools) : new.
      	(ms_escher_read_OPT) : read the boolean blocks as a group to avoid
      	  kludging around the infrastructure for 1:1 properties.
      	 While in here make the debug spew for complex options more useful
      	 Store PTR properties
      
      
      2004-09-26  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-pane.c (gnm_pane_object_move) :  handle symetric
      	  movement via ctrl-click and object duplicate via ctrl-click on
      	  acetate
      
      	* src/gnumeric-pane.c (build_so_menu) : new
      	(display_object_menu) : create a GtkMenu based on the actions.
      
      	* src/sheet-object.c (sheet_object_populate_menu) : Rework the
      	  interface to return action descririptors rather than a GtkMenu
      	  Change all implementations
      
      2004-09-26  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_cellregion_read) : read objects
      	(xml_cellregion_write) : write them too
      
      2004-09-25  Jody Goldberg <jody@gnome.org>
      
      	* src/wbcg-actions.c (cb_edit_copy) : Use
      	  gnm_app_clipboard_cut_copy_obj for objects
      	(cb_edit_cut) : ditto.
      
      	* src/sheet-object.c (sheet_object_populate_menu) : put the stacking
      	  items into a sub menu.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/clipboard.c (paste_object) : new.
      	(clipboard_paste_region) : use it.
      	(cb_dup_objects) : new.
      	(clipboard_copy_range) : dup the objects in the range.
      	(cellregion_new) : init the object list
      	(cellregion_unref) : free the object list
      
      	* src/sheet-object.c (sheet_object_dup) : make public, and tweak
      	  interface.
      	(sheet_object_clone_sheet) : adjust to the interface change.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.c (sheet_object_image_copy) : implement
      
      	* src/wbcg-actions.c : update the actions to handle the new drawing
      	  object types.
      
      	* src/sheet-object.c (sheet_object_clone) : Change the interface to
      	  have the wrapper create the object.  Then s/clone/copy/ and have it
      	  just do the assignament rather, not allocation.
      	* src/sheet-object*.c : s/clone/copy/ with related semantic changes
      
      	* src/rendered-value.c (rendered_value_render) : trivial
      	  constification
      
      	* src/main-application.c (main) : Use bonobo_main WITH_GNOME just in
      	  case.
      
      	* src/gnumeric-pane.c (gnm_pane_object_register) : Change return type
      	  to GObject.  There's no need to be more specific.
      	(gnm_pane_widget_register) : ditto.
      
      	* src/gnm-so-filled.c : Rewrite of the old SheetObjectGraphic
      	  to use GogStyle, merge text into the base, and use GObject properties
      	* src/gnm-so-line.c : Rewrite of the old SheetObjectFilled
      	  to use GogStyle  and use GObject properties
      
      	* src/Makefile.am : Adjust to the file changes for
      	  sheet-object-graphic.c
      
      2004-09-13  Stepan Kasal  <kasal@ucw.cz>
      
      	* configure.in (GCONF_SCHEMAS_INSTALL): AM_CONDITIONAL has to be
      	  called in all branches.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_sheet_object) : add hooks to the old names
      	  for GnmSOFilled, and GnmSOLine
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (cmd_object_format) : undo redo for the new line and
      	  filled objects.
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* configure.in (GNUMERIC_PLUGIN_LDFLAGS) : new macro to give the win32
      	  folk a hook for the plugins.
      	* plugins/*/Makefile.am : Use it
      	* plugins/*/plugin.xml.in : Remove the .la for module names.  Core of
      	  glib adds just before checking platform specific names.
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* src/wbcg-actions.c (cb_view_zoom_out) : in and out were reversed
      	(cb_view_zoom_in) : ditto
      5500f712
  8. 11 Aug, 2004 1 commit
    • Jon Kåre Hellan's avatar
      Add crypt-md4.[ch] · 9ecf1c04
      Jon Kåre Hellan authored
      * plugins/excel/Makefile.am (excel_la_SOURCES): Add crypt-md4.[ch]
      
      * plugins/excel/ms-excel-write.c:
      (blipinf_new): New function. Initialize a record for image data.
      (blipinf_free): New function. Free an image data record.
      (excel_write_image): New function. Write an image Sp record
      referencing a BLIP.
      (excel_write_objs): Include images in record length. Write images.
      (excel_sheet_new): Save image info.
      (excel_write_image_bytes): New function. Save image in chunks,
      letting the biff layer insert CONTINUE records.
      (excel_write_vector_blip): New function. Save a vector format BLIP.
      (excel_write_raster_blip): New function. Save a raster format BLIP.
      (get_bliptype): New function. Get bliptype record.
      (excel_write_blip): New function. Save an image BLIP.
      (excel_write_blips): New function. Save the images as BLIPs.
      (excel_write_workbook): Get length of BLIP records. Call
      excel_write_blips.
      (excel_write_state_new): Initialize cur_blip.
      (excel_write_state_free): Free BLIP lists from sheets.
      
      * ms-excel-write.h (struct ExcelWriteSheet): Add blips, num_blips.
      (struct _ExcelWriteState): Add cur_blip.
      
      * src/sheet-object-image.c (sheet_object_image_new): strdup the
      image type.
      (sheet_object_image_finalize): Free the image type.
      (soi_info_cb): New callback used to find image type.
      (soi_get_pixbuf): Install callback on pixbuf loader in order to
      find image type.
      (sheet_object_image_get_property): New gobject method to return
      type, data or pixbuf as object parameters.
      (sheet_object_image_class_init): Install properties.
      9ecf1c04
  9. 21 Jun, 2004 1 commit
    • Jody Goldberg's avatar
      Ensure that the line extends out far enough for the first and last tick. · 20f609ba
      Jody Goldberg authored
      2004-06-20  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-axis.c (gog_axis_view_render) : Ensure that the line
      	  extends out far enough for the first and last tick.
      
      	* graph/gog-theme.c (map_area_series_solid_default) : honour the new
      	  disable_theming flag.
      	* graph/gog-style.c (gog_style_is_completely_auto) : new.
      
      2004-06-20  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (palette_get_index) : make public
      	(excel_write_start_drawing) : new to handle spids across sheets.
      	(excel_write_autofilter_objs) : use it.
      	(excel_write_chart) : use it.
      	(excel_write_objs) : do more detailed obj setup here.
      	(put_color) : minor simplification.
      	(extract_gog_object_style) : new
      	(excel_write_state_new) : use it to collect the colors for the
      	  palette.
      	(excel_sheet_new) : decide on sheet obejcts to export here.
      
      	* ms-escher.c (-excel_write_MS_O_DRAWING_GROUP) : delete
      
      	* ms-chart.c (}) : First pass at a basicly working chart exporter
      
      2004-06-20  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : re-enable ssconvert as a test program for now to
      	  avoid rebuilding it all the time.
      20f609ba
  10. 15 Jun, 2004 1 commit
    • Jody Goldberg's avatar
      Clear out my backlog in case I get hit by a bus on this trip · 82960557
      Jody Goldberg authored
      2004-06-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : merge the xp and 2k
      	  versions and tidy up.  This will likely need some work for blips
      
      	* ms-chart.c (chart_write_plot) : implement the plot types we can
      	  import.
      	(chart_write_axis) : provide a default for inverted and
      	  log-scale so that we only set them if lookup succeeds.
      	(ms_excel_write_chart) : more work.  gnumeric and OOo can
      	  now import the basic column charts.  XL does not like the colours
      	  and gets the formating wrong, but it can at least read a single
      	  chart happilly.
      
      	* ms-excel-write.c (excel_write_chart) : put the spid in the write
      	  spot I was off by two bytes.
      	(excel_write_autofilter_objs) : Move the container wrapper from here
      	(excel_write_objs) : to this new routine so that it can be shared by
      	  filters and charts.  We are now close to bit perfect matches to XP.
      82960557
  11. 13 Jun, 2004 1 commit
    • Jody Goldberg's avatar
      bump req for libgsf to 1.10.0 (still in cvs) · b36d44ce
      Jody Goldberg authored
      2004-06-13  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : bump req for libgsf to 1.10.0 (still in cvs)
      
      2004-06-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-chart.c (ms_excel_write_chart) : more work.  gnumeric and OOo can
      	  now import the basic column charts.  Unfortunately XL still crashes.
      
      2004-06-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_chart) : add and End after the common
      
      	* ms-chart.c (chart_write_color) : write.
      b36d44ce
  12. 05 Jun, 2004 1 commit
    • Jody Goldberg's avatar
      Add object support We should be ready to transition over to using this as · 36c8f352
      Jody Goldberg authored
      2004-06-05  Jody Goldberg <jody@gnome.org>
      
      	* xml-sax-write.c : Add object support
      	  We should be ready to transition over to using this as the main line
      
      2004-06-05  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_chart) : sync the sizes when exporting
      	  the anchor and object id.
      
      2004-06-05  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-axis.c (gog_axis_get_entry) : add some protection now that
      	  this is public.
      	  (gog_axis_is_discrete) : ditto.
      
      	* graph/gog-style.c : add sax exporters
      	* graph/gog-error-bar.c : ditto
      
      	* graph/gog-object-xml.h : s/GogPersistDOM/GogPersist
      	* graph/gog-object-xml.c : add sax exporters
      	  (go_xml_out_add_color) : new.
      
      	* utils/go-font.c : Added some conditional leak debug tools
      
      
      2004-06-05  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.c : add sax export, and actually dump the
      	  images.
      	* src/sheet-object-widget.c : add sax export
      	* src/sheet-object-graph.c : ditto.
      	* src/sheet-object-cell-comment.c : ditto.
      
      	* src/workbook-view.c (wbv_save_to_file) : warning suppression
      
      	* src/xml-io.c (gnm_xml_out_add_color) : new
      	(gnm_xml_out_add_cellpos) : new.
      36c8f352
  13. 22 May, 2004 1 commit
    • Jody Goldberg's avatar
      support implicit iteration for operators. We now support all major · 3184ef30
      Jody Goldberg authored
      
      2004-05-21  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c : support implicit iteration for operators.  We now
      	  support all major evaluation mechanisms in ms excel.
      
      2004-05-19  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : bump libglade req to 2.3.6 to get the new combos
      	  Merge in an as yet unused test for mono while we're in here.
      
      2004-05-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_WSBOOL) : add more comments.
      
      	* ms-chart.c (ms_excel_write_chart) : start filling in some of the
      	  blanks.  No where near functional, but at least we can operate in
      	  'paint by numbers' mode for a while.
      
      	* ms-biff.c (ms_biff_put_empty) : new util
      	(ms_biff_put_2byte) : ditto.
      
      	* ms-excel-write.c : Use the new utilities to clarify the code.
      	(excel_write_SETUP) : make public for use in chart export
      	(excel_write_SCL) : make public for use in chart export
      3184ef30
  14. 29 Apr, 2004 1 commit
    • Jody Goldberg's avatar
      new. (excel_write_RSTRING) : new. (cb_cell_pre_pass) : merge · 874c970b
      Jody Goldberg authored
      
      2004-04-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_font_overlay_pango) : new.
      	(excel_write_RSTRING) : new.
      	(cb_cell_pre_pass) : merge cb_collect_value_fmts, sst_collect_str
      	  add support for richtext
      	(excel_write_cell) : export RSTRINGS for richtext
      874c970b
  15. 26 Mar, 2004 1 commit
    • Jody Goldberg's avatar
      We only support frozen panes. Set the flag indicating that this was only a · 8f00eaba
      Jody Goldberg authored
      2004-03-18  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
      	  panes.  Set the flag indicating that this was only a freeze, not a
      	  split too.
      	(excel_write_PANE) : docs are wrong.  The field indicates what type of
      	  freezing.
      	(excel_write_selections) : rework to match XL.
      	(excel_write_SCL) : Only write the record if zoom != 100%
      	(excel_write_BOF) : update BOF to XP sp2
      
      	* ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
      	  the PANE record to override the default of 3.
      	(excel_read_PANE) : store the active pane.
      
      2004-03-25  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=137818
      	* src/style.c (required_updates_for_style) : redraw for h-align,
      	  striketrough, underline, and font colour changes.
      
      	* src/application.c (gnumeric_application_setup_icons) : pull in some
      	  icons
      
      2004-03-20  Jody Goldberg <jody@gnome.org>
      
      	* src/wbcg-actions.c : Move the font actions into a distinct group.
      
      	* src/wbc-gtk.c (wbc_gtk_actions_sensitive) : start to account for
      	  font vs normal actions.  This interface sucks.  We'll need something
      	  more functional as the number of action groups increases (eg clipboard)
      	(wbc_gtk_init_color_fore) : move into font group
      	(wbc_gtk_init_font_name) : move into font group
      	(wbc_gtk_init_font_size) : move into font group
      	(wbc_gtk_set_toggle_action_state) : split font actions into a distinct
      	  group
      	(cb_handlebox_dock_status) : ditto.
      	(wbc_gtk_init) : ditto.
      8f00eaba
  16. 19 Mar, 2004 1 commit
    • Jody Goldberg's avatar
      We only support frozen panes. Set the flag indicating that this was only a · 95e06974
      Jody Goldberg authored
      
      2004-03-18  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW2) : We only support frozen
      	  panes.  Set the flag indicating that this was only a freeze, not a
      	  split too.
      	(excel_write_PANE) : docs are wrong.  The field indicates what type of
      	  freezing.
      	(excel_write_selections) : rework to match XL.
      	(excel_write_SCL) : Only write the record if zoom != 100%
      
      	* ms-excel-read.c (excel_read_SELECTION) : Allow the active pane from
      	  the PANE record to override the default of 3.
      	(excel_read_PANE) : store the active pane.
      95e06974
  17. 06 Feb, 2004 1 commit
    • Jody Goldberg's avatar
      Make Sheet a cheesy sort of GObject. Leave the macros as the old signature · cbc4d20b
      Jody Goldberg authored
      2004-02-04  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet.c : Make Sheet a cheesy sort of GObject.  Leave the macros
      	  as the old signature based variants for now.
      
      2004-02-04  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_CODENAME) : new routine to store the
      	  codename for later use while round tripping.
      	(excel_read_sheet) : use it here.
      	(excel_read_workbook) : use it here.
      
      	* ms-excel-write.c (excel_write_CODENAME) : new routine to use the
      	  stored codename rather than generating one on the fly.
      	(excel_write_sheet) : use it here.
      	(excel_write_workbook) : and here.
      
      2004-01-29  Jody Goldberg <jody@gnome.org>
      
      	From Nick Lamb <njl98r@ecs.soton.ac.uk>
      	* ms-excel-read.c (excel_read_FILEPASS) : new.
      	(excel_read_sheet) : use it here.
      	(excel_read_workbook) : and here.
      cbc4d20b
  18. 15 Nov, 2003 1 commit
    • Jody Goldberg's avatar
      support minor ticks and tune placement to work around anti-aliasing blur. · b052a59f
      Jody Goldberg authored
      2003-11-15  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-axis.c (gog_axis_view_render) : support minor ticks and
      	  tune placement to work around anti-aliasing blur.
      
      	* graph/gog-grid.c (gog_grid_view_render) : tune the cheat to work
      	  around anti-aliasing blur.
      
      2003-11-14  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=126775
      	* graph/gog-axis.c (gog_axis_update) : be smarter when min == max.
      
      2003-11-13  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-guru.c (cb_obj_children_reordered) : implement.
      	(cb_reordered_find) : new.
      
      	* graph/gog-object.c (gog_object_can_reorder) : implement.
      
      2003-11-13  Jody Goldberg <jody@gnome.org>
      
      	* graph/plugins/plot_barcol/gog-barcol.c (gog_barcol_view_render) :
      	  avoid the potential for trouble for a series with only zeros.
      2003-11-14  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=126908
      	* ms-excel-read.c (ms_sheet_create_obj) : gnumeric defaults to
      	  different outline and background colours.  Set them if the file does
      	  not so that things look xl-ish.
      
      2003-11-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_sheet) : store a CODENAME
      	(write_workbook) : ditto.
      
      	* boot.c (excel_save) : store the saved properties if we have them
      	(excel_file_open) : store CompObj and properties.
      	(excel_read_metadata) : its easier to blob the stream.
      
      
      2003-11-14  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=68794
      	* src/selection.c (sv_selection_to_plot) : default to rows
      	  when rows == cols
      b052a59f
  19. 12 Nov, 2003 2 commits
  20. 09 Oct, 2003 1 commit
    • Jody Goldberg's avatar
      Release 1.2.1 · b762bb9d
      Jody Goldberg authored
      
      2003-10-08  Jody Goldberg <jody@gnome.org>
      
      	* Release 1.2.1
      b762bb9d
  21. 25 Dec, 2002 1 commit
  22. 22 Dec, 2002 1 commit
    • Jody Goldberg's avatar
      use cell_set_value and simplify. · 8361da8a
      Jody Goldberg authored
      2002-12-20  Jody Goldberg <jody@gnome.org>
      
      	* src/stf-parse.c (stf_parse_sheet) : use cell_set_value and simplify.
      
      	* src/clipboard.c (paste_cell) : fix leak.
      
      2002-12-21  Jody Goldberg <jody@gnome.org>
      
      	* ms-escher.c (excel_write_MS_O_DRAWING_GROUP) : new.
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the biff8
      	  combos.  Thats it we're done.
      
      2002-12-20  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : write the fields
      	  to handle the last 1/4 of the puzzle.  The only thing missing now is
      	  exporting the combos for biff8.
      	(excel_write_DOPER) : new.
      
      2002-12-18  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_AUTOFILTERINFO) : new.
      	(write_sheet_head) : use it here to export the 1st 1/4 of autofilters.
      	(excel_write_NAME) : support hidden names.
      	(excel_write_autofilter_names) : create pretend names for the 1st
      	 filter in each sheet.
      	(write_workbook) : use excel_write_autofilter_names to generate the
      	  next 1/4 of autofilters.
      	(excel_write_autofilter_objs) : generate simple biff7 style objects
      	  for the filter combos.
      	(excel_write_sheet) : Use excel_write_autofilter_objs for the next 1/4.
      8361da8a
  23. 29 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      Add include for gsf-output.h (applix_write) : tidy up the constness. · 4152a7f6
      Jody Goldberg authored
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* applix-write.c : Add include for gsf-output.h
      	(applix_write) : tidy up the constness.
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_WINDOW1) : make view const
      	(excel_write_state_new) : ditto.
      
      	* ms-excel-read.c (excel_prepare_autofilter) : new.
      	(excel_read_NAME) : handle autofilters.
      
      	* ms-escher.c (ms_escher_read_ClientTextbox) : store the text.
      
      	* plugins/excel/boot.c (excel_save) : make the view const not the
      	  output.
      	(excel_dsf_file_save) : ditto.
      	(excel_biff8_file_save) : ditto.
      	(excel_biff7_file_save) : ditto.
      
      2002-11-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (ms_sheet_create_obj) : use the new label setting
      	  utilities.
      
      
      2002-11-29  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (wbcg_menu_state_update) : add auto
      	  filter.
      	(cb_auto_filter) : initial quicky implementation.
      	(cb_data_pivottable) : ditto.
      	(workbook_control_gui_init) : init the autofilter.
      
      	* src/value.c (value_equal) : new util.
      	(value_cmp) : new.
      
      	* src/style-color.c (gnumeric_color_init) : add green.
      
      	* src/stf.c : quiet a few warnings.
      
      	* src/sheet.c (sheet_new) : init filters and pivots.
      	(sheet_destroy_contents) : free the filters and pivots.
      	(sheet_range_calc_spans) : no one sets NO_DRAW so don't check for it.
      	(sheet_cell_calc_span) : ditto.
      
      	* src/sheet-view.c (sv_edit_pos_in_filter) : new.
      
      	* src/sheet-object.c (sheet_object_print) : no warning if the object
      	  does not print.
      	(sheet_object_clone) : nor is it a problem if it can not be cloned.
      
      	* src/sheet-object-widget.c (sheet_widget_button_set_label) : new.
      	(sheet_widget_checkbox_set_label) : new.
      	(cb_checkbox_config_cancel_clicked) :use sheet_widget_checkbox_set_label
      	(cb_checkbox_label_changed) : ditto.
      	(sheet_widget_radio_button_finalize) : free the label.
      	(sheet_widget_radio_button_set_label) : new.
      
      	* src/ranges.c (setup_range_from_value) : remove ugly release argument.
      	(setup_range_from_range_ref) : ditto.
      	(value_to_global_range) : take a GlobalRange as an arg.  No need to
      	  allocate the result.
      
      	* src/item-bar.c (item_bar_realize) : create a GC for filtered regions
      	(item_bar_unrealize) : free it.
      
      	* src/io-context.c (workbook_io_progress_set) : const the workbook.
      
      	* src/gnumeric.h : Add GnmFilter.
      	  Remove unused SPANCALC_NO_DRAW.
      
      	* src/file.c (gnum_file_saver_save_real) : view is const not output.
      	(gnum_file_saver_save) : ditto.
      
      	* src/file-priv.h (save) : view is const not output.  delete save to
      	  stream.
      
      	* src/consolidate.c (consolidate_set_destination) : adjust to less
      	  silly interface to setup_range_from_value.
      	(consolidate_add_source) : ditto.
      
      	* src/pixmaps/Makefile.am : add the pivottable icons
      	* src/application.c (gnumeric_application_setup_icons) : ditto.
      
      	* src/Makefile.am : add pivot table stub and auto filter
      	  implementation
      
      2002-11-28  Jody Goldberg <jody@gnome.org>
      
      	* src/expr-name.c (sheet_names_get_available) : document.
      	(cb_get_names) honour is_hidden.
      	(expr_name_new) : init is_hidden.
      4152a7f6
  24. 15 Nov, 2002 1 commit
  25. 13 Nov, 2002 2 commits
    • Jody Goldberg's avatar
      fix typo that broke 3d references. · fc9f68d1
      Jody Goldberg authored
      
      2002-11-13  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-read.c (excel_parse_formula) : fix typo that broke 3d
      	  references.
      
      	* ms-formula-write.c (sheet_pair_add_if_unknown) : new.
      	(excel_write_prep_expr) : use it for refs and regions.
      
      	* ms-excel-write.c (excel_write_state_free) : release the function and
      	  sheet pair tables.
      	(excel_write_SCL) : new. Clean up and support zoom > 100
      	(cb_write_sheet_pairs) : new.
      	(excel_write_externsheets_v8) : generate sheet pairs for the
      	  externsheet.  Still no support for external links.
      	(excel_write_get_externsheet_idx) : implement.
      
      2002-11-12  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c : Don't use StyleFont.  In the case where a font
      	  does not exist on the display system it does the wrong thing.
      	  MStyle can contain an invalid font.  StyleFont gets remapped to the
      	  default.
      fc9f68d1
    • Jody Goldberg's avatar
      Don't use StyleFont. In the case where a font does not exist on the · 63c4cd5a
      Jody Goldberg authored
      
      2002-11-12  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c : Don't use StyleFont.  In the case where a font
      	  does not exist on the display system it does the wrong thing.
      	  MStyle can contain an invalid font.  StyleFont gets remapped to the
      	  default.
      63c4cd5a
  26. 12 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      fix signature. (write_cellref_v8) : ditto. (write_ref) : fix biff8 case. · d664ec66
      Jody Goldberg authored
      2002-11-11  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-write.c (write_cellref_v7) : fix signature.
      	(write_cellref_v8) : ditto.
      	(write_ref) : fix biff8 case.
      
      	* ms-excel-write.c (gather_styles) : we already gathered the most
      	  common styles earlier.
      	(excel_sheet_new) : most common style in a column does not extend the
      	  column.
      
      	* ms-biff.c (ms_biff_put_len_next) : handle correct max biff record
      	  sizes for biff7 vs biff8.  Looks like they teaked things so that the
      	  dbcell records will always fit in 1 biff record.
      	(ms_biff_put_len_commit) : ditto.
      
      
      2002-11-11  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-style.c (sheet_style_get_extent) : optionally take the
      	  most common style into account when calculating extents.  The
      	  default style for a column does not contribute to its extent.
      
      	* src/parser.y (fold_negative) : new.
      	(unary negative) use it here.
      	(array_exp) : and here.
      	(yylex) : do _not_ handle negatives here.
      d664ec66
  27. 10 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      Use excel_write_string. (write_arrays) : Use it here, but this code is · c159496c
      Jody Goldberg authored
      
      2002-11-10  Jody Goldberg <jody@gnome.org>
      
      	* ms-formula-write.c (write_string) : Use excel_write_string.
      	(write_arrays) : Use it here, but this code is suspect.
      
      	* ms-excel-write.c (excel_write_string_len) : new routine to find char
      	  and byte lengths of strings.
      	(current_workbook_iconv) : delete.
      	(biff_convert_text) : delete.
      	(biff_put_text) : delete.
      	(excel_write_string) : new replacement for biff_put_text that does the
      	  conversion and writting inline rather than from a buffer, has
      	  smarter unicode handling and a more useful set of flags.
      	(excel_write_externsheets_v7) : Use it here.
      	(excel_write_externsheets_v8) : Use it here.
      	(excel_write_NAME_v7) : Use it here.
      	(excel_write_BOUNDSHEET) : Use it here.
      	(excel_write_FONT) : Use it here.
      	(excel_write_FORMAT) : Use it here.
      	(excel_write_value) : Use it here.
      	(excel_write_FORMULA) : Use it here.
      	(excel_write_comments_biff7) : Use it here.
      	(excel_write_SST) : Handle the unicode caes.
      	(excel_write_WRITEACCESS) : new to handle biff7 vs biff8
      	(excel_utf8_has_multibyte) : delete.
      	(write_workbook) : Use excel_write_WRITEACCESS and clean up the
      	  codepage handling to conform to
      	  biff7 == single byte vs biff8 == unicode.
      
      	* ms-excel-biff.h (EX_SETSTRLEN) : delete.
      
      	* ms-biff.c (ms_biff_put_new) : Add a buffer and iconv handler to
      	  simplify string handling.  excel95 gets locale specific handler.
      	  excel97 and up goes to utf16-le.
      	(ms_biff_put_destroy) : cleanup.
      c159496c
  28. 08 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      merge biff7 and biff8 versions. (excel_write_externsheets_v8) : basic · dc13f84d
      Jody Goldberg authored
      
      2002-11-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (excel_write_state_new) : merge biff7 and biff8
      	  versions.
      	(excel_write_externsheets_v8) : basic initial implementation handles
      	  externnames.
      
      	* ms-excel-read.c (excel_read_workbook) : add a flag to indicate dual
      	  stream file.
      
      	* boot.c (excel_file_open) : set the saver reasonably intellifently.
      	(excel_save) : support dual stream files.
      	(excel_dsf_file_save) : new.
      	* plugin.xml.in : enable dual stream files
      
      
      2002-11-07  Jody Goldberg <jody@gnome.org>
      
      	* src/item-edit.c (item_edit_draw) : fix bounding box.
      dc13f84d
  29. 06 Nov, 2002 1 commit
    • Jody Goldberg's avatar
      enable excel97 · 558cefd3
      Jody Goldberg authored
      
      2002-11-05  Jody Goldberg <jody@gnome.org>
      
      	* plugin.xml.in : enable excel97
      
      	* ms-excel-write.c (excel_write_value) : use BIFF8 SST records.
      	(excel_write_state_free) : clean up SST here.
      	(excel_write_state_new) : shared routine for biff7 and biff8.
      	(excel_utf8_has_multibyte) : quicky utility.
      	(excel_write_SST) : initial basic implementation still needs unicode
      	  support.
      	(excel_write_BOF) : renamed from biff_bof_write and sync versions with
      	  XL 2k.
      
      2002-11-04  Jody Goldberg <jody@gnome.org>
      
      	* boot.c (excel_save) : prep for biff8 save, and double stream files.
      
      	* ms-excel-read.c (excel_read_XF) : fix rotation.
      	(excel_read_SST) : improve debug info.
      
      	* ms-excel-write.c (write_xf_record) : write the BIFF8 support.
      	(rotation_to_excel) : new.
      
      
      2002-11-06  Jody Goldberg <jody@gnome.org>
      
      	* src/item-*, src/*canvas* : convert to foocanvas
      
      	* src/application.c (gnumeric_application_setup_icons) : Use new
      	  scaled pngs for formula guru.
      	* src/pixmaps/Makefile.am : ditto.
      
      	* src/plugin.c (plugin_info_read) : add 'require_explicit_enabling' flag
      	  so that we don't auto enable specialized plugins.
      
      	* src/plugin-service.c (input_file_save_info_read) : delete.
      	(plugin_service_file_opener_read_xml) : don't call it here.
      	(gnum_plugin_file_opener_open) : And don't try to use it here.
      	  It is not useful to hard code the saver if the importer can handle
      	  multiple versions of the format.  Only the import process will know
      	  enough to be able to select the appropriate exporter.
      
      	* src/item-cursor.c (item_cursor_tip_setlabel) : simplify.
      	* src/auto-format.c : tidy up includes.
      558cefd3
  30. 26 Oct, 2002 1 commit
    • Jody Goldberg's avatar
      Start rationalizing things. ditto. Lots of adjustments. - start handling · 70aecfa7
      Jody Goldberg authored
      2002-10-26  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c : Start rationalizing things.
      	* ms-formula-write.c : ditto.  Lots of adjustments.
      	- start handling biff7 externsheets correctly
      	- fix handling of non builtin functions
      
      	* ms-excel-read.c (excel_add_name) : delete.
      	(excel_workbook_get_name) : ditto.
      
      	* ms-formula-read.c : Hopefully the last major tweak to names and
      	  externsheets for biff7.  This now loads all test cases smoothly.
      	  It seems that biff7 stores per bof sets of externsheets.
      
      	* ms-container.c (ms_container_init) : Add a version and a workbook
      	  pointer.  Init the new biff7 extern handling data structures.
      	(ms_container_finalize) : and release them here.
      	(ms_container_get_name) : new to handle biff7 or biff8 magic.
      	(ms_container_add_name) : ditto.
      
      	* ms-chart.c (BC_R(ai)) : parse the expression as ourselves, not the
      	  container.
      	(chart_parse_expr) : implement.
      	(ms_excel_chart) : handle EXTERNSHEET and EXTERNCOUNT for biff7 style
      	  storage with per BOF EXTERN*.
      
      	* ms-biff.c (ms_biff_put_destroy) : take responsibility for the output
      	  stream.
      
      	* boot.c (excel_save) : check that we can open the output file before
      	  we bother collecting things for export.
      
      2002-10-25  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_read_XF) : init shrink to fit in the non
      	  biff8 case.
      
      2002-10-24  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-read.c (excel_parse_name) : patch leak.
      
      
      2002-10-24  Jody Goldberg <jody@gnome.org>
      
      	* src/dependent.c (link_cellrange_dep) : jonkare found a typo.
      	  Thanks that will make life easier when we start using this flag.
      70aecfa7
  31. 07 Aug, 2002 1 commit
    • Jody Goldberg's avatar
      delete. (style_get_char_width) : renamed from get_base_char_width as it is · e0f07af6
      Jody Goldberg authored
      
      2002-08-07  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (init_base_char_width_for_write) : delete.
      	(style_get_char_width) : renamed from get_base_char_width as it is now
      	  just a wrapper around the
      	(ms_excel_write_DEFCOLWIDTH) : renamed from write_default_col_width
      	  and use the right font in the width calculations.
      	(ms_excel_write_COLINFO) : renamed from write_colinfo and use the
      	  right font in the width calculations.
      e0f07af6
  32. 02 Aug, 2002 1 commit
    • Jody Goldberg's avatar
      set the unicode flag on the string header for unicode strings. This · 63ea0d33
      Jody Goldberg authored
      
      2002-08-01  Jody Goldberg <jody@gnome.org>
      
      	* ms-excel-write.c (biff_put_text) : set the unicode flag on the
      	  string header for unicode strings.  This routine needs to be cleaned
      	  up to handle utf8 -> utf16 if necessary.
      	(biff_boundsheet_write_first) : tidy and make the name len 1 byte.
      	(gather_palette) : convert to new two way table convention.
      	(gather_fonts) : ditto.
      	(gather_formats) : ditto.
      	(xf_free) : ditto.
      	(after_put_mstyle) : ditto.
      	(put_mstyle) : simplify.
      	(xf_init) : delete.
      	(cell_used_map_new) : delete.
      	(cell_mark_used ) : delete.
      	(cell_is_used) : delete.
      	(excel_cell_get) : delete.
      	(pre_cell) : delete.
      	(pre_blank) : delete.
      	(pre_blanks) : delete.
      	(pre_colstyle) : delete.
      	(gather_styles) : greatly simplify by using the knowledge that there
      	  is a per sheet hash of the styles in use.
      	(cb_accum_styles) : new.
      	(write_cell) : Use the gnumeric data structures directly.
      	(write_block) : ditto.
      	(ms_excel_write_wsbool) : new.
      	(write_sheet_head) : use ms_excel_write_wsbool.
      	(excel_sheet_new) : no more need for large cell map.
      	(excel_sheet_free) : ditto.
      
      	* ms-excel-util.c (two_way_table_new) : Allow for ptr tp ptr
      	  comparisons as an optimization.
      	(two_way_table_free) : ditto.
      	(two_way_table_put) : ditto.
      	(two_way_table_replace) : ditto.
      	(two_way_table_key_to_idx) : ditto.
      
      	* boot.c (excel_save) : bah!  I forgot to commit this.  export is
      	  broken without it.
      2002-08-01  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-style.c (sheet_style_foreach) : new.
      
      
      	* src/mstyle.c (mstyle_equal_XL) : new.
      
      	* src/item-grid.c (item_grid_draw) : partially fix drawing for merged
      	  regions that have some cols/rows hidden.  It is impossible to do
      	  that from the gnumeric ui, but it can happen with importers, and
      	  will potentially happen with filters.
      
      	* src/item-cursor.c (item_cursor_selection_event) : bring up context
      	  menus on right button.
      63ea0d33
  33. 09 Jul, 2002 1 commit
  34. 18 Jun, 2002 1 commit
    • Jody Goldberg's avatar
      check for failure to start editing. (cb_insert_current_time) : ditto. · 8f9a9e61
      Jody Goldberg authored
      
      2002-06-18  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_insert_current_date) : check for
      	  failure to start editing.
      	(cb_insert_current_time) : ditto.
      
      2002-06-18  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-graph.c (gnm_graph_vector_seq_scalar) : forward port a
      	  patch for keelyn.
      
      	* src/file.c (gnum_file_saver_save_to_stream_real) : forward port a
      	  warning suppression.
      
      	* src/clipboard.c (clipboard_paste_region) : restore the expr_relocate
      	  code in preparation for supporting the XL style heuristic.
      
      	* src/GNOME_Gnumeric.xml : forward port some fixes.
      	* src/sheet-object-widget.c (cb_scrollbar_value_changed) : ditto.
      	(sheet_widget_scrollbar_set_sheet) : ditto.
      
      2002-06-17  Jody Goldberg <jody@gnome.org>
      
      	* src/dependent.c (cb_name_invalidate) : renamed from
      	  cb_name_invalidate_sheet.  Just set the expression to NULL.
      	  no need to be polite.  It just confuses things during workbook
      	  destruction when the name references another sheet which has already
      	  been destroyed.
      8f9a9e61
  35. 19 Feb, 2002 1 commit
    • Jon K Hellan's avatar
      Update documentation. (ms_excel_get_style_from_xf): Remove case 0. · 9b3abb4e
      Jon K Hellan authored
      2002-02-19  Jon K Hellan  <hellan@acm.org>
      
      	* ms-excel-read.c (ms_excel_palette_get): Update documentation.
      	(ms_excel_get_style_from_xf): Remove case 0.
      	(biff_xf_data_new): Save difference bits. We don't use them yet,
      	though. Documentation is wrong, background color is one bit more
      	than documented
      
      	* ms-excel-write.h (struct _ExcelFont): Add is_auto member.
      	(PALETTE_BLACK): Change from 0 to 8.
      	(PALETTE_WHITE): Change from 1 to 9.
      	(PALETTE_AUTO_PATTERN, PALETTE_AUTO_BACK, PALETTE_AUTO_FONT,
      	FILL_NONE, FILL_SOLID): Define
      
      	* ms-excel-write.c (write_window2): Write grid / auto pattern
      	color.
      	(style_color_to_int): Rename to style_color_to_rgb888.
      	(palette_put_defaults): Call index 8 'PALETTE_BLACK'. Mark both
      	black and white as in use.
      	(palette_get_index): Return 8 (PALETTE_BLACK) for black, and 9
      	(PALETTE_WHITE) for white.
      	(put_color): Call style_color_to_rgb888 with new name.
      	(excel_font_new): Call style_color_to_rgb888 with new name. Save
      	is_auto flag.
      	(excel_font_hash): Include is_auto in hash func, and shift flags
      	so they don't just cancel each other.
      	(excel_font_equal): Include is_auto in comparison.
      	(write_font): Store as auto color when appropriate.
      	(fixup_fill_colors): Simplify and merge into build_xf_data.
      	(style_color_to_pal_index): New function. Return Excel color
      	index, possibly auto, for a style color.
      	(get_xf_differences): We have discovered that background color is
      	stored with 1 bit more than documented. Use this to improve test
      	for pattern difference between XF and parent style. Locking: XL
      	default is on, so we're different if locking is off.
      	(build_xf_data): Store as auto color where appropriate. Use
      	style_color_to_pal_index.
      	(write_xf_record): Documentation is wrong - there is no fSxButton
      	bit. The bg color uses the bit, making bg field 7 bits wide. Don't
      	store data for borders which aren't there.
      9b3abb4e
  36. 31 Oct, 2001 1 commit
    • Jody Goldberg's avatar
      Use d() debug macors to make things more readable. And use esheet in place · 9efb6d40
      Jody Goldberg authored
      2001-10-30  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c : Use d() debug macors to make things
      	  more readable.  And use esheet in place of sheet to avoid
      	  confusion with gnumeric core.
      	(write_colinfo) : make xf_index an argument.
      	(pre_colstyle) : new routine to gather the most common style in each col
      	(gather_styles) : called from here.
      	(write_mulblank) : take an array rather than a GList.
      	(write_block) : only write a blank cell if it is different from the
      	column default.
      9efb6d40
  37. 15 Oct, 2001 1 commit
  38. 12 Jun, 2001 1 commit
    • Chyla Zbigniew's avatar
      Set up io_progress before calling ms_excel_check_write and · cca8130c
      Chyla Zbigniew authored
      
      * boot.c (excel_save): Set up io_progress before calling ms_excel_check_write
      and ms_excel_write_workbook.
      
      * ms-excel-read.c
      (ms_excel_read_sheet): Added IOContext argument,
      call value_io_progress_update on every loop iteration.
      (ms_excel_read_workbook): Set up io progress message and helper.
      
      * ms-excel-write.c
      (pre_cell): Update io progress.
      (pre_blanks): Update io progress at every row.
      (gather_styles): Set up io progress helper.
      (write_block): Update io progress after every write_cell call.
      (ms_excel_write_workbook): Set up io progress helper.
      (ms_excel_check_write): Copy IOContext ptr into ExcelWorkbook struct.
      
      * ms-excel-write.h (struct _ExcelWorkbook): Added io_context.
      cca8130c