Lines Matching refs:editorUi

23 	PrintDialog.electronPrint = function(editorUi, allPages, pagesFrom, pagesTo,   argument
27 var file = editorUi.getCurrentFile();
157 var editorUi = this.editorUi;
159 editorUi.actions.put('useOffline', new Action(mxResources.get('useOffline') + '...', function()
161 editorUi.openLink('https://www.draw.io/')
166 var recent = editorUi.getRecent();
179 editorUi.loadArgs({args: [entry.id]});
182 var file = editorUi.getCurrentFile();
186 editorUi.confirm(mxResources.get('allChangesLost'), null, doOpenRecent,
202 editorUi.resetRecent();
218 var file = editorUi.getCurrentFile();
220 if (file != null && editorUi.fileNode != null)
223 file.getTitle() : editorUi.defaultFilename;
299 var editorUi = this;
304 if (editorUi.getCurrentFile())
306 return editorUi.getCurrentFile().isModified()
319 editorUi.showLibraryDialog(null, null, null, null, App.MODE_DEVICE);
324 editorUi.pickLibrary(App.MODE_DEVICE);
330 if (editorUi.getCurrentFile() != null)
350 if (editorUi.spinner.spin(document.body, mxResources.get('loading')))
358 editorUi.spinner.stop();
359 editorUi.handleError(e);
365 if (editorUi.isLucidChartData(data))
367 editorUi.convertLucidChart(data, function(xml)
369 editorUi.spinner.stop();
370 graph.setSelectionCells(editorUi.importXml(xml));
373 editorUi.spinner.stop();
374 editorUi.handleError(e);
379editorUi.importVisio(editorUi.base64ToBlob(data, 'application/octet-stream'), function(xml)
381 editorUi.spinner.stop();
382 graph.setSelectionCells(editorUi.importXml(xml));
385 …else if (!editorUi.isOffline() && new XMLHttpRequest().upload && editorUi.isRemoteFileFormat(data,…
388editorUi.parseFile(new Blob([data], {type : 'application/octet-stream'}), mxUtils.bind(this, funct…
392 editorUi.spinner.stop();
396 graph.setSelectionCells(editorUi.importXml(xhr.responseText));
414 var tmp = editorUi.extractGraphModelFromPng(data);
462 editorUi.resizeImage(img, img.src, function(data2, w, h)
464 editorUi.spinner.stop();
467 'shape=image;aspect=fixed;image=' + editorUi.convertDataUri(data2) + ';'));
473 editorUi.spinner.stop();
474 editorUi.handleError();
483 editorUi.spinner.stop();
487 graph.setSelectionCells(editorUi.importXml(data));
494 editorUi.spinner.stop();
495 editorUi.handleError(e);
523 editorUi.keyHandler.bindAction(78, true, 'new'); // Ctrl+N
524 editorUi.keyHandler.bindAction(79, true, 'open'); // Ctrl+O
589 editorUi.actions.addAction('cut', function()
597 editorUi.actions.addAction('copy', function()
606 editorUi.actions.addAction('paste', function()
614 editorUi.actions.addAction('pasteHere', function()
621 editorUi.updatePasteActionStates = function() method
632 editorUi.actions.addAction('plugins...', function()
634 editorUi.showDialog(new PluginsDialog(editorUi, function(callback)
707 editorUi.hideDialog();
717 var dlg = new CustomDialog(editorUi, div, mxUtils.bind(this, function()
721 editorUi.showDialog(dlg.container, 300, 120, true, true);
749 var editorUi = this;
753 var file = new LocalFile(editorUi, argsObj.xml, '');
755 editorUi.fileLoaded(file);
759 editorUi.saveData = function(filename, format, data, mimeType, base64Encoded)
764 var expSuccess = new VsdxExport(editorUi).exportCurrentDiagrams();
1997 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi) argument
1999 var graph = editorUi.editor.graph;
2007 var data = editorUi.getFileData(true, null, null, null, null, true);
2012 editorUi.hideDialog();
2014 if ((format == 'png' || format == 'jpg' || format == 'jpeg') && editorUi.isExportToCanvas())
2018 editorUi.exportImage(s, bg == null || bg == 'none', true,
2023 editorUi.exportImage(s, false, true,
2031 editorUi.saveRequest(name, format,