diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-05-19 20:15:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-05-20 07:04:08 +0000 |
commit | cb69665923c819b9ab53ed7a634b3b698bdc7ea0 (patch) | |
tree | 2376737d386002615c25dee9d458bcf23eb11396 /include/sfx2 | |
parent | 7b704dfbdb23540ff6366fa60c73474bbda9dc26 (diff) |
sfx2 classification toolbar: add select handler to all listboxes
And also fill them up. With this, it's possible to set all policy types
in a document.
UI still reacts to the first listbox only, but File -> Properties shows
that the other types are also set correctly.
Change-Id: Ibf41ad7ea54819a4d149bce8e5f4d72b02f8d635
Reviewed-on: https://gerrit.libreoffice.org/25176
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/classificationhelper.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx index cc7a66f3de33..8d7b0b1688d2 100644 --- a/include/sfx2/classificationhelper.hxx +++ b/include/sfx2/classificationhelper.hxx @@ -78,6 +78,8 @@ public: void UpdateInfobar(SfxViewFrame& rViewFrame); /// Does a best-effort conversion of rType to SfxClassificationPolicyType. static SfxClassificationPolicyType stringToPolicyType(const OUString& rType); + /// Returns the string representation of a SfxClassificationPolicyType element. + static const OUString& policyTypeToString(SfxClassificationPolicyType eType); /// Brief text located at the top of each document's pages. static const OUString& PROP_DOCHEADER(); |