mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 10:56:14 +08:00
parent
5053bf93a2
commit
36ea883d33
|
@ -494,6 +494,8 @@ CLASS zcl_excel_worksheet DEFINITION
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_skipped_rows TYPE int4 DEFAULT 0
|
!iv_skipped_rows TYPE int4 DEFAULT 0
|
||||||
!iv_skipped_cols TYPE int4 DEFAULT 0
|
!iv_skipped_cols TYPE int4 DEFAULT 0
|
||||||
|
!iv_max_col TYPE int4 OPTIONAL
|
||||||
|
!iv_max_row TYPE int4 OPTIONAL
|
||||||
EXPORTING
|
EXPORTING
|
||||||
!et_table TYPE STANDARD TABLE
|
!et_table TYPE STANDARD TABLE
|
||||||
RAISING
|
RAISING
|
||||||
|
@ -4332,9 +4334,14 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
|
||||||
DATA lv_float TYPE f.
|
DATA lv_float TYPE f.
|
||||||
DATA lv_type.
|
DATA lv_type.
|
||||||
|
|
||||||
|
|
||||||
lv_max_col = me->get_highest_column( ).
|
lv_max_col = me->get_highest_column( ).
|
||||||
|
IF iv_max_col IS SUPPLIED AND iv_max_col < lv_max_col.
|
||||||
|
lv_max_col = iv_max_col.
|
||||||
|
ENDIF.
|
||||||
lv_max_row = me->get_highest_row( ).
|
lv_max_row = me->get_highest_row( ).
|
||||||
|
IF iv_max_row IS SUPPLIED AND iv_max_row < lv_max_row.
|
||||||
|
lv_max_row = iv_max_row.
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
*--------------------------------------------------------------------*
|
*--------------------------------------------------------------------*
|
||||||
* The row counter begins with 1 and should be corrected with the skips
|
* The row counter begins with 1 and should be corrected with the skips
|
||||||
|
|
Loading…
Reference in New Issue
Block a user