mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-05 13:46:17 +08:00
Update zcl_excel.clas.abap
This commit is contained in:
parent
284d7db7c1
commit
a1867fd71e
|
@ -43,9 +43,7 @@ public section.
|
||||||
raising
|
raising
|
||||||
ZCX_EXCEL .
|
ZCX_EXCEL .
|
||||||
methods ADD_STATIC_STYLES .
|
methods ADD_STATIC_STYLES .
|
||||||
methods CONSTRUCTOR
|
methods CONSTRUCTOR.
|
||||||
raising
|
|
||||||
ZCX_EXCEL.
|
|
||||||
methods DELETE_WORKSHEET
|
methods DELETE_WORKSHEET
|
||||||
importing
|
importing
|
||||||
!IO_WORKSHEET type ref to ZCL_EXCEL_WORKSHEET
|
!IO_WORKSHEET type ref to ZCL_EXCEL_WORKSHEET
|
||||||
|
@ -284,7 +282,12 @@ method CONSTRUCTOR.
|
||||||
me->zif_excel_book_protection~initialize( ).
|
me->zif_excel_book_protection~initialize( ).
|
||||||
me->zif_excel_book_properties~initialize( ).
|
me->zif_excel_book_properties~initialize( ).
|
||||||
|
|
||||||
|
try.
|
||||||
me->add_new_worksheet( ).
|
me->add_new_worksheet( ).
|
||||||
|
catch zcx_excel.
|
||||||
|
assert 1 = 2. " suppress syntax check error
|
||||||
|
endtry.
|
||||||
|
|
||||||
me->add_new_style( ). " Standard style
|
me->add_new_style( ). " Standard style
|
||||||
lo_style = me->add_new_style( ). " Standard style with fill gray125
|
lo_style = me->add_new_style( ). " Standard style with fill gray125
|
||||||
lo_style->fill->filltype = zcl_excel_style_fill=>c_fill_pattern_gray125.
|
lo_style->fill->filltype = zcl_excel_style_fill=>c_fill_pattern_gray125.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user