mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 11:06:15 +08:00
* remove usage of CHAR5 * remove type from class local types * move type declaration Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com> Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com>
This commit is contained in:
parent
b1d569ac1d
commit
fb4c62d598
|
@ -9,9 +9,10 @@ CLASS zcl_excel_graph_bars DEFINITION
|
||||||
TYPES:
|
TYPES:
|
||||||
*"* public components of class ZCL_EXCEL_GRAPH_BARS
|
*"* public components of class ZCL_EXCEL_GRAPH_BARS
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
|
tv_type TYPE c LENGTH 5,
|
||||||
BEGIN OF s_ax,
|
BEGIN OF s_ax,
|
||||||
axid TYPE string,
|
axid TYPE string,
|
||||||
type TYPE char5,
|
type TYPE tv_type,
|
||||||
orientation TYPE string,
|
orientation TYPE string,
|
||||||
delete TYPE string,
|
delete TYPE string,
|
||||||
axpos TYPE string,
|
axpos TYPE string,
|
||||||
|
@ -56,7 +57,7 @@ CLASS zcl_excel_graph_bars DEFINITION
|
||||||
METHODS create_ax
|
METHODS create_ax
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ip_axid TYPE string OPTIONAL
|
!ip_axid TYPE string OPTIONAL
|
||||||
!ip_type TYPE char5
|
!ip_type TYPE tv_type
|
||||||
!ip_orientation TYPE string OPTIONAL
|
!ip_orientation TYPE string OPTIONAL
|
||||||
!ip_delete TYPE string OPTIONAL
|
!ip_delete TYPE string OPTIONAL
|
||||||
!ip_axpos TYPE string OPTIONAL
|
!ip_axpos TYPE string OPTIONAL
|
||||||
|
|
|
@ -9,9 +9,10 @@ CLASS zcl_excel_graph_line DEFINITION
|
||||||
TYPES:
|
TYPES:
|
||||||
*"* public components of class ZCL_EXCEL_GRAPH_LINE
|
*"* public components of class ZCL_EXCEL_GRAPH_LINE
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
|
tv_type TYPE c LENGTH 5,
|
||||||
BEGIN OF s_ax,
|
BEGIN OF s_ax,
|
||||||
axid TYPE string,
|
axid TYPE string,
|
||||||
type TYPE char5,
|
type TYPE tv_type,
|
||||||
orientation TYPE string,
|
orientation TYPE string,
|
||||||
delete TYPE string,
|
delete TYPE string,
|
||||||
axpos TYPE string,
|
axpos TYPE string,
|
||||||
|
@ -54,7 +55,7 @@ CLASS zcl_excel_graph_line DEFINITION
|
||||||
METHODS create_ax
|
METHODS create_ax
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ip_axid TYPE string OPTIONAL
|
!ip_axid TYPE string OPTIONAL
|
||||||
!ip_type TYPE char5
|
!ip_type TYPE tv_type
|
||||||
!ip_orientation TYPE string OPTIONAL
|
!ip_orientation TYPE string OPTIONAL
|
||||||
!ip_delete TYPE string OPTIONAL
|
!ip_delete TYPE string OPTIONAL
|
||||||
!ip_axpos TYPE string OPTIONAL
|
!ip_axpos TYPE string OPTIONAL
|
||||||
|
|
|
@ -235,12 +235,13 @@ CLASS zcl_excel_writer_2007 DEFINITION
|
||||||
CONSTANTS c_off TYPE string VALUE '0'. "#EC NOTEXT
|
CONSTANTS c_off TYPE string VALUE '0'. "#EC NOTEXT
|
||||||
CONSTANTS c_on TYPE string VALUE '1'. "#EC NOTEXT
|
CONSTANTS c_on TYPE string VALUE '1'. "#EC NOTEXT
|
||||||
CONSTANTS c_xl_printersettings TYPE string VALUE 'xl/printerSettings/printerSettings#.bin'. "#EC NOTEXT
|
CONSTANTS c_xl_printersettings TYPE string VALUE 'xl/printerSettings/printerSettings#.bin'. "#EC NOTEXT
|
||||||
|
TYPES: tv_charbool TYPE c LENGTH 5.
|
||||||
|
|
||||||
METHODS flag2bool
|
METHODS flag2bool
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!ip_flag TYPE flag
|
!ip_flag TYPE flag
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(ep_boolean) TYPE char5 .
|
VALUE(ep_boolean) TYPE tv_charbool .
|
||||||
ENDCLASS.
|
ENDCLASS.
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user