feat(WritePdfBehavior): add WritePdfBehavior to handle PDF writing pipeline

- Implements WritePdfBehavior as an IPipelineBehavior for BurnPdfCommand
- Writes generated PDF to configured export path
- Automatically creates export directory if missing
- Adds logging for export path and file operations
This commit is contained in:
2025-11-12 14:55:35 +01:00
parent dee424e7db
commit d1513dab5e
2 changed files with 65 additions and 0 deletions

View File

@@ -91,6 +91,7 @@ public static class DependencyInjection
cfg.AddBehavior<CreateHistoryBehavior>();
cfg.AddBehavior<SavePdfBehavior>();
#if WINDOWS
cfg.AddBehavior<WritePdfBehavior>();
cfg.AddBehavior<PdfMergeBehavior>();
cfg.AddBehavior<AddReportBehavior>();
#endif