SSMRC03150.xrw 29 KB

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