123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <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">
- <xhtml:head>
- <xhtml:title>Image EMR Viewer - Compare Chart</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <chartpath/>
- </main>
- <hidden>
- <chartImageHome/>
- <buttonImageHome>../../../emr/imgemrweb/images/</buttonImageHome>
- <buttonImageExt>.gif</buttonImageExt>
- <buttonImage>
- <btnFitActual>fit_actual</btnFitActual>
- <btnFitBest>fit_best</btnFitBest>
- <btnFitWidth>fit_width</btnFitWidth>
- <btnPageMouseNormal>mouse_normal</btnPageMouseNormal>
- <btnPageMouseRegionZoom>mouse_region_zoom</btnPageMouseRegionZoom>
- <btnPageMouseMagnifyingGlass>mouse_magnifying_tool</btnPageMouseMagnifyingGlass>
- <btnPageMousePanning>mouse_panning</btnPageMousePanning>
- <btnZoomIn>zoom_in</btnZoomIn>
- <btnZoomOut>zoom_out</btnZoomOut>
- </buttonImage>
- <buttonToggle>
- <btnFitActual>
- <name>ModeFit</name>
- <disable/>
- <value/>
- </btnFitActual>
- <btnFitBest>
- <name>ModeFit</name>
- <disable/>
- <value/>
- </btnFitBest>
- <btnFitWidth>
- <name>ModeFit</name>
- <disable/>
- <value/>
- </btnFitWidth>
- <btnPageMouseNormal>
- <name>ModePageMouse</name>
- <disable/>
- <value/>
- </btnPageMouseNormal>
- <btnPageMouseRegionZoom>
- <name>ModePageMouse</name>
- <disable/>
- <value/>
- </btnPageMouseRegionZoom>
- <btnPageMouseMagnifyingGlass>
- <name>ModePageMouse</name>
- <disable/>
- <value/>
- </btnPageMouseMagnifyingGlass>
- <btnPageMousePanning>
- <name>ModePageMouse</name>
- <disable/>
- <value/>
- </btnPageMousePanning>
- </buttonToggle>
- <currentViewMode/>
- </hidden>
- <init/>
- </root>
- </instance>
- <script id="script1" type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInitilize();
- ]]>
- </script>
- </model>
- <script type="javascript" src="../../../emr/imgemrweb/js/SPMRC03110.js"/>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- </xhtml:head>
- <xhtml:body overflow="hidden" pagewidth="631" pageheight="975">
- <object id="objPageView" clsid="{5b40100e-99bc-4194-ac59-aa3ef8526dc9}" style="left:0px; top:40px; width:630px; height:935px; ">
- <script type="javascript" ev:event="MouseDown(Button, Shift, x, y)">
- <![CDATA[
- if(Button == 2)
- {
- processToggleButton("btnFitBest");
- }
- ]]>
- </script>
- <script type="javascript" ev:event="DblClick()">
- <![CDATA[
- window.close();
- ]]>
- </script>
- </object>
- <shape id="recSwitchToolbar1" appearance="rectangle" style="left:0px; top:0px; width:630px; height:35px; background-color:#d4d0c8; border-style:solid; "/>
- <button id="btnFitActual" style="left:6px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[실제 크기 보기]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnFitActual");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnFitBest" style="left:38px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[최적 크기 보기]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnFitBest");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnFitWidth" style="left:70px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[가로 크기 보기]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnFitWidth");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnPageMouseNormal" style="left:111px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[기본]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnPageMouseNormal");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnPageMouseMagnifyingGlass" style="left:143px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[돋보기]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnPageMouseMagnifyingGlass");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnPageMouseRegionZoom" style="left:175px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[영역 확대]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnPageMouseRegionZoom");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnPageMousePanning" style="left:206px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[패닝]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnPageMousePanning");
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnZoomIn" style="left:249px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[확대]]>
- </hint>
- <script type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnZoomIn");
- processToggleButton("btnPageMousePanning");
- objPageView.ViewRatio += 0.1;
- ]]>
- </script>
- <caption/>
- </button>
- <button id="btnZoomOut" style="left:281px; top:2px; width:31px; height:31px; ">
- <hint>
- <![CDATA[축소]]>
- </hint>
- <script id="script9" type="javascript" ev:event="xforms-activate">
- <![CDATA[
- processToggleButton("btnZoomOut");
- processToggleButton("btnPageMousePanning");
- objPageView.ViewRatio -= 0.1;
- ]]>
- </script>
- <caption/>
- </button>
- <script type="javascript" ev:event="onwindowresize">
- <![CDATA[
- var windowwidth;
- var windowheight;
- var obj;
- var objtop;
- var path;
- windowwidth = parseInt(window.width);
- windowheight = parseInt(window.height);
- obj = document.controls.item("objPageView");
- objtop = parseInt(obj.attribute("top"));
-
- recSwitchToolbar1.attribute("width") = windowwidth - 8;
- obj.attribute("height") = windowheight - objtop;
- obj.attribute("width") = windowwidth - 8;
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|