|
@@ -29,18 +29,18 @@
|
|
|
</w:pPr>
|
|
|
</#if>
|
|
|
<#list section.elements as element>
|
|
|
- <#if element.type="image">
|
|
|
+ <#if element.type=="image">
|
|
|
<w:r>
|
|
|
<w:rPr>
|
|
|
<w:noProof />
|
|
|
</w:rPr>
|
|
|
<w:drawing>
|
|
|
<wp:inline distT="0" distB="0" distL="0" distR="0">
|
|
|
- <wp:extent cx="${element.params.width}"
|
|
|
- cy="${element.params.height}" />
|
|
|
+ <wp:extent cx="${element.param.width}"
|
|
|
+ cy="${element.param.height}" />
|
|
|
<wp:effectExtent l="0" t="0" r="0" b="0" />
|
|
|
- <wp:docPr id="${element.params.index}"
|
|
|
- name="图片 ${element.params.index}" />
|
|
|
+ <wp:docPr id="${element.param.index}"
|
|
|
+ name="图片 ${element.param.index}" />
|
|
|
<wp:cNvGraphicFramePr>
|
|
|
<a:graphicFrameLocks
|
|
|
xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"
|
|
@@ -57,7 +57,7 @@
|
|
|
<pic:cNvPicPr />
|
|
|
</pic:nvPicPr>
|
|
|
<pic:blipFill>
|
|
|
- <a:blip r:embed="${element.params.rid}" />
|
|
|
+ <a:blip r:embed="${element.param.rid}" />
|
|
|
<a:stretch>
|
|
|
<a:fillRect />
|
|
|
</a:stretch>
|
|
@@ -65,8 +65,8 @@
|
|
|
<pic:spPr>
|
|
|
<a:xfrm>
|
|
|
<a:off x="0" y="0" />
|
|
|
- <a:ext cx="${element.params.width}"
|
|
|
- cy="${element.params.height}" />
|
|
|
+ <a:ext cx="${element.param.width}"
|
|
|
+ cy="${element.param.height}" />
|
|
|
</a:xfrm>
|
|
|
<a:prstGeom prst="rect">
|
|
|
<a:avLst />
|
|
@@ -79,7 +79,7 @@
|
|
|
</w:drawing>
|
|
|
</w:r>
|
|
|
<#else>
|
|
|
- <#if element.params?exists&&element.params.tab>
|
|
|
+ <#if element.param?exists&&element.param.tab>
|
|
|
<w:r>
|
|
|
<w:tab/>
|
|
|
</w:r>
|