summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlaustp.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-11-29 16:09:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-11-30 08:38:57 +0100
commit01a3cc1e55034f7703219d4bbb209de7c37bf07b (patch)
tree42a5f54b8f9bc3083fb7e6796a1721afe820e983 /include/xmloff/xmlaustp.hxx
parent79553e784c6d4587814bc2a577d7251c458df8d4 (diff)
tdf#133343 collect autostyle prop names
before scanning for autostyles. That way we can collect only the property state we are interested in, instead of all properties. Change-Id: I8da4d61401d904631cbf9dc1828266950fe98421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143466 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/xmloff/xmlaustp.hxx')
-rw-r--r--include/xmloff/xmlaustp.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xmloff/xmlaustp.hxx b/include/xmloff/xmlaustp.hxx
index 11f6cfc46923..a77e3fe0a570 100644
--- a/include/xmloff/xmlaustp.hxx
+++ b/include/xmloff/xmlaustp.hxx
@@ -110,6 +110,9 @@ public:
css::uno::Sequence<sal_Int32> const & aFamilies,
css::uno::Sequence<OUString> const & aNames );
+ /// retrieve the names of the properties used in the styles
+ css::uno::Sequence<OUString> GetPropertyNames();
+
/// Add an item set to the pool and return its generated name.
OUString Add( XmlStyleFamily nFamily, ::std::vector< XMLPropertyState >&& rProperties );
OUString Add( XmlStyleFamily nFamily, const OUString& rParent, ::std::vector< XMLPropertyState >&& rProperties, bool bDontSeek = false );