summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2021-09-28 09:37:10 +0200
committerMiklos Vajna <vmiklos@collabora.com>2021-09-28 10:27:20 +0200
commit05f863844d9a5613250e8d787e32752b270ec4d3 (patch)
tree8c8c0d5db30d3390346b586dd6ac4a91e3a34058 /include
parent4dd6af856d574ad66ebb4b822a36ba70af9945e2 (diff)
sw: paragraph styles: add ODT filter for a linked character style
And the same in the other direction: link a para style from a char style. With this, the ODT filter is on par with the DOCX one for this feature. Change-Id: Idd994b933672ab47a5f87a75c92abc137d3c73b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122753 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'include')
-rw-r--r--include/xmloff/xmlstyle.hxx2
-rw-r--r--include/xmloff/xmltoken.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/xmloff/xmlstyle.hxx b/include/xmloff/xmlstyle.hxx
index 184fd19eb379..04a74b841a15 100644
--- a/include/xmloff/xmlstyle.hxx
+++ b/include/xmloff/xmlstyle.hxx
@@ -44,6 +44,7 @@ class XMLOFF_DLLPUBLIC SvXMLStyleContext : public SvXMLImportContext
OUString maAutoName;
OUString maParentName;// Will be moved to XMLPropStyle soon!!!!
OUString maFollow; // Will be moved to XMLPropStyle soon!!!!
+ OUString maLinked;
bool mbHidden;
XmlStyleFamily mnFamily;
@@ -79,6 +80,7 @@ public:
const OUString& GetAutoName() const { return maAutoName; }
const OUString& GetParentName() const { return maParentName; }
const OUString& GetFollow() const { return maFollow; }
+ const OUString& GetLinked() const { return maLinked; }
XmlStyleFamily GetFamily() const { return mnFamily; }
diff --git a/include/xmloff/xmltoken.hxx b/include/xmloff/xmltoken.hxx
index e4b2314527f0..c8dedd84b4b2 100644
--- a/include/xmloff/xmltoken.hxx
+++ b/include/xmloff/xmltoken.hxx
@@ -3437,6 +3437,8 @@ namespace xmloff::token {
XML_RTL,
XML_SYMMETRIC,
+ XML_LINKED_STYLE_NAME,
+
XML_TOKEN_END
};