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

#include <macropg.hxx>

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

Public Member Functions

virtual ~SvxMacroTabPage_ () override
 
void InitResources ()
 
void InitAndSetHandler (const css::uno::Reference< css::container::XNameReplace > &xAppEvents, const css::uno::Reference< css::container::XNameReplace > &xDocEvents, const css::uno::Reference< css::util::XModifiable > &xModifiable)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *) override
 
void DisplayAppEvents (bool appEvents)
 
void SetReadOnly (bool bSet)
 
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
 
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 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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Protected Member Functions

 SvxMacroTabPage_ (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rItemSet)
 
void EnableButtons ()
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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
 

Static Protected Member Functions

static css::uno::Any GetPropsByName (const OUString &eventName, EventsHash &eventsHash)
 
static std::pair< OUString, OUString > GetPairFromAny (const css::uno::Any &aAny)
 

Protected Attributes

std::unique_ptr< SvxMacroTabPage_ImplmpImpl
 
css::uno::Reference< css::container::XNameReplace > m_xDocEvents
 
css::uno::Reference< css::util::XModifiable > m_xModifiable
 
EventsHash m_appEventsHash
 
EventsHash m_docEventsHash
 
bool bDocModified
 
bool bAppEvents
 
bool bInitialized
 
EventDisplayNames aDisplayNames
 

Private Member Functions

 DECL_LINK (SelectEvent_Impl, weld::TreeView &, void)
 
 DECL_LINK (AssignDeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DoubleClickHdl_Impl, weld::TreeView &, bool)
 

Static Private Member Functions

static void GenericHandler_Impl (SvxMacroTabPage_ *pThis, const weld::Button *pBtn)
 

Private Attributes

css::uno::Reference< css::container::XNameReplace > m_xAppEvents
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 53 of file macropg.hxx.

Constructor & Destructor Documentation

SvxMacroTabPage_::SvxMacroTabPage_ ( weld::Container pPage,
weld::DialogController pController,
const OUString &  rUIXMLDescription,
const OString &  rID,
const SfxItemSet rItemSet 
)
protected

Definition at line 75 of file macropg.cxx.

References mpImpl.

SvxMacroTabPage_::~SvxMacroTabPage_ ( )
overridevirtual

Definition at line 85 of file macropg.cxx.

References mpImpl.

Member Function Documentation

SvxMacroTabPage_::DECL_LINK ( SelectEvent_Impl  ,
weld::TreeView ,
void   
)
private
SvxMacroTabPage_::DECL_LINK ( AssignDeleteHdl_Impl  ,
weld::Button ,
void   
)
private
SvxMacroTabPage_::DECL_LINK ( DoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)
private
void SvxMacroTabPage_::DisplayAppEvents ( bool  appEvents)
void SvxMacroTabPage_::EnableButtons ( )
protected

Definition at line 63 of file macropg.cxx.

References mpImpl.

Referenced by DisplayAppEvents(), and GenericHandler_Impl().

bool SvxMacroTabPage_::FillItemSet ( SfxItemSet rSet)
overridevirtual
void SvxMacroTabPage_::GenericHandler_Impl ( SvxMacroTabPage_ pThis,
const weld::Button pBtn 
)
staticprivate
std::pair< OUString, OUString > SvxMacroTabPage_::GetPairFromAny ( const css::uno::Any &  aAny)
staticprotected

Definition at line 573 of file macropg.cxx.

References comphelper::NamedValueCollection::getOrDefault().

Referenced by InitAndSetHandler().

Any SvxMacroTabPage_::GetPropsByName ( const OUString &  eventName,
EventsHash eventsHash 
)
staticprotected
void SvxMacroTabPage_::InitAndSetHandler ( const css::uno::Reference< css::container::XNameReplace > &  xAppEvents,
const css::uno::Reference< css::container::XNameReplace > &  xDocEvents,
const css::uno::Reference< css::util::XModifiable > &  xModifiable 
)
void SvxMacroTabPage_::InitResources ( )
bool SvxMacroTabPage_::IsReadOnly ( ) const
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 268 of file macropg.cxx.

References mpImpl.

void SvxMacroTabPage_::Reset ( const SfxItemSet )
overridevirtual
void SvxMacroTabPage_::SetReadOnly ( bool  bSet)

Definition at line 263 of file macropg.cxx.

References mpImpl.

Member Data Documentation

EventDisplayNames SvxMacroTabPage_::aDisplayNames
protected

Definition at line 69 of file macropg.hxx.

Referenced by DisplayAppEvents(), and InitResources().

bool SvxMacroTabPage_::bAppEvents
protected

Definition at line 68 of file macropg.hxx.

Referenced by DisplayAppEvents(), GenericHandler_Impl(), and Reset().

bool SvxMacroTabPage_::bDocModified
protected

Definition at line 68 of file macropg.hxx.

Referenced by FillItemSet(), GenericHandler_Impl(), and Reset().

bool SvxMacroTabPage_::bInitialized
protected

Definition at line 68 of file macropg.hxx.

Referenced by Reset().

EventsHash SvxMacroTabPage_::m_appEventsHash
protected
EventsHash SvxMacroTabPage_::m_docEventsHash
protected
css::uno::Reference< css::container::XNameReplace > SvxMacroTabPage_::m_xAppEvents
private

Definition at line 61 of file macropg.hxx.

Referenced by DisplayAppEvents(), FillItemSet(), InitAndSetHandler(), and Reset().

css::uno::Reference< css::container::XNameReplace > SvxMacroTabPage_::m_xDocEvents
protected

Definition at line 64 of file macropg.hxx.

Referenced by DisplayAppEvents(), FillItemSet(), InitAndSetHandler(), and Reset().

css::uno::Reference< css::util::XModifiable > SvxMacroTabPage_::m_xModifiable
protected

Definition at line 65 of file macropg.hxx.

Referenced by FillItemSet(), InitAndSetHandler(), and Reset().

std::unique_ptr<SvxMacroTabPage_Impl> SvxMacroTabPage_::mpImpl
protected

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