add spaces

This commit is contained in:
larshp 2018-11-21 17:50:54 +01:00
parent 3c578c447e
commit faa434ec3e
5 changed files with 11 additions and 11 deletions

View File

@ -72,7 +72,7 @@ class lcl_test implementation.
try. try.
out->read_worksheet_data( io_reader = lo_reader io_worksheet = worksheet ). out->read_worksheet_data( io_reader = lo_reader io_worksheet = worksheet ).
fail(`Index to non-existent shared string should give an error`). fail( `Index to non-existent shared string should give an error` ).
catch lcx_not_found into lo_ex. catch lcx_not_found into lo_ex.
lv_text = lo_ex->get_text( ). " >>> May inspect the message in the debugger lv_text = lo_ex->get_text( ). " >>> May inspect the message in the debugger
endtry. endtry.
@ -166,7 +166,7 @@ class lcl_test implementation.
try. try.
out->read_worksheet_data( io_reader = lo_reader io_worksheet = worksheet ). out->read_worksheet_data( io_reader = lo_reader io_worksheet = worksheet ).
fail(`Reference to non-existent style should throw an lcx_not_found exception`). fail( `Reference to non-existent style should throw an lcx_not_found exception` ).
catch lcx_not_found into lo_ex. catch lcx_not_found into lo_ex.
lv_text = lo_ex->get_text( ). " >>> May inspect the message in the debugger lv_text = lo_ex->get_text( ). " >>> May inspect the message in the debugger
endtry. endtry.
@ -236,7 +236,7 @@ class lcl_test implementation.
lo_reader = cl_sxml_string_reader=>create( lv_xstring ). lo_reader = cl_sxml_string_reader=>create( lv_xstring ).
try. try.
out->skip_to( iv_element_name = `nonExistingElement` io_reader = lo_reader ). out->skip_to( iv_element_name = `nonExistingElement` io_reader = lo_reader ).
fail(`Skipping to non-existing element must raise lcx_not_found exception`). fail( `Skipping to non-existing element must raise lcx_not_found exception` ).
catch lcx_not_found into lo_ex. catch lcx_not_found into lo_ex.
lv_text = lo_ex->get_text( ). " May inspect exception text in debugger lv_text = lo_ex->get_text( ). " May inspect exception text in debugger
endtry. endtry.

View File

@ -4918,7 +4918,7 @@ METHOD create_xl_sheet_sheet_data.
" Row visibility of previos row. " Row visibility of previos row.
IF lo_row->get_visible( io_worksheet ) = abap_false OR IF lo_row->get_visible( io_worksheet ) = abap_false OR
l_autofilter_hidden = abap_true. l_autofilter_hidden = abap_true.
lo_element_2->set_attribute_ns( name = 'hidden' value = 'true'). lo_element_2->set_attribute_ns( name = 'hidden' value = 'true' ).
ENDIF. ENDIF.
* lv_xstring_partial = render_ixml_element_no_header( lo_element_2 ). * lv_xstring_partial = render_ixml_element_no_header( lo_element_2 ).
* CONCATENATE lv_xstring lv_xstring_partial * CONCATENATE lv_xstring lv_xstring_partial
@ -4951,13 +4951,13 @@ METHOD create_xl_sheet_sheet_data.
l_autofilter_hidden = abap_true. l_autofilter_hidden = abap_true.
" Row dimensions " Row dimensions
IF lo_row->get_row_height( ) >= 0. IF lo_row->get_row_height( ) >= 0.
lo_element_2->set_attribute_ns( name = 'customHeight' value = '1'). lo_element_2->set_attribute_ns( name = 'customHeight' value = '1' ).
lv_value = lo_row->get_row_height( ). lv_value = lo_row->get_row_height( ).
lo_element_2->set_attribute_ns( name = 'ht' value = lv_value ). lo_element_2->set_attribute_ns( name = 'ht' value = lv_value ).
ENDIF. ENDIF.
" Collapsed " Collapsed
IF lo_row->get_collapsed( io_worksheet ) = abap_true. IF lo_row->get_collapsed( io_worksheet ) = abap_true.
lo_element_2->set_attribute_ns( name = 'collapsed' value = 'true'). lo_element_2->set_attribute_ns( name = 'collapsed' value = 'true' ).
ENDIF. ENDIF.
" Outline level " Outline level
IF lo_row->get_outline_level( io_worksheet ) > 0. IF lo_row->get_outline_level( io_worksheet ) > 0.
@ -4970,7 +4970,7 @@ METHOD create_xl_sheet_sheet_data.
IF lo_row->get_xf_index( ) <> 0. IF lo_row->get_xf_index( ) <> 0.
lv_value = lo_row->get_xf_index( ). lv_value = lo_row->get_xf_index( ).
lo_element_2->set_attribute_ns( name = 's' value = lv_value ). lo_element_2->set_attribute_ns( name = 's' value = lv_value ).
lo_element_2->set_attribute_ns( name = 'customFormat' value = '1'). lo_element_2->set_attribute_ns( name = 'customFormat' value = '1' ).
ENDIF. ENDIF.
ENDIF. ENDIF.
IF lt_values IS INITIAL. " no values attached to autofilter " issue #368 autofilter filtering too much IF lt_values IS INITIAL. " no values attached to autofilter " issue #368 autofilter filtering too much
@ -5096,7 +5096,7 @@ METHOD create_xl_sheet_sheet_data.
" Row visibility of previos row. " Row visibility of previos row.
IF lo_row->get_visible( ) = abap_false OR IF lo_row->get_visible( ) = abap_false OR
l_autofilter_hidden = abap_true. l_autofilter_hidden = abap_true.
lo_element_2->set_attribute_ns( name = 'hidden' value = 'true'). lo_element_2->set_attribute_ns( name = 'hidden' value = 'true' ).
ENDIF. ENDIF.
* lv_xstring_partial = render_ixml_element_no_header( lo_element_2 ). * lv_xstring_partial = render_ixml_element_no_header( lo_element_2 ).
* CONCATENATE lv_xstring lv_xstring_partial * CONCATENATE lv_xstring lv_xstring_partial

View File

@ -36,7 +36,7 @@ START-OF-SELECTION.
" Get active sheet " Get active sheet
lo_worksheet = lo_excel->get_active_worksheet( ). lo_worksheet = lo_excel->get_active_worksheet( ).
lo_worksheet->set_title( ip_title = 'PN_MASSIVE'). lo_worksheet->set_title( ip_title = 'PN_MASSIVE' ).
DATA lt_test TYPE TABLE OF sflight. DATA lt_test TYPE TABLE OF sflight.
SELECT * FROM sflight INTO TABLE lt_test. "#EC CI_NOWHERE SELECT * FROM sflight INTO TABLE lt_test. "#EC CI_NOWHERE

View File

@ -38,7 +38,7 @@ START-OF-SELECTION.
" Get active sheet " Get active sheet
lo_worksheet = lo_excel->get_active_worksheet( ). lo_worksheet = lo_excel->get_active_worksheet( ).
lo_worksheet->set_title( ip_title = 'Internal table'). lo_worksheet->set_title( ip_title = 'Internal table' ).
DATA lt_test TYPE TABLE OF sflight. DATA lt_test TYPE TABLE OF sflight.

View File

@ -33,7 +33,7 @@ START-OF-SELECTION.
" Get active sheet " Get active sheet
lo_worksheet = lo_excel->get_active_worksheet( ). lo_worksheet = lo_excel->get_active_worksheet( ).
lo_worksheet->set_title( ip_title = 'Internal table'). lo_worksheet->set_title( ip_title = 'Internal table' ).
SELECT * UP TO 2 ROWS FROM t005t INTO TABLE lt_test. "#EC CI_NOWHERE SELECT * UP TO 2 ROWS FROM t005t INTO TABLE lt_test. "#EC CI_NOWHERE