mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 13:46:17 +08:00
Update zcl_excel_comment.clas.abap: Change size of comment
Add methods SET_SIZE and GET_SIZE to add the posibility to change the size of the comments. These methods modify the new attributes of the class WIDTH and HEIGHT. These attributes will be read in CREATE_XL_DRAWING_FOR_COMMENTS of class ZCL_EXCEL_WRITER_2007 when the XML of the excel sheet is being gnerated
This commit is contained in:
parent
3cb8f883f1
commit
d16af94064
|
@ -5,6 +5,9 @@ CLASS zcl_excel_comment DEFINITION
|
||||||
|
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
|
|
||||||
|
constants DEFAULT_WIDTH type I value 2. "#EC NOTEXT
|
||||||
|
constants DEFAULT_HEIGHT type I value 15. "#EC NOTEXT
|
||||||
|
|
||||||
METHODS constructor .
|
METHODS constructor .
|
||||||
METHODS get_name
|
METHODS get_name
|
||||||
RETURNING
|
RETURNING
|
||||||
|
@ -22,12 +25,23 @@ CLASS zcl_excel_comment DEFINITION
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ip_text TYPE string
|
!ip_text TYPE string
|
||||||
!ip_ref TYPE string OPTIONAL .
|
!ip_ref TYPE string OPTIONAL .
|
||||||
|
methods SET_SIZE
|
||||||
|
importing
|
||||||
|
!IP_WIDTH type I optional
|
||||||
|
!IP_HEIGHT type I optional .
|
||||||
|
methods GET_SIZE
|
||||||
|
exporting
|
||||||
|
!EP_WIDTH type I
|
||||||
|
!EP_HEIGHT type I .
|
||||||
|
|
||||||
PROTECTED SECTION.
|
PROTECTED SECTION.
|
||||||
PRIVATE SECTION.
|
PRIVATE SECTION.
|
||||||
|
|
||||||
DATA index TYPE string .
|
DATA index TYPE string .
|
||||||
DATA ref TYPE string .
|
DATA ref TYPE string .
|
||||||
DATA text TYPE string .
|
DATA text TYPE string .
|
||||||
|
data WIDTH type I .
|
||||||
|
data HEIGHT type I .
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user