mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 19:26:10 +08:00
remove TYPE-POOLS statements (#948)
* remove TYPE-POOLS statements * fix whitespace Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
This commit is contained in:
parent
496b51e531
commit
8d072439da
|
@ -23,7 +23,6 @@
|
||||||
|
|
||||||
REPORT zdemo_calendar.
|
REPORT zdemo_calendar.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
CONSTANTS: gc_save_file_name TYPE string VALUE 'Calendar.xlsx'.
|
CONSTANTS: gc_save_file_name TYPE string VALUE 'Calendar.xlsx'.
|
||||||
INCLUDE zdemo_excel_outputopt_incl.
|
INCLUDE zdemo_excel_outputopt_incl.
|
||||||
INCLUDE zdemo_calendar_classes.
|
INCLUDE zdemo_calendar_classes.
|
||||||
|
@ -34,7 +33,7 @@ PARAMETERS: p_from TYPE dfrom,
|
||||||
p_to TYPE dto.
|
p_to TYPE dto.
|
||||||
|
|
||||||
SELECTION-SCREEN BEGIN OF BLOCK orientation WITH FRAME TITLE orient.
|
SELECTION-SCREEN BEGIN OF BLOCK orientation WITH FRAME TITLE orient.
|
||||||
PARAMETERS: p_portr TYPE flag RADIOBUTTON GROUP orie,
|
PARAMETERS: p_portr TYPE flag RADIOBUTTON GROUP orie,
|
||||||
p_lands TYPE flag RADIOBUTTON GROUP orie DEFAULT 'X'.
|
p_lands TYPE flag RADIOBUTTON GROUP orie DEFAULT 'X'.
|
||||||
SELECTION-SCREEN END OF BLOCK orientation.
|
SELECTION-SCREEN END OF BLOCK orientation.
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel11.
|
REPORT zdemo_excel11.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: central_search TYPE bapibus1006_central_search,
|
DATA: central_search TYPE bapibus1006_central_search,
|
||||||
addressdata_search TYPE bapibus1006_addr_search,
|
addressdata_search TYPE bapibus1006_addr_search,
|
||||||
others_search TYPE bapibus1006_other_data.
|
others_search TYPE bapibus1006_other_data.
|
||||||
|
|
|
@ -10,8 +10,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel15.
|
REPORT zdemo_excel15.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
TYPES:
|
TYPES:
|
||||||
BEGIN OF t_demo_excel15,
|
BEGIN OF t_demo_excel15,
|
||||||
input TYPE string,
|
input TYPE string,
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel19.
|
REPORT zdemo_excel19.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet.
|
lo_worksheet TYPE REF TO zcl_excel_worksheet.
|
||||||
|
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel23.
|
REPORT zdemo_excel23.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
||||||
lo_hyperlink TYPE REF TO zcl_excel_hyperlink.
|
lo_hyperlink TYPE REF TO zcl_excel_hyperlink.
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel24.
|
REPORT zdemo_excel24.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
||||||
lo_column TYPE REF TO zcl_excel_column,
|
lo_column TYPE REF TO zcl_excel_column,
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel3.
|
REPORT zdemo_excel3.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
||||||
lo_column TYPE REF TO zcl_excel_column.
|
lo_column TYPE REF TO zcl_excel_column.
|
||||||
|
|
|
@ -8,8 +8,6 @@
|
||||||
|
|
||||||
REPORT zdemo_excel33.
|
REPORT zdemo_excel33.
|
||||||
|
|
||||||
TYPE-POOLS: abap.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
||||||
lo_converter TYPE REF TO zcl_excel_converter,
|
lo_converter TYPE REF TO zcl_excel_converter,
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
REPORT zdemo_excel37.
|
REPORT zdemo_excel37.
|
||||||
|
|
||||||
TYPE-POOLS: vrm.
|
|
||||||
|
|
||||||
DATA: excel TYPE REF TO zcl_excel,
|
DATA: excel TYPE REF TO zcl_excel,
|
||||||
reader TYPE REF TO zif_excel_reader,
|
reader TYPE REF TO zif_excel_reader,
|
||||||
go_error TYPE REF TO cx_root,
|
go_error TYPE REF TO cx_root,
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
*&---------------------------------------------------------------------*
|
*&---------------------------------------------------------------------*
|
||||||
|
|
||||||
REPORT zdemo_excel42.
|
REPORT zdemo_excel42.
|
||||||
TYPE-POOLS: vrm.
|
|
||||||
|
|
||||||
DATA: lo_excel TYPE REF TO zcl_excel,
|
DATA: lo_excel TYPE REF TO zcl_excel,
|
||||||
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
lo_worksheet TYPE REF TO zcl_excel_worksheet,
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
*"* use this source file for any type of declarations (class
|
*"* use this source file for any type of declarations (class
|
||||||
*"* definitions, interfaces or type declarations) you need for
|
*"* definitions, interfaces or type declarations) you need for
|
||||||
*"* components in the private section
|
*"* components in the private section
|
||||||
TYPE-POOLS: sydes.
|
|
||||||
TYPE-POOLS: slis.
|
|
||||||
*--------------------------------------------------------------------*
|
*--------------------------------------------------------------------*
|
||||||
* CLASS c_oi_proxy_error
|
* CLASS c_oi_proxy_error
|
||||||
*--------------------------------------------------------------------*
|
*--------------------------------------------------------------------*
|
||||||
|
|
|
@ -49,7 +49,6 @@ CLASS zcl_excel_autofilter DEFINITION
|
||||||
METHODS get_values
|
METHODS get_values
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(rt_filter) TYPE zexcel_t_autofilter_values .
|
VALUE(rt_filter) TYPE zexcel_t_autofilter_values .
|
||||||
TYPE-POOLS abap .
|
|
||||||
METHODS is_row_hidden
|
METHODS is_row_hidden
|
||||||
IMPORTING
|
IMPORTING
|
||||||
!iv_row TYPE zexcel_cell_row
|
!iv_row TYPE zexcel_cell_row
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_autofilters DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_AUTOFILTERS
|
*"* public components of class ZCL_EXCEL_AUTOFILTERS
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CONSTANTS c_autofilter TYPE string VALUE '_xlnm._FilterDatabase'. "#EC NOTEXT
|
CONSTANTS c_autofilter TYPE string VALUE '_xlnm._FilterDatabase'. "#EC NOTEXT
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_column DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_COLUMN
|
*"* public components of class ZCL_EXCEL_COLUMN
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
METHODS constructor
|
METHODS constructor
|
||||||
IMPORTING
|
IMPORTING
|
||||||
|
|
|
@ -4,7 +4,6 @@ CLASS zcl_excel_comment DEFINITION
|
||||||
CREATE PUBLIC .
|
CREATE PUBLIC .
|
||||||
|
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
METHODS constructor .
|
METHODS constructor .
|
||||||
METHODS get_name
|
METHODS get_name
|
||||||
|
|
|
@ -133,7 +133,6 @@ CLASS zcl_excel_common DEFINITION
|
||||||
!ip_value TYPE t
|
!ip_value TYPE t
|
||||||
RETURNING
|
RETURNING
|
||||||
VALUE(ep_value) TYPE zexcel_cell_value .
|
VALUE(ep_value) TYPE zexcel_cell_value .
|
||||||
TYPE-POOLS abap .
|
|
||||||
TYPES: t_char10 TYPE c LENGTH 10.
|
TYPES: t_char10 TYPE c LENGTH 10.
|
||||||
TYPES: t_char255 TYPE c LENGTH 255.
|
TYPES: t_char255 TYPE c LENGTH 255.
|
||||||
CLASS-METHODS split_file
|
CLASS-METHODS split_file
|
||||||
|
|
|
@ -5,7 +5,6 @@ CLASS zcl_excel_converter DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_CONVERTER
|
*"* public components of class ZCL_EXCEL_CONVERTER
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CLASS-METHODS class_constructor .
|
CLASS-METHODS class_constructor .
|
||||||
METHODS ask_option
|
METHODS ask_option
|
||||||
|
|
|
@ -6,8 +6,6 @@ CLASS zcl_excel_converter_alv DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_CONVERTER_ALV
|
*"* public components of class ZCL_EXCEL_CONVERTER_ALV
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
TYPE-POOLS kkblo .
|
|
||||||
|
|
||||||
INTERFACES zif_excel_converter
|
INTERFACES zif_excel_converter
|
||||||
ALL METHODS ABSTRACT .
|
ALL METHODS ABSTRACT .
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_data_validation DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_DATA_VALIDATION
|
*"* public components of class ZCL_EXCEL_DATA_VALIDATION
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
DATA errorstyle TYPE zexcel_data_val_error_style .
|
DATA errorstyle TYPE zexcel_data_val_error_style .
|
||||||
DATA operator TYPE zexcel_data_val_operator .
|
DATA operator TYPE zexcel_data_val_operator .
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_data_validations DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_DATA_VALIDATIONS
|
*"* public components of class ZCL_EXCEL_DATA_VALIDATIONS
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
METHODS add
|
METHODS add
|
||||||
IMPORTING
|
IMPORTING
|
||||||
|
|
|
@ -12,7 +12,6 @@ CLASS zcl_excel_drawing DEFINITION
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
*"* protected components of class ZCL_EXCEL_DRAWING
|
*"* protected components of class ZCL_EXCEL_DRAWING
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CONSTANTS c_graph_pie TYPE zexcel_graph_type VALUE 1. "#EC NOTEXT
|
CONSTANTS c_graph_pie TYPE zexcel_graph_type VALUE 1. "#EC NOTEXT
|
||||||
CONSTANTS c_graph_line TYPE zexcel_graph_type VALUE 2. "#EC NOTEXT
|
CONSTANTS c_graph_line TYPE zexcel_graph_type VALUE 2. "#EC NOTEXT
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_hyperlink DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_HYPERLINK
|
*"* public components of class ZCL_EXCEL_HYPERLINK
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CLASS-METHODS create_external_link
|
CLASS-METHODS create_external_link
|
||||||
IMPORTING
|
IMPORTING
|
||||||
|
|
|
@ -5,7 +5,6 @@ CLASS zcl_excel_legacy_palette DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_LEGACY_PALETTE
|
*"* public components of class ZCL_EXCEL_LEGACY_PALETTE
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
METHODS constructor .
|
METHODS constructor .
|
||||||
METHODS is_modified
|
METHODS is_modified
|
||||||
|
|
|
@ -5,7 +5,6 @@ CLASS zcl_excel_reader_2007 DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_READER_2007
|
*"* public components of class ZCL_EXCEL_READER_2007
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS ixml .
|
|
||||||
|
|
||||||
INTERFACES zif_excel_reader .
|
INTERFACES zif_excel_reader .
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_row DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_ROW
|
*"* public components of class ZCL_EXCEL_ROW
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
METHODS constructor
|
METHODS constructor
|
||||||
IMPORTING
|
IMPORTING
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_security DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_SECURITY
|
*"* public components of class ZCL_EXCEL_SECURITY
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
DATA lockrevision TYPE flag .
|
DATA lockrevision TYPE flag .
|
||||||
DATA lockstructure TYPE flag .
|
DATA lockstructure TYPE flag .
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_sheet_setup DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_SHEET_SETUP
|
*"* public components of class ZCL_EXCEL_SHEET_SETUP
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
DATA black_and_white TYPE flag .
|
DATA black_and_white TYPE flag .
|
||||||
DATA cell_comments TYPE stringval .
|
DATA cell_comments TYPE stringval .
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_style_alignment DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_STYLE_ALIGNMENT
|
*"* public components of class ZCL_EXCEL_STYLE_ALIGNMENT
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CONSTANTS c_horizontal_general TYPE zexcel_alignment VALUE 'general'. "#EC NOTEXT
|
CONSTANTS c_horizontal_general TYPE zexcel_alignment VALUE 'general'. "#EC NOTEXT
|
||||||
CONSTANTS c_horizontal_left TYPE zexcel_alignment VALUE 'left'. "#EC NOTEXT
|
CONSTANTS c_horizontal_left TYPE zexcel_alignment VALUE 'left'. "#EC NOTEXT
|
||||||
|
|
|
@ -4,7 +4,6 @@ CLASS zcl_excel_style_fill DEFINITION
|
||||||
CREATE PUBLIC .
|
CREATE PUBLIC .
|
||||||
|
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
*"* public components of class ZCL_EXCEL_STYLE_FILL
|
*"* public components of class ZCL_EXCEL_STYLE_FILL
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_style_font DEFINITION
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
*"* public components of class ZCL_EXCEL_STYLE_FONT
|
*"* public components of class ZCL_EXCEL_STYLE_FONT
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
DATA bold TYPE flag .
|
DATA bold TYPE flag .
|
||||||
DATA color TYPE zexcel_s_style_color .
|
DATA color TYPE zexcel_s_style_color .
|
||||||
|
|
|
@ -6,7 +6,6 @@ CLASS zcl_excel_table DEFINITION
|
||||||
*"* public components of class ZCL_EXCEL_TABLE
|
*"* public components of class ZCL_EXCEL_TABLE
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
PUBLIC SECTION.
|
PUBLIC SECTION.
|
||||||
TYPE-POOLS abap .
|
|
||||||
|
|
||||||
CONSTANTS builtinstyle_dark1 TYPE zexcel_table_style VALUE 'TableStyleDark1'. "#EC NOTEXT
|
CONSTANTS builtinstyle_dark1 TYPE zexcel_table_style VALUE 'TableStyleDark1'. "#EC NOTEXT
|
||||||
CONSTANTS builtinstyle_dark2 TYPE zexcel_table_style VALUE 'TableStyleDark2'. "#EC NOTEXT
|
CONSTANTS builtinstyle_dark2 TYPE zexcel_table_style VALUE 'TableStyleDark2'. "#EC NOTEXT
|
||||||
|
|
|
@ -9,9 +9,6 @@ CLASS zcl_excel_worksheet DEFINITION
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
*"* protected components of class ZCL_EXCEL_WORKSHEET
|
*"* protected components of class ZCL_EXCEL_WORKSHEET
|
||||||
*"* do not include other source files here!!!
|
*"* do not include other source files here!!!
|
||||||
TYPE-POOLS abap .
|
|
||||||
TYPE-POOLS slis .
|
|
||||||
TYPE-POOLS soi .
|
|
||||||
|
|
||||||
INTERFACES zif_excel_sheet_printsettings .
|
INTERFACES zif_excel_sheet_printsettings .
|
||||||
INTERFACES zif_excel_sheet_properties .
|
INTERFACES zif_excel_sheet_properties .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user