home *** CD-ROM | disk | FTP | other *** search
/ Kompuutteri Kaikille K-CD 2003 #3 / K-CD_2003-03.iso / Explorer6 / DA / IEW2K_2.CAB / mshtmler.dll / HTML / FORCHAR.DLG < prev    next >
Text File  |  2002-09-10  |  21KB  |  765 lines

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML 3.2//EN">
  2. <HTML id=dlgFont STYLE="font-family: MS Shell Dlg; font-size: 8pt;
  3. width: 35.4em; height: 26.9em">
  4. <HEAD>
  5. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  6. <meta http-equiv="MSThemeCompatible" content="Yes">
  7. <TITLE id=dialogTitle>
  8. Skrifttype
  9. </TITLE>
  10. </HEAD>
  11. <SCRIPT defer>
  12. function callHelp(elm)
  13. {
  14. if (null != elm.helpid)
  15. {
  16. window.showHelp(elm.helpfile, "" + parseInt(elm.helpid),
  17. "popup");
  18. }
  19. else
  20. {
  21. if ("BODY" != elm.tagName)
  22. {
  23. callHelp(elm.parentElement);
  24. }
  25. }
  26. }
  27. function btnCancelClick()
  28. {
  29. window.close();
  30. }
  31. function getTextRange(elm)
  32. {
  33. var r = elm.parentTextEdit.createTextRange();
  34. r.moveToElementText(elm);
  35. return r;
  36. }
  37. function mouseClick()
  38. {
  39. if (window.event.srcElement.id.substring(0,3)
  40. == "txt")
  41. {
  42. return;
  43. }
  44. if (window.event.button == 2)
  45. {
  46. callHelp(window.event.srcElement);
  47. }
  48. }
  49. function txtDefaultESC()
  50. {
  51. if (event.keyCode == 27)
  52. {
  53. window.close();
  54. return;
  55. }
  56. }
  57. window.onerror = HandleError
  58. var L_Dialog_ErrorMessage = "Der opstod en fejl i denne dialogboks.";
  59. var L_ErrorNumber_Text = "Fejl: ";
  60. function HandleError(message, url, line)
  61. {
  62. var str = L_Dialog_ErrorMessage + "\n\n"
  63. + L_ErrorNumber_Text + line + "\n"
  64. + message;
  65. alert (str);
  66. window.close();
  67. return true;
  68. }
  69. var g_bSearchList = false;
  70. var g_nTimeoutID;
  71. var g_szLastFound = "";
  72. var g_nLastFoundIndex = 0;
  73. var g_nMatchLength = 0;
  74. function GetSampleString()
  75. {
  76. var strReturn = "AaBbYyZz";
  77. if (txtFontName.value != "")
  78. {
  79. switch (dialogHelper.getCharset(txtFontName.value))
  80. {
  81. case 2:
  82. {
  83. strReturn = "Symbol";
  84. break;
  85. }
  86. case 128:
  87. {
  88. strReturn = "Aa\u3042\u3041\u30a2\u30a1\u4e9c\u5b87";
  89. break;
  90. }
  91. case 129:
  92. case 130:
  93. {
  94. strReturn = "\uac00\ub098\ub2e4\u0041\u0061\u0042\u0062\u0059\u0079\u005a\u007a";
  95. break;
  96. }
  97. case 136:
  98. {
  99. strReturn = "\u4e2d\u6587\u5b57\u578b\u7bc4\u4f8b";
  100. break;
  101. }
  102. case 161:
  103. {
  104. strReturn = "AaBb\u0391\u03b1\u0392\u03b2";
  105. break;
  106. }
  107. case 162:
  108. {
  109. strReturn = "AaBb\u011e\u011f\u015e\u015f";
  110. break;
  111. }
  112. case 177:
  113. {
  114. strReturn = "AaBb\u05e0\u05e1\u05e9\u05ea";
  115. break;
  116. }
  117. case 178:
  118. case 179:
  119. {
  120. strReturn = "AaBb\u0639\u0645\u0646\u062e\u0631\u0648\u0643\u0645";
  121. break;
  122. }
  123. case 204:
  124. {
  125. strReturn = "AaBb\u0411\u0431\u0424\u0444";
  126. break;
  127. }
  128. case 238:
  129. {
  130. strReturn = "AaBb\u00c1\u00e1\u00d4\u00f4";
  131. break;
  132. }
  133. case 255:
  134. {
  135. strReturn = "Aa\u00f8\u00f1\u00fd";
  136. break;
  137. }
  138. }
  139. }
  140. return strReturn;
  141. }
  142. function getCheckStateCmd(checkbox, range)
  143. {
  144. checkbox.checked = (true == range.queryCommandState(checkbox.value));
  145. }
  146. function getSelectStateCmd(select, range)
  147. {
  148. var index;
  149. if (null != range.queryCommandValue(select.id.substring(3)))
  150. {
  151. for (index = 0; index < select.options.length; index++)
  152. {
  153. if (select.options[index].value ==
  154. range.queryCommandValue(select.id.substring(3)))
  155. {
  156. select.selectedIndex = index;
  157. break;
  158. }
  159. }
  160. }
  161. else
  162. {
  163. select.selectedIndex = -1;
  164. }
  165. }
  166. function setCheckStateCmd(checkbox, range)
  167. {
  168. if (checkbox.checked !=
  169. (true == range.queryCommandState(checkbox.value)))
  170. {
  171. range.execCommand(checkbox.value, false);
  172. }
  173. }
  174. function setSelectStateCmd(select, range)
  175. {
  176. if (-1 != select.selectedIndex)
  177. {
  178. range.execCommand(select.id.substring(3), false,
  179. select.options[select.selectedIndex].value);
  180. }
  181. }
  182. function NoCaseCompare(str1, str2)
  183. {
  184. var ideo1 = 1 != escape(str1.charAt(0)).length;
  185. var ideo2 = 1 != escape(str2.charAt(0)).length;
  186. if (ideo1 != ideo2)
  187. return ideo1 ? -1 : 1;
  188. if (str1.toLowerCase() < str2.toLowerCase())
  189. return -1;
  190. if (str1.toLowerCase() > str2.toLowerCase())
  191. return 1;
  192. return 0;
  193. }
  194. function fillFontSelect(select)
  195. {
  196. var index;
  197. var fontList = new Array();
  198. var optFontName;
  199. var len = dialogHelper.fonts.length;
  200. for (index = 0; index < len; index++)
  201. {
  202. fontList[index] =
  203. dialogHelper.fonts.item(index);
  204. }
  205. fontList.sort(NoCaseCompare);
  206. for (index = 0; index < fontList.length; index++)
  207. {
  208. optFontName = new Option();
  209. optFontName.value = fontList[index];
  210. optFontName.text = fontList[index];
  211. select.options[index] = optFontName;
  212. }
  213. }
  214. function setFont(range)
  215. {
  216. var FontNameCommand = "FontName";
  217. if (window.event.srcElement == txtFontName ||
  218. window.event.srcElement == cmdFontName)
  219. {
  220. range.text = GetSampleString();
  221. range = getTextRange(elmSample);
  222. }
  223. if (-1 != cmdFontName.selectedIndex)
  224. {
  225. range.execCommand(FontNameCommand, false, txtFontName.value);
  226. }
  227. }
  228. function getFontStyle()
  229. {
  230. var cmdBold = "Bold";
  231. var cmdItalic = "Italic";
  232. var globalDoc = window.dialogArguments;
  233. var range = globalDoc;
  234. with (range)
  235. {
  236. if (queryCommandState(cmdBold) && queryCommandState(cmdItalic))
  237. {
  238. selFontStyle.value = "Bold-Italic";
  239. }
  240. else if (queryCommandState(cmdBold))
  241. {
  242. selFontStyle.value = "Bold";
  243. }
  244. else if (queryCommandState(cmdItalic))
  245. {
  246. selFontStyle.value = "Italic";
  247. }
  248. else
  249. {
  250. selFontStyle.value = "Regular";
  251. }
  252. }
  253. }
  254. function setFontStyle(range)
  255. {
  256. var cmdBold = "Bold";
  257. var cmdItalic = "Italic";
  258. with (range)
  259. {
  260. if ("Bold-Italic" == selFontStyle.value)
  261. {
  262. if (true != queryCommandState(cmdBold))
  263. {
  264. execCommand(cmdBold, false);
  265. }
  266. if (true != queryCommandState(cmdItalic))
  267. {
  268. execCommand(cmdItalic, false);
  269. }
  270. }
  271. else if ("Bold" == selFontStyle.value)
  272. {
  273. if (true != queryCommandState(cmdBold))
  274. {
  275. execCommand(cmdBold, false);
  276. }
  277. if (true == queryCommandState(cmdItalic))
  278. {
  279. execCommand(cmdItalic, false);
  280. }
  281. }
  282. else if ("Italic" == selFontStyle.value)
  283. {
  284. if (true == queryCommandState(cmdBold))
  285. {
  286. execCommand(cmdBold, false);
  287. }
  288. if (true != queryCommandState(cmdItalic))
  289. {
  290. execCommand(cmdItalic, false);
  291. }
  292. }
  293. else
  294. {
  295. if (true == queryCommandState(cmdBold))
  296. {
  297. execCommand(cmdBold, false);
  298. }
  299. if (true == queryCommandState(cmdItalic))
  300. {
  301. execCommand(cmdItalic, false);
  302. }
  303. }
  304. }
  305. }
  306. function getFontColor()
  307. {
  308. var cmdForeColor = "ForeColor";
  309. var globalDoc = window.dialogArguments;
  310. var range = globalDoc;
  311. var intColor = range.queryCommandValue(cmdForeColor);
  312. if (null != intColor)
  313. {
  314. selColor.value = intColor;
  315. if (parseInt(selColor.value) != parseInt(intColor))
  316. {
  317. selColor.customColor = intColor;
  318. selColor.value = "custom";
  319. }
  320. }
  321. else
  322. {
  323. selColor.selectedIndex = -1;
  324. }
  325. }
  326. function setFontColor(range)
  327. {
  328. var cmdForeColor = "ForeColor";
  329. var intDefaultColor = 0;
  330. if (-1 != selColor.selectedIndex)
  331. {
  332. if ("custom" == selColor.value)
  333. {
  334. range.execCommand(cmdForeColor, false,
  335. parseInt(selColor.customColor));
  336. return;
  337. }
  338. else
  339. {
  340. range.execCommand(cmdForeColor, false,
  341. parseInt(selColor.value));
  342. }
  343. }
  344. }
  345. function syncSelect(ctlSelect, ctlText)
  346. {
  347. if (-1 != ctlSelect.selectedIndex)
  348. {
  349. if (ctlText.value.toLowerCase()
  350. == ctlSelect.options[ctlSelect.selectedIndex]
  351. .text.toLowerCase())
  352. {
  353. ctlText.value = ctlSelect.options[ctlSelect.selectedIndex].text;
  354. }
  355. }
  356. }
  357. function syncSelect2(ctlSelect, ctlText)
  358. {
  359. if (-1 != ctlSelect.selectedIndex)
  360. {
  361. ctlText.value = ctlSelect.options[ctlSelect.selectedIndex].text;
  362. }
  363. }
  364. function findMatch (strMatch, optionsList)
  365. {
  366. var index;
  367. var index2;
  368. var bestChar = 0;
  369. var bestMatch = 0;
  370. var strOptText;
  371. for (index = 0; index < optionsList.length; index++)
  372. {
  373. strOptText = optionsList.options[index].text;
  374. for (index2 = bestChar; index2 < strMatch.length; index2++)
  375. {
  376. if (strMatch.substring(0, index2 + 1).toLowerCase() ==
  377. strOptText.substring(0, index2 + 1)
  378. .toLowerCase())
  379. {
  380. bestChar = index2 + 1;
  381. bestMatch = index;
  382. }
  383. else
  384. {
  385. break;
  386. }
  387. }
  388. }
  389. return bestMatch;
  390. }
  391. function updateSample()
  392. {
  393. var rngSample = getTextRange(elmSample);
  394. setCheckStateCmd(chkUnderline, rngSample);
  395. rngSample.text = GetSampleString();
  396. rngSample = getTextRange(elmSample);
  397. setFont(rngSample);
  398. setSelectStateCmd(cmdFontSize, rngSample);
  399. setFontStyle(rngSample);
  400. setFontColor(rngSample);
  401. }
  402. function searchText()
  403. {
  404. var index;
  405. var index2;
  406. var bestChar = g_nMatchLength;
  407. var bestMatch = g_nLastFoundIndex;
  408. var strOptText;
  409. var optionsList = cmdFontName.options;
  410. var strMatch = txtFontName.value;
  411. if (strMatch.length == 0)
  412. {
  413. cmdFontName.selectedIndex = -1;
  414. g_nMatchLength = 0;
  415. g_nLastFoundIndex = 0;
  416. g_bSearchList = false;
  417. g_szLastFound = "";
  418. return;
  419. }
  420. if (strMatch.length >= g_szLastFound.length
  421. && (strMatch.substring(0, g_nMatchLength).toLowerCase()
  422. == g_szLastFound.substring(0, g_nMatchLength).toLowerCase()))
  423. {
  424. index = g_nLastFoundIndex;
  425. }
  426. else
  427. {
  428. index = 0;
  429. bestChar = 0;
  430. }
  431. for (; index < optionsList.length; index++)
  432. {
  433. strOptText = optionsList.options[index].text;
  434. for (index2 = bestChar; index2 < strMatch.length; index2++)
  435. {
  436. if (strMatch.substring(index2, index2 + 1).toLowerCase() ==
  437. strOptText.substring(index2, index2 + 1)
  438. .toLowerCase())
  439. {
  440. bestChar = index2 + 1;
  441. bestMatch = index;
  442. g_nLastFoundIndex = bestMatch;
  443. g_nMatchLegth = bestChar;
  444. }
  445. else
  446. {
  447. break;
  448. }
  449. }
  450. if (bestChar > 0 && index < optionsList.options.length - 2 &&
  451. optionsList.options[index + 1].text
  452. .substring(bestChar - 1, bestChar).toLowerCase()
  453. != strMatch.substring(bestChar - 1, bestChar).toLowerCase())
  454. {
  455. break;
  456. }
  457. }
  458. cmdFontName.selectedIndex = bestMatch;
  459. g_bSearchList = false;
  460. g_szLastFound = txtFontName.value;
  461. }
  462. function TextboxKeyDown(textbox, select, iKeyCode)
  463. {
  464. var fReturn = false;
  465. if (38 == iKeyCode || 40 ==iKeyCode)
  466. {
  467. var iDirection = (iKeyCode == 38) ? -1 : 1;
  468. if (!((iDirection == 1 &&
  469. !(select.selectedIndex < select.options.length - 1))
  470. || (iDirection == -1 && !select.selectedIndex)))
  471. {
  472. select.selectedIndex = select.selectedIndex + iDirection;
  473. textbox.value =
  474. select.options(select.selectedIndex).text;
  475. textbox.select();
  476. updateSample(getTextRange(elmSample));
  477. }
  478. fReturn = true;
  479. }
  480. return fReturn;
  481. }
  482. function syncTextFont()
  483. {
  484. if (TextboxKeyDown(txtFontName, cmdFontName, window.event.keyCode))
  485. return;
  486. if (g_szLastFound.toLowerCase() == txtFontName.value.toLowerCase())
  487. {
  488. return;
  489. }
  490. if (g_bSearchList)
  491. {
  492. window.clearTimeout(g_nTimeoutID);
  493. }
  494. g_bSearchList = true;
  495. g_nTimeoutID = window.setTimeout("searchText()", 200);
  496. }
  497. function loadBdy()
  498. {
  499. var doc = window.dialogArguments;
  500. var L_InsideFrameset_ErrorMessage =
  501. "Denne kommando er ikke tilgµngelig, da siden indeholder rammer.";
  502. if (doc.parentWindow.frames.length > 0 &&
  503. doc.all.tags("IFRAME").length == 0)
  504. {
  505. alert(L_InsideFrameset_ErrorMessage);
  506. window.close();
  507. }
  508. var rngCurrent = doc;
  509. document.onhelp = new Function("callHelp(window.event.srcElement)");
  510. document.onmouseup = new Function("mouseClick()");
  511. txtFontName.onblur = new
  512. Function("syncSelect(cmdFontName, txtFontName)");
  513. txtFontName.onfocus = new Function("txtFontName.select()");
  514. txtFontName.onchange = new
  515. Function("setFont(getTextRange(elmSample))");
  516. txtFontName.onkeyup = new Function("syncTextFont()");
  517. txtFontName.onfocus = new Function("txtFontName.select()");
  518. txtFontName.onkeypress = new Function("txtDefaultESC()");
  519. txtFontStyle.onblur = new
  520. Function("syncSelect(selFontStyle, txtFontStyle)");
  521. txtFontStyle.onfocus = new Function("txtFontStyle.select()");
  522. txtFontStyle.onchange = new Function("setFontStyle" +
  523. "(getTextRange(elmSample))");
  524. txtFontStyle.onkeyup = new Function("synchText()");
  525. txtFontStyle.onfocus = new Function("txtFontStyle.select()");
  526. txtFontStyle.onkeypress = new Function("txtDefaultESC()");
  527. txtFontSize.onblur = new
  528. Function("syncSelect(cmdFontSize, txtFontSize)");
  529. txtFontSize.onfocus = new Function("txtFontSize.select()");
  530. txtFontSize.onchange = new
  531. Function("setSelectStateCmd(cmdFontSize, " +
  532. "getTextRange(elmSample))");
  533. txtFontSize.onkeyup = new Function("synchText()");
  534. txtFontSize.onfocus = new Function("txtFontSize.select()");
  535. txtFontSize.onkeypress = new Function("txtDefaultESC()");
  536. cmdFontName.onchange = new Function("syncSelect2(cmdFontName, txtFontName);" +
  537. "setFont(getTextRange(elmSample))");
  538. selFontStyle.onchange = new Function("syncSelect2(selFontStyle," +
  539. "txtFontStyle);" +
  540. "setFontStyle(getTextRange(elmSample))");
  541. cmdFontSize.onchange = new Function("syncSelect2(cmdFontSize, txtFontSize);" +
  542. "setSelectStateCmd(cmdFontSize, getTextRange(elmSample))");
  543. chkUnderline.onclick = new Function("setCheckStateCmd(chkUnderline," +
  544. "getTextRange(elmSample))");
  545. selColor.onchange = new Function("setFontColor(getTextRange(elmSample))");
  546. btnCustom.onclick = new Function("btnCustomClick()");
  547. btnOK.onclick = new Function("btnOKClick()");
  548. btnCancel.onclick = new Function("btnCancelClick()");
  549. fillFontSelect(cmdFontName);
  550. getCheckStateCmd(chkUnderline, rngCurrent);
  551. getSelectStateCmd(cmdFontName, rngCurrent);
  552. getSelectStateCmd(cmdFontSize, rngCurrent);
  553. getFontStyle();
  554. selColor.customColor = 0;
  555. getFontColor();
  556. syncSelect2(cmdFontName, txtFontName);
  557. syncSelect2(selFontStyle, txtFontStyle);
  558. syncSelect2(cmdFontSize, txtFontSize);
  559. txtFontName.select();
  560. g_szLastFound = txtFontName.value;
  561. updateSample();
  562. txtFontName.focus();
  563. }
  564. function btnCustomClick()
  565. {
  566. var result = dialogHelper.choosecolordlg(selColor.customColor);
  567. if (result != 0)
  568. {
  569. selColor.customColor = result;
  570. selColor.value = "custom";
  571. setFontColor(getTextRange(elmSample));
  572. }
  573. }
  574. function btnOKClick()
  575. {
  576. var globalDoc = window.dialogArguments;
  577. var range = globalDoc;
  578. setCheckStateCmd(chkUnderline, range);
  579. setSelectStateCmd(cmdFontSize, range);
  580. setFont(range);
  581. setFontColor(range);
  582. setFontStyle(range);
  583. window.close();
  584. }
  585. function synchText()
  586. {
  587. var index;
  588. var elmSource = window.event.srcElement;
  589. var arrSelect = new Array();
  590. var elmSelect;
  591. var elmOptions;
  592. arrSelect["txtFontName"] = cmdFontName;
  593. arrSelect["txtFontStyle"] = selFontStyle;
  594. arrSelect["txtFontSize"] = cmdFontSize;
  595. elmSelect = arrSelect[elmSource.id];
  596. elmOptions = elmSelect.options;
  597. if (TextboxKeyDown(elmSource, elmSelect, window.event.keyCode))
  598. return;
  599. if ("" != elmSource.value)
  600. {
  601. elmSelect.selectedIndex = findMatch(elmSource.value,
  602. elmOptions);
  603. }
  604. }
  605. </SCRIPT>
  606. <BODY id=bdy onload="loadBdy()" style="font-family: 'MS Shell Dlg'; font-size: 8pt;
  607. background: threedface; color: windowtext;" scroll=no>
  608. <OBJECT ID="dialogHelper" CLASSID="CLSID:3050f4e1-98b5-11cf-bb82-00aa00bdce0b"
  609. HEIGHT=0 WIDTH=0 tabindex=-1>
  610. </OBJECT>
  611. <DIV id=divFontName style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  612. left: 0.98em; top: 0.9126em; width: 2.38em; height: 1.2168em;">
  613. <LABEL id=lblFontName for=txtFontName tabIndex=-1 helpid="35420"
  614. helpfile=msoe.hlp>
  615. S<u>k</u>rifttype:</LABEL>
  616. </DIV>
  617. <DIV id=divFontStyle style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  618. left: 13.86em; top: 0.9126em; width: 4.76em; height: 1.2168em;">
  619. <LABEL id=lblFontStyle for=txtFontStyle tabIndex=-1 helpid="35425"
  620. helpfile=msoe.hlp>
  621. T<u>y</u>pografi:</LABEL>
  622. </DIV>
  623. <DIV id=divFontSize style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  624. left: 20.58em; top: 0.9126em; width: 2.24em; height: 1.2168em;">
  625. <LABEL id=lblFontSize for=txtFontSize tabIndex=-1 helpid="35430"
  626. helpfile=msoe.hlp>
  627. <u>S</u>t°rrelse:</LABEL>
  628. </DIV>
  629. <INPUT type=text ID=txtFontName ACCESSKEY=k tabIndex=5
  630. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  631. left: 0.98em; top: 2.3em; width: 12.04em; height: 1.9773em; "
  632. helpid="35420" helpfile=msoe.hlp>
  633. <INPUT type=text ID=txtFontStyle ACCESSKEY=y tabIndex=10
  634. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  635. left: 13.86em; top: 2.3em; width: 5.8em; height: 1.9773em; "
  636. helpid="35425" helpfile=msoe.hlp>
  637. <INPUT type=text ID=txtFontSize ACCESSKEY=s tabIndex=15
  638. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  639. left: 20.58em; top: 2.3em; width: 4.8em; height: 1.9773em; "
  640. helpid="35430" helpfile=msoe.hlp>
  641. <SELECT ID=cmdFontName style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  642. left: 0.8em; top: 4.2588em; width: 12.2em; height: 9.9739em; "
  643. name=setCmdID tabIndex=-1 size=7
  644. helpid="35420" helpfile=msoe.hlp>
  645. </SELECT>
  646. <SELECT ID=selFontStyle size=7 tabIndex=-1
  647. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  648. left: 13.8em; top: 4.2588em; width: 6em; height: 9.9739em; "
  649. helpid="35425" helpfile=msoe.hlp>
  650. <OPTION id=optRegular VALUE=Regular SELECTED> Regular </OPTION>
  651. <OPTION id=optItalic VALUE=Italic> Italic </OPTION>
  652. <OPTION id=optBold VALUE=Bold> Bold </OPTION>
  653. <OPTION id=optBoldItalic VALUE=Bold-Italic> Bold Italic </OPTION>
  654. </SELECT>
  655. <SELECT ID=cmdFontSize size=7 tabIndex=-1 name=setCmdID
  656. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  657. left: 20.5em; top: 4.2588em; width: 5em; height: 9.9739em; "
  658. helpid="35430" helpfile=msoe.hlp>
  659. <OPTION id=opt8 VALUE=1> 8 </OPTION>
  660. <OPTION id=opt10 VALUE=2> 10 </OPTION>
  661. <OPTION id=opt12 VALUE=3 SELECTED> 12 </OPTION>
  662. <OPTION id=opt14 VALUE=4> 14 </OPTION>
  663. <OPTION id=opt18 VALUE=5> 18 </OPTION>
  664. <OPTION id=opt24 VALUE=6> 24 </OPTION>
  665. <OPTION id=opt36 VALUE=7> 36 </OPTION>
  666. </SELECT>
  667. <FIELDSET id=fldEffects style="font-family: MS Shell Dlg; font-size: 8pt;
  668. position: absolute; left: 0.98em; top: 14.6em; width: 12.04em;
  669. height: 8.8em;">
  670. <LEGEND id=lgdEffects>
  671. Effekter
  672. </LEGEND>
  673. </FIELDSET>
  674. <INPUT ID=chkUnderline ACCESSKEY=u type=checkbox tabIndex=35 value=Underline
  675. name=setCmdID helpid="35445" helpfile=msoe.hlp
  676. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  677. left: 2em; top: 16.5em; width: 1.2em; height: 1.2em; ">
  678. <DIV id=divUnderline style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  679. left: 3.6em; top: 16.5789em; width: 6.44em; height: 1.521em;">
  680. <LABEL id=lblUnderline for=chkUnderline helpid="35445" helpfile=msoe.hlp
  681. tabIndex=-1><u>U</u>nderstregning
  682. </LABEL>
  683. </DIV>
  684. <DIV id=divColor style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  685. left: 1.96em; top: 18.8604em; width: 2.66em; height: 1.2168em;">
  686. <LABEL id=lblColor helpid="35440" helpfile=msoe.hlp for=selColor>
  687. <u>F</u>arve:</LABEL>
  688. </DIV>
  689. <SELECT ID=selColor ACCESSKEY=f tabIndex=55
  690. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  691. left: 1.96em; top: 20.3814em; width: 7em; height: 1.21em; "
  692. helpid="35440" helpfile=msoe.hlp>
  693. <OPTION id=optBlack value=0 > Sort </OPTION>
  694. <OPTION id=optWhite value=16777215> Hvid </OPTION>
  695. <OPTION id=optGreen value=32768 > Gr°n </OPTION>
  696. <OPTION id=optMaroon value=128 > R°dbrun </OPTION>
  697. <OPTION id=optOlive value=32896 > Olivengr°n </OPTION>
  698. <OPTION id=optNavy value=8388608 > Marineblσ </OPTION>
  699. <OPTION id=optPurple value=8388736 > M°rklilla </OPTION>
  700. <OPTION id=optGray value=8421504 > Grσ </OPTION>
  701. <OPTION id=optYellow value=65535 > Gul </OPTION>
  702. <OPTION id=optLime value=65280 > Limegr°n </OPTION>
  703. <OPTION id=optAqua value=16776960> Akvamarin </OPTION>
  704. <OPTION id=optFuchsia value=16711935> Lyslilla </OPTION>
  705. <OPTION id=optSilver value=12632256> S°lvgrσ </OPTION>
  706. <OPTION id=optRed value=255 > R°d </OPTION>
  707. <OPTION id=optBlue value=16711680> Blσ </OPTION>
  708. <OPTION id=optTeal value=8421376 > Blσgr°n </OPTION>
  709. <OPTION id=optCustom value=custom > Brugerdefineret </OPTION>
  710. </SELECT>
  711. <BUTTON id=btnCustom tabIndex=56
  712. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  713. left: 9.5em; top: 20.2em;"
  714. helpid="35440" helpfile=msoe.hlp>
  715. <IMG id=imgPalette
  716. align=bottom height=16px width=16px hspace=0 vspace=0 src="palette.gif">
  717. </BUTTON>
  718. <FIELDSET id=fldSample style="font-family: MS Shell Dlg; font-size: 8pt; position:
  719. absolute; left: 13.86em; top: 14.6em; width: 11.4em; height: 8.8em;">
  720. <LEGEND id=lgdSample helpid="35435" helpfile=msoe.hlp>
  721. Eksempel
  722. </LEGEND>
  723. </FIELDSET>
  724. <table cellspacing borderColorDark=threedhighlight
  725. borderColorLight=threedshadow noshade="yes" border=1 id=tblSample1
  726. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  727. left: 14.98em; top: 16.5789em; width: 9.24em; height: 5.0277em;">
  728. <tr>
  729. <td id=tdSample1 style="font-family: MS Shell Dlg; font-size: 8pt;
  730. left: 14.98em; top: 16.5789em; width: 9.24em; height: 5.0277em;">
  731. </td>
  732. </tr>
  733. </table>
  734. <DIV id=divSample2 style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  735. left: 14.98em; top: 16.5789em; width: 8.9em; height: 5.0277em;
  736. overflow: hidden" helpid="35435"
  737. helpfile=msoe.hlp>
  738. <TABLE id=tblSample2 style="font-family: MS Shell Dlg; font-size: 8pt; width: 8.9em;
  739. height: 5.0277em; " helpid="35435"
  740. helpfile=msoe.hlp>
  741. <TR>
  742. <TD id=tdSample2 style="font-family: MS Shell Dlg; font-size: 8pt; width: 8.9em;
  743. height: 5.0277em; "
  744. helpid="35435" helpfile=msoe.hlp>
  745. <CENTER>
  746. <DIV id=elmSample>
  747. <NOBR id=nbrSample helpid="35435" helpfile=msoe.hlp>
  748. AaBb╪°┼σ</NOBR></DIV></CENTER>
  749. </TD>
  750. </TR>
  751. </TABLE>
  752. </DIV>
  753. <BUTTON id=btnOK tabIndex=60
  754. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  755. left: 26.6em; top: 2.2815em; width: 7em; height: 2.2em; "
  756. helpid="28443" helpfile="windows.hlp" type=submit>
  757. OK</BUTTON>
  758. <BUTTON id=btnCancel tabIndex=70
  759. style="font-family: MS Shell Dlg; font-size: 8pt; position: absolute;
  760. left: 26.6em; top: 4.7151em; width: 7em; height: 2.2em; "
  761. helpid="28444" helpfile="windows.hlp" type=reset>
  762. Annuller</BUTTON>
  763. </BODY>
  764. </HTML>
  765.