*"* local class implementation for public class *"* use this source file for the implementation part of *"* local helper classes *"* use this source file for any type declarations (class *"* definitions, interfaces or data types) you need for method *"* implementation or private method's signature *"* use this source file for any macro definitions you need *"* in the implementation part of the class ABAP method CONSTRUCTOR. me->column_index = zcl_excel_common=>convert_column2int( ip_index ). me->width = -1. me->auto_size = abap_false. me->visible = abap_true. me->outline_level = 0. me->collapsed = abap_false. me->excel = ip_excel. "ins issue #157 - Allow Style for columns me->worksheet = ip_worksheet. "ins issue #157 - Allow Style for columns " set default index to cellXf me->xf_index = 0. endmethod. method GET_AUTO_SIZE. r_auto_size = me->auto_size. endmethod. method GET_COLLAPSED. r_Collapsed = me->Collapsed. endmethod. method GET_COLUMN_INDEX. r_column_index = me->column_index. endmethod. method GET_COLUMN_STYLE_GUID. IF me->style_guid IS NOT INITIAL. ep_style_guid = me->style_guid. ELSE. ep_style_guid = me->worksheet->zif_excel_sheet_properties~get_style( ). ENDIF. endmethod. method GET_OUTLINE_LEVEL. r_outline_level = me->outline_level. endmethod. method GET_VISIBLE. r_Visible = me->Visible. endmethod. method GET_WIDTH. r_WIDTH = me->WIDTH. endmethod. method GET_XF_INDEX. r_xf_index = me->xf_index. endmethod. method SET_AUTO_SIZE. me->auto_size = ip_auto_size. r_worksheet_columndime = me. endmethod. method SET_COLLAPSED. me->Collapsed = ip_Collapsed. r_worksheet_columndime = me. endmethod. method SET_COLUMN_INDEX. me->column_index = zcl_excel_common=>convert_column2int( ip_index ). r_worksheet_columndime = me. endmethod. method SET_COLUMN_STYLE_BY_GUID. DATA: stylemapping TYPE zexcel_s_stylemapping. IF me->excel IS NOT BOUND. RAISE EXCEPTION TYPE zcx_excel EXPORTING error = 'Internal error - reference to ZCL_EXCEL not bound'. ENDIF. TRY. stylemapping = me->excel->get_style_to_guid( ip_style_guid ). me->style_guid = stylemapping-guid. CATCH zcx_excel . EXIT. " leave as is in case of error ENDTRY. endmethod. method SET_OUTLINE_LEVEL. me->outline_level = ip_outline_level. endmethod. method SET_VISIBLE. me->Visible = ip_Visible. r_worksheet_columndime = me. endmethod. method SET_WIDTH. TRY. me->width = ip_width. r_worksheet_columndime = me. CATCH cx_sy_conversion_no_number. RAISE EXCEPTION TYPE zcx_excel EXPORTING error = 'Unable to interpret width as number'. ENDTRY. endmethod. method SET_XF_INDEX. me->XF_INDEX = ip_XF_INDEX. r_worksheet_columndime = me. endmethod.