CVSROOT: /cvs/gnome Module name: goffice Changes by: emmanuel 06/04/04 15:18:56
Modified files: . : ChangeLog goffice/graph : gog-axis.c gog-graph.c goffice/gtk : go-format-sel.c go-format-sel.glade go-format-sel.h goffice/utils : format.c formats.c go-format.c go-format.h Log message: 2006-04-04 Emmanuel Pacaud <[EMAIL PROTECTED]> Fix engineering format: http://bugzilla.gnome.org/show_bug.cgi?id=129706 Adds a special format using pango markup for superscripted exponents, currently only enabled in format selector in graph guru when using cairo renderer. * goffice/graph/gog-axis.c (gog_axis_populate_editor): enable format with markup when using cairo. * goffice/gtk/go-format-sel.c (generate_format): handle new format settings. (go_format_sel_set_style_format): ditto. (cb_engineering_toggle): new. (cb_superscript_toggle): new. (cb_superscript_hide_1_toggle): new. (fmt_dialog_enable_widgets): handle new scientific format widgets. (nfs_init): ditto. (go_format_sel_new_full): new. Provides a way to enable format with markup. (go_format_sel_new): creates a new format selector with pango markup disabled. * goffice/gtk/go-format-sel.glade: add new widgets for scientific format. * goffice/utils/format.c (go_render_number_scientific): new. (do_render_number): call go_render_number_scientific when needed. (go_format_as_scientific): handle exponent step, use of marlup and simplification of mantissa. (go_format_number): fix handling of scientific/engineering format. * goffice/utils/formats.c (go_currency_date_format_init): expand science/percentage format. (cell_format_is_number): handle simplification of mantissa, use of markup and exponent step for scientific format. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=goffice&who=emmanuel&date=explicit&mindate=2006-04-04%2015:17&maxdate=2006-04-04%2015:19 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list