mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 05:46:35 +08:00

* Replace pass by value with reference #1013 * Possible sequential read on sorted/hashed table #1014 * Update src/not_cloud/zcl_excel_converter.clas.locals_def.abap Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> * remove comments and old coding * fix UT errors * remove more comments and old coding * Improvements / Fix aesthetic regression on XML --------- Co-authored-by: Lars Hvam <larshp@hotmail.com> Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com> Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com> Co-authored-by: Abo <andrea@borgia.bo.it> Co-authored-by: sandraros <sandra.rossi@gmail.com>
52 lines
2.1 KiB
ABAP
52 lines
2.1 KiB
ABAP
*"* 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 ty_style_type TYPE c LENGTH 1.
|
|
|
|
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 primary_key COMPONENTS fieldname
|
|
WITH NON-UNIQUE SORTED KEY collapsed COMPONENTS is_collapsed fieldname
|
|
##TABKEY[PRIMARY_KEY][COLLAPSED].
|
|
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 ty_style_type,
|
|
alignment TYPE zexcel_alignment,
|
|
inttype TYPE abap_typekind,
|
|
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 primary_key COMPONENTS type alignment inttype decimals
|
|
WITH NON-UNIQUE SORTED KEY guid COMPONENTS guid .
|
|
|
|
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.
|