mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 16:36:12 +08:00
fix hidden compare values (#1208)
set hidden compare values to constants lc_xml_attr_true and lc_xml_attr_true_int ( 'true' and '1' )
This commit is contained in:
parent
5cb47b143c
commit
3cb8f883f1
|
@ -2778,7 +2778,8 @@ CLASS zcl_excel_reader_2007 IMPLEMENTATION.
|
||||||
|
|
||||||
* issue #367 - hide columns from
|
* issue #367 - hide columns from
|
||||||
IF ls_column-max = zcl_excel_common=>c_excel_sheet_max_col. " Max = very right column
|
IF ls_column-max = zcl_excel_common=>c_excel_sheet_max_col. " Max = very right column
|
||||||
IF ls_column-hidden = 1 " all hidden
|
IF ( ls_column-hidden = lc_xml_attr_true
|
||||||
|
OR ls_column-hidden = lc_xml_attr_true_int ) " all hidden
|
||||||
AND ls_column-min > 0.
|
AND ls_column-min > 0.
|
||||||
io_worksheet->zif_excel_sheet_properties~hide_columns_from = zcl_excel_common=>convert_column2alpha( ls_column-min ).
|
io_worksheet->zif_excel_sheet_properties~hide_columns_from = zcl_excel_common=>convert_column2alpha( ls_column-min ).
|
||||||
ELSEIF ls_column-style > ''.
|
ELSEIF ls_column-style > ''.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user