abap2xlsx/src/zif_excel_converter.intf.abap
Stefan Rutzmoser 74c1a543cd
Feature: Enable custom converters (#707)
* Feature: Enable custom converters

Added method get_supported_class to ZIF_EXCEL_CONVERTER.

Implement your own converter by implementing this interface
and tell via the new interface method which class you support.

All instanceable implementations of the interface will be found
automatically.

* Fix abapLint issues
2020-11-05 13:16:47 +01:00

27 lines
729 B
ABAP

INTERFACE zif_excel_converter
PUBLIC .
METHODS can_convert_object
IMPORTING
!io_object TYPE REF TO object
RAISING
zcx_excel .
METHODS create_fieldcatalog
IMPORTING
!is_option TYPE zexcel_s_converter_option
!io_object TYPE REF TO object
!it_table TYPE STANDARD TABLE
EXPORTING
!es_layout TYPE zexcel_s_converter_layo
!et_fieldcatalog TYPE zexcel_t_converter_fcat
!eo_table TYPE REF TO data
!et_colors TYPE zexcel_t_converter_col
!et_filter TYPE zexcel_t_converter_fil
RAISING
zcx_excel .
METHODS get_supported_class
RETURNING VALUE(rv_supported_class) TYPE seoclsname.
ENDINTERFACE.