一、
<?xmlversion="1.0" encoding="UTF-8"standalone="yes"?> 这是XML文档标准
二、
<?mso-applicationprogid="Word.Document"?> 用来指处理明这个xml文件对应的处理程序
三、
<w:wordDocumentxmlns:w="http://schemas.microsoft.com/office/word/2003/wordml"xmlns:v="urn:schemas-microsoft-com:vml"xmlns:w10="urn:schemas-microsoft-com:office:word"xmlns:sl="http://schemas.microsoft.com/schemaLibrary/2003/core"xmlns:aml="http://schemas.microsoft.com/aml/2001/core"xmlns:wx="http://schemas.microsoft.com/office/word/2003/auxHint"xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"xmlns:wsp="http://schemas.microsoft.com/office/word/2003/wordml/sp2"w:macrosPresent="no"
w:embeddedObjPresent="no"
w:ocxPresent="no"
xml:space="preserve">
这一段是文档开头,包含属性等。xml:space="preserve"从字面上理解是保持空格。
四、
<w:ignoreElementsw:val="http://schemas.microsoft.com/office/word/2003/wordml/sp2"/>
<o:DocumentProperties>文档属性
<o:Title>一</o:Title>标题
<o:Author>MC SYSTEM</o:Author>作者
<o:LastAuthor>MC SYSTEM</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>3</o:TotalTime>
<o:Created>2010-11-23T02:56:00Z</o:Created>创建时间
<o:LastSaved>2010-11-23T02:59:00Z</o:LastSaved>保存时间
<o:Pages>1</o:Pages>
<o:Words>8</o:Words>
<o:Characters>51</o:Characters>
<o:Category>类别</o:Category>可以没有
<o:Manager>经理</o:Manager>可以没有
<o:Company>MC SYSTEM</o:Company>单位
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>58</o:CharactersWithSpaces>
<o:Version>11.0000</o:Version> Word版本
</o:DocumentProperties>文档的属性部分
五、
<w:fonts>字体部分,删除没有报错,我觉得这里是吧可能用到的字体穷举了一遍
<w:defaultFonts w:ascii="Times New Roman"w:fareast="宋体"w:h-ansi="Times New Roman" w:cs="Times New Roman"/>
<w:fontw:name="宋体">
<w:altNamew:val="SimSun"/>
<w:panose-1w:val="02010600030101010101"/>
<w:charsetw:val="86"/>
<w:familyw:val="Auto"/>
<w:pitchw:val="variable"/>
<w:sigw:usb-0="00000003" w:usb-1="080E0000"w:usb-2="00000010" w:usb-3="00000000" w:csb-0="00040001"w:csb-1="00000000"/>
</w:font>
<w:fontw:name="@宋体">
<w:panose-1w:val="02010600030101010101"/>
<w:charsetw:val="86"/>
<w:familyw:val="Auto"/>
<w:pitchw:val="variable"/>
<w:sigw:usb-0="00000003" w:usb-1="080E0000"w:usb-2="00000010" 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="5E3D0AD3"/>
<w:plt w:val="HybridMultilevel"/>
<w:tmpl w:val="3DAEA006"/>
<w:lvl w:ilvl="0" w:tplc="ADBEEAB8">
<w:start w:val="1"/>
<w:nfc w:val="11"/>
<w:lvlText w:val="%1."/><w:lvlJcw:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="420"/>
</w:tabs>
<w:ind w:left="420" w:hanging="420"/>
</w:pPr>
<w:rPr>
<w:rFonts w:hint="default"/>
</w:rPr>
</w:lvl>
<w:lvl w:ilvl="1" w:tplc="04090019"w:tentative="on">
<w:start w:val="1"/>
<w:nfc w:val="4"/>
<w:lvlText w:val="%2)"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="840"/>
</w:tabs>
<w:ind w:left="840" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="2" w:tplc="0409001B"w:tentative="on">
<w:start w:val="1"/>
<w:nfc w:val="2"/>
<w:lvlText w:val="%3."/>
<w:lvlJc w:val="right"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="1260"/>
</w:tabs>
<w:ind w:left="1260" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="3" w:tplc="0409000F"w:tentative="on">
<w:start w:val="1"/><w:lvlTextw:val="%4."/><w:lvlJc w:val="left"/>
<w:pPr><w:tabs><w:tab w:val="list"w:pos="1680"/></w:tabs><w:ind w:left="1680"w:hanging="420"/></w:pPr></w:lvl><w:lvlw:ilvl="4" w:tplc="04090019"w:tentative="on"><w:start w:val="1"/><w:nfcw:val="4"/>
<w:lvlText w:val="%5)"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="2100"/>
</w:tabs>
<w:ind w:left="2100" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="5" w:tplc="0409001B"w:tentative="on">
<w:start w:val="1"/>
<w:nfc w:val="2"/>
<w:lvlText w:val="%6."/>
<w:lvlJc w:val="right"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="2520"/>
</w:tabs>
<w:ind w:left="2520" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="6" w:tplc="0409000F"w:tentative="on">
<w:start w:val="1"/>
<w:lvlText w:val="%7."/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="2940"/>
</w:tabs>
<w:ind w:left="2940" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="7" w:tplc="04090019"w:tentative="on">
<w:start w:val="1"/>
<w:nfc w:val="4"/>
<w:lvlText w:val="%8)"/>
<w:lvlJc w:val="left"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="3360"/>
</w:tabs>
<w:ind w:left="3360" w:hanging="420"/>
</w:pPr>
</w:lvl>
<w:lvl w:ilvl="8" w:tplc="0409001B"w:tentative="on">
<w:start w:val="1"/>
<w:nfc w:val="2"/>
<w:lvlText w:val="%9."/>
<w:lvlJc w:val="right"/>
<w:pPr>
<w:tabs>
<w:tab w:val="list" w:pos="3780"/>
</w:tabs>
<w:ind w:left="3780" w:hanging="420"/>
</w:pPr>
</w:lvl>
</w:listDef>
<w:list w:ilfo="1">
<w:ilst w:val="0"/>
</w:list>
</w:lists>
七、
这部分是样式部分,建议保留,包括正文,表格等默认风格
<w:styles>
<w:versionOfBuiltInStylenamesw:val="4"/>
<w:latentStylesw:defLockedState="off" w:latentStyleCount="156"/>
<w:stylew:type="paragraph" w:default="on"w:styleId="a">
<w:namew:val="Normal"/>
<wx:uiNamewx:val="正文"/><w:pPr>
<w:widowControlw:val="off"/>
<w:jcw:val="both"/>
</w:pPr>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
<w:kernw:val="2"/>
<w:szw:val="21"/>
<w:sz-csw:val="24"/>
<w:langw:val="EN-US" w:fareast="ZH-CN"w:bidi="AR-SA"/>
</w:rPr>
</w:style>
<w:stylew:type="character" w:default="on"w:styleId="a0">
<w:namew:val="Default Paragraph Font"/>
<wx:uiNamewx:val="默认段落字体"/><w:semiHidden/>
</w:style>段落样式
<w:stylew:type="paragraph" w:styleId="a3">
<w:namew:val="header"/>
<wx:uiNamewx:val="页眉"/><w:basedOnw:val="a"/>
<w:rsidw:val="0061570F"/>
<w:pPr>
<w:pStylew:val="a3"/>
<w:pBdr>
<w:bottomw:val="single" w:sz="6" wx:bdrwidth="15"w:space="1" w:color="auto"/>
</w:pBdr>
<w:tabs>
<w:tabw:val="center" w:pos="4153"/>
<w:tabw:val="right" w:pos="8306"/>
</w:tabs>
<w:snapToGridw:val="off"/>
<w:jcw:val="center"/> 对齐方式
</w:pPr>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
<w:szw:val="18"/>
<w:sz-csw:val="18"/>
</w:rPr>
</w:style>页眉的风格,删除后默认居左。
<w:stylew:type="paragraph" w:styleId="a4">
<w:namew:val="footer"/>
<wx:uiNamewx:val="页脚"/><w:basedOnw:val="a"/>
<w:rsidw:val="0061570F"/>
<w:pPr>
<w:pStylew:val="a4"/>
<w:tabs>
<w:tabw:val="center" w:pos="4153"/>
<w:tabw:val="right" w:pos="8306"/>
</w:tabs>
<w:snapToGridw:val="off"/>
<w:jcw:val="left"/>
</w:pPr>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
<w:szw:val="18"/>
<w:sz-csw:val="18"/>
</w:rPr>
</w:style>页脚的风格
<w:stylew:type="table" w:default="on" w:styleId="a1">
<w:namew:val="Normal Table"/>
<wx:uiNamewx:val="普通表格"/><w:semiHidden/>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
</w:rPr>
<w:tblPr>
<w:tblIndw:w="0" w:type="dxa"/>
<w:tblCellMar>这个是合并的风格,没有用,后面变化这个也不变
<w:topw:w="0" w:type="dxa"/>
<w:leftw:w="108" w:type="dxa"/>
<w:bottomw:w="0" w:type="dxa"/>
<w:rightw:w="108" w:type="dxa"/>
</w:tblCellMar>
</w:tblPr>
</w:style>
<w:stylew:type="list" w:default="on" w:styleId="a2">
<w:namew:val="No List"/>
<wx:uiNamewx:val="无列表"/><w:semiHidden/>
</w:style>列表风格,删了没发现问题
<w:stylew:type="table" w:styleId="a5">
<w:namew:val="Table Grid"/>
<wx:uiNamewx:val="网格型"/><w:basedOnw:val="a1"/>
<w:rsidw:val="0061570F"/>
<w:pPr>
<w:widowControlw:val="off"/>
<w:jcw:val="both"/>
</w:pPr>
<w:rPr>
<wx:fontwx:val="Times New Roman"/>
</w:rPr>
<w:tblPr>
<w:tblIndw:w="0" w:type="dxa"/>
<w:tblBorders>
<w:topw:val="single" w:sz="4" wx:bdrwidth="10"w:space="0" w:color="auto"/>
<w:leftw:val="single" w:sz="4" wx:bdrwidth="10"w:space="0" w:color="auto"/>
<w:bottomw:val="single" w:sz="4" wx:bdrwidth="10"w:space="0" w:color="auto"/>
<w:rightw:val="single" w:sz="4" wx:bdrwidth="10"w:space="0" w:color="auto"/>
<w:insideHw:val="single" w:sz="4" wx:bdrwidth="10" w:space="0"w:color="auto"/>
<w:insideVw:val="single" w:sz="4" wx:bdrwidth="10"w:space="0" w:color="auto"/>
</w:tblBorders>边框线,删掉对应的部分就能变成虚表格
<w:tblCellMar>
<w:topw:w="0" w:type="dxa"/>
<w:leftw:w="108" w:type="dxa"/>
<w:bottomw:w="0" w:type="dxa"/>
<w:rightw:w="108" w:type="dxa"/>
</w:tblCellMar>单元格合并
</w:tblPr>
</w:style>表格风格,关键部分
</w:styles>风格部分完毕
八、
这部分未知,行数不多,建议保留。
<w:shapeDefaults>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout>
</w:shapeDefaults>
九、文档属性部分
<w:docPr>
<w:view w:val="print"/> 视图 页面
<w:zoom w:percent="100"/> 显示比例 100%
<w:doNotEmbedSystemFonts/>
<w:bordersDontSurroundHeader/>
<w:bordersDontSurroundFooter/>
<w:attachedTemplate w:val=""/>
<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:validateAgainstSchema/>
<w:saveInvalidXML w:val="off"/>
<w:ignoreMixedContent w:val="off"/>
<w:alwaysShowPlaceholderText w:val="off"/>
<w:footnotePr>
<w:footnote w:type="separator">
<w:p wsp:rsidR="00996DA4" wsp:rsidRDefault="00996DA4">
<w:r>
<w:separator/>
</w:r>
</w:p>
</w:footnote>
<w:footnote w:type="continuation-separator">
<w:p wsp:rsidR="00996DA4" wsp:rsidRDefault="00996DA4">
<w:r>
<w:continuationSeparator/>
</w:r>
</w:p>
</w:footnote>
</w:footnotePr> 似乎是页脚部分
<w:endnotePr>
<w:endnote w:type="separator">
<w:p wsp:rsidR="00996DA4" wsp:rsidRDefault="00996DA4">
<w:r>
<w:separator/>
</w:r>
</w:p>
</w:endnote>
<w:endnote w:type="continuation-separator">
<w:p wsp:rsidR="00996DA4" wsp:rsidRDefault="00996DA4">
<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="0061570F"/>
<wsp:rsid wsp:val="005A19DF"/>
<wsp:rsid wsp:val="0061570F"/>
<wsp:rsid wsp:val="00655D93"/>
<wsp:rsid wsp:val="0094675A"/>
<wsp:rsid wsp:val="00996DA4"/>
</wsp:rsids> 删掉没出错
</w:docPr> 文档设置:比如视图等
十、Body部分
<w:body><wx:sect><w:p wsp:rsidR="005A19DF" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F"> 里面的部分可删,未发现异常
<w:adjustRightInd w:val="off"/>开关段落【定义了文档网格,则自动调整右锁紧】选项,删掉默认on
<w:snapToGrid w:val="off"/> 开关段落【如果定义了文档网格,则对齐网格】选项,删掉默认on
<w:spacing w:line="480" w:line-rule="auto"/> 开关段落【行距】,这是两倍行距的值,删掉默认单倍行距
<w:ind w:first-line-chars="200"/> 开关段落【首行缩进】
<w:pPr> 段属性包含在<w:pPr></w:pPr>中
<w:listPr><w:ilvl w:val="0"/> <w:ilfo w:val="1"/><wx:t wx:val="一." wx:wTabBefore="0" wx:wTabAfter="0"/><wx:font wx:val="Times New Roman"/></w:listPr>
<w:rPr> 文本格式包含在<w:rPr></w:rPr>中
<w:rFonts w:hint="fareast"/>
</w:rPr> 删了没报错,没发现变化
</w:pPr>
<w:r> 一个段落
<w:rPr>
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr> 段落属性
<w:t>第一标题</w:t> 显示的文本,修改这里的文本能够自动换行。
</w:r> 段落完毕
</w:p>
<w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F"> 每个<w:p></w:p>会增加一个回车
<w:pPr><w:ind w:left="420"/><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr>
<w:r> 如果增加一行文字,必须的含有<w:r>
<w:rPr> 这段不是必须的
<w:rFonts w:hint="fareast"/>
<wx:font wx:val="宋体"/>
</w:rPr>
<w:t>我这里是一段文字,下面将插入几行表格</w:t>
</w:r>
</w:p>
<w:tbl><w:tblPr> <w:tblStyle w:val="a5"/> 指定风格名字为a5,如果风格不存在,表格线将是灰的,虚表。
<w:tblW w:w="0" w:type="auto"/>
<w:tblLook w:val="01E0"/>
</w:tblPr>
<w:tblGrid>
<w:gridCol w:w="1704"/>
<w:gridCol w:w="1704"/>
<w:gridCol w:w="1704"/>
<w:gridCol w:w="1705"/>
<w:gridCol w:w="1705"/>
</w:tblGrid>这部分删掉没有报错
<w:tr wsp:rsidR="0061570F" wsp:rsidTr="0061570F"> 看来是表格行,属性可以删除,增加行时列数必须的一致。多了倒是不报错,就是表格乱了
<w:tc> 表格列
<w:tcPr> 单元属性
<w:tcW w:w="1704" w:type="dxa"/> 可以删掉
</w:tcPr>可以删除
<w:p > 可以把w:p后面那些啰嗦删掉
<w:pPr>
<w:jc w:val="center"/> 居中,还有left 或 right
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r>
<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="1704" w:type="dxa"/> 这个没有用
这里如果是合并单元格,就要有这一句
<w:gridSpan w:val="3"/>合并单元格的第一个,这个合了以后,后面的列不能超过总数。否则表格将变形
</w:tcPr>
<w:p >
<w:pPr>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r>
<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:tcPr>
<w:p>
<w:pPr>
<w:jc w:val="right"/>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
<w:r>
<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="1705" w:type="dxa"/>
</w:tcPr><w:p><w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr></w:p>
</w:tc><w:tc><w:tcPr><w:tcW w:w="1705" w:type="dxa"/></w:tcPr>
<w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr></w:p></w:tc></w:tr>
<w:tr wsp:rsidR="0061570F" wsp:rsidTr="0061570F">
<w:tc><w:tcPr><w:tcW w:w="1704" w:type="dxa"/></w:tcPr>
<w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr>
</w:pPr></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="1704" w:type="dxa"/></w:tcPr>
<w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr></w:p></w:tc><w:tc><w:tcPr><w:tcW w:w="1704" w:type="dxa"/></w:tcPr><w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr></w:p></w:tc>
<w:tc>
<w:tcPr><w:tcW w:w="1705" w:type="dxa"/></w:tcPr><w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr><w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr></w:p></w:tc>
<w:tc> 新列
<w:tcPr> 列属性
<w:tcW w:w="1705" w:type="dxa"/>
</w:tcPr>
<w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F"> 新段落
<w:pPr> 段落属性
<w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr>
<w:r> 文字行
<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></w:tbl>表格部分完。
<w:p wsp:rsidR="0061570F" wsp:rsidRPr="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr>
<w:ind w:left="420"/>
<w:rPr>
<w:rFonts w:hint="fareast"/>
</w:rPr>
</w:pPr>
</w:p><w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F" wsp:rsidP="0061570F">
<w:pPr> <w:rPr><w:rFonts w:hint="fareast"/>
</w:rPr></w:pPr><w:r><w:rPr><w:rFonts w:hint="fareast"/><wx:font wx:val="宋体"/></w:rPr>
<w:t>二.第二标题</w:t></w:r>
</w:p> 段落完
<w:sectPr wsp:rsidR="0061570F"><w:hdr w:type="odd"><wx:pBdrGroup><wx:borders> <wx:bottom wx:val="solid" wx:bdrwidth="15" wx:space="1" wx:color="auto"/></wx:borders><w:p wsp:rsidR="0061570F" wsp:rsidRDefault="0061570F"><w:pPr> <w:pStyle w:val="a3"/> <w:rPr><w:rFonts w:hint="fareast"/></w:rPr></w:pPr> <w:r><w:rPr><w:rFonts w:hint="fareast"/><wx:font wx:val="宋体"/></w:rPr><w:t>我是页眉</w:t></w:r></w:p>页眉段落完,如果想弄两行,下面继续重复
</wx:pBdrGroup>
</w:hdr>页眉部分
<w:ftr w:type="odd"> 页脚部分<w:p><w:r><w:t>我是页脚</w:t></w:r><w:r><w:rPr><w:rStyle w:val="a6"/> 这个可以没有
</w:rPr><w:fldChar w:fldCharType="begin"/>这个是显示页码必须的,否则只显示PAGE几个字</w:r><w:r><w:rPr><w:rStyle w:val="a6"/></w:rPr><w:instrText> PAGE </w:instrText> 配套显示页码
</w:r><w:r><w:rPr><w:rStyle w:val="a6"/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r>
<w:r><w:rPr><w:rStyle w:val="a6"/><w:noProof/></w:rPr><w:t>1</w:t></w:r><w:r><w:rPr><w:rStyle w:val="a6"/>
</w:rPr><w:fldChar w:fldCharType="end"/></w:r><w:r>
<w:rPr><w:rStyle w:val="a6"/></w:rPr><w:fldChar w:fldCharType="begin"/></w:r>
<w:r><w:rPr><w:rStyle w:val="a6"/></w:rPr><w:instrText> NUMPAGES </w:instrText></w:r>
<w:r><w:rPr><w:rStyle w:val="a6"/></w:rPr><w:fldChar w:fldCharType="separate"/></w:r>
<w:r><w:rPr><w:rStyle w:val="a6"/><w:noProof/></w:rPr><w:t>1</w:t>
</w:r><w:r><w:rPr><w:rStyle w:val="a6"/></w:rPr><w:fldChar w:fldCharType="end"/> 显示总页数
</w:r></w:p></w:ftr><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>
<w:p> </w:p>表示一个段落,直接加空行可以使用<w:p/>>
<w:r> <.w:r>表示一个样式串,指明它包括的文本的显示样式
<w:t> 表示真正的文本内容
补充:
Word xml中插入图片用以下格式
<w:pict>
<v:shapetype id="_x0000_t75"/>
<w:binData w:name="d:\1-64.png"> 这里是文件名
这里插入Base64数据
</w:binData>
<v:shape id="_x0000_i1026" type="#_x0000_t75" style="width:279.75pt;height:233.25pt" >这里可能是图片尺寸,妙啊
<v:imagedata src="d:\1-64.png" o:title="picFreqSweep" />
</v:shape>
</w:pict>