JAVA根据ftl模板生成需要的多表格word文档
效果如下图:
第一步:编辑模板
第二步:另存为xml格式
第三步:改为ftl模板格式,并编辑ftl模板
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?mso-application progid="Word.Document"?>
<w:wordDocument xmlns:aml="http://schemas.microsoft.com/aml/2001/core" xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w10="urn:schemas-microsoft-com:office:word" xmlns:w="http://schemas.microsoft.com/office/word/2003/wordml" xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint" xmlns:wne="http://schemas.microsoft.com/office/word/2006/wordml" xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2" xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core" w:macrosPresent="no" w:embeddedObjPresent="no" w:ocxPresent="no" xml:space="preserve">
<w:ignoreSubtree w:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/>
<o:DocumentProperties>
<o:Author>郑加威</o:Author>
<o:LastAuthor>郑加威</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2014-12-08T12:37:00Z</o:Created>
<o:LastSaved>2014-12-08T12:37:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>30</o:Words>
<o:Characters>177</o:Characters>
<o:Company>微软中国</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>206</o:CharactersWithSpaces>
<o:Version>15</o:Version>
</o:DocumentProperties>
<w:fonts>
<w:defaultFonts w:ascii="Calibri" w:fareast="宋体" w:h-ansi="Calibri" w:cs="Times New Roman"/>
<w:font w:name="Times New Roman">
<w:panose-1 w:val="02020603050405020304"/>
<w:charset w:val="00"/>
<w:family w:val="Roman"/>
<w:pitch w:val="variable"/>
<w:sig w:usb-0="E0002AFF" w:usb-1="C0007841" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="000001FF" w:csb-1="00000000"/>
</w:font>
<w:font w:name="Arial">
<w:panose-1 w:val="020B0604020202020204"/>
<w:charset w:val="00"/>
<w:family w:val="Swiss"/>
<w:pitch w:val="variable"/>
<w:sig w:usb-0="E0002AFF" w:usb-1="C0007843" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="000001FF" w:csb-1="00000000"/>
</w:font>
<w:font w:name="宋体">
<w:altName w:val="SimSun"/>
<w:panose-1 w:val="02010600030101010101"/>
<w:charset w:val="86"/>
<w:family w:val="auto"/>
<w:pitch w:val="variable"/>
<w:sig w:usb-0="00000003" w:usb-1="288F0000" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
</w:font>
<w:font w:name="黑体">
<w:altName w:val="SimHei"/>
<w:panose-1 w:val="02010609060101010101"/>
<w:charset w:val="86"/>
<w:family w:val="Modern"/>
<w:pitch w:val="fixed"/>
<w:sig w:usb-0="800002BF" w:usb-1="38CF7CFA" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
</w:font>
<w:font w:name="Cambria Math">
<w:panose-1 w:val="02040503050406030204"/>
<w:charset w:val="01"/>
<w:family w:val="Roman"/>
<w:notTrueType/>
<w:pitch w:val="variable"/>
</w:font>
<w:font w:name="Calibri">
<w:panose-1 w:val="020F0502020204030204"/>
<w:charset w:val="00"/>
<w:family w:val="Swiss"/>
<w:pitch w:val="variable"/>
<w:sig w:usb-0="E10002FF" w:usb-1="4000ACFF" w:usb-2="00000009" w:usb-3="00000000" w:csb-0="0000019F" w:csb-1="00000000"/>
</w:font>
<w:font w:name="@黑体">
<w:panose-1 w:val="02010609060101010101"/>
<w:charset w:val="86"/>
<w:family w:val="Modern"/>
<w:pitch w:val="fixed"/>
<w:sig w:usb-0="800002BF" w:usb-1="38CF7CFA" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
</w:font>
<w:font w:name="@宋体">
<w:panose-1 w:val="02010600030101010101"/>
<w:charset w:val="86"/>
<w:family w:val="auto"/>
<w:pitch w:val="variable"/>
<w:sig w:usb-0="00000003" w:usb-1="288F0000" w:usb-2="00000016" w:usb-3="00000000" w:csb-0="00040001" w:csb-1="00000000"/>
</w:font>
</w:fonts>
<w:lists>
<w:listDef w:listDefId="0">
<w:lsid w:val="1E850E47"/>
<w:plt w:val="Multilevel"/>
<w:tmpl w:val="04090025"/>
<w:lvl w:ilvl="0">
<w:start w:val="1"/>
<w:pStyle w:val="1"/>
<w:lvlText w:val="%1"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="432"/>
</w:tabs>
<w:ind w:left="432" w:hanging="432"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="1">
<w:start w:val="1"/>
<w:pStyle w:val="2"/>
<w:lvlText w:val="%1.%2"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="576"/>
</w:tabs>
<w:ind w:left="576" w:hanging="576"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="2">
<w:start w:val="1"/>
<w:pStyle w:val="3"/>
<w:lvlText w:val="%1.%2.%3"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="720"/>
</w:tabs>
<w:ind w:left="720" w:hanging="720"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="3">
<w:start w:val="1"/>
<w:pStyle w:val="4"/>
<w:lvlText w:val="%1.%2.%3.%4"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="864"/>
</w:tabs>
<w:ind w:left="864" w:hanging="864"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="4">
<w:start w:val="1"/>
<w:pStyle w:val="5"/>
<w:lvlText w:val="%1.%2.%3.%4.%5"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1008"/>
</w:tabs>
<w:ind w:left="1008" w:hanging="1008"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="5">
<w:start w:val="1"/>
<w:pStyle w:val="6"/>
<w:lvlText w:val="%1.%2.%3.%4.%5.%6"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1152"/>
</w:tabs>
<w:ind w:left="1152" w:hanging="1152"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="6">
<w:start w:val="1"/>
<w:pStyle w:val="7"/>
<w:lvlText w:val="%1.%2.%3.%4.%5.%6.%7"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1296"/>
</w:tabs>
<w:ind w:left="1296" w:hanging="1296"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="7">
<w:start w:val="1"/>
<w:pStyle w:val="8"/>
<w:lvlText w:val="%1.%2.%3.%4.%5.%6.%7.%8"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1440"/>
</w:tabs>
<w:ind w:left="1440" w:hanging="1440"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="8">
<w:start w:val="1"/>
<w:pStyle w:val="9"/>
<w:lvlText w:val="%1.%2.%3.%4.%5.%6.%7.%8.%9"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1584"/>
</w:tabs>
<w:ind w:left="1584" w:hanging="1584"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:lvl>
</w:listDef>
<w:list w:ilfo="1">
<w:ilst w:val="0"/>
</w:list>
</w:lists>
<w:styles>
<w:versionOfBuiltInStylenames w:val="7"/>
<w:latentStyles w:defLockedState="off" w:latentStyleCount="371">
<w:lsdException w:name="Normal"/>
<w:lsdException w:name="heading 1"/>
<w:lsdException w:name="heading 2"/>
<w:lsdException w:name="heading 3"/>
<w:lsdException w:name="heading 4"/>
<w:lsdException w:name="heading 5"/>
<w:lsdException w:name="heading 6"/>
<w:lsdException w:name="heading 7"/>
<w:lsdException w:name="heading 8"/>
<w:lsdException w:name="heading 9"/>
<w:lsdException w:name="index 1"/>
<w:lsdException w:name="index 2"/>
<w:lsdException w:name="index 3"/>
<w:lsdException w:name="index 4"/>
<w:lsdException w:name="index 5"/>
<w:lsdException w:name="index 6"/>
<w:lsdException w:name="index 7"/>
<w:lsdException w:name="index 8"/>
<w:lsdException w:name="index 9"/>
<w:lsdException w:name="toc 1"/>
<w:lsdException w:name="toc 2"/>
<w:lsdException w:name="toc 3"/>
<w:lsdException w:name="toc 4"/>
<w:lsdException w:name="toc 5"/>
<w:lsdException w:name="toc 6"/>
<w:lsdException w:name="toc 7"/>
<w:lsdException w:name="toc 8"/>
<w:lsdException w:name="toc 9"/>
<w:lsdException w:name="Normal Indent"/>
<w:lsdException w:name="footnote text"/>
<w:lsdException w:name="annotation text"/>
<w:lsdException w:name="header"/>
<w:lsdException w:name="footer"/>
<w:lsdException w:name="index heading"/>
<w:lsdException w:name="caption"/>
<w:lsdException w:name="table of figures"/>
<w:lsdException w:name="envelope address"/>
<w:lsdException w:name="envelope return"/>
<w:lsdException w:name="footnote reference"/>
<w:lsdException w:name="annotation reference"/>
<w:lsdException w:name="line number"/>
<w:lsdException w:name="page number"/>
<w:lsdException w:name="endnote reference"/>
<w:lsdException w:name="endnote text"/>
<w:lsdException w:name="table of authorities"/>
<w:lsdException w:name="macro"/>
<w:lsdException w:name="toa heading"/>
<w:lsdException w:name="List"/>
<w:lsdException w:name="List Bullet"/>
<w:lsdException w:name="List Number"/>
<w:lsdException w:name="List 2"/>
<w:lsdException w:name="List 3"/>
<w:lsdException w:name="List 4"/>
<w:lsdException w:name="List 5"/>
<w:lsdException w:name="List Bullet 2"/>
<w:lsdException w:name="List Bullet 3"/>
<w:lsdException w:name="List Bullet 4"/>
<w:lsdException w:name="List Bullet 5"/>
<w:lsdException w:name="List Number 2"/>
<w:lsdException w:name="List Number 3"/>
<w:lsdException w:name="List Number 4"/>
<w:lsdException w:name="List Number 5"/>
<w:lsdException w:name="Title"/>
<w:lsdException w:name="Closing"/>
<w:lsdException w:name="Signature"/>
<w:lsdException w:name="Default Paragraph Font"/>
<w:lsdException w:name="Body Text"/>
<w:lsdException w:name="Body Text Indent"/>
<w:lsdException w:name="List Continue"/>
<w:lsdException w:name="List Continue 2"/>
<w:lsdException w:name="List Continue 3"/>
<w:lsdException w:name="List Continue 4"/>
<w:lsdException w:name="List Continue 5"/>
<w:lsdException w:name="Message Header"/>
<w:lsdException w:name="Subtitle"/>
<w:lsdException w:name="Salutation"/>
<w:lsdException w:name="Date"/>
<w:lsdException w:name="Body Text First Indent"/>
<w:lsdException w:name="Body Text First Indent 2"/>
<w:lsdException w:name="Note Heading"/>
<w:lsdException w:name="Body Text 2"/>
<w:lsdException w:name="Body Text 3"/>
<w:lsdException w:name="Body Text Indent 2"/>
<w:lsdException w:name="Body Text Indent 3"/>
<w:lsdException w:name="Block Text"/>
<w:lsdException w:name="Hyperlink"/>
<w:lsdException w:name="FollowedHyperlink"/>
<w:lsdException w:name="Strong"/>
<w:lsdException w:name="Emphasis"/>
<w:lsdException w:name="Document Map"/>
<w:lsdException w:name="Plain Text"/>
<w:lsdException w:name="E-mail Signature"/>
<w:lsdException w:name="HTML Top of Form"/>
<w:lsdException w:name="HTML Bottom of Form"/>
<w:lsdException w:name="Normal (Web)"/>
<w:lsdException w:name="HTML Acronym"/>
<w:lsdException w:name="HTML Address"/>
<w:lsdException w:name="HTML Cite"/>
<w:lsdException w:name="HTML Code"/>
<w:lsdException w:name="HTML Definition"/>
<w:lsdException w:name="HTML Keyboard"/>
<w:lsdException w:name="HTML Preformatted"/>
<w:lsdException w:name="HTML Sample"/>
<w:lsdException w:name="HTML Typewriter"/>
<w:lsdException w:name="HTML Variable"/>
<w:lsdException w:name="Normal Table"/>
<w:lsdException w:name="annotation subject"/>
<w:lsdException w:name="No List"/>
<w:lsdException w:name="Outline List 1"/>
<w:lsdException w:name="Outline List 2"/>
<w:lsdException w:name="Outline List 3"/>
<w:lsdException w:name="Table Simple 1"/>
<w:lsdException w:name="Table Simple 2"/>
<w:lsdException w:name="Table Simple 3"/>
<w:lsdException w:name="Table Classic 1"/>
<w:lsdException w:name="Table Classic 2"/>
<w:lsdException w:name="Table Classic 3"/>
<w:lsdException w:name="Table Classic 4"/>
<w:lsdException w:name="Table Colorful 1"/>
<w:lsdException w:name="Table Colorful 2"/>
<w:lsdException w:name="Table Colorful 3"/>
<w:lsdException w:name="Table Columns 1"/>
<w:lsdException w:name="Table Columns 2"/>
<w:lsdException w:name="Table Columns 3"/>
<w:lsdException w:name="Table Columns 4"/>
<w:lsdException w:name="Table Columns 5"/>
<w:lsdException w:name="Table Grid 1"/>
<w:lsdException w:name="Table Grid 2"/>
<w:lsdException w:name="Table Grid 3"/>
<w:lsdException w:name="Table Grid 4"/>
<w:lsdException w:name="Table Grid 5"/>
<w:lsdException w:name="Table Grid 6"/>
<w:lsdException w:name="Table Grid 7"/>
<w:lsdException w:name="Table Grid 8"/>
<w:lsdException w:name="Table List 1"/>
<w:lsdException w:name="Table List 2"/>
<w:lsdException w:name="Table List 3"/>
<w:lsdException w:name="Table List 4"/>
<w:lsdException w:name="Table List 5"/>
<w:lsdException w:name="Table List 6"/>
<w:lsdException w:name="Table List 7"/>
<w:lsdException w:name="Table List 8"/>
<w:lsdException w:name="Table 3D effects 1"/>
<w:lsdException w:name="Table 3D effects 2"/>
<w:lsdException w:name="Table 3D effects 3"/>
<w:lsdException w:name="Table Contemporary"/>
<w:lsdException w:name="Table Elegant"/>
<w:lsdException w:name="Table Professional"/>
<w:lsdException w:name="Table Subtle 1"/>
<w:lsdException w:name="Table Subtle 2"/>
<w:lsdException w:name="Table Web 1"/>
<w:lsdException w:name="Table Web 2"/>
<w:lsdException w:name="Table Web 3"/>
<w:lsdException w:name="Balloon Text"/>
<w:lsdException w:name="Table Grid"/>
<w:lsdException w:name="Table Theme"/>
<w:lsdException w:name="Placeholder Text"/>
<w:lsdException w:name="No Spacing"/>
<w:lsdException w:name="Light Shading"/>
<w:lsdException w:name="Light List"/>
<w:lsdException w:name="Light Grid"/>
<w:lsdException w:name="Medium Shading 1"/>
<w:lsdException w:name="Medium Shading 2"/>
<w:lsdException w:name="Medium List 1"/>
<w:lsdException w:name="Medium List 2"/>
<w:lsdException w:name="Medium Grid 1"/>
<w:lsdException w:name="Medium Grid 2"/>
<w:lsdException w:name="Medium Grid 3"/>
<w:lsdException w:name="Dark List"/>
<w:lsdException w:name="Colorful Shading"/>
<w:lsdException w:name="Colorful List"/>
<w:lsdException w:name="Colorful Grid"/>
<w:lsdException w:name="Light Shading Accent 1"/>
<w:lsdException w:name="Light List Accent 1"/>
<w:lsdException w:name="Light Grid Accent 1"/>
<w:lsdException w:name="Medium Shading 1 Accent 1"/>
<w:lsdException w:name="Medium Shading 2 Accent 1"/>
<w:lsdException w:name="Medium List 1 Accent 1"/>
<w:lsdException w:name="Revision"/>
<w:lsdException w:name="List Paragraph"/>
<w:lsdException w:name="Quote"/>
<w:lsdException w:name="Intense Quote"/>
<w:lsdException w:name="Medium List 2 Accent 1"/>
<w:lsdException w:name="Medium Grid 1 Accent 1"/>
<w:lsdException w:name="Medium Grid 2 Accent 1"/>
<w:lsdException w:name="Medium Grid 3 Accent 1"/>
<w:lsdException w:name="Dark List Accent 1"/>
<w:lsdException w:name="Colorful Shading Accent 1"/>
<w:lsdException w:name="Colorful List Accent 1"/>
<w:lsdException w:name="Colorful Grid Accent 1"/>
<w:lsdException w:name="Light Shading Accent 2"/>
<w:lsdException w:name="Light List Accent 2"/>
<w:lsdException w:name="Light Grid Accent 2"/>
<w:lsdException w:name="Medium Shading 1 Accent 2"/>
<w:lsdException w:name="Medium Shading 2 Accent 2"/>
<w:lsdException w:name="Medium List 1 Accent 2"/>
<w:lsdException w:name="Medium List 2 Accent 2"/>
<w:lsdException w:name="Medium Grid 1 Accent 2"/>
<w:lsdException w:name="Medium Grid 2 Accent 2"/>
<w:lsdException w:name="Medium Grid 3 Accent 2"/>
<w:lsdException w:name="Dark List Accent 2"/>
<w:lsdException w:name="Colorful Shading Accent 2"/>
<w:lsdException w:name="Colorful List Accent 2"/>
<w:lsdException w:name="Colorful Grid Accent 2"/>
<w:lsdException w:name="Light Shading Accent 3"/>
<w:lsdException w:name="Light List Accent 3"/>
<w:lsdException w:name="Light Grid Accent 3"/>
<w:lsdException w:name="Medium Shading 1 Accent 3"/>
<w:lsdException w:name="Medium Shading 2 Accent 3"/>
<w:lsdException w:name="Medium List 1 Accent 3"/>
<w:lsdException w:name="Medium List 2 Accent 3"/>
<w:lsdException w:name="Medium Grid 1 Accent 3"/>
<w:lsdException w:name="Medium Grid 2 Accent 3"/>
<w:lsdException w:name="Medium Grid 3 Accent 3"/>
<w:lsdException w:name="Dark List Accent 3"/>
<w:lsdException w:name="Colorful Shading Accent 3"/>
<w:lsdException w:name="Colorful List Accent 3"/>
<w:lsdException w:name="Colorful Grid Accent 3"/>
<w:lsdException w:name="Light Shading Accent 4"/>
<w:lsdException w:name="Light List Accent 4"/>
<w:lsdException w:name="Light Grid Accent 4"/>
<w:lsdException w:name="Medium Shading 1 Accent 4"/>
<w:lsdException w:name="Medium Shading 2 Accent 4"/>
<w:lsdException w:name="Medium List 1 Accent 4"/>
<w:lsdException w:name="Medium List 2 Accent 4"/>
<w:lsdException w:name="Medium Grid 1 Accent 4"/>
<w:lsdException w:name="Medium Grid 2 Accent 4"/>
<w:lsdException w:name="Medium Grid 3 Accent 4"/>
<w:lsdException w:name="Dark List Accent 4"/>
<w:lsdException w:name="Colorful Shading Accent 4"/>
<w:lsdException w:name="Colorful List Accent 4"/>
<w:lsdException w:name="Colorful Grid Accent 4"/>
<w:lsdException w:name="Light Shading Accent 5"/>
<w:lsdException w:name="Light List Accent 5"/>
<w:lsdException w:name="Light Grid Accent 5"/>
<w:lsdException w:name="Medium Shading 1 Accent 5"/>
<w:lsdException w:name="Medium Shading 2 Accent 5"/>
<w:lsdException w:name="Medium List 1 Accent 5"/>
<w:lsdException w:name="Medium List 2 Accent 5"/>
<w:lsdException w:name="Medium Grid 1 Accent 5"/>
<w:lsdException w:name="Medium Grid 2 Accent 5"/>
<w:lsdException w:name="Medium Grid 3 Accent 5"/>
<w:lsdException w:name="Dark List Accent 5"/>
<w:lsdException w:name="Colorful Shading Accent 5"/>
<w:lsdException w:name="Colorful List Accent 5"/>
<w:lsdException w:name="Colorful Grid Accent 5"/>
<w:lsdException w:name="Light Shading Accent 6"/>
<w:lsdException w:name="Light List Accent 6"/>
<w:lsdException w:name="Light Grid Accent 6"/>
<w:lsdException w:name="Medium Shading 1 Accent 6"/>
<w:lsdException w:name="Medium Shading 2 Accent 6"/>
<w:lsdException w:name="Medium List 1 Accent 6"/>
<w:lsdException w:name="Medium List 2 Accent 6"/>
<w:lsdException w:name="Medium Grid 1 Accent 6"/>
<w:lsdException w:name="Medium Grid 2 Accent 6"/>
<w:lsdException w:name="Medium Grid 3 Accent 6"/>
<w:lsdException w:name="Dark List Accent 6"/>
<w:lsdException w:name="Colorful Shading Accent 6"/>
<w:lsdException w:name="Colorful List Accent 6"/>
<w:lsdException w:name="Colorful Grid Accent 6"/>
<w:lsdException w:name="Subtle Emphasis"/>
<w:lsdException w:name="Intense Emphasis"/>
<w:lsdException w:name="Subtle Reference"/>
<w:lsdException w:name="Intense Reference"/>
<w:lsdException w:name="Book Title"/>
<w:lsdException w:name="Bibliography"/>
<w:lsdException w:name="TOC Heading"/>
<w:lsdException w:name="Plain Table 1"/>
<w:lsdException w:name="Plain Table 2"/>
<w:lsdException w:name="Plain Table 3"/>
<w:lsdException w:name="Plain Table 4"/>
<w:lsdException w:name="Plain Table 5"/>
<w:lsdException w:name="Grid Table Light"/>
<w:lsdException w:name="Grid Table 1 Light"/>
<w:lsdException w:name="Grid Table 2"/>
<w:lsdException w:name="Grid Table 3"/>
<w:lsdException w:name="Grid Table 4"/>
<w:lsdException w:name="Grid Table 5 Dark"/>
<w:lsdException w:name="Grid Table 6 Colorful"/>
<w:lsdException w:name="Grid Table 7 Colorful"/>
<w:lsdException w:name="Grid Table 1 Light Accent 1"/>
<w:lsdException w:name="Grid Table 2 Accent 1"/>
<w:lsdException w:name="Grid Table 3 Accent 1"/>
<w:lsdException w:name="Grid Table 4 Accent 1"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 1"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 1"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 1"/>
<w:lsdException w:name="Grid Table 1 Light Accent 2"/>
<w:lsdException w:name="Grid Table 2 Accent 2"/>
<w:lsdException w:name="Grid Table 3 Accent 2"/>
<w:lsdException w:name="Grid Table 4 Accent 2"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 2"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 2"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 2"/>
<w:lsdException w:name="Grid Table 1 Light Accent 3"/>
<w:lsdException w:name="Grid Table 2 Accent 3"/>
<w:lsdException w:name="Grid Table 3 Accent 3"/>
<w:lsdException w:name="Grid Table 4 Accent 3"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 3"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 3"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 3"/>
<w:lsdException w:name="Grid Table 1 Light Accent 4"/>
<w:lsdException w:name="Grid Table 2 Accent 4"/>
<w:lsdException w:name="Grid Table 3 Accent 4"/>
<w:lsdException w:name="Grid Table 4 Accent 4"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 4"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 4"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 4"/>
<w:lsdException w:name="Grid Table 1 Light Accent 5"/>
<w:lsdException w:name="Grid Table 2 Accent 5"/>
<w:lsdException w:name="Grid Table 3 Accent 5"/>
<w:lsdException w:name="Grid Table 4 Accent 5"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 5"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 5"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 5"/>
<w:lsdException w:name="Grid Table 1 Light Accent 6"/>
<w:lsdException w:name="Grid Table 2 Accent 6"/>
<w:lsdException w:name="Grid Table 3 Accent 6"/>
<w:lsdException w:name="Grid Table 4 Accent 6"/>
<w:lsdException w:name="Grid Table 5 Dark Accent 6"/>
<w:lsdException w:name="Grid Table 6 Colorful Accent 6"/>
<w:lsdException w:name="Grid Table 7 Colorful Accent 6"/>
<w:lsdException w:name="List Table 1 Light"/>
<w:lsdException w:name="List Table 2"/>
<w:lsdException w:name="List Table 3"/>
<w:lsdException w:name="List Table 4"/>
<w:lsdException w:name="List Table 5 Dark"/>
<w:lsdException w:name="List Table 6 Colorful"/>
<w:lsdException w:name="List Table 7 Colorful"/>
<w:lsdException w:name="List Table 1 Light Accent 1"/>
<w:lsdException w:name="List Table 2 Accent 1"/>
<w:lsdException w:name="List Table 3 Accent 1"/>
<w:lsdException w:name="List Table 4 Accent 1"/>
<w:lsdException w:name="List Table 5 Dark Accent 1"/>
<w:lsdException w:name="List Table 6 Colorful Accent 1"/>
<w:lsdException w:name="List Table 7 Colorful Accent 1"/>
<w:lsdException w:name="List Table 1 Light Accent 2"/>
<w:lsdException w:name="List Table 2 Accent 2"/>
<w:lsdException w:name="List Table 3 Accent 2"/>
<w:lsdException w:name="List Table 4 Accent 2"/>
<w:lsdException w:name="List Table 5 Dark Accent 2"/>
<w:lsdException w:name="List Table 6 Colorful Accent 2"/>
<w:lsdException w:name="List Table 7 Colorful Accent 2"/>
<w:lsdException w:name="List Table 1 Light Accent 3"/>
<w:lsdException w:name="List Table 2 Accent 3"/>
<w:lsdException w:name="List Table 3 Accent 3"/>
<w:lsdException w:name="List Table 4 Accent 3"/>
<w:lsdException w:name="List Table 5 Dark Accent 3"/>
<w:lsdException w:name="List Table 6 Colorful Accent 3"/>
<w:lsdException w:name="List Table 7 Colorful Accent 3"/>
<w:lsdException w:name="List Table 1 Light Accent 4"/>
<w:lsdException w:name="List Table 2 Accent 4"/>
<w:lsdException w:name="List Table 3 Accent 4"/>
<w:lsdException w:name="List Table 4 Accent 4"/>
<w:lsdException w:name="List Table 5 Dark Accent 4"/>
<w:lsdException w:name="List Table 6 Colorful Accent 4"/>
<w:lsdException w:name="List Table 7 Colorful Accent 4"/>
<w:lsdException w:name="List Table 1 Light Accent 5"/>
<w:lsdException w:name="List Table 2 Accent 5"/>
<w:lsdException w:name="List Table 3 Accent 5"/>
<w:lsdException w:name="List Table 4 Accent 5"/>
<w:lsdException w:name="List Table 5 Dark Accent 5"/>
<w:lsdException w:name="List Table 6 Colorful Accent 5"/>
<w:lsdException w:name="List Table 7 Colorful Accent 5"/>
<w:lsdException w:name="List Table 1 Light Accent 6"/>
<w:lsdException w:name="List Table 2 Accent 6"/>
<w:lsdException w:name="List Table 3 Accent 6"/>
<w:lsdException w:name="List Table 4 Accent 6"/>
<w:lsdException w:name="List Table 5 Dark Accent 6"/>
<w:lsdException w:name="List Table 6 Colorful Accent 6"/>
<w:lsdException w:name="List Table 7 Colorful Accent 6"/>
</w:latentStyles>
<w:style w:type="paragraph" w:default="on" w:styleId="a">
<w:name w:val="Normal"/>
<wx:uiName wx:val="正文"/>
<w:pPr>
<w:widowControl w:val="off"/>
<w:jc w:val="both"/>
</w:pPr>
<w:rPr>
<wx:font wx:val="Calibri"/>
<w:kern w:val="2"/>
<w:sz w:val="21"/>
<w:sz-cs w:val="22"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN" w:bidi="AR-SA"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="1">
<w:name w:val="heading 1"/>
<wx:uiName wx:val="标题 1"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="1Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="340" w:after="330" w:line="578" w:line-rule="auto"/>
<w:outlineLvl w:val="0"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:kern w:val="44"/>
<w:sz w:val="32"/>
<w:sz-cs w:val="32"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="2">
<w:name w:val="heading 2"/>
<wx:uiName wx:val="标题 2"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="2Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="1"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="260" w:after="260" w:line="416" w:line-rule="auto"/>
<w:outlineLvl w:val="1"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="30"/>
<w:sz-cs w:val="30"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="3">
<w:name w:val="heading 3"/>
<wx:uiName wx:val="标题 3"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="3Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="2"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="260" w:after="260" w:line="416" w:line-rule="auto"/>
<w:outlineLvl w:val="2"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="4">
<w:name w:val="heading 4"/>
<wx:uiName wx:val="标题 4"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="4Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="3"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="280" w:after="290" w:line="376" w:line-rule="auto"/>
<w:outlineLvl w:val="3"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="5">
<w:name w:val="heading 5"/>
<wx:uiName wx:val="标题 5"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="5Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="4"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="280" w:after="290" w:line="376" w:line-rule="auto"/>
<w:outlineLvl w:val="4"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Times New Roman" w:h-ansi="Times New Roman"/>
<wx:font wx:val="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="6">
<w:name w:val="heading 6"/>
<wx:uiName wx:val="标题 6"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="6Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="5"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="240" w:after="64" w:line="320" w:line-rule="auto"/>
<w:outlineLvl w:val="5"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="7">
<w:name w:val="heading 7"/>
<wx:uiName wx:val="标题 7"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="7Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="6"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="240" w:after="64" w:line="320" w:line-rule="auto"/>
<w:outlineLvl w:val="6"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Times New Roman" w:h-ansi="Times New Roman"/>
<wx:font wx:val="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="8">
<w:name w:val="heading 8"/>
<wx:uiName wx:val="标题 8"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="8Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="7"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="240" w:after="64" w:line="320" w:line-rule="auto"/>
<w:outlineLvl w:val="7"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="9">
<w:name w:val="heading 9"/>
<wx:uiName wx:val="标题 9"/>
<w:basedOn w:val="a"/>
<w:next w:val="a"/>
<w:link w:val="9Char"/>
<w:rsid w:val="00812145"/>
<w:pPr>
<w:keepNext/>
<w:keepLines/>
<w:listPr>
<w:ilvl w:val="8"/>
<w:ilfo w:val="1"/>
</w:listPr>
<w:spacing w:before="240" w:after="64" w:line="320" w:line-rule="auto"/>
<w:outlineLvl w:val="8"/>
</w:pPr>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial"/>
<wx:font wx:val="Arial"/>
<w:sz-cs w:val="21"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:default="on" w:styleId="a0">
<w:name w:val="Default Paragraph Font"/>
<wx:uiName wx:val="默认段落字体"/>
</w:style>
<w:style w:type="table" w:default="on" w:styleId="a1">
<w:name w:val="Normal Table"/>
<wx:uiName wx:val="普通表格"/>
<w:rPr>
<wx:font wx:val="Calibri"/>
<w:lang w:val="EN-US" w:fareast="ZH-CN" w:bidi="AR-SA"/>
</w:rPr>
<w:tblPr>
<w:tblInd w:w="0" w:type="dxa"/>
<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:style>
<w:style w:type="list" w:default="on" w:styleId="a2">
<w:name w:val="No List"/>
<wx:uiName wx:val="无列表"/>
</w:style>
<w:style w:type="table" w:styleId="a3">
<w:name w:val="Table Grid"/>
<wx:uiName wx:val="网格型"/>
<w:basedOn w:val="a1"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<wx:font wx:val="Calibri"/>
</w:rPr>
<w:tblPr>
<w:tblInd w:w="0" w:type="dxa"/>
<w:tblBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideH w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideV w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
</w:tblBorders>
<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:style>
<w:style w:type="character" w:styleId="1Char">
<w:name w:val="标题 1 Char"/>
<w:link w:val="1"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:kern w:val="44"/>
<w:sz w:val="32"/>
<w:sz-cs w:val="32"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="2Char">
<w:name w:val="标题 2 Char"/>
<w:link w:val="2"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="30"/>
<w:sz-cs w:val="30"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="3Char">
<w:name w:val="标题 3 Char"/>
<w:link w:val="3"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="4Char">
<w:name w:val="标题 4 Char"/>
<w:link w:val="4"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="5Char">
<w:name w:val="标题 5 Char"/>
<w:link w:val="5"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Times New Roman" w:fareast="宋体" w:h-ansi="Times New Roman" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="28"/>
<w:sz-cs w:val="28"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="6Char">
<w:name w:val="标题 6 Char"/>
<w:link w:val="6"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="7Char">
<w:name w:val="标题 7 Char"/>
<w:link w:val="7"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Times New Roman" w:fareast="宋体" w:h-ansi="Times New Roman" w:cs="Times New Roman"/>
<w:b/>
<w:b-cs/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="8Char">
<w:name w:val="标题 8 Char"/>
<w:link w:val="8"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:sz w:val="24"/>
<w:sz-cs w:val="24"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="9Char">
<w:name w:val="标题 9 Char"/>
<w:link w:val="9"/>
<w:rsid w:val="00812145"/>
<w:rPr>
<w:rFonts w:ascii="Arial" w:fareast="黑体" w:h-ansi="Arial" w:cs="Times New Roman"/>
<w:sz-cs w:val="21"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="a4">
<w:name w:val="header"/>
<wx:uiName wx:val="页眉"/>
<w:basedOn w:val="a"/>
<w:link w:val="Char"/>
<w:rsid w:val="003372B0"/>
<w:pPr>
<w:pBdr>
<w:bottom w:val="single" w:sz="6" wx:bdrwidth="15" w:space="1" w:color="auto"/>
</w:pBdr>
<w:tabs>
<w:tab w:val="center" w:pos="4153"/>
<w:tab w:val="right" w:pos="8306"/>
</w:tabs>
<w:snapToGrid w:val="off"/>
<w:jc w:val="center"/>
</w:pPr>
<w:rPr>
<wx:font wx:val="Calibri"/>
<w:sz w:val="18"/>
<w:sz-cs w:val="18"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="Char">
<w:name w:val="页眉 Char"/>
<w:link w:val="a4"/>
<w:rsid w:val="003372B0"/>
<w:rPr>
<w:sz w:val="18"/>
<w:sz-cs w:val="18"/>
</w:rPr>
</w:style>
<w:style w:type="paragraph" w:styleId="a5">
<w:name w:val="footer"/>
<wx:uiName wx:val="页脚"/>
<w:basedOn w:val="a"/>
<w:link w:val="Char0"/>
<w:rsid w:val="003372B0"/>
<w:pPr>
<w:tabs>
<w:tab w:val="center" w:pos="4153"/>
<w:tab w:val="right" w:pos="8306"/>
</w:tabs>
<w:snapToGrid w:val="off"/>
<w:jc w:val="left"/>
</w:pPr>
<w:rPr>
<wx:font wx:val="Calibri"/>
<w:sz w:val="18"/>
<w:sz-cs w:val="18"/>
</w:rPr>
</w:style>
<w:style w:type="character" w:styleId="Char0">
<w:name w:val="页脚 Char"/>
<w:link w:val="a5"/>
<w:rsid w:val="003372B0"/>
<w:rPr>
<w:sz w:val="18"/>
<w:sz-cs w:val="18"/>
</w:rPr>
</w:style>
</w:styles>
<w:shapeDefaults>
<o:shapedefaults v:ext="edit" spidmax="2049"/>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout>
</w:shapeDefaults>
<w:docPr>
<w:view w:val="web"/>
<w:zoom w:percent="100"/>
<w:doNotEmbedSystemFonts/>
<w:bordersDontSurroundHeader/>
<w:bordersDontSurroundFooter/>
<w:defaultTabStop w:val="420"/>
<w:drawingGridVerticalSpacing w:val="156"/>
<w:displayHorizontalDrawingGridEvery w:val="0"/>
<w:displayVerticalDrawingGridEvery w:val="2"/>
<w:punctuationKerning/>
<w:characterSpacingControl w:val="CompressPunctuation"/>
<w:optimizeForBrowser/>
<w:allowPNG/>
<w:validateAgainstSchema/>
<w:saveInvalidXML w:val="off"/>
<w:ignoreMixedContent w:val="off"/>
<w:alwaysShowPlaceholderText w:val="off"/>
<w:hdrShapeDefaults>
<o:shapedefaults v:ext="edit" spidmax="2049"/>
</w:hdrShapeDefaults>
<w:footnotePr>
<w:footnote w:type="separator">
<w:p wsp:rsidR="00C631FD" wsp:rsidRDefault="00C631FD" wsp:rsidP="003372B0">
<w:r>
<w:separator/>
</w:r>
</w:p>
</w:footnote>
<w:footnote w:type="continuation-separator">
<w:p wsp:rsidR="00C631FD" wsp:rsidRDefault="00C631FD" wsp:rsidP="003372B0">
<w:r>
<w:continuationSeparator/>
</w:r>
</w:p>
</w:footnote>
</w:footnotePr>
<w:endnotePr>
<w:endnote w:type="separator">
<w:p wsp:rsidR="00C631FD" wsp:rsidRDefault="00C631FD" wsp:rsidP="003372B0">
<w:r>
<w:separator/>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:type="continuation-separator">
<w:p wsp:rsidR="00C631FD" wsp:rsidRDefault="00C631FD" wsp:rsidP="003372B0">
<w:r>
<w:continuationSeparator/>
</w:r>
</w:p>
</w:endnote>
</w:endnotePr>
<w:compat>
<w:spaceForUL/>
<w:balanceSingleByteDoubleByteWidth/>
<w:doNotLeaveBackslashAlone/>
<w:ulTrailSpace/>
<w:doNotExpandShiftReturn/>
<w:adjustLineHeightInTable/>
<w:breakWrappedTables/>
<w:snapToGridInCell/>
<w:wrapTextWithPunct/>
<w:useAsianBreakRules/>
<w:dontGrowAutofit/>
<w:useFELayout/>
</w:compat>
<wsp:rsids>
<wsp:rsidRoot wsp:val="001D4F78"/>
<wsp:rsid wsp:val="00010272"/>
<wsp:rsid wsp:val="00145B97"/>
<wsp:rsid wsp:val="001D4F78"/>
<wsp:rsid wsp:val="003372B0"/>
<wsp:rsid wsp:val="00382624"/>
<wsp:rsid wsp:val="00812145"/>
<wsp:rsid wsp:val="00C631FD"/>
<wsp:rsid wsp:val="00F81E0C"/>
</wsp:rsids>
</w:docPr>
<w:body>
<wx:sect>
<#list tbs as tb><wx:sub-section>
<wx:sub-section>
<w:p wsp:rsidR="00812145" wsp:rsidRPr="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145">
<w:pPr>
<w:pStyle w:val="2"/>
<w:listPr>
<wx:t wx:val="${tb.no}"/>
<wx:font wx:val="Times New Roman"/>
</w:listPr>
<w:rPr>
<w:color w:val="000000"/>
</w:rPr>
</w:pPr>
<w:r wsp:rsidRPr="00A014DA">
<w:rPr>
<w:color w:val="000000"/>
</w:rPr>
<w:fldChar w:fldCharType="begin"/>
</w:r>
<w:r wsp:rsidRPr="00A014DA">
<w:rPr>
<w:color w:val="000000"/>
</w:rPr>
<w:instrText>tc \l 1 "Lists of Objects"</w:instrText>
</w:r>
<w:r wsp:rsidRPr="00A014DA">
<w:rPr>
<w:color w:val="000000"/>
</w:rPr>
<w:fldChar w:fldCharType="end"/>
</w:r>
<aml:annotation aml:id="0" w:type="Word.Bookmark.Start" w:name="_Toc137715175"/>
<aml:annotation aml:id="1" w:type="Word.Bookmark.Start" w:name="_Toc140317633"/>
<w:r wsp:rsidR="00145B97">
<w:rPr>
<w:color w:val="000000"/>
</w:rPr>
<w:t>Table ${tb.tb_name}</w:t>
</w:r>
</w:p>
<w:tbl>
<w:tblPr>
<w:tblW w:w="0" w:type="auto"/>
<w:tblBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideH w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideV w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
</w:tblBorders>
<w:tblLook w:val="04A0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="1693"/>
<w:gridCol w:w="6603"/>
</w:tblGrid>
<w:tr wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="1693" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidRDefault="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>表名</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="6603" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidRDefault="003372B0">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${tb.tb_name}</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<w:tr wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="1693" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidRDefault="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>注释</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="6603" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00812145" wsp:rsidRPr="00010272" wsp:rsidRDefault="003372B0">
<w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>${tb.tb_comment}</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
</w:tbl><w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145"/>
<w:tbl>
<w:tblPr>
<w:tblW w:w="0" w:type="auto"/>
<w:tblBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideH w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideV w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
</w:tblBorders>
<w:tblLook w:val="04A0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="851"/>
<w:gridCol w:w="852"/>
<w:gridCol w:w="852"/>
<w:gridCol w:w="1104"/>
<w:gridCol w:w="1335"/>
<w:gridCol w:w="1132"/>
<w:gridCol w:w="1120"/>
<w:gridCol w:w="1050"/>
</w:tblGrid>
<w:tr wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr><w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>字段名</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>注释</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>数据类型</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>Pimary Key</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:t>Mandatory</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:t>Foreign Key</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:t>Unique</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>Check</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<#list cols as col>
<w:tr wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="003372B0" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:t>${col.col_name}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="003372B0" wsp:rsidP="00812145">
<w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>${col.col_comment}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="003372B0" wsp:rsidP="00812145">
<w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r wsp:rsidRPr="00010272">
<w:t>${col.col_datatype}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1659" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${col.p_enable}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${col.m_enable}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${col.f_enable}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${col.u_enable}</w:t>
</w:r>
</w:p>
</w:tc>
<w:tc>
<w:tcPr>
<w:tcW w:w="1660" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
<w:t>${col.c_enable}</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
</#list></w:tbl><w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145"/>
<w:tbl>
<w:tblPr>
<w:tblW w:w="0" w:type="auto"/>
<w:tblBorders>
<w:top w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:left w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:bottom w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:right w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideH w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
<w:insideV w:val="single" w:sz="4" wx:bdrwidth="10" w:space="0" w:color="auto"/>
</w:tblBorders>
<w:tblLook w:val="04A0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="8296"/>
</w:tblGrid>
<w:tr wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="8296" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr><w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00145B97" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>索引</w:t>
</w:r>
</w:p>
</w:tc>
</w:tr>
<#list idxs as idx>
<w:tr wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidTr="00010272">
<w:tc>
<w:tcPr>
<w:tcW w:w="8296" w:type="dxa"/>
<w:shd w:val="clear" w:color="auto" w:fill="auto"/>
</w:tcPr>
<w:p wsp:rsidR="00145B97" wsp:rsidRPr="00010272" wsp:rsidRDefault="00F81E0C" wsp:rsidP="00812145">
<w:r wsp:rsidRPr="00010272">
<w:rPr>
<w:rFonts w:ascii="宋体" w:cs="宋体"/>
<wx:font wx:val="宋体"/>
<w:kern w:val="0"/>
<w:sz-cs w:val="21"/>
</w:rPr><w:t>${idx.contents};</w:t></w:r>
</w:p>
</w:tc>
</w:tr></#list></w:tbl>
<w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145"/>
<w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145"/>
<w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145"/>
<w:p wsp:rsidR="00812145" wsp:rsidRDefault="00812145" wsp:rsidP="00812145"/>
</wx:sub-section>
</wx:sub-section></#list>
<w:sectPr wsp:rsidR="00812145">
<w:pgSz w:w="11906" w:h="16838"/>
<w:pgMar w:top="1440" w:right="1800" w:bottom="1440" w:left="1800" w:header="851" w:footer="992" w:gutter="0"/>
<w:cols w:space="425"/>
<w:docGrid w:type="lines" w:line-pitch="312"/>
</w:sectPr>
</wx:sect>
</w:body>
</w:wordDocument>
编写java代码:
package org.cnzjw.word1;public class Col { private String tb_name;private String col_name;private String col_comment;private String col_datatype;private String p_enable;private String m_enable;private String f_enable;private String u_enable;private String c_enable; public String getTb_name() {return tb_name;}public void setTb_name(String tb_name) {this.tb_name = tb_name;}public String getCol_name() {return col_name;}public void setCol_name(String col_name) {this.col_name = col_name;}public String getCol_comment() {return col_comment;}public void setCol_comment(String col_comment) {this.col_comment = col_comment;}public String getCol_datatype() {return col_datatype;}public void setCol_datatype(String col_datatype) {this.col_datatype = col_datatype;}public String getP_enable() {return p_enable;}public void setP_enable(String p_enable) {this.p_enable = p_enable;}public String getM_enable() {return m_enable;}public void setM_enable(String m_enable) {this.m_enable = m_enable;}public String getF_enable() {return f_enable;}public void setF_enable(String f_enable) {this.f_enable = f_enable;}public String getU_enable() {return u_enable;}public void setU_enable(String u_enable) {this.u_enable = u_enable;}public String getC_enable() {return c_enable;}public void setC_enable(String c_enable) {this.c_enable = c_enable;}}
package org.cnzjw.word1;public class Table {private String no;private String tb_name;private String tb_comment;public String getNo() {return no;}public void setNo(String no) {this.no = no;}public String getTb_name() {return tb_name;}public void setTb_name(String tb_name) {this.tb_name = tb_name;}public String getTb_comment() {return tb_comment;}public void setTb_comment(String tb_comment) {this.tb_comment = tb_comment;}}
package org.cnzjw.word1;public class Idx {private String contents;public String getContents() {return contents;}public void setContents(String contents) {this.contents = contents;}}
package org.cnzjw.word1;import java.io.BufferedWriter;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;import freemarker.template.Configuration;
import freemarker.template.Template;
import freemarker.template.TemplateException;public class WordHandler {private Configuration configuration = null;public WordHandler() {configuration = new Configuration();configuration.setDefaultEncoding("UTF-8");}public void data2word() {// 要填入模本的数据文件Map<String, Object> dataMap = new HashMap<String, Object>();getData(dataMap);// 设置模本装置方法和路径,FreeMarker支持多种模板装载方法。可以servlet,classpath,数据库装载,// 这里我们的模板是放在org.cnzjw.template包下面configuration.setClassForTemplateLoading(this.getClass(),"/org/cnzjw/template");Template t = null;try {// word.ftl为要装载的模板t = configuration.getTemplate("word1.ftl");} catch (IOException e) {e.printStackTrace();}// 输出文档路径及名称File outFile = new File("D:/outword1.doc");Writer out = null;try {out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(outFile)));} catch (FileNotFoundException e1) {e1.printStackTrace();}try {t.process(dataMap, out);} catch (TemplateException e) {e.printStackTrace();} catch (IOException e) {e.printStackTrace();}}/*** 注意dataMap里存放的数据Key值要与模板中的参数相对应* * @param dataMap*/private void getData(Map<String, Object> dataMap) {List tbs = new ArrayList();for (int j = 0; j < 3; j++) {Table tb = new Table();tb.setNo("1." + j);tb.setTb_name("T_SYS_USER" + j);tb.setTb_comment("系统用户表" + j);List cols = new ArrayList();for (int i = 0; i < 5; i++) {Col col = new Col();col.setCol_name("ID" + i);col.setCol_comment("序号" + i);col.setCol_datatype("VARCHAR2(20)");col.setP_enable("Y");col.setM_enable("Y");col.setF_enable("N");col.setU_enable("N");col.setC_enable("N");cols.add(col);}dataMap.put("cols", cols);List idxs = new ArrayList();for (int i = 0; i < 2; i++) {Idx idx = new Idx();idx.setContents("CREATE INDEX index_name" + i+ " on table_name (col_name" + i + ")");idxs.add(idx);}dataMap.put("idxs", idxs);tbs.add(tb);dataMap.put("tbs", tbs);}}public static void main(String[] args) {WordHandler wh = new WordHandler();wh.data2word();}}
JAVA根据ftl模板生成需要的多表格word文档相关推荐
- java根据pdf模板生成pdf_Java 复制、压缩PDF文档
在日常办公中,掌握操作PDF文档的能力尤为重要.在前文中我使用Java程序来演示过如何合并和拆分PDF文档.本文将介绍如何复制和压缩文档.通常复制文档有两种形式,一种是跨文档复制,即将一个文档复制到另 ...
- Java使用POI生成折线图导出到word文档(折线图)
本篇文章主要介绍,如何使用Apache POI组件生成折线图导出到word文档中,具体步骤看下文. 一.实现效果 Java使用POI技术生成折线图导出到word文档中,最终生成的折线图如下所示: 二. ...
- java将后台数据库查询到的数据导出word文档当中
java将后台数据库查询到的数据导出word文档当中 之前项目需求使用Java导出word文档,一直没有进行整理,今天把它进行整理出来,以便以后使用到:下面是导出的word文档. // 前端报告表格 ...
- java毕业论文_【毕业论文】基于java的博客网站设计与开发毕业论文(word文档)
<[毕业论文]基于java的博客网站设计与开发毕业论文.doc>由会员分享,可免费在线阅读全文,更多与<[毕业论文]基于java的博客网站设计与开发毕业论文(word文档)>相 ...
- java 用ftl模板生成word时插入多张图片
前提: 1.知道如何创建ftl模板 2.知道ftl的指令及语法 3.知道如何用java将ftl文件生成word并添加数据 4.知道如何将图片转为base64字符串 内容: 1.在ftl模板中引入多个图 ...
- Python 自动化:根据模板批量生成含指定数据的 word 文档
作者:一只河马h 来源:简说Python 一.需求说明 在平时工作当中,经常需要处理文件,特别是Word,处理Word时会遇一类比较常见的场景:文档中大部分文字固定不变,小部分内容需要修改. 这时我们 ...
- Python自动化:根据模板批量生成含指定数据的word文档
一.需求说明 在平时工作当中,经常需要处理文件,特别是Word,处理Word时会遇一类比较常见的场景:文档中大部分文字固定不变,小部分内容需要修改. 这时我们会机械的重复打开.修改.保存文档等一系列操 ...
- java xml转换word_java如何将xml类型的word文档转换为word类型的文档
大致的思路是先用office2003或者2007编辑好word的样式,然后另存为xml,将xml翻译为FreeMarker模板,最后用java来解析FreeMarker模板并输出Doc.经测试这样方式 ...
- java poi doc转docx_POI动态插入数据到Word文档
模板制作 制作word模版,${xxxx}是要替换的内容.注意${xxxx}是一个整体,中间不能断开,因为利用POI的API程序操作时,判断是否有这个${xxxx}才进行替换. 依赖的包 org.ap ...
最新文章
- Spring @Scheduled关键字
- 代码单元测试:gtest
- PostgreSQL 12系统表(1)pg_class
- 怎么样用 Python 玩转 Redis !过来 咱一起聊聊!
- Java基础学习总结(156)——那些年被淘汰的Java技术及框架
- Python学习笔记_文件读写,目录遍历类封装
- Java的常用Swing外观类总结
- 快速生成Plugman中的lib-file、source-file的xml内容
- 蓝桥杯 逆波兰表达式——2013年省赛C/C++A组真题6
- 巧用 Automator,为 Mac 创建自定义右键菜单
- 海湾gst5000协议号_海湾GST5000主机操作说明
- linux系统双显示器怎么设置复制,linux系统双显示器设置
- 阿里云被攻击封多久?
- DTOJ 3999 ♂U♂ Xi♂
- BGP Confederation(BGP联盟)
- AUTOCAD——图形单位与图形边界
- pep8 python 编码方式_PEP8 Python 编码规范整理
- 华为这么牛?21级程序员月薪看哭众人!网友直呼:我们不一样
- 智能电视可以安装鸿蒙操作系统吗,智能电视或将现寡头垄断,鸿蒙凭为何能“上任”?...
- asp.net总结(一)
热门文章
- 听过却没玩过Lambda表达式?了解一下
- 数据库mysql无法远程访问,出现Host is not allowed to connect to this MySQL server解决办法
- Ubuntu 20.04 配置静态 IP 地址
- Golang采用OpenXML标准写Word文档
- IDEA配置注释模板。
- 快鲸智慧楼宇:助力商业地产快速实现数字化转型升级
- matlab怎么画一箭穿心,UG参数化动画教程 - 一箭穿心(love)
- oracle删除亿级数据
- vscode python自动格式化插件_vscode写python时的代码错误提醒和自动格式化
- Always On the Run 永不停歇