Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
ghsby
o2oa
提交
127cd745
o2oa
项目概览
ghsby
/
o2oa
落后 Fork 源项目 2880 个版本
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
127cd745
编写于
7月 06, 2021
作者:
NoSubject
提交者:
NoSubject
7月 07, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
正文转word样式优化
(cherry picked from commit
476cf4e5
)
上级
4c8a1694
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
15 addition
and
39 deletion
+15
-39
o2web/source/x_component_process_FormDesigner/Module/Documenteditor/templete/standard.html
...FormDesigner/Module/Documenteditor/templete/standard.html
+2
-2
o2web/source/x_component_process_Xform/widget/OOXML.js
o2web/source/x_component_process_Xform/widget/OOXML.js
+13
-37
未找到文件。
o2web/source/x_component_process_FormDesigner/Module/Documenteditor/templete/standard.html
浏览文件 @
127cd745
...
...
@@ -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>
</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>
<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:仿宋'
>
</span></p>
...
...
@@ -154,7 +154,7 @@
</table>
<!-- <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>-->
<div
class=
"doc_block"
>
...
...
o2web/source/x_component_process_Xform/widget/OOXML.js
浏览文件 @
127cd745
...
...
@@ -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
"
);
// <a:graphic xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main">
// <a:graphicData uri="http://schemas.microsoft.com/office/word/2010/wordprocessingShape">
// <wps:wsp>
// <wps:cNvCnPr/>
// <wps:spPr>
// <a:xfrm>
// <a:off x="0" y="0"/>
// <a:ext cx="5631180" cy="0"/>
// </a:xfrm>
// <a:prstGeom prst="line">
// <a:avLst/>
// </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>
var
w
=
hr
.
style
.
width
;
if
(
w
&&
o2
.
typeOf
(
w
)
===
"
string
"
){
var
u
=
w
.
substring
(
w
.
length
-
1
,
w
.
length
);
if
(
u
===
"
%
"
){
w
=
w
.
toFloat
()
*
1000
;
var
oo_sizeRelH
=
this
.
createEl
(
oo_doc
,
"
sizeRelH
"
,
"
wp14
"
);
this
.
setAttrs
(
oo_sizeRelH
,
{
"
relativeFrom
"
:
"
margin
"
},
false
);
var
oo_pctWidth
=
this
.
createEl
(
oo_doc
,
"
pctWidth
"
,
"
wp14
"
);
oo_pctWidth
.
appendChild
(
oo_doc
.
createTextNode
(
w
));
oo_sizeRelH
.
appendChild
(
oo_pctWidth
);
oo_anchor
.
appendChild
(
oo_sizeRelH
);
}
}
oo_p
.
appendChild
(
oo_run
);
},
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录