Skip to content
  • Andreas J. Guelzow's avatar
    Improve xl import of underlines. · 86dd9be6
    Andreas J. Guelzow authored
    2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* src/mstyle.c (gnm_style_get_pango_attrs): use
    	  gnm_translate_underline_to_pango
    	(gnm_style_generate_attrs_full): use gnm_translate_underline_to_pango
    	(gnm_style_set_from_pango_attribute): use
    	  gnm_translate_underline_from_pango
    	* src/style.c (gnm_translate_underline_to_pango): new
    	(gnm_translate_underline_from_pango): new
    	* src/style.h (gnm_translate_underline_to_pango): new
    	(gnm_translate_underline_from_pango): new
    	* src/wbc-gtk-actions.c (FontSingleLowUnderline): new actions
    	(FontDoubleLowUnderline): new actions
    	(cb_font_underline_low): new
    	(cb_font_double_underline_low): new
    	* src/wbc-gtk-impl.h (_WBCGtk): add toggle action fields
    	* src/wbc-gtk.c (wbc_gtk_style_feedback_real): handle
    	  UNDERLINE_*_LOW
    	(wbc_gtk_init): add Font*LowUnderline
    
    2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* dialog-cell-format.c (underline_types): add low underlines
    
    2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* openoffice-read.c (oo_style_prop_cell): handle
    	  style:text-underline-type
    	* openoffice-write.c (odf_write_style_text_properties): add
    	  UNDERLINE_*_LOW
    
    2010-07-28  Andreas J. Guelzow <aguelzow@pyrshep.ca>
    
    	* excel-xml-read.c (xl_xml_font): add UNDERLINE_*_LOW
    	* ms-excel-read.c (xls_uline_to_gnm_underline): new
    	(excel_get_style_from_xf): use xls_uline_to_gnm_underline
    	(ms_wb_get_font_markup): use gnm_translate_underline_to_pango
    	(excel_read_CF): use xls_uline_to_gnm_underline
    	* ms-excel-write.c (map_underline_to_xl) rename
    	  to map_style_underline_to_xl and use new map_underline_to_xl,
    	  change all callers
    	(map_underline_to_xl): new
    	(excel_font_to_string): add UNDERLINE_*_LOW
    	(excel_font_overlay_pango): use gnm_translate_underline_from_pango
    	(excel_font_from_go_font): fix typo
    	(excel_write_FONT): use map_underline_to_xl
    	* xlsx-read.c (xlsx_font_uline): add UNDERLINE_*_LOW
    	(xlsx_font_valign): fix typo
    86dd9be6