diff --git a/ZA2X/CLAS/ZCL_EXCEL.slnk b/ZA2X/CLAS/ZCL_EXCEL.slnk
index 04df9ae..e6ae702 100644
--- a/ZA2X/CLAS/ZCL_EXCEL.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL.slnk
@@ -120,7 +120,7 @@ ENDCLASS. "zcl_Tc_Excel
-
+
diff --git a/ZA2X/CLAS/ZCL_EXCEL_COMMON.slnk b/ZA2X/CLAS/ZCL_EXCEL_COMMON.slnk
index 1f29798..ec06b8c 100644
--- a/ZA2X/CLAS/ZCL_EXCEL_COMMON.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL_COMMON.slnk
@@ -1400,7 +1400,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-12-29
+* - Stefan Schmoecker, (done) 2012-12-29
* - ...
* changes: renaming variables to naming conventions
* removing unused variables
@@ -1409,7 +1409,7 @@ ENDMETHOD.
* adding comments to explain what we are trying to achieve
*--------------------------------------------------------------------*
* issue#246 - error converting lower case column names
-* - Stefan Schmöcker, 2012-12-29
+* - Stefan Schmoecker, 2012-12-29
* changes: translating the correct variable to upper dase
* adding missing exception if input is a number
* that is out of bounds
@@ -1559,7 +1559,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
"issue #256 - replacing char processing with regex
*--------------------------------------------------------------------*
-* Stefan Schmöcker, 2013-08-11
+* Stefan Schmoecker, 2013-08-11
* Allow input to be CLIKE instead of STRING
*--------------------------------------------------------------------*
@@ -1585,7 +1585,7 @@ endmethod.
method CONVERT_RANGE2COLUMN_A_ROW.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-12-07
+* - Stefan Schmoecker, (done) 2012-12-07
* - ...
* changes: renaming variables to naming conventions
* aligning code
@@ -1595,12 +1595,12 @@ endmethod.
*--------------------------------------------------------------------*
* issue#241 - error when sheetname contains "!"
* - sheetname should be returned unescaped
-* - Stefan Schmöcker, 2012-12-07
+* - Stefan Schmoecker, 2012-12-07
* changes: changed coding to support sheetnames with "!"
* unescaping sheetname
*--------------------------------------------------------------------*
* issue#155 - lessening restrictions of input parameters
-* - Stefan Schmöcker, 2012-12-07
+* - Stefan Schmoecker, 2012-12-07
* changes: i_range changed to clike
* e_sheet changed to clike
*--------------------------------------------------------------------*
@@ -1814,19 +1814,19 @@ endmethod.
method ESCAPE_STRING.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-12-08
+* - Stefan Schmoecker, (done) 2012-12-08
* - ...
* changes: aligning code
* adding comments to explain what we are trying to achieve
*--------------------------------------------------------------------*
* issue#242 - Support escaping for white-spaces
* - Escaping also necessary when ' encountered in input
-* - Stefan Schmöcker, 2012-12-08
+* - Stefan Schmoecker, 2012-12-08
* changes: switched check if escaping is necessary to regular expression
* and moved the "REPLACE"
*--------------------------------------------------------------------*
* issue#155 - lessening restrictions of input parameters
-* - Stefan Schmöcker, 2012-12-08
+* - Stefan Schmoecker, 2012-12-08
* changes: ip_value changed to clike
*--------------------------------------------------------------------*
DATA: lv_value TYPE string.
diff --git a/ZA2X/CLAS/ZCL_EXCEL_READER_2007.slnk b/ZA2X/CLAS/ZCL_EXCEL_READER_2007.slnk
index 2fb7065..4294704 100644
--- a/ZA2X/CLAS/ZCL_EXCEL_READER_2007.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL_READER_2007.slnk
@@ -498,7 +498,7 @@ ENDMETHOD.
method fill_struct_from_attributes.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-07
+* - Stefan Schmoecker, (done) 2012-11-07
* - ...
* changes: renaming variables to naming conventions
* aligning code
@@ -933,7 +933,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-11
+* - Stefan Schmoecker, (done) 2012-11-11
* - ...
* changes: renaming variables to naming conventions
* renaming variables to indicate what they are used for
@@ -1049,7 +1049,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (wip ) 2012-11-25
+* - Stefan Schmoecker, (wip ) 2012-11-25
* - ...
* changes: renaming variables and types to naming conventions
* aligning code
@@ -1287,7 +1287,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-25
+* - Stefan Schmoecker, (done) 2012-11-25
* - ...
* changes: renaming variables and types to naming conventions
* aligning code
@@ -1421,7 +1421,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-25
+* - Stefan Schmoecker, (done) 2012-11-25
* - ...
* changes: renaming variables and types to naming conventions
* aligning code
@@ -1589,7 +1589,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-25
+* - Stefan Schmoecker, (done) 2012-11-25
* - ...
* changes: renaming variables and types to naming conventions
* aligning code
@@ -1721,7 +1721,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-25
+* - Stefan Schmoecker, (done) 2012-11-25
* - ...
* changes: renaming variables and types to naming conventions
* adding comments to explain what we are trying to achieve
@@ -1793,7 +1793,7 @@ endmethod.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-10
+* - Stefan Schmoecker, (done) 2012-11-10
* - ...
* changes: renaming variables to naming conventions
* aligning code
@@ -1805,15 +1805,15 @@ endmethod.
* ip_excel renamed while being at it --> rename to io_excel
*--------------------------------------------------------------------*
* issue #232 - Read worksheetstate hidden/veryHidden
-* - Stefan Schmöcker, 2012-11-11
+* - Stefan Schmoecker, 2012-11-11
*--------------------------------------------------------------------*
* issue#235 - repeat rows/columns
-* - Stefan Schmöcker, 2012-12-02
+* - Stefan Schmoecker, 2012-12-02
* changes: correction in named ranges to correctly attach
* sheetlocal names/ranges to the correct sheet
*--------------------------------------------------------------------*
* issue#284 - Copied formulae ignored when reading excelfile
-* - Stefan Schmöcker, 2013-08-02
+* - Stefan Schmoecker, 2013-08-02
* changes: initialize area to hold referenced formulaedata
* after all worksheets have been read resolve formuae
*--------------------------------------------------------------------*
@@ -2122,7 +2122,8 @@ endmethod.
zcl_excel_common=>convert_range2column_a_row( EXPORTING i_range = lv_range_value
IMPORTING e_column_start = lv_col_start_alpha
e_column_end = lv_col_end_alpha
- e_row_start = ls_area-row_start ).
+ e_row_start = ls_area-row_start
+ e_row_end = ls_area-row_end ).
ls_area-col_start = zcl_excel_common=>convert_column2int( lv_col_start_alpha ).
ls_area-col_end = zcl_excel_common=>convert_column2int( lv_col_end_alpha ).
lo_autofilter->set_filter_area( is_area = ls_area ).
@@ -2223,7 +2224,7 @@ endmethod.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker,
+* - Stefan Schmoecker,
* - ...
* changes: renaming variables to naming conventions
* aligning code (started)
@@ -3860,7 +3861,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-11
+* - Stefan Schmoecker, (done) 2012-11-11
* - ...
* changes: replaced previous coding by regular expression
* adding comments to explain what we are trying to achieve
diff --git a/ZA2X/CLAS/ZCL_EXCEL_STYLE_FONT.slnk b/ZA2X/CLAS/ZCL_EXCEL_STYLE_FONT.slnk
index 61a530f..127499f 100644
--- a/ZA2X/CLAS/ZCL_EXCEL_STYLE_FONT.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL_STYLE_FONT.slnk
@@ -1,5 +1,5 @@
-
+
*"* local class implementation for public class
*"* use this source file for the implementation part of
*"* local helper classes
@@ -42,7 +42,7 @@
method CALCULATE_TEXT_WIDTH.
- " Addition to solve issue #120, contribution by Stefan Schmöcker
+ " Addition to solve issue #120, contribution by Stefan Schmoecker
r_width = strlen( i_text ).
" use scale factor based on default 11
" ( don't know where defaultsetting is stored currently )
diff --git a/ZA2X/CLAS/ZCL_EXCEL_WORKSHEET.slnk b/ZA2X/CLAS/ZCL_EXCEL_WORKSHEET.slnk
index 5fb310a..5cdad1d 100644
--- a/ZA2X/CLAS/ZCL_EXCEL_WORKSHEET.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL_WORKSHEET.slnk
@@ -3124,7 +3124,8 @@ METHOD calculate_cell_width.
FROM tfo01
INTO TABLE lt_font_families
UP TO 1 ROWS
- WHERE tdtext = ld_font_name.
+ WHERE tdtext = ld_font_name
+ ORDER BY PRIMARY KEY.
" Check if a matching font family was found
" Fonts can be uploaded from TTF files using transaction SE73
@@ -3905,6 +3906,7 @@ ENDMETHOD.
+
method GET_CELL.
@@ -3919,10 +3921,11 @@ ENDMETHOD.
cell_column = lv_column.
ep_rc = sy-subrc.
- 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_value = ls_sheet_content-cell_value.
+ ep_guid = ls_sheet_content-cell_style. " issue 139 - added this to be used for columnwidth calculation
+ ep_formula = ls_sheet_content-cell_formula.
- " 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,
style TYPE REF TO zcl_excel_style.
IF ep_style IS REQUESTED.
diff --git a/ZA2X/CLAS/ZCL_EXCEL_WRITER_2007.slnk b/ZA2X/CLAS/ZCL_EXCEL_WRITER_2007.slnk
index da3697c..488cddb 100644
--- a/ZA2X/CLAS/ZCL_EXCEL_WRITER_2007.slnk
+++ b/ZA2X/CLAS/ZCL_EXCEL_WRITER_2007.slnk
@@ -2813,7 +2813,7 @@ ENDMETHOD.
*--------------------------------------------------------------------*
* issue #237 - Error writing column-style
-* - Stefan Schmöcker, 2012-11-01
+* - Stefan Schmoecker, 2012-11-01
*--------------------------------------------------------------------*
TYPES: BEGIN OF cfvo,
@@ -3536,8 +3536,8 @@ ENDMETHOD.
* col_count = io_worksheet->get_highest_column( ).
* " Get autofilter
** lv_guid = io_worksheet->get_guid( ) .
-* lo_autofilters = excel->get_autofilters_reference( ).
-* lo_autofilter = lo_autofilters->get( io_worksheet = io_worksheet ) .
+ lo_autofilters = excel->get_autofilters_reference( ).
+ lo_autofilter = lo_autofilters->get( io_worksheet = io_worksheet ) .
* IF lo_autofilter IS BOUND.
* lt_values = lo_autofilter->get_values( ) .
* ls_area = lo_autofilter->get_filter_area( ) .
@@ -6646,13 +6646,13 @@ endmethod.
METHOD create_xl_workbook.
*--------------------------------------------------------------------*
* issue #230 - Pimp my Code
-* - Stefan Schmöcker, (done) 2012-11-07
+* - Stefan Schmoecker, (done) 2012-11-07
* - ...
* changes: aligning code
* adding comments to explain what we are trying to achieve
*--------------------------------------------------------------------*
* issue#235 - repeat rows/columns
-* - Stefan Schmöcker, 2012-12-01
+* - Stefan Schmoecker, 2012-12-01
* changes: correction of pointer to localSheetId
*--------------------------------------------------------------------*