art.htm

来自「学校智能办公系统 1、系统包含成绩学籍管理、公文管理、电子备课、教职工管理、」· HTM 代码 · 共 224 行 · 第 1/4 页

HTM
224
字号
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language=javascript src="dialog.js"></script>

<script language=javascript>
document.write ("<link href='../language/" + AvailableLangs["Active"] + ".css' type='text/css' rel='stylesheet'>");
document.write ("<link href='dialog.css' type='text/css' rel='stylesheet'>");

var sAction = "INSERT";
var sTitle = lang["DlgComInsert"];
var sel = dialogArguments.eWebEditor.document.selection.createRange();
sel.type = dialogArguments.eWebEditor.document.selection.type;

var oControl;
var sText = lang["DlgArtDefaultText"];
var sFontFamily = lang["DlgArtDefaultFamily"];
var sFontSize = "36";
var sFontUnit = "pt"
var sFontWeight = "normal";
var sFontStyle = "normal";
var sShapeID = "shape_x0000_i0001";

if (sel.type=="Control") {
	oControl = sel.item(0);
	if (oControl.tagName=="shape"){
		if (oControl.textpath.string){
			sAction = "MODI";
			sTitle = lang["DlgComModify"];

			var oTextPath = oControl.all.tags("textpath")(0);
			sFontFamily = oTextPath.style.fontFamily;
			sFontSize = oTextPath.style.fontSize;
			if (sFontSize.substr(sFontSize.length-2)=="px"){
				sFontUnit = "px";
			}
			sFontSize = parseInt(sFontSize);
			if (isNaN(sFontSize)) {sFontSize = "36"}

			sFontWeight = oTextPath.style.fontWeight;
			sFontWeight = sFontWeight.toLowerCase();
			if (sFontWeight!="bold") {sFontWeight="normal"}

			sFontStyle = oTextPath.style.fontStyle;
			sFontStyle = sFontStyle.toLowerCase();
			if (sFontStyle!="italic") {sFontStyle="normal"}

			sText = oTextPath.string;
			sShapeID = "shape"+oControl.id;
			if (sShapeID=="") {sShapeID="shape_x0000_i0001"}
		}
	}
}

var aArts=new Array(
	'<v:shapetype id=_x0000_t136 coordsize = "21600,21600" o:spt = "136" path = " m@7,0 l@8,0 m@5,21600 l@6,21600 e" adj = "10800"><v:formulas><v:f eqn = "sum #0 0 10800 "></v:f><v:f eqn = "prod #0 2 1 "></v:f><v:f eqn = "sum 21600 0 @1 "></v:f><v:f eqn = "sum 0 0 @2 "></v:f><v:f eqn = "sum 21600 0 @3 "></v:f><v:f eqn = "if @0 @3 0 "></v:f><v:f eqn = "if @0 21600 @1 "></v:f><v:f eqn = "if @0 0 @2 "></v:f><v:f eqn = "if @0 @4 21600 "></v:f><v:f eqn = "mid @5 @6 "></v:f><v:f eqn = "mid @8 @5 "></v:f><v:f eqn = "mid @7 @8 "></v:f><v:f eqn = "mid @6 @7 "></v:f><v:f eqn = "sum @6 0 @5 "></v:f></v:formulas><v:path o:connectangles="270,180,90,0" o:connectlocs="@9,0;@10,10800;@11,21600;@12,10800" textpathok = "t" o:connecttype = "custom"></v:path><v:textpath on = "t" fitshape = "t"></v:textpath><v:handles><v:h xrange="6629,14971" position="#0,bottomRight"></v:h></v:handles><o:lock shapetype="t" text="t" v:ext="edit"></o:lock></v:shapetype><v:shape id=_x0000_i0001 style="WIDTH: 42pt; HEIGHT: 12pt" type = "#_x0000_t136" coordsize = "21600,21600"><v:shadow color = "#868686"></v:shadow><v:textpath style="FONT-SIZE: 12pt; v-text-kern: t" fitpath = "t" trim = "t" string = "WordArt"></v:textpath></v:shape>',

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?