mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 05:04:11 +08:00
Fix issue #118
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@219 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
This commit is contained in:
parent
df676fb3aa
commit
8473d4b1f4
|
@ -3353,13 +3353,13 @@ endmethod.</source>
|
|||
lo_element_numfmt = lo_document->create_simple_element( name = lc_xml_node_numfmt
|
||||
parent = lo_document ).
|
||||
lv_value = sy-tabix + zcl_excel_common=>c_excel_numfmt_offset.
|
||||
SHIFT lv_value RIGHT DELETING TRAILING space.
|
||||
SHIFT lv_value LEFT DELETING LEADING space.
|
||||
CONDENSE lv_value.
|
||||
lo_element_numfmt->set_attribute_ns( name = lc_xml_attr_numfmtid
|
||||
value = lv_value ).
|
||||
lv_value = ls_numfmt-numfmt.
|
||||
REPLACE ALL OCCURRENCES OF '.' IN lv_value WITH '\.'.
|
||||
lo_element_numfmt->set_attribute_ns( name = lc_xml_attr_formatcode
|
||||
value = lv_value ).
|
||||
value = lv_value ).
|
||||
lo_element_numfmts->append_child( new_child = lo_element_numfmt ).
|
||||
ENDLOOP.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user