mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 05:04:11 +08:00
Minor fix sheet writer
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@203 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
This commit is contained in:
parent
c36e6bd54e
commit
85c84b55d4
|
@ -2186,6 +2186,7 @@ endmethod.</source>
|
|||
lo_element_4 = lo_document->create_simple_element( name = lc_xml_node_f
|
||||
parent = lo_document ).
|
||||
lv_value = <ls_sheet_content>-cell_formula.
|
||||
CONDENSE lv_value.
|
||||
lo_element_4->set_value( value = lv_value ).
|
||||
lo_element_3->append_child( new_child = lo_element_4 ). " fomula node
|
||||
ELSEIF <ls_sheet_content>-cell_value IS NOT INITIAL. "cell can have just style or formula
|
||||
|
@ -2200,9 +2201,11 @@ endmethod.</source>
|
|||
|
||||
IF <ls_sheet_content>-data_type EQ 's'.
|
||||
lv_value = me->get_shared_string_index( <ls_sheet_content>-cell_value ).
|
||||
CONDENSE lv_value.
|
||||
lo_element_4->set_value( value = lv_value ).
|
||||
ELSE.
|
||||
lv_value = <ls_sheet_content>-cell_value.
|
||||
CONDENSE lv_value.
|
||||
lo_element_4->set_value( value = lv_value ).
|
||||
ENDIF.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user