summaryrefslogtreecommitdiff
path: root/writerfilter/inc
diff options
context:
space:
mode:
authorAttila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>2021-11-11 14:02:12 +0100
committerLászló Németh <nemeth@numbertext.org>2022-01-06 10:41:32 +0100
commit121cbc250b36290f0f8c7265fea57256dad69553 (patch)
tree6ecc1d2c1b9905a1a8a8899cdf6343734d0d1483 /writerfilter/inc
parent470d1be4ec5a3a5a0aba8febda06600ea39852c5 (diff)
tdf#66039 DOCX: import textboxes (with tables, images etc.) in group shapes
Text boxes in group shapes were imported as shapes, losing complex text content: tables (tdf#66039), colors (tdf#73022), images (tdf#81958), lists, paragraph styles, hyperlinks (tdf#122960) and track changes. Note: a few unit tests have been deactivated temporarily. Test document "groupshape-trackedchanges.docx" of testGroupshapeTrackedchanges is imported correctly now: with track changes, and the test was modified accordingly. Follow-up to commit 2951cbdf3a6e2b62461665546b47e1d253fcb834 "tdf#143574 OOXML export/import of textboxes in group shapes". Change-Id: I6eb918dbf64393fd723fe43f798f93b5b9a12575 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125051 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'writerfilter/inc')
-rw-r--r--writerfilter/inc/dmapper/resourcemodel.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/writerfilter/inc/dmapper/resourcemodel.hxx b/writerfilter/inc/dmapper/resourcemodel.hxx
index 65682d78e381..91fda417c2d9 100644
--- a/writerfilter/inc/dmapper/resourcemodel.hxx
+++ b/writerfilter/inc/dmapper/resourcemodel.hxx
@@ -239,6 +239,13 @@ public:
virtual void endShape() = 0;
/**
+ Receives a text-box-content.
+ */
+ virtual void startTextBoxContent() = 0;
+
+ virtual void endTextBoxContent() = 0;
+
+ /**
Receives 8-bit per character text.
@param data buffer containing the text