SSMRC03110.xrw 25 KB

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