source: drbl_ui/flow_chart/drbl_mode.files/vml_1.htm @ 122

Last change on this file since 122 was 21, checked in by chris, 17 years ago
File size: 8.6 KB
RevLine 
[21]1<html xmlns:v="urn:schemas-microsoft-com:vml" 
2 xmlns="http://www.w3.org/TR/REC-html40">
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
5<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"/>
6<link rel="stylesheet" type="text/css" href="visio.css"/>
7<title>drbl_mode</title>
8<style type="text/css">
9   v\:* { behavior: url(#default#VML); }
10</style>
11
12<script src="vml_1.js" type="text/jscript" language="jscript"></script>
13
14<script type="text/jscript" language="jscript">
15
16  var pageID = 0;
17  var viewMgr = null;
18
19  if (parent.g_FirstPageToLoad != null && parent.g_FirstPageToLoad.length > 0)
20  {
21    if (parent.g_FileList[parent.g_CurPageIndex].PageID != pageID)
22    {
23      location.replace(parent.g_FileList[parent.g_CurPageIndex].PriImage);
24    }
25
26    parent.g_FirstPageToLoad = null;
27  }
28
29  function getPNZ()
30  {
31    var rawHTML = VMLDiv.innerHTML;
32    var strReturn = ""
33   
34    strReturn = rawHTML.slice( rawHTML.indexOf( '<v:group' ), rawHTML.indexOf( "</v:shape>" ) );
35    strReturn += "</v:shape></v:group>\n";
36       
37    return strReturn;
38  }
39 
40  function load()
41  {
42    viewMgr = new parent.CViewMgr("ConvertedImage", "arrowDiv");
43
44    viewMgr.put_Location = ViewMgrSetVMLLocation;
45
46
47    viewMgr.visBBoxLeft = 2.754239;
48    viewMgr.visBBoxRight = 5.316627;
49    viewMgr.visBBoxBottom = 5.045463;
50    viewMgr.visBBoxTop = 11.222139;
51
52    viewMgr.Zoom = VMLZoomChange;
53    viewMgr.setView= VMLSetView;
54
55    viewMgr.SupportsDetails = true;
56    viewMgr.SupportsSearch = true;
57
58    parent.viewMgr = viewMgr;
59
60    fit();
61  }
62
63  function unload()
64  {
65    viewMgr = null;
66    parent.viewMgr = null;
67  }
68
69  function fit()
70  {
71    if(parent.frmToolbar)
72    {
73      if (parent.g_WidgetsLoaded)
74      {
75        var zoom100 = parent.frmToolbar.document.all('a100');
76        if (zoom100)
77        {
78          parent.viewMgr.PostZoomProcessing = PostZoomProcessing;
79          zoom100.click();
80        }
81        else
82        {
83          parent.viewMgr.PostZoomProcessing = PostZoomProcessing;
84          viewMgr.Zoom(100);
85        }
86      }
87      else
88      {
89        window.setTimeout("fit()", 500);
90      }
91    } 
92    else
93    {
94      parent.viewMgr.PostZoomProcessing = PostZoomProcessing;
95      viewMgr.Zoom(100);
96    }
97  }
98
99  function PostZoomProcessing (newZoomLevel)
100  {
101    parent.viewMgr.PostZoomProcessing = null;
102    var pageIndex = parent.PageIndexFromID (pageID);
103    parent.viewMgr.getPNZ = getPNZ;
104    parent.CurPageUpdate (pageIndex);
105  }
106
107
108 
109  var isUpLevel = parent.isUpLevel;
110  var OnShapeClick = parent.OnShapeClick;
111  var OnShapeKey = parent.OnShapeKey;
112  var UpdateTooltip = parent.UpdateTooltip;
113  var clickMenu = parent.clickMenu;
114  var toggleMenuDiv = parent.toggleMenuDiv;
115  var toggleMenuLink = parent.toggleMenuLink;
116  var GoToPage = parent.GoToPage;
117
118  window.onload = load;
119  window.onunload = unload;
120  document.onclick = clickMenu;
121
122
123
124
125</script>
126
127</head>
128
129<body style="MARGIN:10px" onresize="VMLOnResize();" onscroll="VMLOnScroll();">
130
131<div id="arrowdiv" style="position:absolute;top:0;left:0;visibility:hidden;z-index:5">
132<img id="arrowgif" alt="顯示選取圖形的位置" src="arrow.gif"/>
133</div>
134
135<div id="menu1" onclick="clickMenu()" class="hlMenu">
136</div>
137
138
139
140
141<div id="VMLDiv" >
142
143
144<v:group  id="ConvertedImage" style="width:1.659396in;height:4.000000in;position:absolute;visibility=hidden;" coordSize="830,2000" coordOrigin="-1000,-1000" >
145
146<v:shapetype 
147  id="VISSHAPE"
148  target="_parent"
149  coordsize="830,2000"
150  coordorigin="-1000,-1000"
151  stroked="f"
152  strokecolor="red"
153  filled="t"
154>
155<v:fill opacity="0.0"/>
156</v:shapetype>
157
158
159<v:shape style="top:-1000.0;left:-1000.0;width:829.7;height:2000.0;position:absolute" coordSize="830,2000" coordOrigin="-1000,-1000" >
160<v:imagedata src="vml_1.emz"/>
161</v:shape>
162
163<v:shape type="#VISSHAPE"   tabindex="1" title="start" origTitle="start"  style="top:-1000;left:-1000;width:830;height:2000;position:absolute" path=" m -681,-908 l -502,-908 l -500,-908 l -498,-908 l -497,-908 l -495,-909 l -493,-909 l -491,-909 l -489,-910 l -488,-911 l -486,-911 l -484,-912 l -483,-913 l -481,-913 l -480,-914 l -478,-915 l -477,-916 l -475,-917 l -474,-919 l -473,-920 l -471,-921 l -470,-922 l -469,-924 l -468,-925 l -467,-927 l -466,-928 l -465,-930 l -464,-931 l -463,-933 l -462,-935 l -462,-936 l -461,-938 l -461,-940 l -460,-941 l -460,-943 l -459,-945 l -459,-947 l -459,-949 l -459,-950 l -459,-952 l -459,-954 l -459,-956 l -459,-958 l -460,-959 l -460,-961 l -461,-963 l -461,-965 l -462,-966 l -462,-968 l -463,-970 l -464,-971 l -465,-973 l -466,-974 l -467,-976 l -468,-977 l -469,-979 l -470,-980 l -471,-981 l -473,-983 l -474,-984 l -475,-985 l -477,-986 l -478,-987 l -480,-988 l -481,-989 l -483,-990 l -484,-991 l -486,-991 l -488,-992 l -489,-993 l -491,-993 l -493,-993 l -495,-994 l -497,-994 l -498,-994 l -500,-994 l -502,-994 l -681,-994 l -683,-994 l -685,-994 l -686,-994 l -688,-994 l -690,-993 l -692,-993 l -693,-993 l -695,-992 l -697,-991 l -698,-991 l -700,-990 l -702,-989 l -703,-988 l -705,-987 l -706,-986 l -708,-985 l -709,-984 l -710,-983 l -712,-981 l -713,-980 l -714,-979 l -715,-977 l -716,-976 l -717,-974 l -718,-973 l -719,-971 l -720,-970 l -721,-968 l -721,-966 l -722,-965 l -722,-963 l -723,-961 l -723,-959 l -723,-958 l -724,-956 l -724,-954 l -724,-952 l -724,-950 l -724,-949 l -724,-947 l -723,-945 l -723,-943 l -723,-941 l -722,-940 l -722,-938 l -721,-936 l -721,-935 l -720,-933 l -719,-931 l -718,-930 l -717,-928 l -716,-927 l -715,-925 l -714,-924 l -713,-922 l -712,-921 l -710,-920 l -709,-919 l -708,-917 l -706,-916 l -705,-915 l -703,-914 l -702,-913 l -700,-913 l -698,-912 l -697,-911 l -695,-911 l -693,-910 l -692,-909 l -690,-909 l -688,-909 l -686,-908 l -685,-908 l -683,-908 l -681,-908xe" onmouseover="UpdateTooltip(this,0,1)" onclick="OnShapeClick(0,1)" onfocus="UpdateTooltip(this,0,1);" onkeyup="OnShapeKey(0,1)"/> 
164
165<v:shape type="#VISSHAPE"   tabindex="1" title="drbl_mode_0" origTitle="drbl_mode_0"  style="top:-1000;left:-1000;width:830;height:2000;position:absolute" path=" m -749,-646 l -591,-550 l -434,-646 l -591,-741 l -749,-646xe" onmouseover="UpdateTooltip(this,0,2)" onclick="OnShapeClick(0,2)" onfocus="UpdateTooltip(this,0,2);" onkeyup="OnShapeKey(0,2)"/> 
166
167<v:shape type="#VISSHAPE"   tabindex="1" title="執行命令" origTitle="執行命令"  style="top:-1000;left:-1000;width:830;height:2000;position:absolute" path=" m -749,686 l -434,686 l -434,496 l -749,496 l -749,686xe" onmouseover="UpdateTooltip(this,0,3)" onclick="OnShapeClick(0,3)" onfocus="UpdateTooltip(this,0,3);" onkeyup="OnShapeKey(0,3)"/> 
168
169<v:shape type="#VISSHAPE"   tabindex="1" title="drbl_mode_1" origTitle="drbl_mode_1"  style="top:-1000;left:-1000;width:830;height:2000;position:absolute" path=" m -749,-265 l -591,-170 l -434,-265 l -591,-360 l -749,-265xe" onmouseover="UpdateTooltip(this,0,5)" onclick="OnShapeClick(0,5)" onfocus="UpdateTooltip(this,0,5);" onkeyup="OnShapeKey(0,5)"/> 
170
171<v:shape type="#VISSHAPE"   tabindex="1" title="end" origTitle="end"  style="top:-1000;left:-1000;width:830;height:2000;position:absolute" path=" m -681,994 l -502,994 l -500,994 l -498,994 l -497,994 l -495,994 l -493,993 l -491,993 l -489,993 l -488,992 l -486,991 l -484,991 l -483,990 l -481,989 l -480,988 l -478,987 l -477,986 l -475,985 l -474,984 l -473,983 l -471,981 l -470,980 l -469,979 l -468,977 l -467,976 l -466,974 l -465,973 l -464,971 l -463,970 l -462,968 l -462,966 l -461,965 l -461,963 l -460,961 l -460,959 l -459,958 l -459,956 l -459,954 l -459,952 l -459,950 l -459,949 l -459,947 l -459,945 l -460,943 l -460,941 l -461,940 l -461,938 l -462,936 l -462,935 l -463,933 l -464,931 l -465,930 l -466,928 l -467,927 l -468,925 l -469,924 l -470,922 l -471,921 l -473,920 l -474,919 l -475,917 l -477,916 l -478,915 l -480,914 l -481,913 l -483,913 l -484,912 l -486,911 l -488,911 l -489,910 l -491,909 l -493,909 l -495,909 l -497,908 l -498,908 l -500,908 l -502,908 l -681,908 l -683,908 l -685,908 l -686,908 l -688,909 l -690,909 l -692,909 l -693,910 l -695,911 l -697,911 l -698,912 l -700,913 l -702,913 l -703,914 l -705,915 l -706,916 l -708,917 l -709,919 l -710,920 l -712,921 l -713,922 l -714,924 l -715,925 l -716,927 l -717,928 l -718,930 l -719,931 l -720,933 l -721,935 l -721,936 l -722,938 l -722,940 l -723,941 l -723,943 l -723,945 l -724,947 l -724,949 l -724,950 l -724,952 l -724,954 l -724,956 l -723,958 l -723,959 l -723,961 l -722,963 l -722,965 l -721,966 l -721,968 l -720,970 l -719,971 l -718,973 l -717,974 l -716,976 l -715,977 l -714,979 l -713,980 l -712,981 l -710,983 l -709,984 l -708,985 l -706,986 l -705,987 l -703,988 l -702,989 l -700,990 l -698,991 l -697,991 l -695,992 l -693,993 l -692,993 l -690,993 l -688,994 l -686,994 l -685,994 l -683,994 l -681,994xe" onmouseover="UpdateTooltip(this,0,7)" onclick="OnShapeClick(0,7)" onfocus="UpdateTooltip(this,0,7);" onkeyup="OnShapeKey(0,7)"/> 
172
173</v:group>
174
175
176
177</div>
178
179
180
181</body>
182</html>
183
Note: See TracBrowser for help on using the repository browser.