123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116 |
- <?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>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <editimgelist>
- <editimge/>
- </editimgelist>
- </main>
- <temp>
- <imgelist>
- <!--imge0/>
- <imge1/>
- <imge2/>
- <imge3/>
- <imge4/>
- <imge5/>
- <imge6/>
- <imge7/>
- <imge8/>
- <imge9/-->
- </imgelist>
- <thumblist>
- <!--thumb0/>
- <thumb1/>
- <thumb2/>
- <thumb3/>
- <thumb4/>
- <thumb5/>
- <thumb6/>
- <thumb7/>
- <thumb8/>
- <thumb9/-->
- </thumblist>
- <directstatus/>
- <mergestatus/>
- <megerimge/>
- </temp>
- <send>
- </send>
- <init>
- <selectnode>
- <fontfamily>굴림</fontfamily>
- <fontstyle>0</fontstyle>
- <fontsize>12</fontsize>
- <linkind>solid</linkind>
- <lineweight>2</lineweight>
- <fontcolor/>
- <backcolor/>
- <linecolor/>
- <imgenm/>
- <imgeno/>
- <viewmode>4</viewmode>
- <colorbt/>
- </selectnode>
- </init>
- <temp2>
- <lastFontColor/>
- <lastLineColor/>
- <lastBackgroundColor/>
- </temp2>
- <hidden>
- <updateflag/>
- </hidden>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fFormReady();
- ]]>
- </script>
- <submission id="TRMRF01901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/indxlist"/>
- <submission id="TRMMR03603" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/imgview2"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../emr/commonweb/js/EMRCommon.js"/>
- <script type="javascript" src="../../../emr/formmngtweb/js/MRF03900.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- </xhtml:head>
- <xhtml:body pagewidth="620" pageheight="750" guideline="2,750;2,19;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <object id="obj_imge" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:90px; top:167px; width:528px; height:555px; background-color:#ffffff; "/>
- <group id="grup_bottom" overflow="hidden" style="left:5px; top:140px; width:82px; height:560px; ">
- <shape id="roundrect1" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:5px; width:80px; height:225px; background-color:#ffff99; "/>
- <button id="btn_point" class="icon_point" focus.background-image="../../../com/commonweb/images/icon_point_over.gif" down.background-image="../../../com/commonweb/images/icon_point_over.gif" disable.background-image="../../../com/commonweb/images/icon_point.gif" style="left:12px; top:99px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SetBaseSize(10, 10);
- obj_imge.SetShapeStyle("border-color", "red");
- obj_imge.SetShapeStyle("border-width", "2");
- obj_imge.SelectDrawType(3, true);
- model.setValue("/root/init/selectnode/colorbt", "btn_linecolor");
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[표시]]>
- </hint>
- </button>
- <button id="btn_rect" class="icon_rect" focus.background-image="../../../com/commonweb/images/icon_rect_over.gif" down.background-image="../../../com/commonweb/images/icon_rect_over.gif" disable.background-image="../../../com/commonweb/images/icon_rect.gif" style="left:12px; top:71px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SelectDrawType(2, true);
- obj_imge.SetShapeStyle("border-width", "2");
- model.setValue("/root/init/selectnode/colorbt", "btn_linecolor");
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[사각형]]>
- </hint>
- </button>
- <button id="btn_select" class="icon_select" down.background-image="../../../com/commonweb/images/icon_select_over.gif" style="left:12px; top:15px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.SelectDrawType(0,false);
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[선택]]>
- </hint>
- </button>
- <button id="btn_line" class="icon_line" focus.background-image="../../../com/commonweb/images/icon_line_over.gif" down.background-image="../../../com/commonweb/images/icon_line_over.gif" disable.background-image="../../../com/commonweb/images/icon_line.gif" style="left:12px; top:43px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SelectDrawType(1, true);
- obj_imge.SetShapeStyle("border-width", model.getValue("/root/init/selectnode/lineweight"));
- model.setValue("/root/init/selectnode/colorbt", "btn_linecolor");
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[선]]>
- </hint>
- </button>
- <button id="btn_del" class="icon_eraser" style="left:12px; top:127px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeleteShape();
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[지우기]]>
- </hint>
- </button>
- <button id="btn_freeline" class="icon_freeline" focus.background-image="../../../com/commonweb/images/icon_freeline_over.gif" down.background-image="../../../com/commonweb/images/icon_freeline_over.gif" disable.background-image="../../../com/commonweb/images/icon_freeline.gif" style="left:46px; top:43px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SelectDrawType(5, true);
- obj_imge.SetShapeStyle("border-width", model.getValue("/root/init/selectnode/lineweight"));
- model.setValue("/root/init/selectnode/colorbt", "btn_linecolor");
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[자유 곡선]]>
- </hint>
- </button>
- <button id="btn_undo" class="icon_levelup" style="left:12px; top:158px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.Undo();
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[이전상태]]>
- </hint>
- </button>
- <button id="btn_text" class="icon_text" focus.background-image="../../../com/commonweb/images/icon_text_over.gif" down.background-image="../../../com/commonweb/images/icon_text_over.gif" disable.background-image="../../../com/commonweb/images/icon_text.gif" style="left:46px; top:15px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SelectDrawType(4, false);
- model.setValue("/root/init/selectnode/colorbt", "btn_fontcolor");
- fShowPltte();
-
- //if(event.ptarget.attribute("background-image") == event.ptarget.attribute(;
- ]]>
- </script>
- <hint>
- <![CDATA[글]]>
- </hint>
- </button>
- <button id="btn_redo" class="icon_leveldown" style="left:46px; top:158px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.Redo();
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[다음상태]]>
- </hint>
- </button>
- <button id="btn_drawcancel" class="icon_x" style="left:46px; top:127px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeleteAllShape();
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[처음상태로]]>
- </hint>
- </button>
- <button id="btn_round" class="icon_round" focus.background-image="../../../com/commonweb/images/icon_round_over.gif" down.background-image="../../../com/commonweb/images/icon_round_over.gif" disable.background-image="../../../com/commonweb/images/icon_round.gif" style="left:46px; top:71px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- obj_imge.DeselectAllShape();
- obj_imge.SetBaseSize(100, 100);
- obj_imge.SetShapeStyle("border-width", "2");
- obj_imge.SelectDrawType(3, true);
- model.setValue("/root/init/selectnode/colorbt", "btn_linecolor");
- fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[원]]>
- </hint>
- </button>
- <group id="colorpicker" visibility="hidden" popup="false" style="left:0px; top:241px; width:80px; height:200px; background-color:#ffff99; ">
- <shape id="roundrect3" class="roundrect_btnset" appearance="roundrect" style="left:0px; top:0px; width:80px; height:200px; background-color:#ffff99; "/>
- <caption id="C1" style="left:3px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#000000; border-style:solid; ">
- <![CDATA[]]>
- <script id="script2" type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C2" style="left:12px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#993300; border-style:solid; ">
- <![CDATA[]]>
- <script id="script3" type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C3" style="left:21px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#333300; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C4" style="left:30px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#003300; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C5" style="left:39px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#003366; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C6" style="left:48px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#000080; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C7" style="left:57px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#333399; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C8" style="left:66px; top:106px; width:10px; height:10px; vertical-align:middle; background-color:#333333; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C9" style="left:3px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#800000; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C10" style="left:12px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#ff6600; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C11" style="left:21px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#808000; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C12" style="left:30px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#008000; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C13" style="left:39px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#008080; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C14" style="left:48px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#0000ff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C15" style="left:57px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#666699; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C16" style="left:66px; top:115px; width:10px; height:10px; vertical-align:middle; background-color:#808080; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C17" style="left:3px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#ff0000; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C18" style="left:12px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#ff9900; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C19" style="left:21px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#99cc00; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C20" style="left:30px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#339966; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C21" style="left:39px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#33cccc; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C22" style="left:48px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#3366ff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C23" style="left:57px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#800080; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C24" style="left:66px; top:124px; width:10px; height:10px; vertical-align:middle; background-color:#999999; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C25" style="left:3px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#ff00ff; border-style:solid; ">
- <![CDATA[]]>
- <script id="script4" type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C26" style="left:12px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#ffcc00; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C27" style="left:21px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#ffff00; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C28" style="left:30px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#00ff00; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C29" style="left:39px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#00ffff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C30" style="left:48px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#00ccff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C31" style="left:57px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#993366; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C32" style="left:66px; top:133px; width:10px; height:10px; vertical-align:middle; background-color:#c0c0c0; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C33" style="left:3px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ff99cc; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C34" style="left:12px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ffcc99; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C35" style="left:21px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ffff99; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C36" style="left:30px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ccffcc; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C37" style="left:39px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ccffff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C38" style="left:48px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#99ccff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C39" style="left:57px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#cc99ff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C40" style="left:66px; top:142px; width:10px; height:10px; vertical-align:middle; background-color:#ffffff; border-style:solid; ">
- <![CDATA[]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="caption1" style="left:3px; top:88px; width:73px; height:15px; text-align:center; vertical-align:middle; background-color:#ffffff; border-style:solid; ">
- <![CDATA[투명색]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="C_SEL" style="left:3px; top:154px; width:73px; height:16px; text-align:center; vertical-align:middle; background-color:#ffffff; border-style:solid; ">
- <![CDATA[선택색상]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <button id="button8" class="btn2_letter4" style="left:7px; top:172px; width:64px; height:19px; ">
- <caption>다른색상</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked(true);
- ]]>
- </script>
- </button>
- <img id="img_font-weight" visibility="visible" hover.background-image="../../../emr/commonweb/images/icon_13_over.gif" down.background-image="../../../emr/commonweb/images/icon_13_select.gif" style="left:51px; top:37px; width:28px; height:28px; background-image:../../../emr/commonweb/images/icon_13.gif; cursor:hand; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(event.ptarget.attribute("font-weight") == "bold")
- {
- event.ptarget.attribute("background-image") = "../../../emr/commonweb/images/icon_13.gif";
- event.ptarget.attribute("font-weight") = "";
- //canvas.window.javascript.applystyle("font-weight", "normal");
- obj_imge.SetShapeStyle("font-weight", "normal");
- }
- else
- {
- event.ptarget.attribute("background-image") = "../../../emr/commonweb/images/icon_13_select.gif";
- event.ptarget.attribute("font-weight") = "bold";
- //canvas.window.javascript.applystyle("font-weight", "bold");
- obj_imge.SetShapeStyle("font-weight", "bold");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[굵게]]>
- </hint>
- </img>
- <img id="img_font-style" visibility="visible" hover.background-image="../../../emr/commonweb/images/icon_14_over.gif" down.background-image="../../../emr/commonweb/images/icon_14_select.gif" style="left:51px; top:60px; width:28px; height:28px; background-image:../../../emr/commonweb/images/icon_14.gif; cursor:hand; ">
- <caption/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if(event.ptarget.attribute("font-style") == "italic")
- {
- event.ptarget.attribute("background-image") = "../../../emr/commonweb/images/icon_14.gif";
- event.ptarget.attribute("font-style") = "";
- //canvas.window.javascript.applystyle("font-style", "");
- obj_imge.SetShapeStyle("font-style", "");
- }
- else
- {
- event.ptarget.attribute("background-image") = "../../../emr/commonweb/images/icon_14_select.gif";
- event.ptarget.attribute("font-style") = "italic";
- //canvas.window.javascript.applystyle("font-style", "italic");
- obj_imge.SetShapeStyle("font-style", "italic");
- }
- ]]>
- </script>
- <hint>
- <![CDATA[기울임꼴]]>
- </hint>
- </img>
- <select1 id="combo_fontName" ref="/root/init/selectnode/fontfamily" appearance="minimal" style="left:3px; top:40px; width:47px; height:19px; ">
- <choices>
- <item>
- <label>굴림</label>
- <value>굴림</value>
- </item>
- <item>
- <label>돋움</label>
- <value>돋움</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- obj_imge.SetShapeStyle("font-family", model.getValue("/root/init/selectnode/fontfamily"));
- ]]>
- </script>
- </select1>
- <select1 id="combo_fontSize" ref="/root/init/selectnode/fontsize" appearance="minimal" style="left:3px; top:65px; width:47px; height:19px; ">
- <choices>
- <item>
- <label>6</label>
- <value>6</value>
- </item>
- <item>
- <label>7</label>
- <value>7</value>
- </item>
- <item>
- <label>8</label>
- <value>8</value>
- </item>
- <item>
- <label>9</label>
- <value>9</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>12</label>
- <value>12</value>
- </item>
- <item>
- <label>14</label>
- <value>14</value>
- </item>
- <item>
- <label>16</label>
- <value>16</value>
- </item>
- <item>
- <label>18</label>
- <value>18</value>
- </item>
- <item>
- <label>20</label>
- <value>20</value>
- </item>
- <item>
- <label>24</label>
- <value>24</value>
- </item>
- <item>
- <label>28</label>
- <value>28</value>
- </item>
- <item>
- <label>32</label>
- <value>32</value>
- </item>
- <item>
- <label>36</label>
- <value>36</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- obj_imge.SetShapeStyle("font-size", model.getValue("/root/init/selectnode/fontsize"));
- ]]>
- </script>
- </select1>
- <caption id="C41" style="left:3px; top:88px; width:73px; height:15px; text-align:center; vertical-align:middle; background-color:transparent; border-style:solid; ">
- <![CDATA[투명색]]>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fColorClicked();
- ]]>
- </script>
- </caption>
- <caption id="cap_colorpicker" style="left:10px; top:10px; width:60px; height:15px; font-weight:bold; text-align:center; vertical-align:middle; background-color:#ffffff; border-color:#000000; border-width:1px; border-style:solid; ">글자색</caption>
- </group>
- <button id="btn_bgcolor" class="icon_fill_color" visibility="visible" focus.background-image="../../../com/commonweb/images/icon_fill_color_over.gif" down.background-image="../../../com/commonweb/images/icon_fill_color_over.gif" appearance="button" disable.background-image="../../../com/commonweb/images/icon_fill_color.gif" style="left:46px; top:191px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //obj_imge.DeselectAllShape();
- //obj_imge.SelectDrawType(0,false);
- fShowPltte();
- /*if(colorpicker.attribute("mode") == "" || colorpicker.attribute("mode") == "brush")
- {
- alert(colorpicker.attribute("mode"));
- colorpicker.attribute("mode") = "brush";
-
- if (colorpicker.visible) {
- colorpicker.visible = false;
- } else {
- var btnid = window.event.target;
- model.setValue("/root/init/selectnode/colorbt", btnid);
- colorpicker.visible = true;
- }
- }
- else
- {
- colorpicker.attribute("mode") = "brush";
- return;
- }*/
- ]]>
- </script>
- <hint>
- <![CDATA[배경색]]>
- </hint>
- </button>
- <button id="btn_linecolor" class="icon_line_color" visibility="visible" focus.background-image="../../../com/commonweb/images/icon_line_color_over.gif" down.background-image="../../../com/commonweb/images/icon_line_color_over.gif" appearance="button" disable.background-image="../../../com/commonweb/images/icon_line_color.gif" style="left:12px; top:191px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //obj_imge.DeselectAllShape();
- //obj_imge.SelectDrawType(0,false);
- fShowPltte();
- /*if(colorpicker.attribute("mode") == "" || colorpicker.attribute("mode") != "pen")
- {
- var btnid = window.event.target;
- model.setValue("/root/init/selectnode/colorbt", btnid);
- colorpicker.visible = true;
- }
- else if(colorpicker.attribute("mode") == "pen")
- {
- colorpicker.attribute("mode") = "pen";
- return;
- }
- else
- {
- }
-
- if (colorpicker.visible) {
- colorpicker.visible = false;
- } else {
- var btnid = window.event.target;
- model.setValue("/root/init/selectnode/colorbt", btnid);
- colorpicker.visible = true;
- }
-
- colorpicker.attribute("mode") == "pen";*/
- ]]>
- </script>
- <hint>
- <![CDATA[선색]]>
- </hint>
- </button>
- <button id="btn_turnleft" class="icon_undo" visibility="hidden" style="left:12px; top:220px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //obj_imge.TurnLeft();
- messageBox("이미지 회전 기능은 수정입니다.\n빠른 시일내에 완료할 예정", "I009");
- //fTurnLeft();
- //fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[왼쪽으로 회전]]>
- </hint>
- </button>
- <button id="btn_turnright" class="icon_redo" visibility="hidden" style="left:46px; top:220px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //obj_imge.TurnRight();
- messageBox("이미지 회전 기능은 수정입니다.\n빠른 시일내에 완료할 예정", "I009");
- //fTurnRight();
- //fShowPltte();
- ]]>
- </script>
- <hint>
- <![CDATA[오른쪽으로 회전]]>
- </hint>
- </button>
- </group>
- <object id="obj_thumnail" clsid="{72e5d9ed-0d6a-46e8-aead-23144bfef878}" style="left:0px; top:32px; width:100px; height:100px; background-color:transparent; "/>
- <group id="group2" style="left:90px; top:145px; width:528px; height:21px; background-color:#cce8ff; ">
- <caption id="ipt_filenm" ref="/root/init/selectnode/imgenm" class="tit_2" style="left:4px; top:4px; width:516px; height:13px; ">가나다라마</caption>
- </group>
- <datagrid id="grd_imgelist" nodeset="/root/temp/thumblist" caption="^^^^^^^^^" colsep="^" mergecellsfixedrows="never" rowsep="|" selectionmode="bycol" style="left:3px; top:2px; width:500px; height:141px; ">
- <col ref="imge" visibility="hidden" style="left:0px; top:23px; width:100px; height:23px; border-style:none; "/>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- //alert(event.keyCode);
- if (grd_imgelist.iscell(event.target) && event.keyCode == 46)
- {
- fDelImgeList();
- }
- ]]>
- </script>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- if (grd_imgelist.iscell(event.target))
- fDbClick();
- ]]>
- </script>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- if (grd_imgelist.iscell(event.target))
- {
- fSelectImge();
- //grd_imgelist.setFocus();
- model.setFocus(event.target);
- }
- ]]>
- </script>
- </datagrid>
- <button id="button1" class="btn2_letter3" style="left:505px; top:725px; width:53px; height:19px; ">
- <caption>확 인</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fConfirm();
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter3" style="left:562px; top:725px; width:53px; height:19px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- parent.window.close();
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter6" visibility="visible" appearance="button" style="left:505px; top:3px; width:86px; height:19px; background-position:center; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption>찾 아 보 기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddImgeByFile();
- ]]>
- </script>
- <hint>
- <![CDATA[파일열기]]>
- </hint>
- </button>
- <button id="btn_fontcolor" class="icon_font_color" visibility="hidden" style="left:160px; top:700px; width:23px; height:23px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if (colorpicker.visible) {
- colorpicker.visible = false;
- } else {
- var btnid = window.event.target;
- model.setValue("/root/init/selectnode/colorbt", btnid);
- colorpicker.visible = true;
- }
- ]]>
- </script>
- <hint>
- <![CDATA[글색]]>
- </hint>
- </button>
- <select1 id="combo2" ref="/root/init/selectnode/fontstyle" visibility="hidden" appearance="minimal" style="left:85px; top:700px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>보통</label>
- <value>0</value>
- </item>
- <item>
- <label>굵게</label>
- <value>1</value>
- </item>
- <item>
- <label>기울임꼴</label>
- <value>2</value>
- </item>
- <item>
- <label>굵은 기울임꼴</label>
- <value>3</value>
- </item>
- </choices>
- </select1>
- <select1 id="combo4" ref="/root/init/selectnode/linkind" class="combo_default" visibility="hidden" appearance="minimal" style="left:0px; top:700px; width:75px; height:19px; ">
- <choices>
- <item>
- <label/>
- <value>none</value>
- </item>
- <item>
- <label>────</label>
- <value>solid</value>
- </item>
- <item>
- <label>‥‥‥‥</label>
- <value>dotted</value>
- </item>
- <item>
- <label>-------</label>
- <value>dashed</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- obj_imge.SetShapeStyle("border-style", model.getValue("/root/init/selectnode/linkind"));
- ]]>
- </script>
- </select1>
- <select1 id="combo5" ref="/root/init/selectnode/lineweight" class="combo_default" visibility="hidden" appearance="minimal" style="left:0px; top:720px; width:75px; height:19px; ">
- <choices>
- <item>
- <label>1</label>
- <value>1</value>
- </item>
- <item>
- <label>2</label>
- <value>2</value>
- </item>
- <item>
- <label>3</label>
- <value>3</value>
- </item>
- <item>
- <label>4</label>
- <value>4</value>
- </item>
- <item>
- <label>5</label>
- <value>5</value>
- </item>
- <item>
- <label>7</label>
- <value>7</value>
- </item>
- <item>
- <label>10</label>
- <value>10</value>
- </item>
- <item>
- <label>15</label>
- <value>15</value>
- </item>
- <item>
- <label>20</label>
- <value>20</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- obj_imge.SetShapeStyle("border-width", model.getValue("/root/init/selectnode/lineweight"));
- ]]>
- </script>
- </select1>
- <button id="button5" class="btn2_letter6" visibility="visible" appearance="button" style="left:505px; top:23px; width:86px; height:19px; background-position:center; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption>삭 제 하 기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fDelImgeList();
- ]]>
- </script>
- <hint>
- <![CDATA[파일열기]]>
- </hint>
- </button>
- <select id="checkbox1" ref="/root/temp/megerimge" overflow="visible" appearance="full" style="left:505px; top:104px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>한 장으로 모으기</label>
- <value>merge</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- /*
- if(grd_imgelist.cols > 1)
- {
- fMergeImge();
- }
- else
- {
- messageBox("이미지가 선택되지 " ,"E007");
- //alert("이미지가 최소 2개 이상이어야 합니다.");
- checkbox1.deselect(0);
- return;
- }
- */
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fMergeImge();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- fCancelMergeImage();
- ]]>
- </script>
- </select>
- <select1 id="cmb_viewmode" ref="/root/init/selectnode/viewmode" class="combo_search" appearance="minimal" style="left:508px; top:122px; width:107px; height:19px; ">
- <choices>
- <item>
- <label>원본 사이즈</label>
- <value>0</value>
- </item>
- <item>
- <label>그림판 사이즈</label>
- <value>1</value>
- </item>
- <item>
- <label>가로길이 기준</label>
- <value>3</value>
- </item>
- <item>
- <label>세로길이 기준</label>
- <value>2</value>
- </item>
- <item>
- <label>가로/세로 비율</label>
- <value>4</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- fChgViewMode();
- ]]>
- </script>
- </select1>
- <shape id="rectangle1" appearance="rectangle" style="left:0px; top:0px; width:620px; height:749px; border-color:#c0c0c0; "/>
- <button id="button15" class="btn2_letter7" visibility="hidden" style="left:185px; top:700px; width:97px; height:19px; ">
- <caption>지우개 선택</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- obj_imge.SelectDrawType(6, true);
- ]]>
- </script>
- </button>
- <button id="button16" class="btn2_letter7" visibility="hidden" style="left:185px; top:720px; width:97px; height:19px; ">
- <caption>영역 선택하기</caption>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- obj_imge.SelectDrawType(7, false);
- ]]>
- </script>
- </button>
- <select id="checkbox2" ref="/root/temp/directstatus" overflow="visible" appearance="full" style="left:505px; top:84px; width:110px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>바로 올리기</label>
- <value>direct</value>
- </item>
- </choices>
- </select>
- <button id="button4" class="btn2_letter8" visibility="visible" appearance="button" style="left:505px; top:43px; width:108px; height:19px; background-position:center; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption>CDIS 이미지 연동</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fAddFixImgeByFile();
- ]]>
- </script>
- <hint>
- <![CDATA[CDIS 이미지 연동]]>
- </hint>
- </button>
- <button id="button6" class="btn2_letter8" visibility="visible" appearance="button" style="left:505px; top:63px; width:108px; height:19px; background-position:center; gradient:linear(0,0,100%,100%,white,#d7e7ff,1); ">
- <caption>클립보드 붙여넣기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fClipBoardImgLoad();
- ]]>
- </script>
- <hint>
- <![CDATA[클립보드 붙여넣기]]>
- </hint>
- </button>
- </xhtml:body>
- </xhtml:html>
|