mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-04 20:28:22 +08:00
Added field WIDTH in field catalog of method BIND_TABLE (#1224)
Fix #1227
This commit is contained in:
parent
aee3b3efa4
commit
c2096d1f9b
|
@ -1083,6 +1083,10 @@ CLASS zcl_excel_worksheet IMPLEMENTATION.
|
|||
|
||||
lv_column_alpha = zcl_excel_common=>convert_column2alpha( lv_column_int ).
|
||||
|
||||
IF <ls_field_catalog>-width IS NOT INITIAL.
|
||||
set_column_width( ip_column = lv_column_alpha ip_width_fix = <ls_field_catalog>-width ).
|
||||
ENDIF.
|
||||
|
||||
" First of all write column header
|
||||
IF <ls_field_catalog>-style_header IS NOT INITIAL.
|
||||
me->set_cell( ip_column = lv_column_alpha
|
||||
|
|
|
@ -123,6 +123,12 @@
|
|||
<ADMINFIELD>0</ADMINFIELD>
|
||||
<COMPTYPE>E</COMPTYPE>
|
||||
</DD03P>
|
||||
<DD03P>
|
||||
<FIELDNAME>WIDTH</FIELDNAME>
|
||||
<ROLLNAME>INT4</ROLLNAME>
|
||||
<ADMINFIELD>0</ADMINFIELD>
|
||||
<COMPTYPE>E</COMPTYPE>
|
||||
</DD03P>
|
||||
</DD03P_TABLE>
|
||||
<I18N_LANGS>
|
||||
<LANGU>1</LANGU>
|
||||
|
|
Loading…
Reference in New Issue
Block a user