aboutsummaryrefslogtreecommitdiff
path: root/notebookview.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2021-09-12 01:36:41 +0200
committerJavier <dev.git@javispedro.com>2021-09-12 01:36:41 +0200
commit66dd35254724ec5d4471a8be71f92e06cf0fa8e8 (patch)
tree1918dcca44dd75108d442bf173b58419ab41a518 /notebookview.h
parent8333259e49fc2961cab0939e3d937167d38a9f9d (diff)
downloadscribiu-66dd35254724ec5d4471a8be71f92e06cf0fa8e8.tar.gz
scribiu-66dd35254724ec5d4471a8be71f92e06cf0fa8e8.zip
add ability to export a stroke list in plain text
Diffstat (limited to 'notebookview.h')
-rw-r--r--notebookview.h4
1 files changed, 3 insertions, 1 deletions
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: