diff --git a/ZA2X/CLAS/ZCL_EXCEL_READER_HUGE_FILE.slnk b/ZA2X/CLAS/ZCL_EXCEL_READER_HUGE_FILE.slnk index 9769451..db86a89 100644 --- a/ZA2X/CLAS/ZCL_EXCEL_READER_HUGE_FILE.slnk +++ b/ZA2X/CLAS/ZCL_EXCEL_READER_HUGE_FILE.slnk @@ -1,6 +1,6 @@ - - + - - - - - - - - + + + + + - - - - + + + + method FILL_CELL_FROM_ATTRIBUTES. while io_reader->node_type ne c_end_of_stream. @@ -403,9 +429,9 @@ endclass. "lcl_test IMPLEMENTATION endmethod. - - - + + + method GET_CELL_COORD. zcl_excel_common=>convert_columnrow2column_a_row( @@ -418,10 +444,10 @@ endmethod. endmethod. - - - - + + + + method GET_SHARED_STRING. data: lv_tabix type i, lv_error type string. @@ -435,10 +461,10 @@ endmethod. endif. endmethod. - - - - + + + + method GET_STYLE. data: lv_tabix type i, @@ -463,10 +489,10 @@ endmethod. endmethod. - - - - + + + + method GET_SXML_READER. data: lv_xml type xstring. @@ -499,9 +525,9 @@ endmethod. endmethod. - - - + + + method PUT_CELL_TO_WORKSHEET. check is_cell-value is not initial or is_cell-formula is not initial @@ -516,25 +542,33 @@ endmethod. ip_style = is_cell-style. endmethod. - - - - method READ_SHARED_STRINGS. + + + + method read_shared_strings. + + data lv_value type string. while io_reader->node_type ne c_end_of_stream. io_reader->next_node( ). - if io_reader->node_type eq c_element_close and - io_reader->name eq `t`. - append io_reader->value to et_shared_strings. + if io_reader->name eq `t`. + case io_reader->node_type . + when c_element_open . + clear lv_value . + when c_node_value . + lv_value = lv_value && io_reader->value . + when c_element_close . + append lv_value to et_shared_strings. + endcase . endif. endwhile. endmethod. - - - - + + + + method READ_WORKSHEET_DATA. data: ls_cell type t_cell. @@ -575,10 +609,10 @@ endmethod. endmethod. - - - - + + + + method SKIP_TO. data: lv_error type string.