Update zcl_excel.clas.abap

This commit is contained in:
AtomKrieg 2018-09-16 11:52:49 +03:00 committed by GitHub
parent 284d7db7c1
commit a1867fd71e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
@ -283,8 +281,13 @@ 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( ).
me->add_new_worksheet( ). try.
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.