get INT8 typekind dynamic (#676)

This commit is contained in:
Domi Bigl 2020-07-02 06:39:20 +02:00 committed by GitHub
parent 1c7e527a3b
commit 3b7f7f7b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,10 +25,10 @@ CLASS zcl_excel_worksheet DEFINITION
TYPES: TYPES:
BEGIN OF mty_s_outline_row, BEGIN OF mty_s_outline_row,
row_from TYPE i, row_from TYPE i,
row_to TYPE i, row_to TYPE i,
collapsed TYPE abap_bool, collapsed TYPE abap_bool,
END OF mty_s_outline_row . END OF mty_s_outline_row .
TYPES: TYPES:
mty_ts_outlines_row TYPE SORTED TABLE OF mty_s_outline_row WITH UNIQUE KEY row_from row_to . mty_ts_outlines_row TYPE SORTED TABLE OF mty_s_outline_row WITH UNIQUE KEY row_from row_to .
@ -52,47 +52,47 @@ CLASS zcl_excel_worksheet DEFINITION
!ip_drawing TYPE REF TO zcl_excel_drawing . !ip_drawing TYPE REF TO zcl_excel_drawing .
METHODS add_new_column METHODS add_new_column
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
RETURNING RETURNING
value(eo_column) TYPE REF TO zcl_excel_column . VALUE(eo_column) TYPE REF TO zcl_excel_column .
METHODS add_new_style_cond METHODS add_new_style_cond
RETURNING RETURNING
value(eo_style_cond) TYPE REF TO zcl_excel_style_cond . VALUE(eo_style_cond) TYPE REF TO zcl_excel_style_cond .
METHODS add_new_data_validation METHODS add_new_data_validation
RETURNING RETURNING
value(eo_data_validation) TYPE REF TO zcl_excel_data_validation . VALUE(eo_data_validation) TYPE REF TO zcl_excel_data_validation .
METHODS add_new_range METHODS add_new_range
RETURNING RETURNING
value(eo_range) TYPE REF TO zcl_excel_range . VALUE(eo_range) TYPE REF TO zcl_excel_range .
METHODS add_new_row METHODS add_new_row
IMPORTING IMPORTING
!ip_row TYPE simple !ip_row TYPE simple
RETURNING RETURNING
value(eo_row) TYPE REF TO zcl_excel_row . VALUE(eo_row) TYPE REF TO zcl_excel_row .
METHODS bind_alv METHODS bind_alv
IMPORTING IMPORTING
!io_alv TYPE REF TO object !io_alv TYPE REF TO object
!it_table TYPE STANDARD TABLE !it_table TYPE STANDARD TABLE
!i_top TYPE i DEFAULT 1 !i_top TYPE i DEFAULT 1
!i_left TYPE i DEFAULT 1 !i_left TYPE i DEFAULT 1
!table_style TYPE zexcel_table_style OPTIONAL !table_style TYPE zexcel_table_style OPTIONAL
!i_table TYPE abap_bool DEFAULT abap_true !i_table TYPE abap_bool DEFAULT abap_true
RAISING RAISING
zcx_excel . zcx_excel .
METHODS bind_alv_ole2 METHODS bind_alv_ole2
IMPORTING IMPORTING
!i_document_url TYPE char255 DEFAULT space !i_document_url TYPE char255 DEFAULT space
!i_xls TYPE c DEFAULT space !i_xls TYPE c DEFAULT space
!i_save_path TYPE string !i_save_path TYPE string
!io_alv TYPE REF TO cl_gui_alv_grid !io_alv TYPE REF TO cl_gui_alv_grid
!it_listheader TYPE slis_t_listheader OPTIONAL !it_listheader TYPE slis_t_listheader OPTIONAL
!i_top TYPE i DEFAULT 1 !i_top TYPE i DEFAULT 1
!i_left TYPE i DEFAULT 1 !i_left TYPE i DEFAULT 1
!i_columns_header TYPE c DEFAULT 'X' !i_columns_header TYPE c DEFAULT 'X'
!i_columns_autofit TYPE c DEFAULT 'X' !i_columns_autofit TYPE c DEFAULT 'X'
!i_format_col_header TYPE soi_format_item OPTIONAL !i_format_col_header TYPE soi_format_item OPTIONAL
!i_format_subtotal TYPE soi_format_item OPTIONAL !i_format_subtotal TYPE soi_format_item OPTIONAL
!i_format_total TYPE soi_format_item OPTIONAL !i_format_total TYPE soi_format_item OPTIONAL
EXCEPTIONS EXCEPTIONS
miss_guide miss_guide
ex_transfer_kkblo_error ex_transfer_kkblo_error
@ -103,13 +103,13 @@ CLASS zcl_excel_worksheet DEFINITION
error_in_sema . error_in_sema .
METHODS bind_table METHODS bind_table
IMPORTING IMPORTING
!ip_table TYPE STANDARD TABLE !ip_table TYPE STANDARD TABLE
!it_field_catalog TYPE zexcel_t_fieldcatalog OPTIONAL !it_field_catalog TYPE zexcel_t_fieldcatalog OPTIONAL
!is_table_settings TYPE zexcel_s_table_settings OPTIONAL !is_table_settings TYPE zexcel_s_table_settings OPTIONAL
value(iv_default_descr) TYPE c OPTIONAL VALUE(iv_default_descr) TYPE c OPTIONAL
!IV_NO_LINE_IF_EMPTY type ABAP_BOOL default ABAP_FALSE !iv_no_line_if_empty TYPE abap_bool DEFAULT abap_false
EXPORTING EXPORTING
!es_table_settings TYPE zexcel_s_table_settings !es_table_settings TYPE zexcel_s_table_settings
RAISING RAISING
zcx_excel . zcx_excel .
METHODS calculate_column_widths METHODS calculate_column_widths
@ -117,115 +117,115 @@ CLASS zcl_excel_worksheet DEFINITION
zcx_excel . zcx_excel .
METHODS change_cell_style METHODS change_cell_style
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_complete TYPE zexcel_s_cstyle_complete OPTIONAL !ip_complete TYPE zexcel_s_cstyle_complete OPTIONAL
!ip_xcomplete TYPE zexcel_s_cstylex_complete OPTIONAL !ip_xcomplete TYPE zexcel_s_cstylex_complete OPTIONAL
!ip_font TYPE zexcel_s_cstyle_font OPTIONAL !ip_font TYPE zexcel_s_cstyle_font OPTIONAL
!ip_xfont TYPE zexcel_s_cstylex_font OPTIONAL !ip_xfont TYPE zexcel_s_cstylex_font OPTIONAL
!ip_fill TYPE zexcel_s_cstyle_fill OPTIONAL !ip_fill TYPE zexcel_s_cstyle_fill OPTIONAL
!ip_xfill TYPE zexcel_s_cstylex_fill OPTIONAL !ip_xfill TYPE zexcel_s_cstylex_fill OPTIONAL
!ip_borders TYPE zexcel_s_cstyle_borders OPTIONAL !ip_borders TYPE zexcel_s_cstyle_borders OPTIONAL
!ip_xborders TYPE zexcel_s_cstylex_borders OPTIONAL !ip_xborders TYPE zexcel_s_cstylex_borders OPTIONAL
!ip_alignment TYPE zexcel_s_cstyle_alignment OPTIONAL !ip_alignment TYPE zexcel_s_cstyle_alignment OPTIONAL
!ip_xalignment TYPE zexcel_s_cstylex_alignment OPTIONAL !ip_xalignment TYPE zexcel_s_cstylex_alignment OPTIONAL
!ip_number_format_format_code TYPE zexcel_number_format OPTIONAL !ip_number_format_format_code TYPE zexcel_number_format OPTIONAL
!ip_protection TYPE zexcel_s_cstyle_protection OPTIONAL !ip_protection TYPE zexcel_s_cstyle_protection OPTIONAL
!ip_xprotection TYPE zexcel_s_cstylex_protection OPTIONAL !ip_xprotection TYPE zexcel_s_cstylex_protection OPTIONAL
!ip_font_bold TYPE flag OPTIONAL !ip_font_bold TYPE flag OPTIONAL
!ip_font_color TYPE zexcel_s_style_color OPTIONAL !ip_font_color TYPE zexcel_s_style_color OPTIONAL
!ip_font_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_font_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_font_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_font_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_font_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_font_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_font_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_font_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_font_family TYPE zexcel_style_font_family OPTIONAL !ip_font_family TYPE zexcel_style_font_family OPTIONAL
!ip_font_italic TYPE flag OPTIONAL !ip_font_italic TYPE flag OPTIONAL
!ip_font_name TYPE zexcel_style_font_name OPTIONAL !ip_font_name TYPE zexcel_style_font_name OPTIONAL
!ip_font_scheme TYPE zexcel_style_font_scheme OPTIONAL !ip_font_scheme TYPE zexcel_style_font_scheme OPTIONAL
!ip_font_size TYPE zexcel_style_font_size OPTIONAL !ip_font_size TYPE zexcel_style_font_size OPTIONAL
!ip_font_strikethrough TYPE flag OPTIONAL !ip_font_strikethrough TYPE flag OPTIONAL
!ip_font_underline TYPE flag OPTIONAL !ip_font_underline TYPE flag OPTIONAL
!ip_font_underline_mode TYPE zexcel_style_font_underline OPTIONAL !ip_font_underline_mode TYPE zexcel_style_font_underline OPTIONAL
!ip_fill_filltype TYPE zexcel_fill_type OPTIONAL !ip_fill_filltype TYPE zexcel_fill_type OPTIONAL
!ip_fill_rotation TYPE zexcel_rotation OPTIONAL !ip_fill_rotation TYPE zexcel_rotation OPTIONAL
!ip_fill_fgcolor TYPE zexcel_s_style_color OPTIONAL !ip_fill_fgcolor TYPE zexcel_s_style_color OPTIONAL
!ip_fill_fgcolor_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_fill_fgcolor_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_fill_fgcolor_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_fill_fgcolor_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_fill_fgcolor_theme TYPE zexcel_style_color_theme OPTIONAL !ip_fill_fgcolor_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_fill_fgcolor_tint TYPE zexcel_style_color_tint OPTIONAL !ip_fill_fgcolor_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_fill_bgcolor TYPE zexcel_s_style_color OPTIONAL !ip_fill_bgcolor TYPE zexcel_s_style_color OPTIONAL
!ip_fill_bgcolor_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_fill_bgcolor_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_fill_bgcolor_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_fill_bgcolor_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_fill_bgcolor_theme TYPE zexcel_style_color_theme OPTIONAL !ip_fill_bgcolor_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_fill_bgcolor_tint TYPE zexcel_style_color_tint OPTIONAL !ip_fill_bgcolor_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_allborders TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_allborders TYPE zexcel_s_cstyle_border OPTIONAL
!ip_fill_gradtype_type TYPE zexcel_s_gradient_type-type OPTIONAL !ip_fill_gradtype_type TYPE zexcel_s_gradient_type-type OPTIONAL
!ip_fill_gradtype_degree TYPE zexcel_s_gradient_type-degree OPTIONAL !ip_fill_gradtype_degree TYPE zexcel_s_gradient_type-degree OPTIONAL
!ip_xborders_allborders TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_allborders TYPE zexcel_s_cstylex_border OPTIONAL
!ip_borders_diagonal TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_diagonal TYPE zexcel_s_cstyle_border OPTIONAL
!ip_fill_gradtype_bottom TYPE zexcel_s_gradient_type-bottom OPTIONAL !ip_fill_gradtype_bottom TYPE zexcel_s_gradient_type-bottom OPTIONAL
!ip_fill_gradtype_top TYPE zexcel_s_gradient_type-top OPTIONAL !ip_fill_gradtype_top TYPE zexcel_s_gradient_type-top OPTIONAL
!ip_xborders_diagonal TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_diagonal TYPE zexcel_s_cstylex_border OPTIONAL
!ip_borders_diagonal_mode TYPE zexcel_diagonal OPTIONAL !ip_borders_diagonal_mode TYPE zexcel_diagonal OPTIONAL
!ip_fill_gradtype_right TYPE zexcel_s_gradient_type-right OPTIONAL !ip_fill_gradtype_right TYPE zexcel_s_gradient_type-right OPTIONAL
!ip_borders_down TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_down TYPE zexcel_s_cstyle_border OPTIONAL
!ip_fill_gradtype_left TYPE zexcel_s_gradient_type-left OPTIONAL !ip_fill_gradtype_left TYPE zexcel_s_gradient_type-left OPTIONAL
!ip_fill_gradtype_position1 TYPE zexcel_s_gradient_type-position1 OPTIONAL !ip_fill_gradtype_position1 TYPE zexcel_s_gradient_type-position1 OPTIONAL
!ip_xborders_down TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_down TYPE zexcel_s_cstylex_border OPTIONAL
!ip_borders_left TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_left TYPE zexcel_s_cstyle_border OPTIONAL
!ip_fill_gradtype_position2 TYPE zexcel_s_gradient_type-position2 OPTIONAL !ip_fill_gradtype_position2 TYPE zexcel_s_gradient_type-position2 OPTIONAL
!ip_fill_gradtype_position3 TYPE zexcel_s_gradient_type-position3 OPTIONAL !ip_fill_gradtype_position3 TYPE zexcel_s_gradient_type-position3 OPTIONAL
!ip_xborders_left TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_left TYPE zexcel_s_cstylex_border OPTIONAL
!ip_borders_right TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_right TYPE zexcel_s_cstyle_border OPTIONAL
!ip_xborders_right TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_right TYPE zexcel_s_cstylex_border OPTIONAL
!ip_borders_top TYPE zexcel_s_cstyle_border OPTIONAL !ip_borders_top TYPE zexcel_s_cstyle_border OPTIONAL
!ip_xborders_top TYPE zexcel_s_cstylex_border OPTIONAL !ip_xborders_top TYPE zexcel_s_cstylex_border OPTIONAL
!ip_alignment_horizontal TYPE zexcel_alignment OPTIONAL !ip_alignment_horizontal TYPE zexcel_alignment OPTIONAL
!ip_alignment_vertical TYPE zexcel_alignment OPTIONAL !ip_alignment_vertical TYPE zexcel_alignment OPTIONAL
!ip_alignment_textrotation TYPE zexcel_text_rotation OPTIONAL !ip_alignment_textrotation TYPE zexcel_text_rotation OPTIONAL
!ip_alignment_wraptext TYPE flag OPTIONAL !ip_alignment_wraptext TYPE flag OPTIONAL
!ip_alignment_shrinktofit TYPE flag OPTIONAL !ip_alignment_shrinktofit TYPE flag OPTIONAL
!ip_alignment_indent TYPE zexcel_indent OPTIONAL !ip_alignment_indent TYPE zexcel_indent OPTIONAL
!ip_protection_hidden TYPE zexcel_cell_protection OPTIONAL !ip_protection_hidden TYPE zexcel_cell_protection OPTIONAL
!ip_protection_locked TYPE zexcel_cell_protection OPTIONAL !ip_protection_locked TYPE zexcel_cell_protection OPTIONAL
!ip_borders_allborders_style TYPE zexcel_border OPTIONAL !ip_borders_allborders_style TYPE zexcel_border OPTIONAL
!ip_borders_allborders_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_allborders_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_allbo_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_allbo_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_allbo_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_allbo_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_allbo_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_borders_allbo_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_allbo_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_allbo_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_diagonal_style TYPE zexcel_border OPTIONAL !ip_borders_diagonal_style TYPE zexcel_border OPTIONAL
!ip_borders_diagonal_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_diagonal_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_diagonal_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_diagonal_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_diagonal_color_inde TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_diagonal_color_inde TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_diagonal_color_them TYPE zexcel_style_color_theme OPTIONAL !ip_borders_diagonal_color_them TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_diagonal_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_diagonal_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_down_style TYPE zexcel_border OPTIONAL !ip_borders_down_style TYPE zexcel_border OPTIONAL
!ip_borders_down_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_down_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_down_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_down_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_down_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_down_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_down_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_borders_down_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_down_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_down_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_left_style TYPE zexcel_border OPTIONAL !ip_borders_left_style TYPE zexcel_border OPTIONAL
!ip_borders_left_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_left_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_left_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_left_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_left_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_left_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_left_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_borders_left_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_left_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_left_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_right_style TYPE zexcel_border OPTIONAL !ip_borders_right_style TYPE zexcel_border OPTIONAL
!ip_borders_right_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_right_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_right_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_right_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_right_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_right_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_right_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_borders_right_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_right_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_right_color_tint TYPE zexcel_style_color_tint OPTIONAL
!ip_borders_top_style TYPE zexcel_border OPTIONAL !ip_borders_top_style TYPE zexcel_border OPTIONAL
!ip_borders_top_color TYPE zexcel_s_style_color OPTIONAL !ip_borders_top_color TYPE zexcel_s_style_color OPTIONAL
!ip_borders_top_color_rgb TYPE zexcel_style_color_argb OPTIONAL !ip_borders_top_color_rgb TYPE zexcel_style_color_argb OPTIONAL
!ip_borders_top_color_indexed TYPE zexcel_style_color_indexed OPTIONAL !ip_borders_top_color_indexed TYPE zexcel_style_color_indexed OPTIONAL
!ip_borders_top_color_theme TYPE zexcel_style_color_theme OPTIONAL !ip_borders_top_color_theme TYPE zexcel_style_color_theme OPTIONAL
!ip_borders_top_color_tint TYPE zexcel_style_color_tint OPTIONAL !ip_borders_top_color_tint TYPE zexcel_style_color_tint OPTIONAL
RETURNING RETURNING
value(ep_guid) TYPE zexcel_cell_style VALUE(ep_guid) TYPE zexcel_cell_style
RAISING RAISING
zcx_excel . zcx_excel .
METHODS constructor METHODS constructor
@ -237,175 +237,175 @@ CLASS zcl_excel_worksheet DEFINITION
METHODS delete_merge METHODS delete_merge
IMPORTING IMPORTING
!ip_cell_column TYPE simple OPTIONAL !ip_cell_column TYPE simple OPTIONAL
!ip_cell_row TYPE zexcel_cell_row OPTIONAL !ip_cell_row TYPE zexcel_cell_row OPTIONAL
RAISING RAISING
zcx_excel . zcx_excel .
METHODS delete_row_outline METHODS delete_row_outline
IMPORTING IMPORTING
!iv_row_from TYPE i !iv_row_from TYPE i
!iv_row_to TYPE i !iv_row_to TYPE i
RAISING RAISING
zcx_excel . zcx_excel .
METHODS freeze_panes METHODS freeze_panes
IMPORTING IMPORTING
!ip_num_columns TYPE i OPTIONAL !ip_num_columns TYPE i OPTIONAL
!ip_num_rows TYPE i OPTIONAL !ip_num_rows TYPE i OPTIONAL
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_active_cell METHODS get_active_cell
RETURNING RETURNING
value(ep_active_cell) TYPE string VALUE(ep_active_cell) TYPE string
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_cell METHODS get_cell
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
EXPORTING EXPORTING
!ep_value TYPE zexcel_cell_value !ep_value TYPE zexcel_cell_value
!ep_rc TYPE sysubrc !ep_rc TYPE sysubrc
!ep_style TYPE REF TO zcl_excel_style !ep_style TYPE REF TO zcl_excel_style
!ep_guid TYPE zexcel_cell_style !ep_guid TYPE zexcel_cell_style
!ep_formula TYPE zexcel_cell_formula !ep_formula TYPE zexcel_cell_formula
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_column METHODS get_column
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
RETURNING RETURNING
value(eo_column) TYPE REF TO zcl_excel_column . VALUE(eo_column) TYPE REF TO zcl_excel_column .
METHODS get_columns METHODS get_columns
RETURNING RETURNING
value(eo_columns) TYPE REF TO zcl_excel_columns . VALUE(eo_columns) TYPE REF TO zcl_excel_columns .
METHODS get_columns_iterator METHODS get_columns_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_style_cond_iterator METHODS get_style_cond_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_data_validations_iterator METHODS get_data_validations_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_data_validations_size METHODS get_data_validations_size
RETURNING RETURNING
value(ep_size) TYPE i . VALUE(ep_size) TYPE i .
METHODS get_default_column METHODS get_default_column
RETURNING RETURNING
value(eo_column) TYPE REF TO zcl_excel_column . VALUE(eo_column) TYPE REF TO zcl_excel_column .
METHODS get_default_excel_date_format METHODS get_default_excel_date_format
RETURNING RETURNING
value(ep_default_excel_date_format) TYPE zexcel_number_format . VALUE(ep_default_excel_date_format) TYPE zexcel_number_format .
METHODS get_default_excel_time_format METHODS get_default_excel_time_format
RETURNING RETURNING
value(ep_default_excel_time_format) TYPE zexcel_number_format . VALUE(ep_default_excel_time_format) TYPE zexcel_number_format .
METHODS get_default_row METHODS get_default_row
RETURNING RETURNING
value(eo_row) TYPE REF TO zcl_excel_row . VALUE(eo_row) TYPE REF TO zcl_excel_row .
METHODS get_dimension_range METHODS get_dimension_range
RETURNING RETURNING
value(ep_dimension_range) TYPE string VALUE(ep_dimension_range) TYPE string
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_comments METHODS get_comments
RETURNING RETURNING
value(r_comments) TYPE REF TO zcl_excel_comments . VALUE(r_comments) TYPE REF TO zcl_excel_comments .
METHODS get_drawings METHODS get_drawings
IMPORTING IMPORTING
!ip_type TYPE zexcel_drawing_type OPTIONAL !ip_type TYPE zexcel_drawing_type OPTIONAL
RETURNING RETURNING
value(r_drawings) TYPE REF TO zcl_excel_drawings . VALUE(r_drawings) TYPE REF TO zcl_excel_drawings .
METHODS get_comments_iterator METHODS get_comments_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_drawings_iterator METHODS get_drawings_iterator
IMPORTING IMPORTING
!ip_type TYPE zexcel_drawing_type !ip_type TYPE zexcel_drawing_type
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_freeze_cell METHODS get_freeze_cell
EXPORTING EXPORTING
!ep_row TYPE zexcel_cell_row !ep_row TYPE zexcel_cell_row
!ep_column TYPE zexcel_cell_column . !ep_column TYPE zexcel_cell_column .
METHODS get_guid METHODS get_guid
RETURNING RETURNING
value(ep_guid) TYPE uuid . VALUE(ep_guid) TYPE uuid .
METHODS get_highest_column METHODS get_highest_column
RETURNING RETURNING
value(r_highest_column) TYPE zexcel_cell_column VALUE(r_highest_column) TYPE zexcel_cell_column
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_highest_row METHODS get_highest_row
RETURNING RETURNING
value(r_highest_row) TYPE int4 VALUE(r_highest_row) TYPE int4
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_hyperlinks_iterator METHODS get_hyperlinks_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_hyperlinks_size METHODS get_hyperlinks_size
RETURNING RETURNING
value(ep_size) TYPE i . VALUE(ep_size) TYPE i .
METHODS get_merge METHODS get_merge
RETURNING RETURNING
value(merge_range) TYPE string_table VALUE(merge_range) TYPE string_table
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_pagebreaks METHODS get_pagebreaks
RETURNING RETURNING
value(ro_pagebreaks) TYPE REF TO zcl_excel_worksheet_pagebreaks VALUE(ro_pagebreaks) TYPE REF TO zcl_excel_worksheet_pagebreaks
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_ranges_iterator METHODS get_ranges_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_row METHODS get_row
IMPORTING IMPORTING
!ip_row TYPE int4 !ip_row TYPE int4
RETURNING RETURNING
value(eo_row) TYPE REF TO zcl_excel_row . VALUE(eo_row) TYPE REF TO zcl_excel_row .
METHODS get_rows METHODS get_rows
RETURNING RETURNING
value(eo_rows) TYPE REF TO zcl_excel_rows . VALUE(eo_rows) TYPE REF TO zcl_excel_rows .
METHODS get_rows_iterator METHODS get_rows_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_row_outlines METHODS get_row_outlines
RETURNING RETURNING
value(rt_row_outlines) TYPE mty_ts_outlines_row . VALUE(rt_row_outlines) TYPE mty_ts_outlines_row .
METHODS get_style_cond METHODS get_style_cond
IMPORTING IMPORTING
!ip_guid TYPE zexcel_cell_style !ip_guid TYPE zexcel_cell_style
RETURNING RETURNING
value(eo_style_cond) TYPE REF TO zcl_excel_style_cond . VALUE(eo_style_cond) TYPE REF TO zcl_excel_style_cond .
METHODS get_tabcolor METHODS get_tabcolor
RETURNING RETURNING
value(ev_tabcolor) TYPE zexcel_s_tabcolor . VALUE(ev_tabcolor) TYPE zexcel_s_tabcolor .
METHODS get_tables_iterator METHODS get_tables_iterator
RETURNING RETURNING
value(eo_iterator) TYPE REF TO cl_object_collection_iterator . VALUE(eo_iterator) TYPE REF TO cl_object_collection_iterator .
METHODS get_tables_size METHODS get_tables_size
RETURNING RETURNING
value(ep_size) TYPE i . VALUE(ep_size) TYPE i .
METHODS get_title METHODS get_title
IMPORTING IMPORTING
!ip_escaped TYPE flag DEFAULT '' !ip_escaped TYPE flag DEFAULT ''
RETURNING RETURNING
value(ep_title) TYPE zexcel_sheet_title . VALUE(ep_title) TYPE zexcel_sheet_title .
METHODS is_cell_merged METHODS is_cell_merged
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
RETURNING RETURNING
value(rp_is_merged) TYPE abap_bool VALUE(rp_is_merged) TYPE abap_bool
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_cell METHODS set_cell
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_value TYPE simple OPTIONAL !ip_value TYPE simple OPTIONAL
!ip_formula TYPE zexcel_cell_formula OPTIONAL !ip_formula TYPE zexcel_cell_formula OPTIONAL
!ip_style TYPE zexcel_cell_style OPTIONAL !ip_style TYPE zexcel_cell_style OPTIONAL
!ip_hyperlink TYPE REF TO zcl_excel_hyperlink OPTIONAL !ip_hyperlink TYPE REF TO zcl_excel_hyperlink OPTIONAL
!ip_data_type TYPE zexcel_cell_data_type OPTIONAL !ip_data_type TYPE zexcel_cell_data_type OPTIONAL
!ip_abap_type TYPE abap_typekind OPTIONAL !ip_abap_type TYPE abap_typekind OPTIONAL
@ -413,22 +413,22 @@ CLASS zcl_excel_worksheet DEFINITION
zcx_excel . zcx_excel .
METHODS set_cell_formula METHODS set_cell_formula
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_formula TYPE zexcel_cell_formula !ip_formula TYPE zexcel_cell_formula
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_cell_style METHODS set_cell_style
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_style TYPE zexcel_cell_style !ip_style TYPE zexcel_cell_style
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_column_width METHODS set_column_width
IMPORTING IMPORTING
!ip_column TYPE simple !ip_column TYPE simple
!ip_width_fix TYPE simple DEFAULT 0 !ip_width_fix TYPE simple DEFAULT 0
!ip_width_autosize TYPE flag DEFAULT 'X' !ip_width_autosize TYPE flag DEFAULT 'X'
RAISING RAISING
zcx_excel . zcx_excel .
@ -440,12 +440,12 @@ CLASS zcl_excel_worksheet DEFINITION
METHODS set_merge METHODS set_merge
IMPORTING IMPORTING
!ip_column_start TYPE simple DEFAULT zcl_excel_common=>c_excel_sheet_min_col !ip_column_start TYPE simple DEFAULT zcl_excel_common=>c_excel_sheet_min_col
!ip_column_end TYPE simple DEFAULT zcl_excel_common=>c_excel_sheet_max_col !ip_column_end TYPE simple DEFAULT zcl_excel_common=>c_excel_sheet_max_col
!ip_row TYPE zexcel_cell_row DEFAULT zcl_excel_common=>c_excel_sheet_min_row !ip_row TYPE zexcel_cell_row DEFAULT zcl_excel_common=>c_excel_sheet_min_row
!ip_row_to TYPE zexcel_cell_row DEFAULT zcl_excel_common=>c_excel_sheet_max_row !ip_row_to TYPE zexcel_cell_row DEFAULT zcl_excel_common=>c_excel_sheet_max_row
!ip_style TYPE zexcel_cell_style OPTIONAL "added parameter !ip_style TYPE zexcel_cell_style OPTIONAL "added parameter
!ip_value TYPE simple OPTIONAL "added parameter !ip_value TYPE simple OPTIONAL "added parameter
!ip_formula TYPE zexcel_cell_formula OPTIONAL "added parameter !ip_formula TYPE zexcel_cell_formula OPTIONAL "added parameter
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_print_gridlines METHODS set_print_gridlines
@ -453,14 +453,14 @@ CLASS zcl_excel_worksheet DEFINITION
!i_print_gridlines TYPE zexcel_print_gridlines . !i_print_gridlines TYPE zexcel_print_gridlines .
METHODS set_row_height METHODS set_row_height
IMPORTING IMPORTING
!ip_row TYPE simple !ip_row TYPE simple
!ip_height_fix TYPE simple !ip_height_fix TYPE simple
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_row_outline METHODS set_row_outline
IMPORTING IMPORTING
!iv_row_from TYPE i !iv_row_from TYPE i
!iv_row_to TYPE i !iv_row_to TYPE i
!iv_collapsed TYPE abap_bool !iv_collapsed TYPE abap_bool
RAISING RAISING
zcx_excel . zcx_excel .
@ -475,14 +475,14 @@ CLASS zcl_excel_worksheet DEFINITION
!iv_tabcolor TYPE zexcel_s_tabcolor . !iv_tabcolor TYPE zexcel_s_tabcolor .
METHODS set_table METHODS set_table
IMPORTING IMPORTING
!ip_table TYPE STANDARD TABLE !ip_table TYPE STANDARD TABLE
!ip_hdr_style TYPE zexcel_cell_style OPTIONAL !ip_hdr_style TYPE zexcel_cell_style OPTIONAL
!ip_body_style TYPE zexcel_cell_style OPTIONAL !ip_body_style TYPE zexcel_cell_style OPTIONAL
!ip_table_title TYPE string !ip_table_title TYPE string
!ip_top_left_column TYPE zexcel_cell_column_alpha DEFAULT 'B' !ip_top_left_column TYPE zexcel_cell_column_alpha DEFAULT 'B'
!ip_top_left_row TYPE zexcel_cell_row DEFAULT 3 !ip_top_left_row TYPE zexcel_cell_row DEFAULT 3
!ip_transpose TYPE xfeld OPTIONAL !ip_transpose TYPE xfeld OPTIONAL
!ip_no_header TYPE xfeld OPTIONAL !ip_no_header TYPE xfeld OPTIONAL
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_title METHODS set_title
@ -494,55 +494,55 @@ CLASS zcl_excel_worksheet DEFINITION
IMPORTING IMPORTING
!iv_skipped_rows TYPE int4 DEFAULT 0 !iv_skipped_rows TYPE int4 DEFAULT 0
!iv_skipped_cols TYPE int4 DEFAULT 0 !iv_skipped_cols TYPE int4 DEFAULT 0
!iv_max_col TYPE int4 OPTIONAL !iv_max_col TYPE int4 OPTIONAL
!iv_max_row TYPE int4 OPTIONAL !iv_max_row TYPE int4 OPTIONAL
EXPORTING EXPORTING
!et_table TYPE STANDARD TABLE !et_table TYPE STANDARD TABLE
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_merge_style METHODS set_merge_style
IMPORTING IMPORTING
!ip_column_start TYPE simple OPTIONAL !ip_column_start TYPE simple OPTIONAL
!ip_column_end TYPE simple OPTIONAL !ip_column_end TYPE simple OPTIONAL
!ip_row TYPE zexcel_cell_row OPTIONAL !ip_row TYPE zexcel_cell_row OPTIONAL
!ip_row_to TYPE zexcel_cell_row OPTIONAL !ip_row_to TYPE zexcel_cell_row OPTIONAL
!ip_style TYPE zexcel_cell_style OPTIONAL . !ip_style TYPE zexcel_cell_style OPTIONAL .
METHODS set_area_formula METHODS set_area_formula
IMPORTING IMPORTING
!ip_column_start TYPE simple !ip_column_start TYPE simple
!ip_column_end TYPE simple OPTIONAL !ip_column_end TYPE simple OPTIONAL
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_row_to TYPE zexcel_cell_row OPTIONAL !ip_row_to TYPE zexcel_cell_row OPTIONAL
!ip_formula TYPE zexcel_cell_formula !ip_formula TYPE zexcel_cell_formula
!ip_merge TYPE abap_bool OPTIONAL !ip_merge TYPE abap_bool OPTIONAL
RAISING RAISING
zcx_excel . zcx_excel .
METHODS set_area_style METHODS set_area_style
IMPORTING IMPORTING
!ip_column_start TYPE simple !ip_column_start TYPE simple
!ip_column_end TYPE simple OPTIONAL !ip_column_end TYPE simple OPTIONAL
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_row_to TYPE zexcel_cell_row OPTIONAL !ip_row_to TYPE zexcel_cell_row OPTIONAL
!ip_style TYPE zexcel_cell_style !ip_style TYPE zexcel_cell_style
!ip_merge TYPE abap_bool OPTIONAL . !ip_merge TYPE abap_bool OPTIONAL .
METHODS set_area METHODS set_area
IMPORTING IMPORTING
!ip_column_start TYPE simple !ip_column_start TYPE simple
!ip_column_end TYPE simple OPTIONAL !ip_column_end TYPE simple OPTIONAL
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
!ip_row_to TYPE zexcel_cell_row OPTIONAL !ip_row_to TYPE zexcel_cell_row OPTIONAL
!ip_value TYPE simple OPTIONAL !ip_value TYPE simple OPTIONAL
!ip_formula TYPE zexcel_cell_formula OPTIONAL !ip_formula TYPE zexcel_cell_formula OPTIONAL
!ip_style TYPE zexcel_cell_style OPTIONAL !ip_style TYPE zexcel_cell_style OPTIONAL
!ip_hyperlink TYPE REF TO zcl_excel_hyperlink OPTIONAL !ip_hyperlink TYPE REF TO zcl_excel_hyperlink OPTIONAL
!ip_data_type TYPE zexcel_cell_data_type OPTIONAL !ip_data_type TYPE zexcel_cell_data_type OPTIONAL
!ip_abap_type TYPE abap_typekind OPTIONAL !ip_abap_type TYPE abap_typekind OPTIONAL
!ip_merge TYPE abap_bool OPTIONAL !ip_merge TYPE abap_bool OPTIONAL
RAISING RAISING
zcx_excel . zcx_excel .
METHODS get_header_footer_drawings METHODS get_header_footer_drawings
RETURNING RETURNING
value(rt_drawings) TYPE zexcel_t_drawings . VALUE(rt_drawings) TYPE zexcel_t_drawings .
PROTECTED SECTION. PROTECTED SECTION.
PRIVATE SECTION. PRIVATE SECTION.
@ -616,12 +616,12 @@ CLASS zcl_excel_worksheet DEFINITION
!ip_column TYPE simple !ip_column TYPE simple
!ip_row TYPE zexcel_cell_row !ip_row TYPE zexcel_cell_row
RETURNING RETURNING
value(ep_width) TYPE float VALUE(ep_width) TYPE float
RAISING RAISING
zcx_excel . zcx_excel .
METHODS generate_title METHODS generate_title
RETURNING RETURNING
value(ep_title) TYPE zexcel_sheet_title . VALUE(ep_title) TYPE zexcel_sheet_title .
METHODS get_value_type METHODS get_value_type
IMPORTING IMPORTING
!ip_value TYPE simple !ip_value TYPE simple
@ -636,7 +636,7 @@ ENDCLASS.
CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION. CLASS zcl_excel_worksheet IMPLEMENTATION.
METHOD add_comment. METHOD add_comment.
@ -3744,7 +3744,7 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
me->zif_excel_sheet_protection~initialize( ). me->zif_excel_sheet_protection~initialize( ).
me->zif_excel_sheet_properties~initialize( ). me->zif_excel_sheet_properties~initialize( ).
CREATE OBJECT hyperlinks. CREATE OBJECT hyperlinks.
CREATE OBJECT comments. " (+) Issue #180 CREATE OBJECT comments. " (+) Issue #180
* initialize active cell coordinates * initialize active cell coordinates
active_cell-cell_row = 1. active_cell-cell_row = 1.
@ -4111,7 +4111,7 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
ls_odd_footer TYPE zexcel_s_worksheet_head_foot, ls_odd_footer TYPE zexcel_s_worksheet_head_foot,
ls_even_header TYPE zexcel_s_worksheet_head_foot, ls_even_header TYPE zexcel_s_worksheet_head_foot,
ls_even_footer TYPE zexcel_s_worksheet_head_foot, ls_even_footer TYPE zexcel_s_worksheet_head_foot,
ls_hd_ft TYPE zexcel_s_worksheet_head_foot. ls_hd_ft TYPE zexcel_s_worksheet_head_foot.
FIELD-SYMBOLS: <fs_drawings> TYPE zexcel_s_drawings. FIELD-SYMBOLS: <fs_drawings> TYPE zexcel_s_drawings.
@ -4512,13 +4512,13 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
IF sy-subrc = 0. IF sy-subrc = 0.
CALL FUNCTION l_function CALL FUNCTION l_function
EXPORTING EXPORTING
input = ip_value input = ip_value
IMPORTING IMPORTING
* LONG_TEXT = * LONG_TEXT =
output = l_value output = l_value
* SHORT_TEXT = * SHORT_TEXT =
EXCEPTIONS EXCEPTIONS
OTHERS = 1. OTHERS = 1.
IF sy-subrc <> 0. IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4. * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
@ -4742,11 +4742,11 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
METHOD set_area_formula. METHOD set_area_formula.
DATA: ld_row TYPE zexcel_cell_row, DATA: ld_row TYPE zexcel_cell_row,
ld_row_end TYPE zexcel_cell_row, ld_row_end TYPE zexcel_cell_row,
ld_column TYPE zexcel_cell_column_alpha, ld_column TYPE zexcel_cell_column_alpha,
ld_column_end TYPE zexcel_cell_column_alpha, ld_column_end TYPE zexcel_cell_column_alpha,
ld_column_int TYPE zexcel_cell_column_alpha, ld_column_int TYPE zexcel_cell_column_alpha,
ld_column_end_int TYPE zexcel_cell_column_alpha. ld_column_end_int TYPE zexcel_cell_column_alpha.
MOVE: ip_row_to TO ld_row_end, MOVE: ip_row_to TO ld_row_end,
@ -4782,12 +4782,12 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
METHOD set_area_style. METHOD set_area_style.
DATA: ld_row_start TYPE zexcel_cell_row, DATA: ld_row_start TYPE zexcel_cell_row,
ld_row_end TYPE zexcel_cell_row, ld_row_end TYPE zexcel_cell_row,
ld_column_start_int TYPE zexcel_cell_column, ld_column_start_int TYPE zexcel_cell_column,
ld_column_end_int TYPE zexcel_cell_column, ld_column_end_int TYPE zexcel_cell_column,
ld_current_column TYPE zexcel_cell_column_alpha, ld_current_column TYPE zexcel_cell_column_alpha,
ld_current_row TYPE zexcel_cell_row. ld_current_row TYPE zexcel_cell_row.
MOVE: ip_row_to TO ld_row_end, MOVE: ip_row_to TO ld_row_end,
ip_row TO ld_row_start. ip_row TO ld_row_start.
@ -4835,7 +4835,9 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
<fs_numeric> TYPE numeric, <fs_numeric> TYPE numeric,
<fs_date> TYPE d, <fs_date> TYPE d,
<fs_time> TYPE t, <fs_time> TYPE t,
<fs_value> TYPE simple. <fs_value> TYPE simple,
<fs_typekind_int8> TYPE abap_typekind.
IF ip_value IS NOT SUPPLIED AND ip_formula IS NOT SUPPLIED. IF ip_value IS NOT SUPPLIED AND ip_formula IS NOT SUPPLIED.
zcx_excel=>raise_text( 'Please provide the value or formula' ). zcx_excel=>raise_text( 'Please provide the value or formula' ).
@ -4882,9 +4884,15 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
IMPORTING ep_value = <fs_value> IMPORTING ep_value = <fs_value>
ep_value_type = lv_value_type ). ep_value_type = lv_value_type ).
ENDIF. ENDIF.
ASSIGN ('CL_ABAP_TYPEDESCR=>TYPEKIND_INT8') TO <fs_typekind_int8>.
IF sy-subrc <> 0.
ASSIGN space TO <fs_typekind_int8>. "not used as typekind!
ENDIF.
CASE lv_value_type. CASE lv_value_type.
WHEN cl_abap_typedescr=>typekind_int OR cl_abap_typedescr=>typekind_int1 OR cl_abap_typedescr=>typekind_int2 WHEN cl_abap_typedescr=>typekind_int1 OR cl_abap_typedescr=>typekind_int1 OR cl_abap_typedescr=>typekind_int2
OR cl_abap_typedescr=>typekind_int8. "Allow INT8 types columns OR <fs_typekind_int8>. "Allow INT8 types columns
lo_addit = cl_abap_elemdescr=>get_i( ). lo_addit = cl_abap_elemdescr=>get_i( ).
CREATE DATA lo_value_new TYPE HANDLE lo_addit. CREATE DATA lo_value_new TYPE HANDLE lo_addit.
ASSIGN lo_value_new->* TO <fs_numeric>. ASSIGN lo_value_new->* TO <fs_numeric>.
@ -5203,12 +5211,12 @@ CLASS ZCL_EXCEL_WORKSHEET IMPLEMENTATION.
METHOD set_merge_style. METHOD set_merge_style.
DATA: ld_row_start TYPE zexcel_cell_row, DATA: ld_row_start TYPE zexcel_cell_row,
ld_row_end TYPE zexcel_cell_row, ld_row_end TYPE zexcel_cell_row,
ld_column_start TYPE zexcel_cell_column, ld_column_start TYPE zexcel_cell_column,
ld_column_end TYPE zexcel_cell_column, ld_column_end TYPE zexcel_cell_column,
ld_current_column TYPE zexcel_cell_column_alpha, ld_current_column TYPE zexcel_cell_column_alpha,
ld_current_row TYPE zexcel_cell_row. ld_current_row TYPE zexcel_cell_row.
MOVE: ip_row_to TO ld_row_end, MOVE: ip_row_to TO ld_row_end,
ip_row TO ld_row_start. ip_row TO ld_row_start.