lib/write_xlsx/package/button.rb in write_xlsx-1.08.2 vs lib/write_xlsx/package/button.rb in write_xlsx-1.09.0

- old
+ new

@@ -48,33 +48,33 @@ end # attributes for <v:fill> element. def fill_attributes [ - ['color2', 'buttonFace [67]'], - ['o:detectmouseclick', 't'] + ['color2', 'buttonFace [67]'], + ['o:detectmouseclick', 't'] ] end # # Write the <o:lock> element. # def write_rotation_lock attributes = [ - ['v:ext', 'edit'], - ['rotation', 't'] - ] + ['v:ext', 'edit'], + ['rotation', 't'] + ] @writer.empty_tag('o:lock', attributes) end # # Write the <v:textbox> element. # def write_textbox attributes = [ - ['style', 'mso-direction-alt:auto'], - ['o:singleclick', 'f'] - ] + ['style', 'mso-direction-alt:auto'], + ['o:singleclick', 'f'] + ] @writer.tag_elements('v:textbox', attributes) do # Write the div element. write_div('center', font) end