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

#include <cfg.hxx>

Public Member Functions

 SvxConfigEntry (const OUString &rDisplayName, const OUString &rCommandURL, bool bPopup, bool bParentData)
 
 SvxConfigEntry ()
 
 ~SvxConfigEntry ()
 
const OUString & GetCommand () const
 
const OUString & GetName () const
 
void SetName (const OUString &rStr)
 
bool HasChangedName () const
 
bool IsPopup () const
 
void SetUserDefined (bool bOn=true)
 
bool IsUserDefined () const
 
bool IsBinding () const
 
bool IsSeparator () const
 
SvxEntriesGetEntries () const
 
void SetEntries (std::unique_ptr< SvxEntries > entries)
 
void SetMain ()
 
bool IsMain () const
 
void SetParentData (bool bValue=true)
 
bool IsParentData () const
 
void SetModified (bool bValue=true)
 
bool IsModified () const
 
bool IsMovable () const
 
bool IsDeletable () const
 
bool IsRenamable () const
 
void SetVisible (bool b)
 
bool IsVisible () const
 
void SetBackupGraphic (css::uno::Reference< css::graphic::XGraphic > const &graphic)
 
const css::uno::Reference< css::graphic::XGraphic > & GetBackupGraphic () const
 
sal_Int32 GetStyle () const
 
void SetStyle (sal_Int32 style)
 

Private Attributes

sal_uInt16 nId
 common properties More...
 
OUString aLabel
 
OUString aCommand
 
bool bPopUp
 
bool bStrEdited
 
bool bIsUserDefined
 
bool bIsMain
 
bool bIsParentData
 
bool bIsModified
 
bool bIsVisible
 toolbar specific properties More...
 
sal_Int32 nStyle
 
css::uno::Reference< css::graphic::XGraphic > xBackupGraphic
 
std::unique_ptr< SvxEntriesmpEntries
 

Detailed Description

Definition at line 226 of file cfg.hxx.

Constructor & Destructor Documentation

SvxConfigEntry::SvxConfigEntry ( const OUString &  rDisplayName,
const OUString &  rCommandURL,
bool  bPopup,
bool  bParentData 
)

Definition at line 1836 of file cfg.cxx.

References bPopUp, mpEntries, and nId.

SvxConfigEntry::SvxConfigEntry ( )
inline

Definition at line 258 of file cfg.hxx.

SvxConfigEntry::~SvxConfigEntry ( )

Definition at line 1856 of file cfg.cxx.

References mpEntries.

Member Function Documentation

const css::uno::Reference< css::graphic::XGraphic >& SvxConfigEntry::GetBackupGraphic ( ) const
inline

Definition at line 309 of file cfg.hxx.

References xBackupGraphic.

Referenced by IMPL_LINK().

const OUString& SvxConfigEntry::GetCommand ( ) const
inline
SvxEntries* SvxConfigEntry::GetEntries ( ) const
inline
const OUString& SvxConfigEntry::GetName ( ) const
inline
sal_Int32 SvxConfigEntry::GetStyle ( ) const
inline
bool SvxConfigEntry::HasChangedName ( ) const
inline
bool SvxConfigEntry::IsBinding ( ) const
inline
bool SvxConfigEntry::IsDeletable ( ) const
bool SvxConfigEntry::IsMain ( ) const
inline

Definition at line 291 of file cfg.hxx.

References bIsMain.

Referenced by IsDeletable(), IsMovable(), and IsRenamable().

bool SvxConfigEntry::IsModified ( ) const
inline

Definition at line 297 of file cfg.hxx.

References bIsModified.

bool SvxConfigEntry::IsMovable ( ) const

Definition at line 1867 of file cfg.cxx.

References IsMain(), and IsPopup().

Referenced by SvxMenuConfigPage::UpdateButtonStates().

bool SvxConfigEntry::IsParentData ( ) const
inline

Definition at line 294 of file cfg.hxx.

References bIsParentData.

Referenced by ToolbarSaveInData::ApplyToolbar(), and ToolbarSaveInData::RestoreToolbar().

bool SvxConfigEntry::IsPopup ( ) const
inline
bool SvxConfigEntry::IsRenamable ( ) const
bool SvxConfigEntry::IsSeparator ( ) const
inline

Definition at line 285 of file cfg.hxx.

Referenced by IMPL_LINK(), and SvxConfigPage::InsertEntryIntoUI().

bool SvxConfigEntry::IsUserDefined ( ) const
inline

Definition at line 282 of file cfg.hxx.

References bIsUserDefined.

Referenced by ToolbarSaveInData::ApplyToolbar(), IsDeletable(), and IsRenamable().

bool SvxConfigEntry::IsVisible ( ) const
inline

Definition at line 304 of file cfg.hxx.

References bIsVisible.

Referenced by SvxConfigPageHelper::ConvertToolbarEntry(), and IMPL_LINK().

void SvxConfigEntry::SetBackupGraphic ( css::uno::Reference< css::graphic::XGraphic > const &  graphic)
inline

Definition at line 306 of file cfg.hxx.

Referenced by IMPL_LINK().

void SvxConfigEntry::SetEntries ( std::unique_ptr< SvxEntries entries)
inline

Definition at line 288 of file cfg.hxx.

void SvxConfigEntry::SetMain ( )
inline
void SvxConfigEntry::SetModified ( bool  bValue = true)
inline
void SvxConfigEntry::SetName ( const OUString &  rStr)
inline
void SvxConfigEntry::SetParentData ( bool  bValue = true)
inline

Definition at line 293 of file cfg.hxx.

Referenced by ToolbarSaveInData::ApplyToolbar(), and ToolbarSaveInData::RestoreToolbar().

void SvxConfigEntry::SetStyle ( sal_Int32  style)
inline
void SvxConfigEntry::SetUserDefined ( bool  bOn = true)
inline
void SvxConfigEntry::SetVisible ( bool  b)
inline

Member Data Documentation

OUString SvxConfigEntry::aCommand
private

Definition at line 233 of file cfg.hxx.

Referenced by GetCommand().

OUString SvxConfigEntry::aLabel
private

Definition at line 232 of file cfg.hxx.

Referenced by GetName().

bool SvxConfigEntry::bIsMain
private

Definition at line 238 of file cfg.hxx.

Referenced by IsMain().

bool SvxConfigEntry::bIsModified
private

Definition at line 240 of file cfg.hxx.

Referenced by IsModified().

bool SvxConfigEntry::bIsParentData
private

Definition at line 239 of file cfg.hxx.

Referenced by IsParentData().

bool SvxConfigEntry::bIsUserDefined
private

Definition at line 237 of file cfg.hxx.

Referenced by IsUserDefined().

bool SvxConfigEntry::bIsVisible
private

toolbar specific properties

Definition at line 243 of file cfg.hxx.

Referenced by IsVisible().

bool SvxConfigEntry::bPopUp
private

Definition at line 235 of file cfg.hxx.

Referenced by IsBinding(), IsPopup(), and SvxConfigEntry().

bool SvxConfigEntry::bStrEdited
private

Definition at line 236 of file cfg.hxx.

Referenced by HasChangedName().

std::unique_ptr<SvxEntries> SvxConfigEntry::mpEntries
private

Definition at line 249 of file cfg.hxx.

Referenced by SvxConfigEntry(), and ~SvxConfigEntry().

sal_uInt16 SvxConfigEntry::nId
private

common properties

Definition at line 231 of file cfg.hxx.

sal_Int32 SvxConfigEntry::nStyle
private

Definition at line 244 of file cfg.hxx.

Referenced by GetStyle().

css::uno::Reference< css::graphic::XGraphic > SvxConfigEntry::xBackupGraphic
private

Definition at line 247 of file cfg.hxx.

Referenced by GetBackupGraphic().


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