-
JodyGoldberg authored
2005-09-26 Jody Goldberg <jody@gnome.org> * goffice/utils/format.c (go_format_unref) : merge in format_destroy there was no utility in keeping them distinct. Do not warn about the final unref of a markup style, they are not kept in the global cache. (go_format_new_markup) : do not put markup formats in the global cache. We do not really want to share them, and the old code would replace existing formats in the rare situation where some rich text formating happened to be used in the same way in two places eg C sub 1 vs C sub 2 (go_format_parse_markup) : support rise. (cb_attrs_as_string) : ditto. 2005-09-28 Jody Goldberg <jody@gnome.org> * ms-chart.c (xl_chart_import_reg_curve) : split out from ms_excel_chart_read. (xl_chart_import_error_bar) : ditto. * ms-excel-write.c (excel_font_overlay_pango) : check super/sub scripts. (excel_font_hash) : ditto. (excel_font_equal) : ditto. (excel_font_new) : init the super/sub status (map_underline_to_xl) : new. (map_script_to_xl) : new. (cb_write_condition) : handle super/sub script. (excel_write_FONT) : ditto. (excel_font_new) : ditto. * ms-excel-read.c (ms_wb_get_font_markup) : The super/subscript distances were broken. Use 5000 not 500. Seems like we may want a scale in there too. (excel_read_FONT) : Use GOFontScript (excel_get_style_from_xf) : store the script (super/sub) (excel_read_CF) : handle scripts. 2005-09-26 Jody Goldberg <jody@gnome.org> * cell-format.glade : give the super/sub script buttons names and enable them. * dialog-cell-format.c (cb_font_changed) : watch for script changes. (cb_font_script_toggle) : new. (fmt_dialog_init_font_page) : setup super/sub script buttons. 2005-09-26 Jody Goldberg <jody@gnome.org> * src/gnm-style-impl.h : Add a script element to GnmStyle * src/mstyle.c (elem_is_eq) : support scripts (elem_assign_content) : support scripts (gnm_style_new_default) : support scripts (gnm_style_get_pango_attrs) : support scripts (gnm_style_dump) : support scripts (gnm_style_set_font_script) : new. (gnm_style_get_font_script) : new. * src/GNOME_Gnumeric-gtk.xml.in : Add the super/sub script accelerators * gnumeric.xsd : update to include the new h/v alignments and to add Script. * src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script and fix support for double underline * src/wbcg-actions.c (toggle_font_attr) : support super/sub script (cb_font_subscript) : new. (cb_font_superscript) : new. * src/xml-io.c (xml_write_style) : ditto. (xml_read_style) : ditto. * src/xml-sax-read.c (xml_sax_styleregion_font) : ditto. * src/xml-sax-write.c (xml_write_gnmstyle) : ditto.
aaa7df0e