• Jody Goldberg's avatar
    Add a property bag type interface to the escher parser. · 909174cd
    Jody Goldberg authored
    2001-09-26  Jody Goldberg <jgoldberg@home.com>
    
    	* ms-escher.c (ms_escher_parse) : call ms_escher_header_release.
    	(ms_escher_read_container) : ditto.
    	(ms_escher_header_release) : new to handle attrs.
    	(ms_escher_header_add_attr) : ditto.
    	(ms_escher_read_ClientData) : pass the attributes to the object
    	  and move the blip handing to the container.
    
    	* ms-obj.c (ms_object_attr_new_flag) : new.
    	(ms_object_attr_new_int) : new.
    	(ms_object_attr_new_ptr) : new.
    	(ms_object_attr_destroy) : new.
    	(ms_object_attr_bag_new) : ditto.
    	(ms_object_attr_bag_destroy) : ditto.
    	(ms_object_attr_bag_insert) : ditto.
    	(ms_object_attr_bag_lookup) : ditto.
    
    	* ms-excel-read.c (ms_excel_read_workbook) : interface change to
    	  ms_read_OBJ.
    	(ms_excel_read_sheet) : ditto.
    	(ms_sheet_create_obj) : move the blip handing from escher to here.
    
    2001-09-27  Jody Goldberg <jgoldberg@home.com>
    
    	* src/sheet-object-graphic.c (sheet_object_graphic_fill_color_set) :
    	  Use StyleColors and make public.
    	(sheet_object_graphic_destroy) : unref the fill colour.
    	(sheet_object_graphic_new_view) : translate from stylecolor to gdk.
    	(sheet_object_graphic_read_xml) : use style colors.
    	(sheet_object_graphic_write_xml) : use style colors.
    	(sheet_object_graphic_clone) : reference the fill colour.
    	(sheet_object_graphic_print) : use style colour.
    	(cb_dialog_graphic_clicked) : ditto.
    	(cb_dialog_filled_clicked) : ditto.
    	(sheet_object_graphic_user_config) : ditto.
    	(sheet_object_filled_user_config) : ditto.
    
    	* src/style-color.c (style_color_ref) : NULL is ok.
    	(style_color_unref) : ditto.
    
    	* src/xml-io.c (xml_node_get_color) : rename and tidy up.
    	(xml_node_get_gdkcolor) : delete.
    	(xml_node_set_gdkcolor) : delete.
    	(xml_read_style_border) : changes to get_color.
    	(xml_read_style) : ditto.
    909174cd
style-color.h 864 Bytes