LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxMacroTabPage Class Referencefinal

#include <macroass.hxx>

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

Public Member Functions

 SfxMacroTabPage (weld::Container *pPage, weld::DialogController *pController, const css::uno::Reference< css::frame::XFrame > &rxDocumentFrame, const SfxItemSet &rSet)
 
virtual ~SfxMacroTabPage () override
 
void AddEvent (const OUString &rEventName, SvMacroItemId nEventId)
 
void ScriptChanged ()
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
virtual void ActivatePage (const SfxItemSet &) override
 
void LaunchFillGroup ()
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
bool IsReadOnly () const override
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (SelectEvent_Impl, weld::TreeView &, void)
 
 DECL_LINK (SelectGroup_Impl, weld::TreeView &, void)
 
 DECL_LINK (SelectMacro_Impl, weld::TreeView &, void)
 
 DECL_LINK (AssignDeleteHdl_Impl, weld::TreeView &, bool)
 
 DECL_LINK (AssignDeleteClickHdl_Impl, weld::Button &, void)
 
void AssignDeleteHdl (const weld::Widget *)
 
 DECL_LINK (TimeOut_Impl, Timer *, void)
 
void InitAndSetHandler ()
 
void FillEvents ()
 
void EnableButtons ()
 

Private Attributes

SvxMacroTableDtor aTbl
 
std::unique_ptr< SfxMacroTabPage_ImplmpImpl
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 34 of file macroass.hxx.

Constructor & Destructor Documentation

◆ SfxMacroTabPage()

SfxMacroTabPage::SfxMacroTabPage ( weld::Container pPage,
weld::DialogController pController,
const css::uno::Reference< css::frame::XFrame > &  rxDocumentFrame,
const SfxItemSet rSet 
)

Definition at line 102 of file macroass.cxx.

References InitAndSetHandler(), LINK, mpImpl, ScriptChanged(), and SfxTabPage::SetFrame().

◆ ~SfxMacroTabPage()

SfxMacroTabPage::~SfxMacroTabPage ( )
overridevirtual

Definition at line 126 of file macroass.cxx.

References mpImpl.

Member Function Documentation

◆ ActivatePage()

void SfxMacroTabPage::ActivatePage ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 180 of file macroass.cxx.

References LaunchFillGroup().

◆ AddEvent()

void SfxMacroTabPage::AddEvent ( const OUString &  rEventName,
SvMacroItemId  nEventId 
)

◆ AssignDeleteHdl()

void SfxMacroTabPage::AssignDeleteHdl ( const weld::Widget pBtn)
private

◆ Create()

std::unique_ptr< SfxTabPage > SfxMacroTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 384 of file macroass.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DECL_LINK() [1/6]

SfxMacroTabPage::DECL_LINK ( AssignDeleteClickHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/6]

SfxMacroTabPage::DECL_LINK ( AssignDeleteHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [3/6]

SfxMacroTabPage::DECL_LINK ( SelectEvent_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [4/6]

SfxMacroTabPage::DECL_LINK ( SelectGroup_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [5/6]

SfxMacroTabPage::DECL_LINK ( SelectMacro_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [6/6]

SfxMacroTabPage::DECL_LINK ( TimeOut_Impl  ,
Timer ,
void   
)
private

◆ EnableButtons()

void SfxMacroTabPage::EnableButtons ( )
private

◆ FillEvents()

void SfxMacroTabPage::FillEvents ( )
private

◆ FillItemSet()

bool SfxMacroTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ InitAndSetHandler()

void SfxMacroTabPage::InitAndSetHandler ( )
private

◆ IsReadOnly()

bool SfxMacroTabPage::IsReadOnly ( ) const
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 230 of file macroass.cxx.

◆ LaunchFillGroup()

void SfxMacroTabPage::LaunchFillGroup ( )

Definition at line 174 of file macroass.cxx.

References mpImpl.

Referenced by ActivatePage(), and SfxMacroAssignDlg::SfxMacroAssignDlg().

◆ PageCreated()

void SfxMacroTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

◆ Reset()

void SfxMacroTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ ScriptChanged()

void SfxMacroTabPage::ScriptChanged ( )

Definition at line 145 of file macroass.cxx.

References EnableButtons(), and mpImpl.

Referenced by SfxMacroTabPage().

Member Data Documentation

◆ aTbl

SvxMacroTableDtor SfxMacroTabPage::aTbl
private

Definition at line 36 of file macroass.hxx.

Referenced by AddEvent(), AssignDeleteHdl(), EnableButtons(), FillEvents(), FillItemSet(), and Reset().

◆ mpImpl

std::unique_ptr<SfxMacroTabPage_Impl> SfxMacroTabPage::mpImpl
private

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