Merge pull request #328 from oliver-huetkoeper/patch-1

Get style id from mapping table (column style)
This commit is contained in:
Ivan 2014-08-27 13:52:09 -05:00
commit 59fe79ecfe

View File

@ -3234,7 +3234,9 @@
* lv_value = <column_dimension>-column_dimension->get_xf_index( ). "del issue #157 - set column style
lv_style_guid = <column_dimension>-column_dimension->get_column_style_guid( ). "ins issue #157 - set column style
* lv_value = me->excel->get_style_index_in_styles( lv_style_guid ). "del issue #237
lv_style_index = me->excel->get_style_index_in_styles( lv_style_guid ). "ins 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
SHIFT lv_value RIGHT DELETING TRAILING space.