《2023年浅论经济法与民商法的关系问题.docx》由会员分享,可在线阅读,更多相关《2023年浅论经济法与民商法的关系问题.docx(25页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。
1、2023年浅论经济法与民商法的关系问题 段落格式 一般 已编排格式 标题一 标题二 标题三 标题四 标题五 标题六 标题七 字体 宋体 黑体 楷体 仿宋 隶书 幼圆 Arial Arial Black Arial Narrow Brush Script MT Century Gothic Comic Sans MS Courier Courier New MS Sans Serif Script System Times New Roman Verdana Wide Latin Wingdings 字号 一号 二号 三号 四号 五号 六号 七号 10% 25% 50% 75% 100% 150
2、% 200% 500% <script type=text/javascript>/ 系统初试化 和系统运用 函数组起先/ SEP_PADDING = 5; HANDLE_PADDING = 7; window.onerror = ResumeError; / 变更模式:代码、编辑、文本、预览 var sCurrMode = EDIT; var bEditMode = true; var yanchicss= false; ModeEdit.value = EDIT; / 连接对象 / 阅读器版本检测 var BrowserInfo = new Object() ; Browser
3、Info.MajorVer = navigator.appVersion.match(/MSIE (.)/)1 ; BrowserInfo.MinorVer = navigator.appVersion.match(/MSIE .(.)/)1 ; BrowserInfo.IsIE55OrMore = BrowserInfo.MajorVer = 6 | ( BrowserInfo.MajorVer = 5 & BrowserInfo.MinorVer = 5 ) ; var yToolbars = new Array(); var YInitialized = false; var bLoad
4、=false; var pureText=true; var EditMode=true; var SourceMode=false; var PreviewMode=false; var CurrentMode=0; var sLinkFieldName =Content; var edithead=; edithead=edithead+; var content /屏蔽错误 function ResumeError() return true; function EditorEdit() /程序初始化 function document.onreadystatechange() if (
5、YInitialized) return; YInitialized = true; var i, s, curr; for (i=0; i); HtmlEdit.document.open(); HtmlEdit.document.write(content); HtmlEdit.document.close(); HtmlEdit.document.designMode=On; HtmlEdit.document.onkeydown = new Function(return onKeyDown(HtmlEdit.event);); HtmlEdit.document.onmouseup
6、= new Function(return onMouseUp(HtmlEdit.event,1);); HtmlEdit.document.oncontextmenu=new Function(return showContextMenu(HtmlEdit.event);); function yToolbarsCss() if (document.all) var i, s, curr; for (i=0; i TotalLen) TotalLen = TB.TBWidth; var PrevTB; var LastStart = 0; var RelTop = 0; var LastWi
7、d, CurrWid; var TB = yToolbars0; TB.style.posTop = 0; TB.style.posLeft = 0; var Start = TB.TBWidth; for (i = 1 ; i ScrWid) Start = 0; LastWid = TotalLen - LastStart; else LastWid =PrevTB.TBWidth; RelTop -=TB.offsetHeight; TB.style.posTop = RelTop; TB.style.posLeft = Start; PrevTB.style.width = LastW
8、id; LastStart = Start; Start += CurrWid; TB.style.width = TotalLen - LastStart; i-; TB = yToolbarsi; var TBInd = TB.sourceIndex; var A = TB.document.all; var item; for (i in A) item = A.item(i); if (! item) continue; if (! item.style) continue; if (item.sourceIndex 1 & addRowsNoSpan 0) var nextRow =
9、 allRowsselectedTR.rowIndex+selectedTD.rowSpan-1; selectedTD.rowSpan -= 1; var ncLeftColSpan = 0; var position = -1; for (var n=0; nnsLeftColSpan) position = n; break; var newTD=nextRow.insertCell(position); newTD.innerHTML = ; if (borderShown = yes) newTD.runtimeStyle.border = 1px dotted #BFBFBF; a
10、ddRowsNoSpan -= 1; / rowspan=1时 for (var n=0; n1)&(allRowsj.cellsk.rowSpan=selectedTR.rowIndex-allRowsj.rowIndex+1) allRowsj.cellsk.rowSpan += 1; / 当前行 for (i = 0; i 1) nsLeftRowSpanMoreOne += 1; var allRows = selectedTable.rows / colSpan1时 while (selectedTD.colSpan 1 & addColsNoSpan 0) newCell = se
11、lectedTR.insertCell(selectedTD.cellIndex+1); newCell.innerHTML = if (borderShown = yes) newCell.runtimeStyle.border = 1px dotted #BFBFBF selectedTD.colSpan -= 1; addColsNoSpan -= 1; / colSpan=1时 for (i=0;insLeftColSpan) position = n; break; if (selectedTR.rowIndex!=i) if (position!=-1) allRowsi.cell
12、sposition+nsLeftRowSpanMoreOne.colSpan += addColsNoSpan; else for (var n=0; n; var sMenu1=; var sMenu2=; / 菜单 var oPopupMenu = null; if (BrowserInfo.IsIE55OrMore) oPopupMenu = window.createPopup(); / 取菜单行 function getMenuRow(s_Disabled, s_Event, s_Image, s_Html) var s_MenuRow = ; s_MenuRow = if (s_I
13、mage !=) s_MenuRow += ; else s_MenuRow += ; s_MenuRow += s_Html+; return s_MenuRow; / 取标准的format菜单行 function getFormatMenuRow(menu, html, image) var s_Disabled = ; if (!HtmlEdit.document.queryCommandEnabled(menu) s_Disabled = disabled; var s_Event = format(+menu+); var s_Image = menu+.gif; if (image
14、) s_Image = image; return getMenuRow(s_Disabled, s_Event, s_Image, html) / 短暂解决一下 不能通用右键的问题 function getFormatMenuRow2(menu, html, image) var s_Disabled = ; if (!HtmlEdit.document.queryCommandEnabled(menu) s_Disabled = disabled; var s_Event = format2(+menu+); var s_Image = menu+.gif; if (image) s_Im
15、age = image; return getMenuRow(s_Disabled, s_Event, s_Image, html) /表格菜单 function tableMenu() if (!bEditMode) return false; var sMenu = var width = 150; var height = 0; var lefter = event.clientX; var leftoff = event.offsetX var topper = event.clientY; var topoff = event.offsetY; var oPopDocument =
16、oPopupMenu.document; var oPopBody = oPopupMenu.document.body; sMenu += getTableMenuRow(TableInsert); sMenu += getTableMenuRow(TableProp); sMenu += sMenuHr; sMenu += getTableMenuRow(TableCell); height = 306; / 取表格菜单行 function getTableMenuRow(what) var s_Menu = ; var s_Disabled = disabled; switch(what
17、) case TableInsert: if (!isTableSelected() s_Disabled=; s_Menu += getMenuRow(s_Disabled, TableInsert(), table_cr.gif, 插入表格.) break; case TableProp: if (isTableSelected()|isCursorInTableCell() s_Disabled=; s_Menu += getMenuRow(s_Disabled, TableProp(), table_sx.gif, 表格属性.) break; case TableCell: if (i
18、sCursorInTableCell() s_Disabled=; s_Menu += getMenuRow(s_Disabled, TableCellProp(), table_sx2.gif, 单元格属性.) s_Menu += getMenuRow(s_Disabled, TableCellSplit(), table_cf.gif, 拆分单元格.) s_Menu += sMenuHr; s_Menu += getMenuRow(s_Disabled, TableRowProp(), table_sxh.gif, 表格行属性.) s_Menu += getMenuRow(s_Disabl
19、ed, TableRowInsertAbove(), table_tr.gif, 插入行(在上方)); s_Menu += getMenuRow(s_Disabled, TableRowInsertBelow(), table_trx.gif, 插入行(在下方)); s_Menu += getMenuRow(s_Disabled, TableRowMerge(), table_hbx.gif, 合并行(向下方)); s_Menu += getMenuRow(s_Disabled, TableRowSplit(2), table_cfh.gif, 拆分行); s_Menu += getMenuR
20、ow(s_Disabled, TableRowDelete(), table_trdel.gif, 删除行); s_Menu += sMenuHr; s_Menu += getMenuRow(s_Disabled, TableColInsertLeft(), table_td.gif, 插入列(在左侧)); s_Menu += getMenuRow(s_Disabled, TableColInsertRight(), table_tdr.gif, 插入列(在右侧)); s_Menu += getMenuRow(s_Disabled, TableColMerge(), table_hby.gif
21、, 合并列(向右侧)); s_Menu += getMenuRow(s_Disabled, TableColSplit(2), table_cf.gif, 拆分列); s_Menu += getMenuRow(s_Disabled, TableColDelete(), table_tddel.gif, 删除列); break; return s_Menu; / 右键是否在编辑状态 function isyou() var range = HtmlEdit.document.selection.createRange(); var RangeType = HtmlEdit.document.se
22、lection.type; if (RangeType = Text) return true; / 右键调用类型 function youjiantype() if (youjian=true) return true; / 右键菜单 function showContextMenu(event) if (!bEditMode) return false; var width = 150; var height = 0; var lefter = event.clientX; var topper = event.clientY; var oPopDocument = oPopupMenu.
23、document; var oPopBody = oPopupMenu.document.body; var sMenu=; sMenu += getFormatMenuRow2(cut, 剪切); sMenu += getFormatMenuRow2(copy, 复制); sMenu += getFormatMenuRow2(paste, 常规粘贴); sMenu += getFormatMenuRow2(delete, 删除); height += 102; if (HtmlEdit.document.selection.type = Control) sMenu += getMenuRo
24、w(, insert(Attribute), label3.gif, 代码属性.); height+= 19; if (sCurrMode=EDIT) if (isyou() sMenu += getMenuRow(, insert(fgcolor), fgcolor.gif, 文字颜色); sMenu += getMenuRow(, insert(fgbgcolor), fgbgcolor.gif, 文字背景色); sMenu += getMenuRow(, format(bold), bold.gif, 文字加粗); sMenu += getMenuRow(, format(italic)
25、, italic.gif, 文字斜体); sMenu += getMenuRow(, format(underline), underline.gif, 文字下划线); sMenu += getMenuRow(, format(StrikeThrough), strikethrough.gif, 文字删除线); height += 119; if (isCursorInTableCell() sMenu += getTableMenuRow(TableProp); sMenu += getTableMenuRow(TableCell); sMenu += sMenuHr; height +=
26、286; if (isControlSelected(TABLE) sMenu += getTableMenuRow(TableProp); sMenu += sMenuHr; height += 22; if (isControlSelected(IMG) sMenu += getMenuRow(, insert(pic), img.gif, 图片属性.); sMenu += sMenuHr; sMenu += getMenuRow(, imgalign(left), imgleft.gif, 图片左环绕.); sMenu += getMenuRow(, imgalign(center),
27、imgcenter.gif, 图片单行居中.); sMenu += getMenuRow(, imgalign(right), imgright.gif, 图片右环绕.); sMenu += sMenuHr; sMenu += getMenuRow(, zIndex(forward), forward.gif, 上移一层); sMenu += getMenuRow(, zIndex(backward), backward.gif, 下移一层); sMenu += sMenuHr; height+= 127; sMenu += getFormatMenuRow2(selectall, 全选);
28、sMenu += getMenuRow(, findstr(), find.gif, 查找替换.); height += 20; sMenu = sMenu1 + sMenu + sMenu2; oPopDocument.open(); oPopDocument.write(+sMenu); oPopDocument.close(); height+=2; if(lefter+width document.body.clientWidth) lefter=lefter-width; oPopupMenu.show(lefter, topper, width, height, HtmlEdit.
29、document.body); return false; / 右键下拉工具栏菜单 function showToolMenu(menu) if (!bEditMode) return false; var sMenu = var width = 150; var height = 0; var lefter = event.clientX; var leftoff = event.offsetX var topper = event.clientY; var topoff = event.offsetY; var oPopDocument = oPopupMenu.document; var
30、 oPopBody = oPopupMenu.document.body; switch(menu) case font: / 字体菜单 sMenu += getFormatMenuRow(superscript, 上标, sup.gif); sMenu += getFormatMenuRow(subscript, 下标, sub.gif); sMenu += sMenuHr; sMenu += getMenuRow(, insert(big), tobig.gif, 字体增大); sMenu += getMenuRow(, insert(small), tosmall.gif, 字体减小);
31、 sMenu += sMenuHr; sMenu += getFormatMenuRow(insertorderedlist, 编号, num.gif); sMenu += getFormatMenuRow(insertunorderedlist, 项目符号, list.gif); sMenu += getFormatMenuRow(indent, 增加缩进量, indent.gif); sMenu += getFormatMenuRow(outdent, 削减缩进量, outdent.gif); sMenu += sMenuHr; sMenu += getFormatMenuRow(inse
32、rtparagraph, 插入段落, paragraph.gif); sMenu += getMenuRow(, insert(br), chars.gif, 插入换行符); height = 206; break; case paragraph:/ 段落菜单 sMenu += getFormatMenuRow(JustifyLeft, 左对齐, JustifyLeft.gif); sMenu += getFormatMenuRow(JustifyCenter, 居中对齐, JustifyCenter.gif); sMenu += getFormatMenuRow(JustifyRight,
33、右对齐, JustifyRight.gif); sMenu += getFormatMenuRow(JustifyFull, 两端对齐, JustifyFull.gif); sMenu += sMenuHr; sMenu += getFormatMenuRow(insertorderedlist, 编号, insertorderedlist.gif); sMenu += getFormatMenuRow(insertunorderedlist, 项目符号, insertunorderedlist.gif); sMenu += getFormatMenuRow(indent, 增加缩进量, in
34、dent.gif); sMenu += getFormatMenuRow(outdent, 削减缩进量, outdent.gif); sMenu += sMenuHr; sMenu += getFormatMenuRow(insertparagraph, 插入段落, insertparagraph.gif); sMenu += getMenuRow(, insert(br), br.gif, 插入换行符); height = 204; break; case gongshi:/ 公式编辑器 sMenu += getMenuRow(,insert(InsertEQ), eq1.gif, 插入公式
35、); sMenu += getMenuRow(,insert(InstallEQ), eq2.gif, 安装公式编辑器插件); height = 42; break; case edit: / 编辑菜单 var s_Disabled = ; if (history.data.length = history.data.length-1 | history.data.length = 0) s_Disabled = disabled; sMenu += getMenuRow(s_Disabled, goHistory(1), redo.gif, 复原) sMenu += sMenuHr; sMenu += getFormatMenuRow(Cut, 剪切, cut.gif); sMenu += getFormatMenuRow(Copy, 复制, copy.gif); sMenu += getFormatMenuRow(Paste, 常规粘贴, paste.gif); sMenu += getMenuRow(, PasteText(), pastetext.gif, 纯文本粘