LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwLabCfgItem Class Referencefinal

#include <labimg.hxx>

Inheritance diagram for SwLabCfgItem:
[legend]
Collaboration diagram for SwLabCfgItem:
[legend]

Public Member Functions

 SwLabCfgItem (bool bLabel)
 
SwLabItemGetItem ()
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames) override
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Private Member Functions

css::uno::Sequence< OUString > GetPropertyNames () const
 
virtual void ImplCommit () override
 

Private Attributes

SwLabItem m_aItem
 
bool m_bIsLabel
 

Additional Inherited Members

- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 105 of file labimg.hxx.

Constructor & Destructor Documentation

◆ SwLabCfgItem()

SwLabCfgItem::SwLabCfgItem ( bool  bLabel)

Definition at line 259 of file labimg.cxx.

References Any, utl::ConfigItem::EnableNotification(), SvtUserOptions::GetCity(), SvtUserOptions::GetCompany(), SvtUserOptions::GetCountry(), SvtUserOptions::GetEmail(), SvtUserOptions::GetFax(), SvtUserOptions::GetFirstName(), SvtUserOptions::GetID(), SvtUserOptions::GetLastName(), SvtUserOptions::GetPosition(), utl::ConfigItem::GetProperties(), GetPropertyNames(), SvtUserOptions::GetState(), SvtUserOptions::GetStreet(), SvtUserOptions::GetTelephoneHome(), SvtUserOptions::GetTelephoneWork(), SvtUserOptions::GetTitle(), SvtUserOptions::GetZip(), SwLabItem::m_aCompCity, SwLabItem::m_aCompCompany, SwLabItem::m_aCompCompanyExt, SwLabItem::m_aCompCountry, SwLabItem::m_aCompFax, SwLabItem::m_aCompMail, SwLabItem::m_aCompMobile, SwLabItem::m_aCompPhone, SwLabItem::m_aCompPosition, SwLabItem::m_aCompSlogan, SwLabItem::m_aCompState, SwLabItem::m_aCompStreet, SwLabItem::m_aCompWWW, SwLabItem::m_aCompZip, m_aItem, SwLabItem::m_aMake, SwLabItem::m_aPrivCity, SwLabItem::m_aPrivCountry, SwLabItem::m_aPrivFax, SwLabItem::m_aPrivFirstName, SwLabItem::m_aPrivFirstName2, SwLabItem::m_aPrivMail, SwLabItem::m_aPrivMobile, SwLabItem::m_aPrivName, SwLabItem::m_aPrivName2, SwLabItem::m_aPrivPhone, SwLabItem::m_aPrivProfession, SwLabItem::m_aPrivShortCut, SwLabItem::m_aPrivShortCut2, SwLabItem::m_aPrivState, SwLabItem::m_aPrivStreet, SwLabItem::m_aPrivTitle, SwLabItem::m_aPrivWWW, SwLabItem::m_aPrivZip, SwLabItem::m_aType, SwLabItem::m_aWriting, SwLabItem::m_bAddr, SwLabItem::m_bCont, m_bIsLabel, SwLabItem::m_bPage, SwLabItem::m_bSynchron, SwLabItem::m_lHDist, SwLabItem::m_lHeight, SwLabItem::m_lLeft, SwLabItem::m_lPHeight, SwLabItem::m_lPWidth, SwLabItem::m_lUpper, SwLabItem::m_lVDist, SwLabItem::m_lWidth, SwLabItem::m_nCol, SwLabItem::m_nCols, SwLabItem::m_nRow, SwLabItem::m_nRows, SwLabItem::m_sDBName, SwLabItem::m_sGlossaryBlockName, SwLabItem::m_sGlossaryGroup, o3tl::mm100, pValues, utl::ConfigItem::SetModified(), SW_MOD, and o3tl::toTwips().

Member Function Documentation

◆ GetItem()

SwLabItem & SwLabCfgItem::GetItem ( )
inline

Definition at line 118 of file labimg.hxx.

References m_aItem.

Referenced by SwModule::InsertLab().

◆ GetPropertyNames()

Sequence< OUString > SwLabCfgItem::GetPropertyNames ( ) const
private

Definition at line 185 of file labimg.cxx.

References m_bIsLabel, and nIndex.

Referenced by ImplCommit(), and SwLabCfgItem().

◆ ImplCommit()

void SwLabCfgItem::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 393 of file labimg.cxx.

References Any, convertTwipToMm100(), GetPropertyNames(), SwLabItem::m_aCompCity, SwLabItem::m_aCompCompany, SwLabItem::m_aCompCompanyExt, SwLabItem::m_aCompCountry, SwLabItem::m_aCompFax, SwLabItem::m_aCompMail, SwLabItem::m_aCompMobile, SwLabItem::m_aCompPhone, SwLabItem::m_aCompPosition, SwLabItem::m_aCompSlogan, SwLabItem::m_aCompState, SwLabItem::m_aCompStreet, SwLabItem::m_aCompWWW, SwLabItem::m_aCompZip, m_aItem, SwLabItem::m_aMake, SwLabItem::m_aPrivCity, SwLabItem::m_aPrivCountry, SwLabItem::m_aPrivFax, SwLabItem::m_aPrivFirstName, SwLabItem::m_aPrivFirstName2, SwLabItem::m_aPrivMail, SwLabItem::m_aPrivMobile, SwLabItem::m_aPrivName, SwLabItem::m_aPrivName2, SwLabItem::m_aPrivPhone, SwLabItem::m_aPrivProfession, SwLabItem::m_aPrivShortCut, SwLabItem::m_aPrivShortCut2, SwLabItem::m_aPrivState, SwLabItem::m_aPrivStreet, SwLabItem::m_aPrivTitle, SwLabItem::m_aPrivWWW, SwLabItem::m_aPrivZip, SwLabItem::m_aType, SwLabItem::m_aWriting, SwLabItem::m_bAddr, SwLabItem::m_bCont, m_bIsLabel, SwLabItem::m_bPage, SwLabItem::m_bSynchron, SwLabItem::m_lHDist, SwLabItem::m_lHeight, SwLabItem::m_lLeft, SwLabItem::m_lPHeight, SwLabItem::m_lPWidth, SwLabItem::m_lUpper, SwLabItem::m_lVDist, SwLabItem::m_lWidth, SwLabItem::m_nCol, SwLabItem::m_nCols, SwLabItem::m_nRow, SwLabItem::m_nRows, SwLabItem::m_sDBName, SwLabItem::m_sGlossaryBlockName, SwLabItem::m_sGlossaryGroup, utl::ConfigItem::PutProperties(), and pValues.

◆ Notify()

void SwLabCfgItem::Notify ( const css::uno::Sequence< OUString > &  aPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 391 of file labimg.cxx.

Member Data Documentation

◆ m_aItem

SwLabItem SwLabCfgItem::m_aItem
private

Definition at line 108 of file labimg.hxx.

Referenced by GetItem(), ImplCommit(), and SwLabCfgItem().

◆ m_bIsLabel

bool SwLabCfgItem::m_bIsLabel
private

Definition at line 109 of file labimg.hxx.

Referenced by GetPropertyNames(), ImplCommit(), and SwLabCfgItem().


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