Ejemplo n.º 1
0
        private void OnSaveAsXPS()
        {
            var    xpsFileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor);
            string filePath     = xpsFileSaver.SaveAsXPS();

            ShowPreviewWindow(filePath);
        }
Ejemplo n.º 2
0
        private void OnSaveAsWord()
        {
            var    fileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor);
            string filePath  = fileSaver.SaveAsDocx();

            ShowPreviewWindow(filePath);
        }
Ejemplo n.º 3
0
        private void OnSaveAsPDFBySharpPDF()
        {
            var    pdfFileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor);
            string filePath     = pdfFileSaver.SaveAsPDFBySharpPDF();

            ShowPreviewWindow(filePath);
        }