SPPMC06506.xrw 25 KB

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