summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver Specht <oliver.specht@cib.de>2024-02-01 11:06:02 +0100
committerThorsten Behrens <thorsten.behrens@allotropia.de>2024-06-14 11:18:38 +0200
commit6a36c75fae892edcfd058abf9fd075216573c330 (patch)
treeb28d6ab72f09054b0a92cb518c12671491ecf323 /include
parent0e33dff4252f3124c7ecc591befa56f0fb0e1895 (diff)
prefer simple HTML format over RTF while pasting clipboard content
This changes applies to draw text, only JUnit test is included Basic HTML table import is included. Change-Id: I00387f3932c0aa54099c9bc7390ad86b4398b417 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162871 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdotable.hxx2
-rw-r--r--include/svx/svdotext.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx
index 4a25ae970d7e..3f3573466651 100644
--- a/include/svx/svdotable.hxx
+++ b/include/svx/svdotable.hxx
@@ -284,6 +284,8 @@ private:
SVX_DLLPUBLIC void ExportAsRTF( SvStream& rStrm, SdrTableObj& rObj );
SVX_DLLPUBLIC void ImportAsRTF( SvStream& rStrm, SdrTableObj& rObj );
+SVX_DLLPUBLIC void ImportAsHTML( SvStream& rStrm, SdrTableObj& rObj );
+
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/svx/svdotext.hxx b/include/svx/svdotext.hxx
index aeb99556f097..9ff8a3e67f8b 100644
--- a/include/svx/svdotext.hxx
+++ b/include/svx/svdotext.hxx
@@ -78,6 +78,7 @@ namespace sdr::table {
class Cell;
class SdrTableRtfExporter;
class SdrTableRTFParser;
+ class SdrTableHTMLParser;
}
@@ -128,6 +129,7 @@ private:
friend class sdr::table::Cell;
friend class sdr::table::SdrTableRtfExporter;
friend class sdr::table::SdrTableRTFParser;
+ friend class sdr::table::SdrTableHTMLParser;
friend class TextChain;
friend class TextChainFlow;
friend class EditingTextChainFlow;