mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 14:06:24 +08:00
* clear exporting parameter GET_CELL #789 * satisfy linter * satisfy linter - WHILE
This commit is contained in:
parent
d19ac690c6
commit
2cda265b4c
|
@ -1868,7 +1868,7 @@ CLASS zcl_excel_worksheet IMPLEMENTATION.
|
||||||
READ TABLE sheet_content INTO ls_sheet_content WITH TABLE KEY cell_row = ip_row
|
READ TABLE sheet_content INTO ls_sheet_content WITH TABLE KEY cell_row = ip_row
|
||||||
cell_column = lv_column.
|
cell_column = lv_column.
|
||||||
|
|
||||||
ep_rc = sy-subrc.
|
ep_rc = sy-subrc.
|
||||||
ep_value = ls_sheet_content-cell_value.
|
ep_value = ls_sheet_content-cell_value.
|
||||||
ep_guid = ls_sheet_content-cell_style. " issue 139 - added this to be used for columnwidth calculation
|
ep_guid = ls_sheet_content-cell_style. " issue 139 - added this to be used for columnwidth calculation
|
||||||
ep_formula = ls_sheet_content-cell_formula.
|
ep_formula = ls_sheet_content-cell_formula.
|
||||||
|
@ -1876,9 +1876,10 @@ CLASS zcl_excel_worksheet IMPLEMENTATION.
|
||||||
" Addition to solve issue #120, contribution by Stefan Schmöcker
|
" Addition to solve issue #120, contribution by Stefan Schmöcker
|
||||||
DATA: style_iterator TYPE REF TO cl_object_collection_iterator,
|
DATA: style_iterator TYPE REF TO cl_object_collection_iterator,
|
||||||
style TYPE REF TO zcl_excel_style.
|
style TYPE REF TO zcl_excel_style.
|
||||||
IF ep_style IS REQUESTED.
|
IF ep_style IS SUPPLIED.
|
||||||
|
CLEAR ep_style.
|
||||||
style_iterator = me->excel->get_styles_iterator( ).
|
style_iterator = me->excel->get_styles_iterator( ).
|
||||||
WHILE style_iterator->has_next( ) = 'X'.
|
WHILE style_iterator->has_next( ) = abap_true.
|
||||||
style ?= style_iterator->get_next( ).
|
style ?= style_iterator->get_next( ).
|
||||||
IF style->get_guid( ) = ls_sheet_content-cell_style.
|
IF style->get_guid( ) = ls_sheet_content-cell_style.
|
||||||
ep_style = style.
|
ep_style = style.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user