/// ------------------------------------------------------------------------------------ public static bool ToXLingPaper(PaProject project, CVChartType chartType, string outputFileName, CVChartGrid grid, bool openAfterExport) { return(Process(project, chartType, outputFileName, OutputFormat.XHTML, grid, openAfterExport, Properties.Settings.Default.AppThatOpensXLingPaperXML, true, new[] { Pipeline.ProcessType.ExportToXLingPaper })); }
/// ------------------------------------------------------------------------------------ public static bool ToWordXml(PaProject project, CVChartType chartType, string outputFileName, CVChartGrid grid, bool openAfterExport) { return(Process(project, chartType, outputFileName, OutputFormat.WordXml, grid, openAfterExport, Properties.Settings.Default.AppThatOpensWordXml, true, Pipeline.ProcessType.ExportToWord)); }
/// ------------------------------------------------------------------------------------ public static bool ToHtml(PaProject project, CVChartType chartType, string outputFileName, CVChartGrid grid, bool openAfterExport, bool showExportProgress) { return(Process(project, chartType, outputFileName, OutputFormat.XHTML, grid, openAfterExport, Properties.Settings.Default.AppThatOpensHtml, showExportProgress, Pipeline.ProcessType.ExportToXHTML)); }
/// ------------------------------------------------------------------------------------ public ChartVwBase(PaProject project) : base(project) { InitializeComponent(); if (LicenseManager.UsageMode == LicenseUsageMode.Designtime) { return; } Utils.WaitCursors(true); base.DoubleBuffered = true; LoadToolbarAndContextMenus(); _chartGrid = new CVChartGrid(_tmAdapter); _chartGrid.Dock = DockStyle.Fill; _chartGrid.GridColor = ChartGridColor; _pnlGrid.Controls.Add(_chartGrid); if (Type.GetType("Mono.Runtime") != null) // running Mono (any platform) { _htmlVw = null; // FIXME: Linux - Internet Explorer not available; maybe use geckofx } else // .NET { _htmlVw = new WebBrowser(); _htmlVw.ScriptErrorsSuppressed = true; _htmlVw.Dock = DockStyle.Fill; _htmlVw.Visible = false; _htmlVw.AllowWebBrowserDrop = false; _htmlVw.Navigating += new WebBrowserNavigatingEventHandler(htmlVw_Navigating); _pnlGrid.Controls.Add(_htmlVw); } _splitOuter.Panel1.Controls.Add(_pnlGrid); Utils.WaitCursors(false); LocalizeItemDlg.StringsLocalized += delegate { ReloadChart(); }; }
/// ------------------------------------------------------------------------------------ public static bool ToHtml(PaProject project, CVChartType chartType, string outputFileName, CVChartGrid grid, bool openAfterExport) { return(ToHtml(project, chartType, outputFileName, grid, openAfterExport, true)); }