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

#include <cfg.hxx>

Public Member Functions

 SvxConfigEntry (OUString aDisplayName, OUString aCommandURL, 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 232 of file cfg.hxx.

Constructor & Destructor Documentation

◆ SvxConfigEntry() [1/2]

SvxConfigEntry::SvxConfigEntry ( OUString  aDisplayName,
OUString  aCommandURL,
bool  bPopup,
bool  bParentData 
)

Definition at line 1921 of file cfg.cxx.

References aCommand, aLabel, bPopUp, bPopup, mpEntries, and nId.

◆ SvxConfigEntry() [2/2]

SvxConfigEntry::SvxConfigEntry ( )
inline

Definition at line 264 of file cfg.hxx.

◆ ~SvxConfigEntry()

SvxConfigEntry::~SvxConfigEntry ( )

Definition at line 1941 of file cfg.cxx.

References mpEntries.

Member Function Documentation

◆ GetBackupGraphic()

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

Definition at line 315 of file cfg.hxx.

References xBackupGraphic.

Referenced by IMPL_LINK().

◆ GetCommand()

const OUString & SvxConfigEntry::GetCommand ( ) const
inline

◆ GetEntries()

SvxEntries * SvxConfigEntry::GetEntries ( ) const
inline

◆ GetName()

const OUString & SvxConfigEntry::GetName ( ) const
inline

◆ GetStyle()

sal_Int32 SvxConfigEntry::GetStyle ( ) const
inline

◆ HasChangedName()

bool SvxConfigEntry::HasChangedName ( ) const
inline

◆ IsBinding()

bool SvxConfigEntry::IsBinding ( ) const
inline

◆ IsDeletable()

bool SvxConfigEntry::IsDeletable ( ) const

◆ IsMain()

bool SvxConfigEntry::IsMain ( ) const
inline

Definition at line 297 of file cfg.hxx.

References bIsMain.

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

◆ IsModified()

bool SvxConfigEntry::IsModified ( ) const
inline

Definition at line 303 of file cfg.hxx.

References bIsModified.

◆ IsMovable()

bool SvxConfigEntry::IsMovable ( ) const

Definition at line 1952 of file cfg.cxx.

References IsMain(), and IsPopup().

Referenced by SvxMenuConfigPage::UpdateButtonStates().

◆ IsParentData()

bool SvxConfigEntry::IsParentData ( ) const
inline

Definition at line 300 of file cfg.hxx.

References bIsParentData.

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

◆ IsPopup()

bool SvxConfigEntry::IsPopup ( ) const
inline

Definition at line 285 of file cfg.hxx.

References bPopUp.

Referenced by SvxMenuConfigPage::DeleteSelectedContent(), and IsMovable().

◆ IsRenamable()

bool SvxConfigEntry::IsRenamable ( ) const

◆ IsSeparator()

bool SvxConfigEntry::IsSeparator ( ) const
inline

Definition at line 291 of file cfg.hxx.

References nId.

Referenced by IMPL_LINK().

◆ IsUserDefined()

bool SvxConfigEntry::IsUserDefined ( ) const
inline

Definition at line 288 of file cfg.hxx.

References bIsUserDefined.

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

◆ IsVisible()

bool SvxConfigEntry::IsVisible ( ) const
inline

Definition at line 310 of file cfg.hxx.

References bIsVisible.

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

◆ SetBackupGraphic()

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

Definition at line 312 of file cfg.hxx.

References xBackupGraphic.

Referenced by IMPL_LINK().

◆ SetEntries()

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

Definition at line 294 of file cfg.hxx.

References mpEntries.

◆ SetMain()

void SvxConfigEntry::SetMain ( )
inline

◆ SetModified()

void SvxConfigEntry::SetModified ( bool  bValue = true)
inline

◆ SetName()

void SvxConfigEntry::SetName ( const OUString &  rStr)
inline

◆ SetParentData()

void SvxConfigEntry::SetParentData ( bool  bValue = true)
inline

Definition at line 299 of file cfg.hxx.

References bIsParentData.

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

◆ SetStyle()

void SvxConfigEntry::SetStyle ( sal_Int32  style)
inline

◆ SetUserDefined()

void SvxConfigEntry::SetUserDefined ( bool  bOn = true)
inline

◆ SetVisible()

void SvxConfigEntry::SetVisible ( bool  b)
inline

Member Data Documentation

◆ aCommand

OUString SvxConfigEntry::aCommand
private

Definition at line 239 of file cfg.hxx.

Referenced by GetCommand().

◆ aLabel

OUString SvxConfigEntry::aLabel
private

Definition at line 238 of file cfg.hxx.

Referenced by GetName(), and SetName().

◆ bIsMain

bool SvxConfigEntry::bIsMain
private

Definition at line 244 of file cfg.hxx.

Referenced by IsMain(), and SetMain().

◆ bIsModified

bool SvxConfigEntry::bIsModified
private

Definition at line 246 of file cfg.hxx.

Referenced by IsModified(), and SetModified().

◆ bIsParentData

bool SvxConfigEntry::bIsParentData
private

Definition at line 245 of file cfg.hxx.

Referenced by IsParentData(), and SetParentData().

◆ bIsUserDefined

bool SvxConfigEntry::bIsUserDefined
private

Definition at line 243 of file cfg.hxx.

Referenced by IsUserDefined(), and SetUserDefined().

◆ bIsVisible

bool SvxConfigEntry::bIsVisible
private

toolbar specific properties

Definition at line 249 of file cfg.hxx.

Referenced by IsVisible(), and SetVisible().

◆ bPopUp

bool SvxConfigEntry::bPopUp
private

Definition at line 241 of file cfg.hxx.

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

◆ bStrEdited

bool SvxConfigEntry::bStrEdited
private

Definition at line 242 of file cfg.hxx.

Referenced by HasChangedName(), and SetName().

◆ mpEntries

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

Definition at line 255 of file cfg.hxx.

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

◆ nId

sal_uInt16 SvxConfigEntry::nId
private

common properties

Definition at line 237 of file cfg.hxx.

Referenced by IsSeparator().

◆ nStyle

sal_Int32 SvxConfigEntry::nStyle
private

Definition at line 250 of file cfg.hxx.

Referenced by GetStyle(), and SetStyle().

◆ xBackupGraphic

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

Definition at line 253 of file cfg.hxx.

Referenced by GetBackupGraphic(), and SetBackupGraphic().


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