Lines Matching refs:document

1 …gator.userAgent.match(/Edge\//),IS_EM:"spellcheck"in document.createElement("textarea")&&8==docume…
4 …!=navigator.appName.toUpperCase(),NO_FO:!document.createElementNS||"[object SVGForeignObjectElemen…
5document.documentElement,IS_POINTER:null!=window.PointerEvent&&!(0<navigator.appVersion.indexOf("M…
6 …++)mxResources.add(mxClient.defaultBundles[e],b,c)},include:function(a){document.write('<script sr…
10document.body){var a=mxLog.consoleName+" - mxGraph "+mxClient.VERSION,b=document.createElement("ta…
11 …t"!=document.compatMode?"99%":"100%";e.appendChild(mxLog.textarea);d.appendChild(e);c.appendChild(…
12 …mxLog.info()});mxLog.addButton("DOM",function(a){a=mxUtils.getInnerHtml(document.body);mxLog.debug…
13 …w.innerHeight,d=window.innerWidth):(c=document.documentElement.clientHeight||document.body.clientH…
14document.compatMode||11==document.documentMode){var f=mxLog.window.getElement(),a=function(a,b){mx…
32 …)},getCurrentStyle:function(){return mxClient.IS_IE&&(null==document.documentMode||9>document.docu…
33 …IS_GC?a="Webkit":mxClient.IS_MT?a="Moz":mxClient.IS_IE&&9<=document.documentMode&&10>document.docu…
37 …},importNode:function(a,b,c){return mxClient.IS_IE&&(null==document.documentMode||10>document.docu…
38 …reateXmlDocument:function(){var a=null;document.implementation&&document.implementation.createDocu…
39 …loadXML(a);return b}}(),clearSelection:function(){return document.selection?function(){document.se…
47document.createElement("br")));return c},br:function(a,b){b=b||1;for(var c=null,d=0;d<b;d++)null!=…
48 …istener(c,"click",function(a){b(a)});return c},para:function(a,b){var c=document.createElement("p"…
49document.createElement("span");e.style.color="blue";e.style.textDecoration="underline";e.style.cur…
68 …c)}return!0},getOffset:function(a,b){for(var c=0,d=0,e=!1,f=a,g=document.body,k=document.documentE…
69document.documentElement||document.body.parentNode||document.body).scrollLeft,null!=a&&void 0!==wi…
70 document,e=d.body,f=d.documentElement,g=new mxPoint,k=!1;null!=a&&a!=e&&a!=f;){isNaN(a.scrollLeft)|…
73document.documentMode||9>document.documentMode)?a.style.filter=100<=b?"":"alpha(opacity="+b+")":a.…
80 …tants.DEFAULT_FONTSIZE;c=null!=c?c:mxConstants.DEFAULT_FONTFAMILY;var f=document.createElement("di…
81 …,f.style.whiteSpace="normal"):f.style.whiteSpace="nowrap";f.innerHTML=a;document.body.appendChild(…
82document.body.removeChild(f);return a},getViewXml:function(a,b,c,d,e){d=null!=d?d:0;e=null!=e?e:0;…
85document:b.open();9==document.documentMode&&b.writeln('\x3c!--[if IE]><meta http-equiv="X-UA-Compa…
86document.styleSheets.length;c++)try{d+=document.styleSheets[c].cssText}catch(m){}d=d+'</style></he…
87 d=document.getElementsByTagName("link");for(c=0;c<d.length;c++)b.writeln(mxUtils.getOuterHtml(d[c])…
88 …een:function(a){var b=window.open();a.getGraphBounds();mxUtils.show(a,b.document);a=function(){b.f…
89document.createElement("div");c.style.overflow="scroll";c.style.width="636px";c.style.height="460p…
90document.writeln("<pre>"+mxUtils.htmlEntities(a)+"</pre"),c.document.close()):(c=window.open(),d=c…
91document.createTextNode(" "));e.appendChild(document.createTextNode(" "));e.appendChild(document.c…
92 c=document.createElement("button"),mxClient.IS_IE?c.style.cssText="float:right":c.setAttribute("sty…
117 var mxEvent={addListener:function(){if(window.addEventListener){var a=!1;try{document.addEventListe…
135 mxXmlRequest.prototype.getXml=function(){var a=this.request.responseXML;if(9<=document.documentMode…
137 …thCredentials&&(this.request.withCredentials="true"),(null==document.documentMode||9<document.docu…
139 mxXmlRequest.prototype.simulate=function(a,b){a=a||document;var c=null;a==document&&(c=window.onbef…
143 …ler(),null!=l&&null!=l.parentNode?l.parentNode.replaceChild(this.div,l):document.body.appendChild(…
145 mxWindow.prototype.contentHeightCorrection=8==document.documentMode||7==document.documentMode?6:2;m…
146document.createElement("div");this.div.className=e;this.div.style.left=a+"px";this.div.style.top=b…
147document.createElement("td");this.title.className=e+"Title";this.buttons=document.createElement("d…
148 document.createElement("div");this.contentWrapper.className=e+"Pane";this.contentWrapper.style.widt…
152document.createElement("img");this.resize.style.position="absolute";this.resize.style.bottom="2px"…
153 …,function(a){null!=b&&null!=c&&(c=b=null,mxEvent.removeGestureListeners(document,null,f,g),this.fi…
160 mxWindow.prototype.installMinimizeHandler=function(){this.minimizeImg=document.createElement("img")…
162 mxWindow.prototype.installMaximizeHandler=function(){this.maximize=document.createElement("img");th…
165document.body.clientHeight||0,document.documentElement.clientHeight||0);this.div.style.width=docum…
167 …xEvent.consume(a)}),g=mxUtils.bind(this,function(a){mxEvent.removeGestureListeners(document,null,f,
168 …t.MOVE_END,"event",a));mxEvent.consume(a)});mxEvent.addGestureListeners(document,null,f,g);this.fi…
169 mxWindow.prototype.installCloseHandler=function(){this.closeImg=document.createElement("img");this.…
170 …Event.consume(a)}))};mxWindow.prototype.setImage=function(a){this.image=document.createElement("im…
173 …tle=null};function mxForm(a){this.table=document.createElement("table");this.table.className=a;thi…
174document.createElement("tr"),d=document.createElement("td");c.appendChild(d);var d=document.create…
175document.createElement("input");d.setAttribute("type",c||"text");d.value=b;return this.addField(a,…
176document.createElement("select");null!=c&&d.setAttribute("size",c);b&&d.setAttribute("multiple","t…
177 …ld=function(a,b){var c=document.createElement("tr"),d=document.createElement("td");mxUtils.write(d…
180 …umentWidth=function(){return document.body.clientWidth};mxDivResizer.prototype.getDocumentHeight=f…
186 …seUpHandler=mxUtils.bind(this,this.mouseUp),mxEvent.addGestureListeners(document,null,this.mouseMo…
188 …Event=function(a){return mxEvent.isTouchEvent(a)||mxEvent.isPenEvent(a)?document.elementFromPoint(…
191document.body.appendChild(this.dragElement);this.dragElement.style.visibility="visible";null!=this…
193 …s.mouseUpHandler),this.eventSource=null);mxEvent.removeGestureListeners(document,null,this.mouseMo…
200 mxToolbar.prototype.addItem=function(a,b,c,d,e,f){var g=document.createElement(null!=b?"img":"butto…
202 …ombo=function(a){var b=document.createElement("div");b.style.display="inline";b.className="mxToolb…
203document.createElement("select");c.className=b||"mxToolbarCombo";this.addOption(c,a,null);mxEvent.…
204 mxToolbar.prototype.addSwitchMode=function(a,b,c,d,e){var f=document.createElement("img");f.initial…
206 mxToolbar.prototype.addMode=function(a,b,c,d,e,f){f=null!=f?f:!0;var g=document.createElement(null!…
210 mxToolbar.prototype.addLine=function(){var a=document.createElement("hr");a.style.marginRight="6px"…
221 …ils.bind(this,function(){this.active&&this.stop()});mxEvent.addListener(document,"mouseup",this.mo…
226 …tion(){a.removeMouseListener(this.mouseListener);mxEvent.removeListener(document,"mouseup",this.mo…
228document.createElement("table");this.table.className="mxPopupMenu";this.tbody=document.createEleme…
230document.createElement("tr");l.className="mxPopupMenuItem";var m=document.createElement("td");m.cl…
231 …?"":" mxDisabled"),mxUtils.write(m,a),m.align="left",l.appendChild(m),a=document.createElement("td…
232 …v&&(this.showSubmenu(d,l),d.activeRow=l));null!=document.selection&&8==document.documentMode&&(n=d…
234document.createElement("table");a.table.className="mxPopupMenu";a.tbody=document.createElement("tb…
235document.body.appendChild(b.div);var c=parseInt(b.div.offsetLeft),d=parseInt(b.div.offsetWidth),e=…
236 b.div.style.overflowX="hidden";b.div.style.maxHeight=Math.max(document.body.clientHeight,document.d…
237document.createElement("tr"),d=document.createElement("td");d.className="mxPopupMenuIcon";d.style.…
239 …iv.parentNode==document.body};mxPopupMenu.prototype.showMenu=function(){9<=document.documentMode&&…
301 …defs=null;this.styleEnabled=null!=b?b:!1;var c=null;if(a.ownerDocument!=document)for(c=a;null!=c&&…
303 ….IS_CHROMEAPP&&!mxClient.IS_IE&&!mxClient.IS_IE11&&!mxClient.IS_EDGE&&0<document.getElementsByTagN…
318 …FillAlpha,a.gradientAlpha,a.gradientDirection),this.root.ownerDocument==document&&this.useAbsolute…
325 …teElement("a");null==c.setAttributeNS||this.root.ownerDocument!=document&&null==document.documentM…
331 …ing(0,a.length-7)))}else{if(null!=document.implementation&&null!=document.implementation.createDoc…
332 …=document.createElement("div");d.innerHTML=a;for(a=d.firstChild;null!=a;)d=a.nextSibling,c.appendC…
334document.createElementNS)return mxUtils.isNode(a)&&(a="<div><div>"+mxUtils.getXml(a)+"</div></div>…
335 document?c.appendChild(a.cloneNode(!0)):c.appendChild(a);d.appendChild(c);b.appendChild(d)}else b.i…
336document&&(r=mxUtils.importNodeImplementation(u.ownerDocument,r,!0));u.appendChild(r);q.appendChil…
348 …h.round(d);for(var e="mx-clip-"+a+"-"+b+"-"+c+"-"+d,f=0,g=e+"-"+f;null!=document.getElementById(g)…
350 …ent.IS_IE||mxClient.IS_IE11||mxClient.IS_EDGE||this.root.ownerDocument!=document?r.setAttribute("c…
355 ….scale,(f+2)*m.scale);else if(null!=a.getBBox&&this.root.ownerDocument==document)try{var n=a.getBB…
356 …width,n.height+(p?1:0))}catch(q){}if(null==n||0==n.width||0==n.height)n=document.createElement("di…
357 …lic"),b=mxUtils.htmlEntities(b,!1),n.innerHTML=b.replace(/\n/g,"<br/>"),document.body.appendChild(…
358 …t(m.scale)):0,b.setAttribute("stroke-width",m),this.root.ownerDocument==document&&1==mxUtils.mod(m…
370 …vg(a):this.createHtml(a)};mxShape.prototype.createSvg=function(){return document.createElementNS(m…
371 mxShape.prototype.createHtml=function(){var a=document.createElement("div");a.style.position="absol…
377 …djacentHTML("beforeend",a.root.outerHTML),"DIV"==this.node.nodeName&&8==document.documentMode&&(th…
383 …undImage="none"):this.pointerEvents?a.style.backgroundColor="transparent":8==document.documentMode?
385document.documentMode?0:Math.ceil(this.strokewidth*this.scale);a.style.borderWidth=Math.max(1,b)+"…
408 mxShape.prototype.createTransparentSvgRectangle=function(a,b,c,d){var e=document.createElementNS(mx…
457document.documentMode||mxClient.IS_EM?3:4;mxText.prototype.lastValue=null;mxText.prototype.cacheEn…
461 …ate||null==this.state.view.textDiv),mxClient.IS_IE&&(null==document.documentMode||8>=document.docu…
472 …updateFont(c),this.updateSize(c,!1),this.updateInnerHtml(c),a=c),e=a,8!=document.documentMode||mxC…
480 ….offsetHeight=this.offsetWidth=null;mxClient.IS_IE&&(null==document.documentMode||8>=document.docu…
498 …f=d.offsetWidth;if(0==f){var g=a.parentNode;a.style.visibility="hidden";document.body.appendChild(…
505 …preserveImageAspect};mxImageShape.prototype.createHtml=function(){var a=document.createElement("di…
508 a;this.node.style.borderColor=b;a=document.createElement("img");a.setAttribute("border","0");a.styl…
517 …;)this.node.removeChild(this.node.lastChild);if(null!=this.image){var a=document.createElement("im…
817 …etDoctype=function(){var a="";8==document.documentMode?a='<meta http-equiv="X-UA-Compatible" conte…
819 …d;var g=!1;null==this.wnd&&(g=!0,this.wnd=window.open());var k=this.wnd.document;if(g){var l=this.…
820 k.writeln(l);"CSS1Compat"===document.compatMode&&k.writeln("<!DOCTYPE html>");k.writeln("<html>");k…
822 …olor;if(c||b)a.style.pageBreakAfter="always";if(g&&(mxClient.IS_IE||11<=document.documentMode||mxC…
823 else if(mxClient.IS_IE||11<=document.documentMode||mxClient.IS_EDGE){var d=k.createElement("div");d…
826 …seDocument=function(){try{if(null!=this.wnd&&null!=this.wnd.document){var a=this.wnd.document;this…
829 mxPrintPreview.prototype.createPageSelector=function(a,b){var c=this.wnd.document,d=c.createElement…
831document;var g=document.createElement("div"),k=null;try{if(0!=c||0!=d){g.style.position="relative"…
832document.body.appendChild(g);k=m}else g.style.width=a+"px",g.style.height=b+"px",g.style.overflow=…
833 …=this.border+"px",l.style.marginLeft=this.border+"px"),g.appendChild(l),document.body.appendChild(…
840 …mage=function(a,b,c){var d=this.graph.backgroundImage;if(null!=d){var e=document.createElement("im…
866 …ototype.align=null;mxCellEditor.prototype.init=function(){this.textarea=document.createElement("di…
868 …s(this.graph.getEditingValue(a.cell,b),!1);8!=document.documentMode&&9!=document.documentMode&&10!…
873 b,c);mxEvent.addListener(window,"resize",c);9<=document.documentMode?(mxEvent.addListener(a,"DOMNod…
879 …textarea.style.width="";8==document.documentMode&&(this.textarea.style.zoom="1",this.textarea.styl…
881 …px",this.textarea.style.height=Math.round(this.bounds.height/c)+"px",8==document.documentMode?(thi…
890 …his.textarea.innerHTML!=this.getEmptyLabelText()||!this.clearOnChange)&&document.execCommand("sele…
891 …ion(){var a=null;window.getSelection?a=window.getSelection():document.selection&&(a=document.selec…
992 …l;null==this.canvas||null!=this.textDiv||8!=document.documentMode||mxClient.IS_EM||(this.placehold…
993document.createElement("div"),this.textDiv.style.position="absolute",this.textDiv.style.whiteSpace…
998 …kgroundImage.init(this.backgroundPane);this.backgroundImage.redraw();8!=document.documentMode||mxC…
1047 mxEvent.addGestureListeners(document,null,this.moveHandler,this.endHandler)}};
1050 mxGraphView.prototype.createHtmlPane=function(a,b){var c=document.createElement("DIV");null!=a&&nul…
1051document.createElementNS(mxConstants.NS_SVG,"g");this.backgroundPane=document.createElementNS(mxCo…
1052 "g");this.canvas.appendChild(this.decoratorPane);var b=document.createElementNS(mxConstants.NS_SVG,…
1054 …ntNode&&(this.clear(this.currentRoot,!0),mxEvent.removeGestureListeners(document,null,this.moveHan…
1198 …ranslate("+a+","+b+")");if(null==this.shiftPreview1){this.shiftPreview1=document.createElement("di…
1199 "absolute";this.shiftPreview1.style.overflow="visible";this.shiftPreview2=document.createElement("d…
1307 mxOutline.prototype.createSvg=function(){var a=document.createElementNS(mxConstants.NS_SVG,"svg");a…
1309 …late(p.x-l,p.y-n),this.source.panGraph(0,0);mxEvent.addGestureListeners(document,null,g,k);c=this.…
1311 c,f.y-d);this.source.panGraph(0,0)}mxEvent.removeGestureListeners(document,null,g,k);mxEvent.consum…
1357 …cloning&&(this.cloning=a,this.checkPreview(),this.updatePreview()))});mxEvent.addListener(document,
1358 "keydown",this.keyHandler);mxEvent.addListener(document,"keyup",this.keyHandler)}mxGraphHandler.pro…
1402 …efreshHandler=null);mxEvent.removeListener(document,"keydown",this.keyHandler);mxEvent.removeListe…
1405 …ener=mxUtils.bind(this,function(){this.active&&this.reset()}),mxEvent.addGestureListeners(document,
1406 null,null,this.mouseUpListener),mxEvent.addListener(document,"mouseleave",this.mouseUpListener))}mx…
1414 …Handler);mxEvent.removeGestureListeners(document,null,null,this.mouseUpListener);mxEvent.removeLis…
1458 …ainer),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f…
1520 ….mouseUp(this.graph,c(a))});mxClient.IS_FF&&mxEvent.addGestureListeners(document,null,this.dragHan…
1522document.createElement("div"),this.sharedDiv.className="mxRubberband",mxUtils.setOpacity(this.shar…
1524document.documentMode)&&this.fadeOut){var a=this.div;mxUtils.setPrefixedStyle(a.style,"transition"…
1645 …ainer),c=a.getEvent(),d=mxEvent.getClientX(c),c=mxEvent.getClientY(c),e=document.documentElement,f…
1709 function mxKeyHandler(a,b){null!=a&&(this.graph=a,this.target=b||document.documentElement,this.norm…
1716 …ion(){null!=document.body&&(this.div=document.createElement("div"),this.div.className="mxTooltip",…
1731 …tAt=function(a,b){var c=!1;if(null!=this.shape&&null!=document.elementFromPoint)for(var d=document
1733 function mxCodec(a){this.document=a||mxUtils.createXmlDocument();this.objects=[]}mxCodec.prototype. method in mxCodec
1734 …ull==this.elements&&(this.elements={},null!=this.document.documentElement&&this.addElement(this.do…
1736 …;null!=c?b=c.encode(this,a):mxUtils.isNode(a)?b=mxUtils.importNode(this.document,a,!0):mxLog.warn(…
1742 …Of(this.idrefs,b)};mxObjectCodec.prototype.encode=function(a,b){var c=a.document.createElement(thi…
1744 …AttributeToXml(a,b,c,d,e);null==c?(b=a.document.createElement("add"),"function"==typeof d?b.append…
1755 c.value&&c.value.nodeType==mxConstants.NODETYPE_ELEMENT){var b=d;d=mxUtils.importNode(a.document,c.…
1757 … mxObjectCodec(new mxGraphModel);a.encodeObject=function(a,c,d){var b=a.document.createElement("ro…
1765 …:0<k&&null!=l?m="group":b.isVertex(d)&&(m="vertex");if(null!=m){var n=a.document.createElement(m);…
1769document.createElement(this.getName()),e;for(e in c.styles){var f=c.styles[e],g=a.document.createE…