summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/drawing/vml_shape.rb
diff options
context:
space:
mode:
authorRandy Morgan <[email protected]>2012-05-19 09:44:29 +0900
committerRandy Morgan <[email protected]>2012-05-19 09:44:29 +0900
commit869acca69612b9197d5bdf7ff8c543e51438f9ed (patch)
tree924edd9fafae0c77229c2d9979f8dfc317179a8d /lib/axlsx/drawing/vml_shape.rb
parentc8b40481b1ab947fbb783657e19749b59b716cfe (diff)
downloadcaxlsx-869acca69612b9197d5bdf7ff8c543e51438f9ed.tar.gz
caxlsx-869acca69612b9197d5bdf7ff8c543e51438f9ed.zip
correct relation management for comments and some spec improvements for package to provide more breadth in serialization integration testing.
Diffstat (limited to 'lib/axlsx/drawing/vml_shape.rb')
-rw-r--r--lib/axlsx/drawing/vml_shape.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/axlsx/drawing/vml_shape.rb b/lib/axlsx/drawing/vml_shape.rb
index c4b56237..c915d7e5 100644
--- a/lib/axlsx/drawing/vml_shape.rb
+++ b/lib/axlsx/drawing/vml_shape.rb
@@ -100,14 +100,10 @@ module Axlsx
def to_xml_string(str ='')
str << <<SHAME_ON_YOU
-<v:shape id="#{@id}" type="#_x0000_t202"
-style='position:absolute;margin-left:104pt;margin-top:2pt;width:800px;height:27pt;z-index:1;mso-wrap-style:tight'
- fillcolor="#ffffa1 [80]" o:insetmode="auto">
-
+<v:shape id="#{@id}" type="#_x0000_t202" fillcolor="#ffffa1 [80]" o:insetmode="auto">
<v:fill color2="#ffffa1 [80]"/>
<v:shadow on="t" obscured="t"/>
<v:path o:connecttype="none"/>
-
<v:textbox style='mso-fit-text-with-word-wrap:t'>
<div style='text-align:left'></div>
</v:textbox>