Lines Matching refs:pages

812 	    		if (graph.isSelectionEmpty() && ui.pages != null && ui.pages.length > 0)
842 if (idx < ui.pages.length - 1)
852 if (idx < ui.pages.length - 1)
854 ui.movePage(idx, ui.pages.length - 1);
877 ui.selectPage(ui.pages[0]);
885 if (idx < ui.pages.length - 1)
895 if (idx < ui.pages.length - 1)
897 ui.selectPage(ui.pages[ui.pages.length - 1]);
940 var node = this.editor.extractGraphModel(doc.documentElement, this.pages != null ||
1001 var oldPages = (this.pages != null) ? this.pages.slice() : null;
1008 this.pages = (this.pages != null) ? this.pages : [];
1165 if (fileNode.getElementsByTagName('diagram').length > 1 && this.pages != null)
1167 fileNode.setAttribute('pages', this.pages.length);
1271 for (var i = 0; i < this.pages.length; i++)
1273 var page = this.pages[i];
1610 if (darkTheme || (this.pages != null && this.currentPage != this.pages[0]))
1616 var page = this.pages[0];
1767 if (this.pages != null && this.currentPage != null)
1769 data.page = mxUtils.indexOf(this.pages, this.currentPage);
1796 this.pages = null;
1827 this.pages = [];
1847 this.pages.push(page);
1856 this.pages[Math.max(0, Math.min(this.pages.length - 1, urlParams['page'] || 0))];
1867 this.pages = [this.currentPage];
1928 if (!ignorePageName && this.pages != null && this.pages.length > 1 &&
2110 if (this.pages != null && this.currentPage != null)
2112 for (var i = 0; i < this.pages.length; i++)
2114 if (this.pages[i] == this.currentPage)
2814 EditorUi.prototype.getHashValueForPages = function(pages, details) argument
2829 for (var i = 0; i < pages.length; i++)
2831 this.updatePageRoot(pages[i]);
2832 var diagram = pages[i].node.cloneNode(false);
2839 model.root = pages[i].root;
2841 this.editor.graph.saveViewState(pages[i].viewState, xmlNode, true);
3522 var pages = doc.documentElement.getElementsByTagName('diagram');
3524 for (var i = 0; i < pages.length; i++)
3526 var cells = this.stringToCells(Editor.getDiagramNodeXml(pages[i]));
5475 if (allPages && this.currentPage != null && this.pages != null &&
5476 this.currentPage != this.pages[0])
5573 if (this.pages != null && this.currentPage != null)
5575 data.page = mxUtils.indexOf(this.pages, this.currentPage);
5714 var hasPages = this.pages != null && this.pages.length > 1;
5855 var hasPages = this.pages != null && this.pages.length > 1;
6681 else if (darkTheme || (this.pages != null && this.currentPage != this.pages[0]))
6687 var page = this.pages[0];
6916 format, (this.pages == null || this.pages.length == 0), dpi);
6973 var node = this.editor.extractGraphModel(doc.documentElement, this.pages != null);
6975 if (node != null && node.nodeName == 'mxfile' && this.pages != null)
6988 if (this.pages != null && this.pages.length == 1 &&
7004 var pages = [];
7008 if (this.pages != null && this.pages.length == 1 && this.isDiagramEmpty())
7010 mapping[diagrams[0].getAttribute('id')] = this.pages[0].getId();
7025 var index = this.pages.length;
7034 pages.push(page);
7037 this.updatePageLinks(mapping, pages);
7086 EditorUi.prototype.updatePageLinks = function(mapping, pages) argument
7088 for (var i = 0; i < pages.length; i++)
7090 this.updatePageLinksForCell(mapping, pages[i].root);
9825 var data = this.extractGraphModelFromEvent(evt, this.pages != null);
11420 if (this.pages != null)
11422 for (var i = 0; i < this.pages.length; i++)
11424 this.updatePageRoot(this.pages[i]);
11425 this.addBasenamesForCell(this.pages[i].root, basenames);
12140 var pageId = data.pageId || (this.pages != null? ((data.currentPage) ?
12141 this.currentPage.getId() : this.pages[0].getId()) : null);
12149 if (this.pages != null && this.currentPage.getId() != pageId)
12155 for (var i = 0; i < this.pages.length; i++)
12157 if (this.pages[i].getId() == pageId)
12159 page = this.updatePageRoot(this.pages[i]);
12282 (this.pages != null && this.pages.length > 1))))
12575 return (urlParams['pages'] != '0' || (this.pages != null && this.pages.length > 1)) ?
13969 if (this.pages != null)
13971 for (var i = 0; i < this.pages.length; i++)
13975 if (this.currentPage != this.pages[i])
13978 this.updatePageRoot(this.pages[i]);
13979 pageGraph.model.setRoot(this.pages[i].root);
13981 allPagesTxt += this.pages[i].getName() + ' ' + pageGraph.getIndexableText() + ' ';