利用FreeMarker动态生成Word报告:打造灵活的信息表格实例
<#list itemsList as item>
<w:tbl>
<w:tblPr>
<w:tblpPr w:leftFromText="180" w:rightFromText="180" w:vertAnchor="text" w:horzAnchor="page"
w:tblpX="1534" w:tblpY="501"/>
<w:tblOverlap w:val="Never"/>
<w:tblW w:w="11199" w:type="dxa"/>
<w:tblInd w:w="0" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:tblLayout w:type="Fixed"/>
<w:tblCellMar>
<w:top w:w="0" w:type="dxa"/>
<w:left w:w="108" w:type="dxa"/>
<w:bottom w:w="0" w:type="dxa"/>
<w:right w:w="108" w:type="dxa"/>
</w:tblCellMar>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="1596"/>
<w:gridCol w:w="2283"/>
<w:gridCol w:w="1852"/>
<w:gridCol w:w="1733"/>
<w:gridCol w:w="2040"/>
<w:gridCol w:w="1695"/>
</w:tblGrid>
<w:tr>
<w:tblPrEx>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:tblCellMar>
<w:top w:w="0" w:type="dxa"/>
<w:left w:w="108" w:type="dxa"/>
<w:bottom w:w="0" w:type="dxa"/>
<w:right w:w="108" w:type="dxa"/>
</w:tblCellMar>
</w:tblPrEx>
<w:trPr>
<w:cantSplit w:val="on"/>
<w:trHeight w:val="600" w:h-rule="atLeast"/>
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="11199" w:type="dxa"/>
<w:gridSpan w:val="6"/>
<w:tcBorders>
<w:top w:val="single" w:sz="8" wx:bdrwidth="20" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="8" wx:bdrwidth="20" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:noWrap/>
<w:vAlign w:val="center"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:keepNext w:val="off"/>
<w:keepLines w:val="off"/>
<w:widowControl/>
<w:supressLineNumbers w:val="off"/>
<w:jc w:val="center"/>
<w:textAlignment w:val="center"/>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体"
w:hint="fareast"/>
<w:b/>
<w:b-cs/>
<w:i w:val="off"/>
<w:i-cs w:val="off"/>
<w:color w:val="000000"/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
<w:u w:val="none"/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体"
w:hint="fareast"/>
<w:b/>
<w:b-cs/>
<w:i w:val="off"/>
<w:i-cs w:val="off"/>
<w:color w:val="000000"/>
<w:kern w:val="0"/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
<w:u w:val="none"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN" w:bidi="AR-SA"/>
</w:rPr>
<w:t>拜访记录表</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr>
<w:tblPrEx>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:tblCellMar>
<w:top w:w="0" w:type="dxa"/>
<w:left w:w="108" w:type="dxa"/>
<w:bottom w:w="0" w:type="dxa"/>
<w:right w:w="108" w:type="dxa"/>
</w:tblCellMar>
</w:tblPrEx>
<w:trPr>
<w:cantSplit w:val="on"/>
<w:trHeight w:val="600" w:h-rule="atLeast"/>
</w:trPr>
<w:tc>
<w:tcPr>
<w:tcW w:w="1596" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="8" wx:bdrwidth="20" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:noWrap/>
<w:vAlign w:val="center"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:keepNext w:val="off"/>
<w:keepLines w:val="off"/>
<w:widowControl/>
<w:supressLineNumbers w:val="off"/>
<w:jc w:val="center"/>
<w:textAlignment w:val="center"/>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体"
w:hint="fareast"/>
<w:i w:val="off"/>
<w:i-cs w:val="off"/>
<w:color w:val="000000"/>
<w:sz w:val="22"/>
<w:sz-cs w:val="22"/>
<w:u w:val="none"/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体"
w:hint="fareast"/>
<w:i w:val="off"/>
<w:i-cs w:val="off"/>
<w:color w:val="000000"/>
<w:kern w:val="0"/>
<w:sz w:val="22"/>
<w:sz-cs w:val="22"/>
<w:u w:val="none"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN" w:bidi="AR-SA"/>
</w:rPr>
<w:t>日期</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="2283" w:type="dxa"/>
<w:tcBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="000000"/>
</w:tcBorders>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
<w:noWrap/>
<w:vAlign w:val="center"/>
</w:tcPr>
<w:p>
<w:pPr>
<w:jc w:val="center"/>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:fareast="宋体" w:cs="宋体"
w:hint="fareast"/>
<w:i w:val="off"/>
<w:i-cs w:val="off"/>
<w:color w:val="000000"/>
<w:sz w:val="22"/>
<w:sz-cs w:val="22"/>
<w:u w:val="none"/>
</w:rPr>
</w:pPr>
<w:r>
<w:rPr>
<w:rFonts w:ascii="宋体" w:h-ansi="宋体" w:cs="宋体" w:hint="default"/>
<w:color w:val="000000"/>
<w:sz w:val="22"/>
<w:sz-cs w:val="22"/>
</w:rPr>
<w:t>${}</w:t>
</w:r>
</w:p>
</w:tc>
</#list>