Thanks to Marco Remondini
This commit is contained in:
Ivan 2014-12-26 12:10:54 -06:00
parent 2838c93a1a
commit 5068ded2fc

View File

@ -3249,9 +3249,11 @@
* lv_value = me->excel->get_style_index_in_styles( lv_style_guid ). "del issue #237
CLEAR ls_style_mapping.
READ TABLE styles_mapping INTO ls_style_mapping WITH KEY guid = lv_style_guid.
lv_style_index = ls_style_mapping-style.
IF lv_style_index > 0. "ins issue #237
lv_value = lv_style_index - 1. "ins issue #237
* lv_style_index = ls_style_mapping-style. "del issue #295
* IF lv_style_index > 0. "ins issue #237 - del issue #295
* lv_value = lv_style_index - 1. "ins issue #237 - del issue #295
IF sy-subrc = 0. "ins issue #295
lv_value = ls_style_mapping-style. "ins issue #295
SHIFT lv_value RIGHT DELETING TRAILING space.
SHIFT lv_value LEFT DELETING LEADING space.
lo_element_2->set_attribute_ns( name = lc_xml_attr_style