Windows: Add feature to save pdf in menu

This commit is contained in:
2024-03-28 16:54:51 +01:00
parent 9aa6cba1ff
commit b2f52072f8
6 changed files with 111 additions and 60 deletions

View File

@ -99,6 +99,8 @@ namespace Elwig.Documents {
}
public async Task Generate(IProgress<double>? progress = null) {
if (_pdfFile != null)
return;
progress?.Report(0.0);
if (this is PdfDocument) {
// nothing to do