From 0d38ea51be7166681aa05df4ed47a00b1f0a01d3 Mon Sep 17 00:00:00 2001 From: RixarSAP <168567887+RixarSAP@users.noreply.github.com> Date: Thu, 2 May 2024 13:28:10 +0200 Subject: [PATCH] Update zcl_excel_comment.clas.abap Change method SET_TEXT --- src/zcl_excel_comment.clas.abap | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/zcl_excel_comment.clas.abap b/src/zcl_excel_comment.clas.abap index b9b5234..6f8bd53 100644 --- a/src/zcl_excel_comment.clas.abap +++ b/src/zcl_excel_comment.clas.abap @@ -24,11 +24,10 @@ CLASS zcl_excel_comment DEFINITION METHODS set_text IMPORTING !ip_text TYPE string - !ip_ref TYPE string OPTIONAL . - METHODS set_size - IMPORTING - !ip_width TYPE i OPTIONAL - !ip_height TYPE i OPTIONAL . + !ip_ref TYPE string OPTIONAL + !ip_width TYPE i OPTIONAL + !ip_height TYPE i OPTIONAL . + METHODS get_size EXPORTING !ep_width TYPE i @@ -80,19 +79,16 @@ CLASS zcl_excel_comment IMPLEMENTATION. IF ip_ref IS SUPPLIED. me->ref = ip_ref. ENDIF. - ENDMETHOD. - -METHOD set_size. IF ip_width IS SUPPLIED. - width = ip_width. + me->width = ip_width. ENDIF. IF ip_height IS SUPPLIED. - height = ip_height. + me->height = ip_height. ENDIF. -ENDMETHOD. + ENDMETHOD. METHOD get_size.