summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-23 10:31:31 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-23 14:01:15 +0100
commit1f1199574e839ab5da4fc0a494a2fe21cef3c24e (patch)
treef594ec08fac2c0e97f2634b1987ffab2e61ad41c
parentb84dca7cd508e806842341329456dc33d6179e28 (diff)
sfx2: initial SfxClassificationCategory
Change-Id: I56f834093a1ee00b793580525ba052026e25289f
-rw-r--r--sfx2/source/view/classificationhelper.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sfx2/source/view/classificationhelper.cxx b/sfx2/source/view/classificationhelper.cxx
index 86ab579ef5df..979f60c5711d 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -19,10 +19,19 @@
using namespace com::sun::star;
+/// Represents one category of a classification policy.
+class SfxClassificationCategory
+{
+public:
+ std::map<OUString, OUString> m_aLabels;
+};
+
/// Implementation details of SfxClassificationHelper.
struct SfxClassificationHelper::Impl
{
std::map<OUString, OUString> m_aLabels;
+ /// Possible categories of a policy to choose from.
+ std::map<OUString, SfxClassificationCategory> m_aCategories;
};
bool SfxClassificationHelper::IsClassified(SfxObjectShell& rObjectShell)