LibreOffice Module sfx2 (master) 1
Public Member Functions | Public Attributes | List of all members
SfxClassificationHelper::Impl Class Reference

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
 

Detailed Description

Implementation details of SfxClassificationHelper.

Definition at line 349 of file classificationhelper.cxx.

Constructor & Destructor Documentation

◆ Impl()

SfxClassificationHelper::Impl::Impl ( uno::Reference< document::XDocumentProperties >  xDocumentProperties,
bool  bUseLocalized 
)
explicit

Definition at line 372 of file classificationhelper.cxx.

References parsePolicy().

Member Function Documentation

◆ parsePolicy()

void SfxClassificationHelper::Impl::parsePolicy ( )

◆ pushToDocumentProperties()

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.

◆ setStartValidity()

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().

Member Data Documentation

◆ m_aCategories

std::vector<SfxClassificationCategory> SfxClassificationHelper::Impl::m_aCategories

Possible categories of a policy to choose from.

Definition at line 355 of file classificationhelper.cxx.

◆ m_aCategory

std::map<SfxClassificationPolicyType, SfxClassificationCategory> SfxClassificationHelper::Impl::m_aCategory

Selected categories, one category for each policy type.

Definition at line 353 of file classificationhelper.cxx.

◆ m_aIPPartNumbers

std::vector<OUString> SfxClassificationHelper::Impl::m_aIPPartNumbers

Definition at line 358 of file classificationhelper.cxx.

◆ m_aIPParts

std::vector<OUString> SfxClassificationHelper::Impl::m_aIPParts

Definition at line 357 of file classificationhelper.cxx.

◆ m_aMarkings

std::vector<OUString> SfxClassificationHelper::Impl::m_aMarkings

Definition at line 356 of file classificationhelper.cxx.

◆ m_bUseLocalized

bool SfxClassificationHelper::Impl::m_bUseLocalized

Definition at line 362 of file classificationhelper.cxx.

◆ m_xDocumentProperties

uno::Reference<document::XDocumentProperties> SfxClassificationHelper::Impl::m_xDocumentProperties

Definition at line 360 of file classificationhelper.cxx.


The documentation for this class was generated from the following file: