mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 19:38:15 +08:00

* 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
27 lines
729 B
ABAP
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.
|