SPMRC03110.xrw 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  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 - Compare Chart</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <chartpath/>
  11. </main>
  12. <hidden>
  13. <chartImageHome/>
  14. <buttonImageHome>../../../emr/imgemrweb/images/</buttonImageHome>
  15. <buttonImageExt>.gif</buttonImageExt>
  16. <buttonImage>
  17. <btnFitActual>fit_actual</btnFitActual>
  18. <btnFitBest>fit_best</btnFitBest>
  19. <btnFitWidth>fit_width</btnFitWidth>
  20. <btnPageMouseNormal>mouse_normal</btnPageMouseNormal>
  21. <btnPageMouseRegionZoom>mouse_region_zoom</btnPageMouseRegionZoom>
  22. <btnPageMouseMagnifyingGlass>mouse_magnifying_tool</btnPageMouseMagnifyingGlass>
  23. <btnPageMousePanning>mouse_panning</btnPageMousePanning>
  24. <btnZoomIn>zoom_in</btnZoomIn>
  25. <btnZoomOut>zoom_out</btnZoomOut>
  26. </buttonImage>
  27. <buttonToggle>
  28. <btnFitActual>
  29. <name>ModeFit</name>
  30. <disable/>
  31. <value/>
  32. </btnFitActual>
  33. <btnFitBest>
  34. <name>ModeFit</name>
  35. <disable/>
  36. <value/>
  37. </btnFitBest>
  38. <btnFitWidth>
  39. <name>ModeFit</name>
  40. <disable/>
  41. <value/>
  42. </btnFitWidth>
  43. <btnPageMouseNormal>
  44. <name>ModePageMouse</name>
  45. <disable/>
  46. <value/>
  47. </btnPageMouseNormal>
  48. <btnPageMouseRegionZoom>
  49. <name>ModePageMouse</name>
  50. <disable/>
  51. <value/>
  52. </btnPageMouseRegionZoom>
  53. <btnPageMouseMagnifyingGlass>
  54. <name>ModePageMouse</name>
  55. <disable/>
  56. <value/>
  57. </btnPageMouseMagnifyingGlass>
  58. <btnPageMousePanning>
  59. <name>ModePageMouse</name>
  60. <disable/>
  61. <value/>
  62. </btnPageMousePanning>
  63. </buttonToggle>
  64. <currentViewMode/>
  65. </hidden>
  66. <init/>
  67. </root>
  68. </instance>
  69. <script id="script1" type="javascript" ev:event="xforms-ready">
  70. <![CDATA[
  71. fInitilize();
  72. ]]>
  73. </script>
  74. </model>
  75. <script type="javascript" src="../../../emr/imgemrweb/js/SPMRC03110.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  77. </xhtml:head>
  78. <xhtml:body overflow="hidden" pagewidth="631" pageheight="975">
  79. <object id="objPageView" clsid="{5b40100e-99bc-4194-ac59-aa3ef8526dc9}" style="left:0px; top:40px; width:630px; height:935px; ">
  80. <script type="javascript" ev:event="MouseDown(Button, Shift, x, y)">
  81. <![CDATA[
  82. if(Button == 2)
  83. {
  84. processToggleButton("btnFitBest");
  85. }
  86. ]]>
  87. </script>
  88. <script type="javascript" ev:event="DblClick()">
  89. <![CDATA[
  90. window.close();
  91. ]]>
  92. </script>
  93. </object>
  94. <shape id="recSwitchToolbar1" appearance="rectangle" style="left:0px; top:0px; width:630px; height:35px; background-color:#d4d0c8; border-style:solid; "/>
  95. <button id="btnFitActual" style="left:6px; top:2px; width:31px; height:31px; ">
  96. <hint>
  97. <![CDATA[실제 크기 보기]]>
  98. </hint>
  99. <script type="javascript" ev:event="xforms-activate">
  100. <![CDATA[
  101. processToggleButton("btnFitActual");
  102. ]]>
  103. </script>
  104. <caption/>
  105. </button>
  106. <button id="btnFitBest" style="left:38px; top:2px; width:31px; height:31px; ">
  107. <hint>
  108. <![CDATA[최적 크기 보기]]>
  109. </hint>
  110. <script type="javascript" ev:event="xforms-activate">
  111. <![CDATA[
  112. processToggleButton("btnFitBest");
  113. ]]>
  114. </script>
  115. <caption/>
  116. </button>
  117. <button id="btnFitWidth" style="left:70px; top:2px; width:31px; height:31px; ">
  118. <hint>
  119. <![CDATA[가로 크기 보기]]>
  120. </hint>
  121. <script type="javascript" ev:event="xforms-activate">
  122. <![CDATA[
  123. processToggleButton("btnFitWidth");
  124. ]]>
  125. </script>
  126. <caption/>
  127. </button>
  128. <button id="btnPageMouseNormal" style="left:111px; top:2px; width:31px; height:31px; ">
  129. <hint>
  130. <![CDATA[기본]]>
  131. </hint>
  132. <script type="javascript" ev:event="xforms-activate">
  133. <![CDATA[
  134. processToggleButton("btnPageMouseNormal");
  135. ]]>
  136. </script>
  137. <caption/>
  138. </button>
  139. <button id="btnPageMouseMagnifyingGlass" style="left:143px; top:2px; width:31px; height:31px; ">
  140. <hint>
  141. <![CDATA[돋보기]]>
  142. </hint>
  143. <script type="javascript" ev:event="xforms-activate">
  144. <![CDATA[
  145. processToggleButton("btnPageMouseMagnifyingGlass");
  146. ]]>
  147. </script>
  148. <caption/>
  149. </button>
  150. <button id="btnPageMouseRegionZoom" style="left:175px; top:2px; width:31px; height:31px; ">
  151. <hint>
  152. <![CDATA[영역 확대]]>
  153. </hint>
  154. <script type="javascript" ev:event="xforms-activate">
  155. <![CDATA[
  156. processToggleButton("btnPageMouseRegionZoom");
  157. ]]>
  158. </script>
  159. <caption/>
  160. </button>
  161. <button id="btnPageMousePanning" style="left:206px; top:2px; width:31px; height:31px; ">
  162. <hint>
  163. <![CDATA[패닝]]>
  164. </hint>
  165. <script type="javascript" ev:event="xforms-activate">
  166. <![CDATA[
  167. processToggleButton("btnPageMousePanning");
  168. ]]>
  169. </script>
  170. <caption/>
  171. </button>
  172. <button id="btnZoomIn" style="left:249px; top:2px; width:31px; height:31px; ">
  173. <hint>
  174. <![CDATA[확대]]>
  175. </hint>
  176. <script type="javascript" ev:event="xforms-activate">
  177. <![CDATA[
  178. processToggleButton("btnZoomIn");
  179. processToggleButton("btnPageMousePanning");
  180. objPageView.ViewRatio += 0.1;
  181. ]]>
  182. </script>
  183. <caption/>
  184. </button>
  185. <button id="btnZoomOut" style="left:281px; top:2px; width:31px; height:31px; ">
  186. <hint>
  187. <![CDATA[축소]]>
  188. </hint>
  189. <script id="script9" type="javascript" ev:event="xforms-activate">
  190. <![CDATA[
  191. processToggleButton("btnZoomOut");
  192. processToggleButton("btnPageMousePanning");
  193. objPageView.ViewRatio -= 0.1;
  194. ]]>
  195. </script>
  196. <caption/>
  197. </button>
  198. <script type="javascript" ev:event="onwindowresize">
  199. <![CDATA[
  200. var windowwidth;
  201. var windowheight;
  202. var obj;
  203. var objtop;
  204. var path;
  205. windowwidth = parseInt(window.width);
  206. windowheight = parseInt(window.height);
  207. obj = document.controls.item("objPageView");
  208. objtop = parseInt(obj.attribute("top"));
  209. recSwitchToolbar1.attribute("width") = windowwidth - 8;
  210. obj.attribute("height") = windowheight - objtop;
  211. obj.attribute("width") = windowwidth - 8;
  212. ]]>
  213. </script>
  214. </xhtml:body>
  215. </xhtml:html>