Commit f75709b6 by Edgar Hipp

added rId in getImageXmlCentered

parent 2f00c3c9
...@@ -48,7 +48,7 @@ class ImageModule ...@@ -48,7 +48,7 @@ class ImageModule
xmlTemplater.replaceXml(subContent,newText) xmlTemplater.replaceXml(subContent,newText)
null null
getImageXml:(rId="1",imageDescription="")-> getImageXml:(rId,imageDescription="")->
return """ return """
<w:drawing> <w:drawing>
<wp:inline distT="0" distB="0" distL="0" distR="0"> <wp:inline distT="0" distB="0" distL="0" distR="0">
...@@ -99,7 +99,7 @@ class ImageModule ...@@ -99,7 +99,7 @@ class ImageModule
</wp:inline> </wp:inline>
</w:drawing> </w:drawing>
""" """
getImageXmlCentered:(rId="1")-> getImageXmlCentered:(rId)->
""" """
<w:p> <w:p>
<w:pPr> <w:pPr>
...@@ -135,7 +135,7 @@ class ImageModule ...@@ -135,7 +135,7 @@ class ImageModule
</pic:cNvPicPr> </pic:cNvPicPr>
</pic:nvPicPr> </pic:nvPicPr>
<pic:blipFill> <pic:blipFill>
<a:blip r:embed="rId2"/> <a:blip r:embed="rId#{rId}"/>
<a:stretch> <a:stretch>
<a:fillRect/> <a:fillRect/>
</a:stretch> </a:stretch>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment