Method: Writexlsx::Package::Button#write_shape
- Defined in:
- lib/write_xlsx/package/button.rb
#write_shape(writer, id, z_index) ⇒ Object
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'lib/write_xlsx/package/button.rb', line 90 def write_shape(writer, id, z_index) @writer = writer attributes = v_shape_attributes(id, z_index) @writer.tag_elements('v:shape', attributes) do # Write the v:fill element. write_fill # Write the o:lock element. write_rotation_lock # Write the v:textbox element. write_textbox # Write the x:ClientData element. write_client_data end end |