SSMRC03100.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>Image EMR Viewer</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1" cache="no">
  8. <root xmlns="">
  9. <main>
  10. <chartinfo>
  11. <filetotal/>
  12. <pagetotal/>
  13. <pagecurrent/>
  14. <thumbselectcount/>
  15. </chartinfo>
  16. <chartpath/>
  17. <emrpath/>
  18. <emrorddate/>
  19. <emrformnm/>
  20. <emrformcd/>
  21. <emrdeptnm/>
  22. <emrdeptcd/>
  23. <emrpage/>
  24. <emrhiddenmsg/>
  25. <signemrdeptcd/>
  26. <signemrdeptnm/>
  27. </main>
  28. <_send>
  29. <data1/>
  30. </_send>
  31. <hidden>
  32. <temp/>
  33. <chartImageHome/>
  34. <buttonImageHome>../../../emr/imgemrweb/images/</buttonImageHome>
  35. <buttonImageExt>.gif</buttonImageExt>
  36. <buttonImage>
  37. <btnChartMousePanning>mouse_panning</btnChartMousePanning>
  38. <btnChartMouseMagnifyingGlass>mouse_magnifying_tool</btnChartMouseMagnifyingGlass>
  39. <btnChartMouseNormal>mouse_normal</btnChartMouseNormal>
  40. <btnMoveFirst>move_first</btnMoveFirst>
  41. <btnMoveLast>move_last</btnMoveLast>
  42. <btnMovePrev>move_prev</btnMovePrev>
  43. <btnMoveNext>move_next</btnMoveNext>
  44. <btnFitActual>fit_actual</btnFitActual>
  45. <btnFitBest>fit_best</btnFitBest>
  46. <btnFitWidth>fit_width</btnFitWidth>
  47. <btnPageMouseNormal>mouse_normal</btnPageMouseNormal>
  48. <btnPageMouseRegionZoom>mouse_region_zoom</btnPageMouseRegionZoom>
  49. <btnPageMouseMagnifyingGlass>mouse_magnifying_tool</btnPageMouseMagnifyingGlass>
  50. <btnPageMousePanning>mouse_panning</btnPageMousePanning>
  51. <btnRotateLeft>rotate_left</btnRotateLeft>
  52. <btnRotateRight>rotate_right</btnRotateRight>
  53. <btnZoomIn>zoom_in</btnZoomIn>
  54. <btnZoomOut>zoom_out</btnZoomOut>
  55. <btnComparePage>compare_page</btnComparePage>
  56. <btnSelectAllPage>select_allpage</btnSelectAllPage>
  57. <btnUnselectAllPage>unselect_allpage</btnUnselectAllPage>
  58. <btnThumbnail21>thumbnail_21</btnThumbnail21>
  59. <btnThumbnail22>thumbnail_22</btnThumbnail22>
  60. <btnThumbnail43>thumbnail_43</btnThumbnail43>
  61. </buttonImage>
  62. <buttonToggle>
  63. <btnComparePage>
  64. <disable/>
  65. </btnComparePage>
  66. <btnSelectAllPage>
  67. <disable/>
  68. </btnSelectAllPage>
  69. <btnUnselectAllPage>
  70. <disable/>
  71. </btnUnselectAllPage>
  72. <btnThumbnail21>
  73. <disable/>
  74. </btnThumbnail21>
  75. <btnThumbnail22>
  76. <disable/>
  77. </btnThumbnail22>
  78. <btnThumbnail43>
  79. <disable/>
  80. </btnThumbnail43>
  81. <btnChartMousePanning>
  82. <name>ModeChartMouse</name>
  83. <disable/>
  84. <value/>
  85. </btnChartMousePanning>
  86. <btnChartMouseMagnifyingGlass>
  87. <name>ModeChartMouse</name>
  88. <disable/>
  89. <value/>
  90. </btnChartMouseMagnifyingGlass>
  91. <btnChartMouseNormal>
  92. <name>ModeChartMouse</name>
  93. <disable/>
  94. <value/>
  95. </btnChartMouseNormal>
  96. <btnMoveFirst>
  97. <disable/>
  98. </btnMoveFirst>
  99. <btnMoveLast>
  100. <disable/>
  101. </btnMoveLast>
  102. <btnMovePrev>
  103. <disable/>
  104. </btnMovePrev>
  105. <btnMoveNext>
  106. <disable/>
  107. </btnMoveNext>
  108. <btnFitActual>
  109. <name>ModeFit</name>
  110. <disable/>
  111. <value/>
  112. </btnFitActual>
  113. <btnFitBest>
  114. <name>ModeFit</name>
  115. <disable/>
  116. <value/>
  117. </btnFitBest>
  118. <btnFitWidth>
  119. <name>ModeFit</name>
  120. <disable/>
  121. <value/>
  122. </btnFitWidth>
  123. <btnPageMouseNormal>
  124. <name>ModePageMouse</name>
  125. <disable/>
  126. <value/>
  127. </btnPageMouseNormal>
  128. <btnPageMouseRegionZoom>
  129. <name>ModePageMouse</name>
  130. <disable/>
  131. <value/>
  132. </btnPageMouseRegionZoom>
  133. <btnPageMouseMagnifyingGlass>
  134. <name>ModePageMouse</name>
  135. <disable/>
  136. <value/>
  137. </btnPageMouseMagnifyingGlass>
  138. <btnPageMousePanning>
  139. <name>ModePageMouse</name>
  140. <disable/>
  141. <value/>
  142. </btnPageMousePanning>
  143. </buttonToggle>
  144. <currentViewMode/>
  145. <currentLayout/>
  146. </hidden>
  147. <init/>
  148. </root>
  149. </instance>
  150. <script id="script1" type="javascript" ev:event="xforms-ready">
  151. <![CDATA[
  152. fInitilize();
  153. if(window.type != "iviewer")
  154. {
  155. btnNextCharts.attribute("visibility") = "hidden";
  156. capNextChrts.attribute("visibility") = "hidden";
  157. searchChart("/root/hidden/temp");
  158. if (downloadChart() == true)
  159. {
  160. setupChart("ChartView");
  161. }
  162. var pid = model.getValue("/root/hidden/temp/pid");
  163. if (pid == "")
  164. {
  165. setupChart("PageView");
  166. printChart("1");
  167. model.close();
  168. }
  169. }
  170. ]]>
  171. </script>
  172. <submission id="TRMRC03101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/_send" replace="instance" resultref="/root/main/charts"/>
  173. </model>
  174. <script type="javascript" src="../../../emr/imgemrweb/js/SSMRC03100.js"/>
  175. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  176. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  177. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  178. </xhtml:head>
  179. <xhtml:body overflow="visible" pagewidth="870" pageheight="780">
  180. <caption id="captionPage" class="cell_2" style="left:785px; top:0px; width:80px; height:20px; vertical-align:middle; ">/</caption>
  181. <output id="optPageCurrent" ref="/root/main/chartinfo/pagecurrent" style="left:785px; top:0px; width:35px; height:19px; text-align:center; vertical-align:middle; "/>
  182. <output id="optPageTotal" ref="/root/main/chartinfo/pagetotal" style="left:830px; top:0px; width:35px; height:19px; text-align:center; vertical-align:middle; "/>
  183. <output id="optCalcTotal" ref="/root/main/chartinfo/filetotal" visibility="hidden" style="left:530px; top:0px; width:20px; height:19px; text-align:center; vertical-align:middle; "/>
  184. <object id="objSFT" clsid="{2831e72c-9640-44ea-87dc-ddb462d5796c}" visibility="hidden" visible="false" style="left:450px; top:0px; width:35px; height:25px; "/>
  185. <object id="objBIP" clsid="{8e1f2225-def9-455c-8ad5-aa2904f9c98c}" visibility="hidden" visible="false" style="left:490px; top:0px; width:35px; height:25px; "/>
  186. <button id="btnThumbView" class="btn_sw" group="grpViewMode" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:0px; top:0px; width:132px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  187. <caption>여러페이지보기</caption>
  188. <script type="javascript" ev:event="DOMActivate">
  189. <![CDATA[
  190. setupChart("ThumbView");
  191. // var row;
  192. // var col;
  193. // if (model.getValue("/root/hidden/currentLayout") != "")
  194. // {
  195. // row = model.getValue("/root/hidden/currentLayout").substr(0, 1);
  196. // col = model.getValue("/root/hidden/currentLayout").substr(1, 1);
  197. // objThumbView.SetThumbLayout(row, col);
  198. // }
  199. ]]>
  200. </script>
  201. </button>
  202. <button id="btnChartView" class="btn_sw" group="grpViewMode" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:132px; top:0px; width:132px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  203. <caption>연속보기</caption>
  204. <script type="javascript" ev:event="DOMActivate">
  205. <![CDATA[
  206. setupChart("ChartView");
  207. var pageCurrent = parseInt(model.getValue("/root/main/chartinfo/pagecurrent"));
  208. if(pageCurrent != 0)
  209. {
  210. objChartView.ChartScroll(pageCurrent);
  211. }
  212. ]]>
  213. </script>
  214. </button>
  215. <button id="btnPageView" class="btn_sw" group="grpViewMode" select.background-image="../../../com/commonweb/images/tab_show.gif" style="left:264px; top:0px; width:132px; height:22px; background-image:../../../com/commonweb/images/tab_hide.gif; ">
  216. <caption>페이지보기</caption>
  217. <script type="javascript" ev:event="DOMActivate">
  218. <![CDATA[
  219. setupChart("PageView");
  220. ]]>
  221. </script>
  222. </button>
  223. <switch id="switchView" style="left:0px; top:21px; width:865px; height:750px; ">
  224. <case id="swtViewModeCase1">
  225. <shape id="recSwitchToolbar1" appearance="rectangle" style="left:0px; top:3px; width:860px; height:35px; background-color:#d4d0c8; border-style:solid; "/>
  226. <button id="btnComparePage" style="left:6px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/compare_page.gif; ">
  227. <caption/>
  228. <hint>
  229. <![CDATA[페이지 비교]]>
  230. </hint>
  231. <script type="javascript" ev:event="xforms-activate">
  232. <![CDATA[
  233. var count;
  234. var windowleft = 0;
  235. var windowtop = 0;
  236. if (objThumbView.TotalSelectedThumbnail > 0)
  237. {
  238. if (model.alert("총 " + objThumbView.TotalSelectedThumbnail + "페이지를 선택하였습니다.\n계속하려면 예를 누르고 중지하려면 아니오를 누르십시오.", "페이지 비교", 0x20 | 4) == 6)
  239. {
  240. for(count = 1; count <= objThumbView.TotalThumbnail; count++)
  241. {
  242. if (objThumbView.Select(count) == true)
  243. {
  244. // 파일이름 + 페이지 번호
  245. comparePage(objThumbView.FileName(count)+ "|" + g_page[count]);
  246. }
  247. }
  248. }
  249. else
  250. {
  251. }
  252. }
  253. ]]>
  254. </script>
  255. </button>
  256. <button id="btnSelectAllPage" style="left:46px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/select_allpage.gif; ">
  257. <hint>
  258. <![CDATA[전체 선택]]>
  259. </hint>
  260. <script type="javascript" ev:event="xforms-activate">
  261. <![CDATA[
  262. var count;
  263. if (objThumbView.TotalThumbnail != 0)
  264. {
  265. for(count = 1; count <= objThumbView.TotalThumbnail; count++)
  266. {
  267. objThumbView.Select(count) = true;
  268. }
  269. }
  270. model.setValue("/root/main/chartinfo/pagecurrent", objThumbView.TotalSelectedThumbnail);
  271. model.refresh();
  272. ]]>
  273. </script>
  274. <caption/>
  275. </button>
  276. <button id="btnUnselectAllPage" style="left:80px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/unselect_allpage.gif; ">
  277. <hint>
  278. <![CDATA[전체 선택 해제]]>
  279. </hint>
  280. <script type="javascript" ev:event="xforms-activate">
  281. <![CDATA[
  282. // objThumbView.SetThumbLayout(2, 1);
  283. var count;
  284. if (objThumbView.TotalThumbnail != 0)
  285. {
  286. for(count = 1; count <= objThumbView.TotalThumbnail; count++)
  287. {
  288. objThumbView.Select(count) = false;
  289. }
  290. }
  291. model.setValue("/root/main/chartinfo/pagecurrent", objThumbView.TotalSelectedThumbnail);
  292. model.refresh();
  293. ]]>
  294. </script>
  295. <caption/>
  296. </button>
  297. <button id="btnThumbnail21" style="left:120px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/thumbnail_21.gif; ">
  298. <hint>
  299. <![CDATA[2 X 1]]>
  300. </hint>
  301. <script type="javascript" ev:event="xforms-activate">
  302. <![CDATA[
  303. objThumbView.SetThumbLayout(2, 1);
  304. // processToggleButton("btnThumbnail21");
  305. // model.setValue("/root/hidden/currentLayout", "21");
  306. ]]>
  307. </script>
  308. <caption/>
  309. </button>
  310. <button id="btnThumbnail22" style="left:154px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/thumbnail_22.gif; ">
  311. <hint>
  312. <![CDATA[2 X 2]]>
  313. </hint>
  314. <script type="javascript" ev:event="xforms-activate">
  315. <![CDATA[
  316. objThumbView.SetThumbLayout(2, 2);
  317. // processToggleButton("btnThumbnail22");
  318. // model.setValue("/root/hidden/currentLayout", "22");
  319. ]]>
  320. </script>
  321. <caption/>
  322. </button>
  323. <button id="btnThumbnail43" style="left:188px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/thumbnail_43.gif; ">
  324. <hint>
  325. <![CDATA[4 X 3]]>
  326. </hint>
  327. <script type="javascript" ev:event="xforms-activate">
  328. <![CDATA[
  329. objThumbView.SetThumbLayout(4, 3);
  330. // processToggleButton("btnThumbnail43");
  331. // model.setValue("/root/hidden/currentLayout", "43");
  332. ]]>
  333. </script>
  334. <caption/>
  335. </button>
  336. <group id="groupThumbView" visibility="visible" style="left:0px; top:40px; width:860px; height:700px; ">
  337. <object id="objThumbView" clsid="{2808041c-8afc-4cec-932a-36da5188218f}" style="left:0px; top:0px; width:860px; height:700px; ">
  338. <script type="javascript" ev:event="MouseDblClick(Button, Shift, Index, Path, Page)">
  339. <![CDATA[
  340. if(Index != 0)
  341. {
  342. model.setValue("/root/main/chartinfo/pagecurrent", Index);
  343. setupMoveButton();
  344. model.refresh();
  345. setupChart("PageView");
  346. // if(objThumbView.ThumbUserText(Index) == "" || objThumbView.ThumbUserText(Index) == null)
  347. // {
  348. // model.setValue("/root/main/chartinfo/pagecurrent", Index);
  349. // setupMoveButton();
  350. // model.refresh();
  351. // setupChart("PageView");
  352. // }
  353. // else
  354. // {
  355. // parent.javaScript.fSetCertRecKey(objThumbView.ThumbUserText(Index));
  356. // }
  357. }
  358. ]]>
  359. </script>
  360. <script type="javascript" ev:event="MouseClick(Button, Shift, Index, Path, Page)">
  361. <![CDATA[
  362. var count1;
  363. var count2;
  364. if(Button == 1)
  365. {
  366. if(Shift == 0)
  367. {
  368. objThumbView.Select(Index) = ! objThumbView.Select(Index);
  369. }
  370. if(Shift == 1)
  371. {
  372. if (objThumbView.TotalSelectedThumbnail != 0)
  373. {
  374. for (count1 = 1; count1 <= objThumbView.TotalThumbnail; count1++)
  375. {
  376. if (objThumbView.Select(count1) == true)
  377. {
  378. if (count1 > Index)
  379. {
  380. for (count2 = Index; count2 <= count1; count2++)
  381. {
  382. objThumbView.Select(count2) = true;
  383. }
  384. }
  385. else if (count1 < Index)
  386. {
  387. for (count2 = count1; count2 <= Index; count2++)
  388. {
  389. objThumbView.Select(count2) = true;
  390. }
  391. }
  392. }
  393. }
  394. }
  395. else
  396. {
  397. for (count1 = 1; count1 <= Index; count1++)
  398. {
  399. objThumbView.Select(count1) = true;
  400. }
  401. }
  402. }
  403. model.setValue("/root/main/chartinfo/pagecurrent", objThumbView.TotalSelectedThumbnail);
  404. model.refresh();
  405. }
  406. if(Button == 2)
  407. {
  408. fShow_TruePreviewChart( Button, Shift, Index, Path, Page );
  409. }
  410. ]]>
  411. </script>
  412. <script type="javascript" ev:event="MouseUp(Button, Shift, x, y)">
  413. <![CDATA[
  414. fShow_FalsePreviewChart( Button, Shift, x, y );
  415. ]]>
  416. </script>
  417. </object>
  418. </group>
  419. <group id="groupPreview" visibility="hidden" style="left:0px; top:40px; width:860px; height:700px; ">
  420. <object id="objPreview" clsid="{5b40100e-99bc-4194-ac59-aa3ef8526dc9}" style="left:0px; top:0px; width:860px; height:700px; ">
  421. <script type="javascript" ev:event="MouseUp(Button, Shift, x, y)">
  422. <![CDATA[
  423. fShow_FalsePreviewChart( Button, Shift, x, y );
  424. ]]>
  425. </script>
  426. </object>
  427. </group>
  428. </case>
  429. <case id="swViewModeCase2" selected="true">
  430. <shape id="recSwitchToolbar2" appearance="rectangle" style="left:0px; top:3px; width:860px; height:35px; background-color:#d4d0c8; border-style:solid; "/>
  431. <button id="btnChartMousePanning" style="left:6px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/mouse_panning.gif; ">
  432. <caption/>
  433. <hint>
  434. <![CDATA[패닝]]>
  435. </hint>
  436. <script type="javascript" ev:event="xforms-activate">
  437. <![CDATA[processToggleButton("btnChartMousePanning");]]>
  438. </script>
  439. </button>
  440. <button id="btnChartMouseMagnifyingGlass" style="left:38px; top:6px; width:31px; height:31px; background-image:../../../emr/imgemrweb/images/mouse_magnifying_tool.gif; ">
  441. <hint>
  442. <![CDATA[돋보기]]>
  443. </hint>
  444. <script type="javascript" ev:event="xforms-activate">
  445. <![CDATA[processToggleButton("btnChartMouseMagnifyingGlass");]]>
  446. </script>
  447. <caption/>
  448. </button>
  449. <button id="btnChartMouseNormal" style="left:70px; top:6px; width:31px; height:31px; ">
  450. <hint>
  451. <![CDATA[기본]]>
  452. </hint>
  453. <script type="javascript" ev:event="xforms-activate">
  454. <![CDATA[processToggleButton("btnChartMouseNormal");]]>
  455. </script>
  456. <caption/>
  457. </button>
  458. <object id="objChartView" clsid="{1981ade6-203f-43c2-963b-ad154c145dca}" visible="true" style="left:0px; top:5px; width:860px; height:700px; ">
  459. <script id="script2" type="javascript" ev:event="DblClick()">
  460. <![CDATA[
  461. if(objChartView.Index != 0)
  462. {
  463. setupChart("PageView");
  464. // if(objChartView.UserText(model.getValue("/root/main/chartinfo/pagecurrent")) == "" || objChartView.UserText(model.getValue("/root/main/chartinfo/pagecurrent")) == null)
  465. // {
  466. // setupChart("PageView");
  467. // }
  468. // else
  469. // {
  470. // parent.javaScript.fSetCertRecKey(objChartView.UserText(model.getValue("/root/main/chartinfo/pagecurrent")));
  471. // }
  472. }
  473. ]]>
  474. </script>
  475. <script id="script8" type="javascript" ev:event="MouseChartDown(Button, Shift, chart, x, y)">
  476. <![CDATA[
  477. model.setValue("/root/main/chartinfo/pagecurrent", chart);
  478. setupMoveButton();
  479. model.refresh();
  480. ]]>
  481. </script>
  482. <script type="javascript" ev:event="KeyDown(KeyCode, Shift)">
  483. <![CDATA[
  484. // 연속보기
  485. // 이전차트 보기 (page Up)
  486. if (KeyCode == 33)
  487. {
  488. fn_view("PageUp");
  489. }
  490. // 다음 보기 (page Down)
  491. else if (KeyCode == 34)
  492. {
  493. fn_view("PageDown");
  494. }
  495. // 마지막 차트 End
  496. else if (KeyCode == 35)
  497. {
  498. fn_view("End");
  499. }
  500. // 처음 차트 Home
  501. else if (KeyCode == 36)
  502. {
  503. fn_view("Home");
  504. }
  505. ]]>
  506. </script>
  507. <script type="javascript" ev:event="ScrollTop()">
  508. <![CDATA[
  509. // alert("HOME");
  510. ]]>
  511. </script>
  512. <script type="javascript" ev:event="ScrollBottom()">
  513. <![CDATA[
  514. // alert("END");
  515. //opener.javascript.fGetNextEmrImgRec();
  516. ]]>
  517. </script>
  518. </object>
  519. </case>
  520. <case id="swViewModeCase3">
  521. <shape id="recSwitchToolbar3" appearance="rectangle" style="left:0px; top:3px; width:860px; height:35px; background-color:#d4d0c8; border-style:solid; "/>
  522. <button id="btnMoveFirst" style="left:6px; top:6px; width:31px; height:31px; ">
  523. <hint>
  524. <![CDATA[첫번째 페이지]]>
  525. </hint>
  526. <script id="script10" type="javascript" ev:event="xforms-activate">
  527. <![CDATA[
  528. fMoveFirst();
  529. ]]>
  530. </script>
  531. <caption/>
  532. </button>
  533. <button id="btnMoveLast" style="left:38px; top:6px; width:31px; height:31px; ">
  534. <hint>
  535. <![CDATA[마지막 페이지]]>
  536. </hint>
  537. <script id="script7" type="javascript" ev:event="xforms-activate">
  538. <![CDATA[
  539. fMoveLast();
  540. ]]>
  541. </script>
  542. <caption/>
  543. </button>
  544. <button id="btnMovePrev" style="left:70px; top:6px; width:31px; height:31px; ">
  545. <hint>
  546. <![CDATA[이전 페이지]]>
  547. </hint>
  548. <script type="javascript" ev:event="xforms-activate">
  549. <![CDATA[
  550. fMovePrev();
  551. ]]>
  552. </script>
  553. <caption/>
  554. </button>
  555. <button id="btnMoveNext" style="left:102px; top:6px; width:31px; height:31px; ">
  556. <hint>
  557. <![CDATA[다음 페이지]]>
  558. </hint>
  559. <script id="script6" type="javascript" ev:event="xforms-activate">
  560. <![CDATA[
  561. fMoveNext();
  562. ]]>
  563. </script>
  564. <caption/>
  565. </button>
  566. <button id="btnFitActual" style="left:143px; top:6px; width:31px; height:31px; ">
  567. <hint>
  568. <![CDATA[실제 크기 보기]]>
  569. </hint>
  570. <script type="javascript" ev:event="xforms-activate">
  571. <![CDATA[
  572. processToggleButton("btnFitActual");
  573. ]]>
  574. </script>
  575. <caption/>
  576. </button>
  577. <button id="btnFitBest" style="left:175px; top:6px; width:31px; height:31px; ">
  578. <hint>
  579. <![CDATA[최적 크기 보기]]>
  580. </hint>
  581. <script type="javascript" ev:event="xforms-activate">
  582. <![CDATA[
  583. processToggleButton("btnFitBest");
  584. ]]>
  585. </script>
  586. <caption/>
  587. </button>
  588. <button id="btnFitWidth" style="left:207px; top:6px; width:31px; height:31px; ">
  589. <hint>
  590. <![CDATA[가로 크기 보기]]>
  591. </hint>
  592. <script type="javascript" ev:event="xforms-activate">
  593. <![CDATA[
  594. processToggleButton("btnFitWidth");
  595. ]]>
  596. </script>
  597. <caption/>
  598. </button>
  599. <button id="btnPageMouseNormal" style="left:248px; top:6px; width:31px; height:31px; ">
  600. <hint>
  601. <![CDATA[기본]]>
  602. </hint>
  603. <script type="javascript" ev:event="xforms-activate">
  604. <![CDATA[
  605. processToggleButton("btnPageMouseNormal");
  606. ]]>
  607. </script>
  608. <caption/>
  609. </button>
  610. <button id="btnPageMouseMagnifyingGlass" style="left:280px; top:6px; width:31px; height:31px; ">
  611. <hint>
  612. <![CDATA[돋보기]]>
  613. </hint>
  614. <script type="javascript" ev:event="xforms-activate">
  615. <![CDATA[
  616. processToggleButton("btnPageMouseMagnifyingGlass");
  617. ]]>
  618. </script>
  619. <caption/>
  620. </button>
  621. <button id="btnPageMouseRegionZoom" style="left:312px; top:6px; width:31px; height:31px; ">
  622. <hint>
  623. <![CDATA[영역 확대]]>
  624. </hint>
  625. <script type="javascript" ev:event="xforms-activate">
  626. <![CDATA[
  627. processToggleButton("btnPageMouseRegionZoom");
  628. ]]>
  629. </script>
  630. <caption/>
  631. </button>
  632. <button id="btnPageMousePanning" style="left:344px; top:6px; width:31px; height:31px; ">
  633. <hint>
  634. <![CDATA[패닝]]>
  635. </hint>
  636. <script type="javascript" ev:event="xforms-activate">
  637. <![CDATA[
  638. processToggleButton("btnPageMousePanning");
  639. ]]>
  640. </script>
  641. <caption/>
  642. </button>
  643. <button id="btnRotateLeft" style="left:386px; top:6px; width:31px; height:31px; ">
  644. <hint>
  645. <![CDATA[왼쪽 회전]]>
  646. </hint>
  647. <script type="javascript" ev:event="xforms-activate">
  648. <![CDATA[
  649. objPageView.LeftTurn();
  650. ]]>
  651. </script>
  652. <caption/>
  653. </button>
  654. <button id="btnRotateRight" style="left:418px; top:6px; width:31px; height:31px; ">
  655. <hint>
  656. <![CDATA[오른쪽 회전]]>
  657. </hint>
  658. <script type="javascript" ev:event="xforms-activate">
  659. <![CDATA[
  660. objPageView.RightTurn();
  661. ]]>
  662. </script>
  663. <caption/>
  664. </button>
  665. <button id="btnZoomIn" style="left:462px; top:6px; width:31px; height:31px; ">
  666. <hint>
  667. <![CDATA[확대]]>
  668. </hint>
  669. <script type="javascript" ev:event="xforms-activate">
  670. <![CDATA[
  671. processToggleButton("btnZoomIn");
  672. processToggleButton("btnPageMousePanning");
  673. objPageView.ViewRatio += 0.1;
  674. ]]>
  675. </script>
  676. <caption/>
  677. </button>
  678. <button id="btnZoomOut" style="left:494px; top:6px; width:31px; height:31px; ">
  679. <hint>
  680. <![CDATA[축소]]>
  681. </hint>
  682. <script id="script9" type="javascript" ev:event="xforms-activate">
  683. <![CDATA[
  684. processToggleButton("btnZoomOut");
  685. processToggleButton("btnPageMousePanning");
  686. objPageView.ViewRatio -= 0.1;
  687. ]]>
  688. </script>
  689. <caption/>
  690. </button>
  691. <object id="objPageView" clsid="{5b40100e-99bc-4194-ac59-aa3ef8526dc9}" style="left:0px; top:40px; width:860px; height:700px; ">
  692. <script type="javascript" ev:event="DblClick()">
  693. <![CDATA[
  694. setupChart("ThumbView");
  695. ]]>
  696. </script>
  697. <script type="javascript" ev:event="MouseDown(Button, Shift, x, y)">
  698. <![CDATA[
  699. if(Button == 2)
  700. {
  701. processToggleButton("btnFitBest");
  702. }
  703. ]]>
  704. </script>
  705. <script type="javascript" ev:event="KeyUp(KeyCode, Shift)">
  706. <![CDATA[
  707. // 이전차트 보기 (page Up)
  708. if (KeyCode == 33)
  709. {
  710. fMovePrev();
  711. }
  712. // 이전차트 보기 (page Up)
  713. else if (KeyCode == 34)
  714. {
  715. fMoveNext();
  716. }
  717. // 맨 처음 차트 Home
  718. else if (KeyCode == 36)
  719. {
  720. fMoveFirst();
  721. }
  722. // 마지막 차트 End
  723. else if (KeyCode == 35)
  724. {
  725. fMoveLast();
  726. }
  727. ]]>
  728. </script>
  729. </object>
  730. </case>
  731. </switch>
  732. <!--
  733. <script type="javascript" ev:event="onwindowresize">
  734. <![CDATA[
  735. var windowwidth;
  736. var windowheight;
  737. windowwidth = parseInt(window.width - 12);
  738. windowheight = parseInt(window.height - 50);
  739. setChartViewerSize(windowwidth, windowheight);
  740. ]]>
  741. </script>
  742. -->
  743. <caption id="capNextChrts" visibility="hidden" style="left:515px; top:1px; width:351px; height:20px; ">
  744. <![CDATA[<- 누르면 해당 기록을 계속 조회할 수 있습니다.(15개 기록단위)]]>
  745. </caption>
  746. <button id="btnNextCharts" class="btn2_letter7" visibility="hidden" style="left:410px; top:1px; width:108px; height:19px; ">
  747. <caption>다음이미지보기</caption>
  748. <script type="javascript" ev:event="DOMActivate">
  749. <![CDATA[
  750. opener.javascript.fGetNextEmrImgRec();
  751. ]]>
  752. </script>
  753. </button>
  754. <button id="btnOcrPrnt" class="btn2_letter2" visibility="hidden" style="left:740px; top:1px; width:42px; height:19px; ">
  755. <caption>출력</caption>
  756. <script type="javascript" ev:event="DOMActivate">
  757. <![CDATA[
  758. printChart("1");
  759. ]]>
  760. </script>
  761. </button>
  762. </xhtml:body>
  763. </xhtml:html>