Lines Matching refs:pv
8083 function printGraph(thisGraph, pv, forcePageBreaks) argument
8149 if (pv == null)
8151 pv = PrintDialog.createPrintPreview(thisGraph, scale, pf, border, x0, y0, autoOrigin);
8152 pv.pageSelector = false;
8153 pv.mathEnabled = false;
8159 pv.title = file.getTitle();
8162 var writeHead = pv.writeHead;
8165 pv.writeHead = function(doc)
8221 var printPreviewRenderPage = pv.renderPage;
8223 pv.renderPage = function(w, h, dx, dy, content, pageNumber)
8259 pv.open(null, null, forcePageBreaks, true);
8280 pv.backgroundColor = bg;
8281 pv.autoOrigin = autoOrigin;
8282 pv.appendGraph(thisGraph, scale, x0, y0, forcePageBreaks, true);
8286 if (pv.wnd != null)
8295 pv.wnd.document.writeln('<link rel="stylesheet" href="' +
8301 pv.wnd.document.writeln('<style type="text/css">');
8302 pv.wnd.document.writeln('@font-face {\n' +
8305 pv.wnd.document.writeln('</style>');
8321 return pv;
8327 var pv = null;
8420 pv = printGraph(tempGraph, pv, i != imax);
8430 pv = printGraph(graph);
8433 if (pv == null)
8439 if (pv.mathEnabled)
8441 var doc = pv.wnd.document;
8448 pv.wnd.IMMEDIATE_PRINT = true;
8454 pv.closeDocument();
8456 if (!pv.mathEnabled && print)
8458 PrintDialog.printPreview(pv);