Update zcl_excel_writer_2007.clas.abap

This commit is contained in:
Bernd 2024-05-23 11:45:35 +02:00 committed by GitHub
parent 647a006be4
commit 1bb354a138
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4396,7 +4396,8 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
IF ls_last_row-cell_row IS NOT INITIAL.
" Row visibility of previos row.
IF lo_row->get_visible( io_worksheet ) = abap_false OR
l_autofilter_hidden = abap_true.
( lo_autofilter IS BOUND AND
lo_autofilter->is_row_hidden( ls_last_row-cell_row ) = abap_true ).
lo_element_2->set_attribute_ns( name = 'hidden' value = 'true' ).
ENDIF.
rv_ixml_sheet_data_root->append_child( new_child = lo_element_2 ). " row node
@ -4575,7 +4576,8 @@ CLASS zcl_excel_writer_2007 IMPLEMENTATION.
ENDIF.
" Row visibility of previos row.
IF lo_row->get_visible( ) = abap_false OR
l_autofilter_hidden = abap_true.
( lo_autofilter IS BOUND AND
lo_autofilter->is_row_hidden( ls_last_row-cell_row ) = abap_true ).
lo_element_2->set_attribute_ns( name = 'hidden' value = 'true' ).
ENDIF.
rv_ixml_sheet_data_root->append_child( new_child = lo_element_2 ). " row node