mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 16:36:12 +08:00
Update zcl_excel_writer_2007.clas.abap
This commit is contained in:
parent
f5d0ed7189
commit
8d793f3f57
|
@ -1213,10 +1213,7 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
|
||||||
lo_element_fill TYPE REF TO if_ixml_element.
|
lo_element_fill TYPE REF TO if_ixml_element.
|
||||||
|
|
||||||
CHECK iv_cell_style IS NOT INITIAL.
|
CHECK iv_cell_style IS NOT INITIAL.
|
||||||
|
|
||||||
READ TABLE me->styles_mapping INTO ls_styles_mapping WITH KEY guid = iv_cell_style.
|
READ TABLE me->styles_mapping INTO ls_styles_mapping WITH KEY guid = iv_cell_style.
|
||||||
lv_index = ls_styles_mapping-style + 1. " the numbering starts from 0
|
|
||||||
READ TABLE it_cellxfs INTO ls_cellxfs INDEX lv_index.
|
|
||||||
|
|
||||||
READ TABLE me->styles_cond_mapping INTO ls_style_cond_mapping WITH KEY style = ls_styles_mapping-style.
|
READ TABLE me->styles_cond_mapping INTO ls_style_cond_mapping WITH KEY style = ls_styles_mapping-style.
|
||||||
IF sy-subrc EQ 0.
|
IF sy-subrc EQ 0.
|
||||||
|
@ -1233,6 +1230,9 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
|
||||||
lo_sub_element = io_ixml_document->create_simple_element( name = lc_xml_node_dxf
|
lo_sub_element = io_ixml_document->create_simple_element( name = lc_xml_node_dxf
|
||||||
parent = io_ixml_document ).
|
parent = io_ixml_document ).
|
||||||
|
|
||||||
|
lv_index = ls_styles_mapping-style + 1. " the numbering starts from 0
|
||||||
|
READ TABLE it_cellxfs INTO ls_cellxfs INDEX lv_index.
|
||||||
|
|
||||||
"Conditional formatting font style correction by Alessandro Iannacci START
|
"Conditional formatting font style correction by Alessandro Iannacci START
|
||||||
lv_index = ls_cellxfs-fontid + 1. " the numbering starts from 0
|
lv_index = ls_cellxfs-fontid + 1. " the numbering starts from 0
|
||||||
READ TABLE it_fonts INTO ls_font INDEX lv_index.
|
READ TABLE it_fonts INTO ls_font INDEX lv_index.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user