mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 19:16:10 +08:00
Update zcl_excel_writer_2007.clas.abap
This commit is contained in:
parent
8eaaac33ba
commit
23110b4534
|
@ -1234,6 +1234,10 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
|
||||||
|
|
||||||
CHECK iv_cell_style IS NOT INITIAL.
|
CHECK iv_cell_style IS NOT INITIAL.
|
||||||
|
|
||||||
|
"Don't insert guid twice or even more
|
||||||
|
READ TABLE me->styles_cond_mapping TRANSPORTING NO FIELDS WITH KEY guid = iv_cell_style.
|
||||||
|
CHECK sy-subrc NE 0.
|
||||||
|
|
||||||
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.
|
||||||
ADD 1 TO ls_styles_mapping-style. " the numbering starts from 0
|
ADD 1 TO ls_styles_mapping-style. " the numbering starts from 0
|
||||||
READ TABLE it_cellxfs INTO ls_cellxfs INDEX ls_styles_mapping-style.
|
READ TABLE it_cellxfs INTO ls_cellxfs INDEX ls_styles_mapping-style.
|
||||||
|
@ -1329,9 +1333,9 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
|
||||||
|
|
||||||
lo_sub_element->append_child( new_child = lo_element_fill ).
|
lo_sub_element->append_child( new_child = lo_element_fill ).
|
||||||
ENDIF.
|
ENDIF.
|
||||||
ENDIF.
|
|
||||||
|
|
||||||
io_dxf_element->append_child( new_child = lo_sub_element ).
|
io_dxf_element->append_child( new_child = lo_sub_element ).
|
||||||
|
ENDIF.
|
||||||
ENDMETHOD.
|
ENDMETHOD.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user