*"* use this source file for any type declarations (class
*"* definitions, interfaces or data types) you need for method
*"* implementation or private method's signature

TYPES:   BEGIN OF ts_alv_types,
           seoclass   TYPE seoclsname,
           clsname    TYPE seoclsname,
         END OF ts_alv_types,
         tt_alv_types TYPE HASHED TABLE OF ts_alv_types WITH UNIQUE KEY seoclass.

TYPES:   BEGIN OF ts_sort_values,
            fieldname      TYPE fieldname,
            row_int        TYPE zexcel_cell_row,
            value          TYPE REF TO data,
            new            TYPE flag,
            sort_level     TYPE int4,
            is_collapsed   type flag,
         END OF ts_sort_values,

         tt_sort_values TYPE HASHED TABLE OF ts_sort_values WITH UNIQUE KEY fieldname.
TYPES:   BEGIN OF ts_subtotal_rows,
            row_int        TYPE zexcel_cell_row,
            row_int_start  TYPE zexcel_cell_row,
            columnname     TYPE fieldname,
         END OF ts_subtotal_rows,

         tt_subtotal_rows TYPE HASHED TABLE OF ts_subtotal_rows WITH UNIQUE KEY row_int.

TYPES:   BEGIN OF ts_styles,
            type         TYPE char1,
            alignment    TYPE zexcel_alignment,
            inttype      TYPE inttype,
            decimals     TYPE int1,
            style        TYPE REF TO zcl_excel_style,
            guid         TYPE zexcel_cell_style,
         END OF ts_styles,

         tt_styles TYPE HASHED TABLE OF ts_styles  WITH UNIQUE KEY type alignment inttype decimals.

TYPES:   BEGIN OF ts_color_styles,
            guid_old  TYPE zexcel_cell_style,
            fontcolor TYPE zexcel_style_color_argb,
            fillcolor TYPE zexcel_style_color_argb,
            style_new TYPE REF TO zcl_excel_style,
         END OF ts_color_styles,

         tt_color_styles TYPE HASHED TABLE OF ts_color_styles  WITH UNIQUE KEY guid_old fontcolor fillcolor.
