From fcf5333bf2caf8eb34e31b9f7cd1d72bf4797115 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Fri, 6 Sep 2019 23:17:49 +0200 Subject: Add the ability to export print template as html This way we can view the html generated from a print template, for debugging, validation or printing via your favorite browser. Signed-off-by: Anton Lundin --- desktop-widgets/printer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop-widgets/printer.h') diff --git a/desktop-widgets/printer.h b/desktop-widgets/printer.h index 9197c6891..cdc0acf09 100644 --- a/desktop-widgets/printer.h +++ b/desktop-widgets/printer.h @@ -40,6 +40,7 @@ public: ~Printer(); void print(); void previewOnePage(); + QString exportHtml(); signals: void progessUpdated(int value); -- cgit v1.2.3-70-g09d2