mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-04 15:16:21 +08:00
700 support #562
This commit is contained in:
parent
76f08196b3
commit
42a85aaa18
|
@ -12,6 +12,7 @@
|
|||
<item>/package.json</item>
|
||||
<item>/.travis.yml</item>
|
||||
<item>/_config.yml</item>
|
||||
<item>/abaplint.json</item>
|
||||
</IGNORE>
|
||||
</DATA>
|
||||
</asx:values>
|
||||
|
|
|
@ -2298,7 +2298,8 @@ METHOD create_xl_comments.
|
|||
lo_iterator TYPE REF TO cl_object_collection_iterator,
|
||||
lo_comments TYPE REF TO zcl_excel_comments,
|
||||
lo_comment TYPE REF TO zcl_excel_comment.
|
||||
DATA: lv_rel_id TYPE i.
|
||||
DATA: lv_rel_id TYPE i,
|
||||
lv_author TYPE string.
|
||||
|
||||
DEFINE add_1_val_child_node.
|
||||
* &1: parent element
|
||||
|
@ -2344,7 +2345,8 @@ METHOD create_xl_comments.
|
|||
|
||||
lo_element_author = lo_document->create_simple_element( name = lc_xml_node_author
|
||||
parent = lo_document ).
|
||||
lo_element_author->set_value( |{ sy-uname }| ).
|
||||
lv_author = sy-uname.
|
||||
lo_element_author->set_value( lv_author ).
|
||||
|
||||
lo_element_authors->append_child( new_child = lo_element_author ).
|
||||
lo_element_root->append_child( new_child = lo_element_authors ).
|
||||
|
@ -2978,7 +2980,11 @@ METHOD create_xl_drawing_for_comments.
|
|||
lv_row TYPE zexcel_cell_row,
|
||||
lv_str_column TYPE zexcel_cell_column_alpha,
|
||||
lv_column TYPE zexcel_cell_column,
|
||||
lv_index TYPE i.
|
||||
lv_index TYPE i,
|
||||
lv_attr_id_index TYPE i,
|
||||
lv_attr_id TYPE string,
|
||||
lv_int_value TYPE i,
|
||||
lv_int_value_string TYPE string.
|
||||
DATA: lv_rel_id TYPE i.
|
||||
|
||||
DEFINE add_1_val_child_node.
|
||||
|
@ -3072,7 +3078,10 @@ METHOD create_xl_drawing_for_comments.
|
|||
lo_element_shape = lo_document->create_simple_element( name = lc_xml_node_shape
|
||||
parent = lo_document ).
|
||||
|
||||
lo_element_shape->set_attribute_ns( : name = lc_xml_attr_id value = |_x0000_s{ 1024 + lv_index }| ),
|
||||
lv_attr_id_index = 1024 + lv_index.
|
||||
lv_attr_id = lv_attr_id_index.
|
||||
CONCATENATE '_x0000_s' lv_attr_id INTO lv_attr_id.
|
||||
lo_element_shape->set_attribute_ns( : name = lc_xml_attr_id value = lv_attr_id ),
|
||||
name = lc_xml_attr_type value = '#_x0000_t202' ),
|
||||
name = lc_xml_attr_style value = 'size:auto;width:auto;height:auto;position:absolute;margin-left:117pt;margin-top:172.5pt;z-index:1;visibility:hidden' ),
|
||||
name = lc_xml_attr_fillcolor value = '#ffffe1' ),
|
||||
|
@ -3124,13 +3133,15 @@ METHOD create_xl_drawing_for_comments.
|
|||
lo_element_clientdata->append_child( new_child = lo_element_autofill ).
|
||||
lo_element_row = lo_document->create_simple_element( name = lc_xml_node_row
|
||||
parent = lo_document ).
|
||||
* lo_element_row->set_value( '12' ).
|
||||
lo_element_row->set_value( |{ lv_row - 1 }| ).
|
||||
lv_int_value = lv_row - 1.
|
||||
lv_int_value_string = lv_int_value.
|
||||
lo_element_row->set_value( lv_int_value_string ).
|
||||
lo_element_clientdata->append_child( new_child = lo_element_row ).
|
||||
lo_element_column = lo_document->create_simple_element( name = lc_xml_node_column
|
||||
parent = lo_document ).
|
||||
* lo_element_column->set_value( '1' ).
|
||||
lo_element_column->set_value( |{ lv_column - 1 }| ).
|
||||
lv_int_value = lv_column - 1.
|
||||
lv_int_value_string = lv_int_value.
|
||||
lo_element_column->set_value( lv_int_value_string ).
|
||||
lo_element_clientdata->append_child( new_child = lo_element_column ).
|
||||
|
||||
lo_element_shape->append_child( new_child = lo_element_clientdata ).
|
||||
|
|
Loading…
Reference in New Issue
Block a user