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

#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
 
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 ()
 
virtual void ImplCommit () override
 

Private Attributes

SwLabItem aItem
 
bool const bIsLabel
 

Additional Inherited Members

- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (const OUString &rSubTree, 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 ( bool  bLabel)

Definition at line 261 of file labimg.cxx.

References aItem, Any, bIsLabel, convertMm100ToTwip(), 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, 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, 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::SetModified(), and SW_MOD.

Member Function Documentation

SwLabItem& SwLabCfgItem::GetItem ( )
inline

Definition at line 118 of file labimg.hxx.

References aItem.

Referenced by SwModule::InsertLab().

Sequence< OUString > SwLabCfgItem::GetPropertyNames ( )
private

Definition at line 187 of file labimg.cxx.

References bIsLabel.

Referenced by ImplCommit(), and SwLabCfgItem().

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

Implements utl::ConfigItem.

Definition at line 393 of file labimg.cxx.

Member Data Documentation

SwLabItem SwLabCfgItem::aItem
private

Definition at line 108 of file labimg.hxx.

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

bool const SwLabCfgItem::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: