From 66dd35254724ec5d4471a8be71f92e06cf0fa8e8 Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 12 Sep 2021 01:36:41 +0200 Subject: add ability to export a stroke list in plain text --- notebookview.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'notebookview.h') diff --git a/notebookview.h b/notebookview.h index 720a1a2..4e557d1 100644 --- a/notebookview.h +++ b/notebookview.h @@ -53,9 +53,11 @@ public: QSize getCurPageSize() const; QRect getCurPageTrim() const; - QImage exportPage(int pageNum) const; + QImage exportPageAsImage(int pageNum) const; void renderPage(QPainter *painter, int pageNum, const QRectF &target = QRectF(), const QRectF &source = QRectF()) const; + void exportPageAsStrokeList(QIODevice *device, int pageNum); + void requestPaperReplay(const QString &file, qint64 time); signals: -- cgit v1.2.3