Просмотр исходного кода

增加版式文件比例缩放,可设置是否启用

huqi 5 лет назад
Родитель
Сommit
8f768f8a9e

+ 1 - 1
o2web/source/o2_core/o2/widget/AttachmentController.js

@@ -1853,4 +1853,4 @@ o2.widget.AttachmentController.AttachmentMin = new Class({
         this.controller.selectedAttachments.erase(this);
     }
 
-});
+});

+ 11 - 0
o2web/source/x_component_process_FormDesigner/Module/Documenteditor/documenteditor.html

@@ -82,6 +82,17 @@
 		</table>
 		<div id="text{$.pid}allowHistoryScriptArea" style="display: text{($.allowHistory=='s')?'block':'none'}" class="MWFFormulaArea" name="allowHistoryScript" title="允许查看痕迹脚本 (S)"></div>
 
+		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
+			<tr>
+				<td class="editTableTitle">设置缩放:</td>
+				<td class="editTableValue">
+					<input class="editTableRadio" name="isScale" text{($.isScale=='y')?'checked':''} type="radio" value="y"/>是
+					<input class="editTableRadio" name="isScale" text{($.isScale!='y')?'checked':''} type="radio" value="n"/>否
+					<div>用户是否可自定义缩放比例</div>
+				</td>
+			</tr>
+		</table>
+
 		<table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
 			<tr>
 				<td class="editTableTitle">全角转换:</td>