summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-19 16:35:23 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-19 17:01:01 +0100
commit67b14461bfcf4847b83b17535dde9b3efa2ed762 (patch)
tree81ab8e88a32401e308f3327bc30407f2ab9b019e /sfx2
parent538cf0c496f509f8fa7efa2bc61bfb5e8878d097 (diff)
sfx classification: give access to document header/footer and watermark
Change-Id: I07e22f16cfa0229f609e7fc406e98e9f0c843153
Diffstat (limited to 'sfx2')
-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 9270c4616421..d062eacdc537 100644
--- a/sfx2/source/view/classificationhelper.cxx
+++ b/sfx2/source/view/classificationhelper.cxx
@@ -141,4 +141,13 @@ basegfx::BColor SfxClassificationHelper::GetImpactLevelColor()
return aRet;
}
+OUString SfxClassificationHelper::GetDocumentWatermark()
+{
+ std::map<OUString, OUString>::iterator it = m_pImpl->m_aLabels.find("urn:bails:IntellectualProperty:Marking:document-watermark");
+ if (it != m_pImpl->m_aLabels.end())
+ return it->second;
+
+ return OUString();
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */