diff options
Diffstat (limited to 'include/sfx2/classificationhelper.hxx')
-rw-r--r-- | include/sfx2/classificationhelper.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx index 036951fa0ab1..2672c51c167e 100644 --- a/include/sfx2/classificationhelper.hxx +++ b/include/sfx2/classificationhelper.hxx @@ -64,11 +64,13 @@ public: /// Return all possible valid category names, based on the policy. std::vector<OUString> GetBACNames(); /// Get the currently selected category abbreviation for eType. Returns full name if no abbreviation defined. - const OUString& GetAbbreviatedBACName(SfxClassificationPolicyType eType); + const OUString& GetAbbreviatedBACName(const OUString& sFullName); /// Return all possible valid abbreviated category names, based on the policy. std::vector<OUString> GetAbbreviatedBACNames(); /// Setting this sets all the other properties, based on the policy. void SetBACName(const OUString& rName, SfxClassificationPolicyType eType); + /// Returns the class with the higher priority (based on sensitivity). + OUString GetHigherClass(const OUString& first, const OUString& second); /// If GetImpactScale() and GetImpactLevel*() will return something meaningful. bool HasImpactLevel(); InfoBarType GetImpactLevelType(); |