summaryrefslogtreecommitdiff
path: root/include/svx/ClassificationCommon.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2017-11-06 13:30:01 +0900
committerTomaž Vajngerl <quikee@gmail.com>2017-11-06 09:39:10 +0100
commit0a4ad544daaec4f773480e6301238c7f6958a9ab (patch)
tree912f2fd9df7afa1ae5704508a59a860380a6d667 /include/svx/ClassificationCommon.hxx
parentda308320f0f00453476b20671651950bc498608f (diff)
TSCP: put more duplicated methods to common
Change-Id: Ic49e0dad1351684db3372214604d12b48d0be907 Reviewed-on: https://gerrit.libreoffice.org/44337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/svx/ClassificationCommon.hxx')
-rw-r--r--include/svx/ClassificationCommon.hxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/svx/ClassificationCommon.hxx b/include/svx/ClassificationCommon.hxx
index 04e0494cc7ad..2276c962532d 100644
--- a/include/svx/ClassificationCommon.hxx
+++ b/include/svx/ClassificationCommon.hxx
@@ -23,6 +23,14 @@ namespace classification {
SVX_DLLPUBLIC OUString convertClassificationResultToString(std::vector<svx::ClassificationResult> const & rResults);
+SVX_DLLPUBLIC OUString getProperty(css::uno::Reference<css::beans::XPropertyContainer> const & rxPropertyContainer,
+ OUString const & rName);
+
+SVX_DLLPUBLIC bool containsProperty(css::uno::Sequence<css::beans::Property> const & rProperties,
+ OUString const & rName);
+
+SVX_DLLPUBLIC void removeAllProperties(css::uno::Reference<css::beans::XPropertyContainer> const & rxPropertyContainer);
+
SVX_DLLPUBLIC bool addOrInsertDocumentProperty(css::uno::Reference<css::beans::XPropertyContainer> const & rxPropertyContainer,
OUString const & rsKey, OUString const & rsValue);