提交 127cd745 编写于 作者: NoSubject's avatar NoSubject 提交者: NoSubject

正文转word样式优化


(cherry picked from commit 476cf4e5)
上级 4c8a1694
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
<p class="MsoNormal" align=center style='text-align:center'><span class="doc_layout_fileno" style='mso-bidi-font-size:16.0pt;font-family:"Times New Roman",仿宋;mso-fareast-font-family:仿宋;mso-ascii-font-family:"Times New Roman"'></span></p> <p class="MsoNormal" align=center style='text-align:center'><span class="doc_layout_fileno" style='mso-bidi-font-size:16.0pt;font-family:"Times New Roman",仿宋;mso-fareast-font-family:仿宋;mso-ascii-font-family:"Times New Roman"'></span></p>
</div> </div>
<table class="doc_block doc_layout_filenoup" border=0 cellspacing=0 cellpadding=0 style='margin-top:10px;border-collapse:collapse;border:none;mso-padding-alt: 0cm 0cm 0cm 0cm;'> <table class="doc_block doc_layout_filenoup" border=0 cellspacing=0 cellpadding=0 style='width:100%; margin-top:10px;border-collapse:collapse;border:none;mso-padding-alt: 0cm 0cm 0cm 0cm;'>
<tr> <tr>
<td colspan="2" style='padding:0cm 0cm 0cm 0cm'> <td colspan="2" style='padding:0cm 0cm 0cm 0cm'>
<p class=MsoNormal align=center style='text-align:center'><span style='font-size:16.0pt;font-family:仿宋'>&nbsp;</span></p> <p class=MsoNormal align=center style='text-align:center'><span style='font-size:16.0pt;font-family:仿宋'>&nbsp;</span></p>
...@@ -154,7 +154,7 @@ ...@@ -154,7 +154,7 @@
</table> </table>
<!-- <p class="doc_block MsoNormal" align=left style='line-height:8.0pt'>--> <!-- <p class="doc_block MsoNormal" align=left style='line-height:8.0pt'>-->
<hr class="doc_layout_redline" style="height: 1.5pt;line-height:8.0pt; background-color: red;" color=red /> <hr class="doc_layout_redline" style="width:100%; height: 1.5pt;line-height:8.0pt; background-color: red;" color=red />
<!-- </p>--> <!-- </p>-->
<div class="doc_block"> <div class="doc_block">
......
...@@ -1498,43 +1498,19 @@ o2.xApplication.process.Xform.widget.OOXML.WordprocessingML = o2.OOXML.WML = new ...@@ -1498,43 +1498,19 @@ o2.xApplication.process.Xform.widget.OOXML.WordprocessingML = o2.OOXML.WML = new
this.insertSiblings(oo_wsp, [oo_cNvCnPr, oo_spPr, oo_style, oo_bodyPr], "beforeend"); this.insertSiblings(oo_wsp, [oo_cNvCnPr, oo_spPr, oo_style, oo_bodyPr], "beforeend");
// <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"> var w = hr.style.width;
// <a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingShape"> if (w && o2.typeOf(w)==="string"){
// <wps:wsp> var u = w.substring(w.length-1, w.length);
// <wps:cNvCnPr/> if (u==="%"){
// <wps:spPr> w = w.toFloat()*1000;
// <a:xfrm> var oo_sizeRelH = this.createEl(oo_doc, "sizeRelH", "wp14");
// <a:off x="0" y="0"/> this.setAttrs(oo_sizeRelH, {"relativeFrom": "margin"}, false);
// <a:ext cx="5631180" cy="0"/> var oo_pctWidth = this.createEl(oo_doc, "pctWidth", "wp14");
// </a:xfrm> oo_pctWidth.appendChild(oo_doc.createTextNode(w));
// <a:prstGeom prst="line"> oo_sizeRelH.appendChild(oo_pctWidth);
// <a:avLst/> oo_anchor.appendChild(oo_sizeRelH);
// </a:prstGeom> }
// <a:ln w="19050"> }
// <a:solidFill>
// <a:srgbClr val="FF0000"/>
// </a:solidFill>
// </a:ln>
// </wps:spPr>
// <wps:style>
// <a:lnRef idx="1">
// <a:schemeClr val="accent1"/>
// </a:lnRef>
// <a:fillRef idx="0">
// <a:schemeClr val="accent1"/>
// </a:fillRef>
// <a:effectRef idx="0">
// <a:schemeClr val="accent1"/>
// </a:effectRef>
// <a:fontRef idx="minor">
// <a:schemeClr val="tx1"/>
// </a:fontRef>
// </wps:style>
// <wps:bodyPr/>
// </wps:wsp>
// </a:graphicData>
// </a:graphic>
oo_p.appendChild(oo_run); oo_p.appendChild(oo_run);
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册