LibreOffice Module sfx2 (master) 1
|
Implementation details of SfxClassificationHelper. More...
Public Member Functions | |
Impl (uno::Reference< document::XDocumentProperties > xDocumentProperties, bool bUseLocalized) | |
void | parsePolicy () |
void | pushToDocumentProperties () |
Synchronize m_aLabels back to the document properties. More... | |
void | setStartValidity (SfxClassificationPolicyType eType) |
Set the classification start date to the system time. More... | |
Public Attributes | |
std::map< SfxClassificationPolicyType, SfxClassificationCategory > | m_aCategory |
Selected categories, one category for each policy type. More... | |
std::vector< SfxClassificationCategory > | m_aCategories |
Possible categories of a policy to choose from. More... | |
std::vector< OUString > | m_aMarkings |
std::vector< OUString > | m_aIPParts |
std::vector< OUString > | m_aIPPartNumbers |
uno::Reference< document::XDocumentProperties > | m_xDocumentProperties |
bool | m_bUseLocalized |
Implementation details of SfxClassificationHelper.
Definition at line 349 of file classificationhelper.cxx.
|
explicit |
Definition at line 372 of file classificationhelper.cxx.
References parsePolicy().
void SfxClassificationHelper::Impl::parsePolicy | ( | ) |
Definition at line 379 of file classificationhelper.cxx.
References aLocalized, utl::UcbStreamHelper::CreateStream(), LanguageTag::getBcp47(), SvtPathOptions::GetClassificationPath(), AllSettings::GetLanguageTag(), comphelper::getProcessComponentContext(), Application::GetSettings(), FStatHelper::IsDocument(), and TOOLS_WARN_EXCEPTION.
Referenced by Impl().
void SfxClassificationHelper::Impl::pushToDocumentProperties | ( | ) |
Synchronize m_aLabels back to the document properties.
Definition at line 446 of file classificationhelper.cxx.
References aProperties, eType, lcl_containsProperty(), SfxClassificationHelper::policyTypeToString(), and TOOLS_WARN_EXCEPTION.
void SfxClassificationHelper::Impl::setStartValidity | ( | SfxClassificationPolicyType | eType | ) |
Set the classification start date to the system time.
Definition at line 427 of file classificationhelper.cxx.
References eType, DateTime::GetUNODateTime(), SfxClassificationHelper::policyTypeToString(), DateTime::SYSTEM, and utl::toISO8601().
std::vector<SfxClassificationCategory> SfxClassificationHelper::Impl::m_aCategories |
Possible categories of a policy to choose from.
Definition at line 355 of file classificationhelper.cxx.
std::map<SfxClassificationPolicyType, SfxClassificationCategory> SfxClassificationHelper::Impl::m_aCategory |
Selected categories, one category for each policy type.
Definition at line 353 of file classificationhelper.cxx.
std::vector<OUString> SfxClassificationHelper::Impl::m_aIPPartNumbers |
Definition at line 358 of file classificationhelper.cxx.
std::vector<OUString> SfxClassificationHelper::Impl::m_aIPParts |
Definition at line 357 of file classificationhelper.cxx.
std::vector<OUString> SfxClassificationHelper::Impl::m_aMarkings |
Definition at line 356 of file classificationhelper.cxx.
bool SfxClassificationHelper::Impl::m_bUseLocalized |
Definition at line 362 of file classificationhelper.cxx.
uno::Reference<document::XDocumentProperties> SfxClassificationHelper::Impl::m_xDocumentProperties |
Definition at line 360 of file classificationhelper.cxx.