summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-11 12:29:30 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-11 14:04:50 +0100
commit07c2b73d16425fb6d3ea8ab9ec15c87e9548acda (patch)
treeb4aa74338754fa6ce7f855b1cfe09e7e24d78908 /include/xmloff
parent1f5f94d153fbade9cd96f841f1084fe16815f4f3 (diff)
sw clearing breaks: add ODF export
Write the clearing break as: <text:line-break loext:clear="..."/> Change-Id: Ieb517b825f2ee162bb70a453a3756ec870fa8aac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131346 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/txtparae.hxx2
-rw-r--r--include/xmloff/xmltoken.hxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/xmloff/txtparae.hxx b/include/xmloff/txtparae.hxx
index eaf23409bd7a..70716c1f77a2 100644
--- a/include/xmloff/txtparae.hxx
+++ b/include/xmloff/txtparae.hxx
@@ -321,6 +321,8 @@ protected:
void exportSoftPageBreak();
+ void exportTextLineBreak(const css::uno::Reference<css::beans::XPropertySet>& xPropSet);
+
void exportTextRange(
const css::uno::Reference< css::text::XTextRange > & rTextRange,
bool bAutoStyles,
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index 4f7cd7e148a4..26b46bf890d6 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -1173,6 +1173,7 @@ namespace xmloff::token {
XML_LIMIT,
XML_LINE,
XML_LINE_BREAK,
+ XML_CLEAR,
XML_LINE_DISTANCE,
XML_LINE_HEIGHT,
XML_LINE_HEIGHT_AT_LEAST,