private void OnSaveAsXPS() { var xpsFileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor); string filePath = xpsFileSaver.SaveAsXPS(); ShowPreviewWindow(filePath); }
private void OnSaveAsWord() { var fileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor); string filePath = fileSaver.SaveAsDocx(); ShowPreviewWindow(filePath); }
private void OnSaveAsPDFBySharpPDF() { var pdfFileSaver = new FlowDocumentSaver(CurrentEditor.ViewerEditor); string filePath = pdfFileSaver.SaveAsPDFBySharpPDF(); ShowPreviewWindow(filePath); }