summaryrefslogtreecommitdiff
path: root/include/sfx2/classificationhelper.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-20 09:37:21 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-20 08:49:34 +0000
commit5840c2787c61bcbb5401d2aa0fc9e163e303f76c (patch)
treee9f36c7ad6396c3fc9e47529680eb98b216098f4 /include/sfx2/classificationhelper.hxx
parent72edb6967f245f0c99c6a61e0ce8d0a245600cba (diff)
sfx2 classification toolbar: set state of all listboxes on status change
With this the listboxes reflect the state of the document after load. This also means that the only difference between the first listbox and the remaining ones is the first one influences the UI as well, but everything else is implemented. Change-Id: Ibea0e2fbc431f7327342fd8c2a1d31c34b73d6a8 Reviewed-on: https://gerrit.libreoffice.org/25188 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include/sfx2/classificationhelper.hxx')
-rw-r--r--include/sfx2/classificationhelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sfx2/classificationhelper.hxx b/include/sfx2/classificationhelper.hxx
index 8d7b0b1688d2..18dd3515b665 100644
--- a/include/sfx2/classificationhelper.hxx
+++ b/include/sfx2/classificationhelper.hxx
@@ -58,7 +58,8 @@ public:
SfxClassificationHelper(const css::uno::Reference<css::document::XDocumentProperties>& xDocumentProperties);
~SfxClassificationHelper();
- const OUString& GetBACName();
+ /// Get the currently selected category for eType.
+ const OUString& GetBACName(SfxClassificationPolicyType eType);
/// Return all possible valid category names, based on the policy.
std::vector<OUString> GetBACNames();
/// Setting this sets all the other properties, based on the policy.