class ZCL_EXCEL_GRAPH definition
public
create public .
public section.
*"* public components of class ZCL_EXCEL_GRAPH
*"* do not include other source files here!!!
types:
BEGIN OF s_series,
idx TYPE i,
order TYPE i,
lbl TYPE string,
ref TYPE string,
sername TYPE string,
END OF s_series .
types:
t_series TYPE STANDARD TABLE OF s_series .
types:
BEGIN OF s_pagemargins,
b TYPE string,
l TYPE string,
r TYPE string,
t TYPE string,
header TYPE string,
footer TYPE string,
END OF s_pagemargins .
data NS_1904VAL type STRING value '0'. "#EC NOTEXT .
data NS_LANGVAL type STRING value 'it-IT'. "#EC NOTEXT .
data NS_ROUNDEDCORNERSVAL type STRING value '0'. "#EC NOTEXT .
data PAGEMARGINS type S_PAGEMARGINS .
data NS_AUTOTITLEDELETEDVAL type STRING value '0'. "#EC NOTEXT .
data NS_PLOTVISONLYVAL type STRING value '1'. "#EC NOTEXT .
data NS_DISPBLANKSASVAL type STRING value 'gap'. "#EC NOTEXT .
data NS_SHOWDLBLSOVERMAXVAL type STRING value '0'. "#EC NOTEXT .
data SERIES type T_SERIES .
methods CONSTRUCTOR .
methods CREATE_SERIE
importing
!IDX type I
!ORDER type I
!LBL type STRING
!REF type STRING
!SERNAME type STRING .protected section.
*"* protected components of class ZCL_EXCEL_GRAPH
*"* do not include other source files here!!!private section.
*"* private components of class ZCL_EXCEL_GRAPH
*"* do not include other source files here!!!*"* use this source file for the definition and implementation of
*"* local helper classes, interface definitions and type
*"* declarations*"* use this source file for any type of declarations (class
*"* definitions, interfaces or type declarations) you need for
*"* components in the private section*"* use this source file for any macro definitions you need
*"* in the implementation part of the classmethod CONSTRUCTOR.
"Load default values
me->pagemargins-b = '0.75'.
me->pagemargins-l = '0.7'.
me->pagemargins-r = '0.7'.
me->pagemargins-t = '0.75'.
me->pagemargins-header = '0.3'.
me->pagemargins-footer = '0.3'.
endmethod.METHOD create_serie.
DATA ls_serie TYPE s_series.
ls_serie-idx = idx.
ls_serie-order = order.
ls_serie-lbl = lbl.
ls_serie-ref = ref.
ls_serie-sername = sername.
APPEND ls_serie TO me->series.
SORT me->series BY order ASCENDING.
ENDMETHOD.