LibreOffice Module cui (master) 1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | 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
 
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 ()
 

Protected Member Functions

 SvxMacroTabPage_ (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rItemSet)
 
void EnableButtons ()
 
- 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
 

Static Protected Member Functions

static css::uno::Any GetPropsByName (const OUString &eventName, EventsHash &eventsHash)
 
static EventPair 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
 
int m_nAssignedEvents
 
bool bDocModified
 
bool bAppEvents
 
bool bInitialized
 
std::vector< EventDisplayNameaDisplayNames
 

Private Member Functions

 DECL_LINK (SelectEvent_Impl, weld::TreeView &, void)
 
 DECL_LINK (AssignDeleteHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DoubleClickHdl_Impl, weld::TreeView &, bool)
 
 DECL_LINK (DeleteAllHdl_Impl, weld::Button &, void)
 
void GenericHandler_Impl (const weld::Button *pBtn)
 
const EventPairLookupEvent (const OUString &rEventName)
 

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_::SvxMacroTabPage_ ( weld::Container pPage,
weld::DialogController pController,
const OUString &  rUIXMLDescription,
const OUString &  rID,
const SfxItemSet rItemSet 
)
protected

Definition at line 74 of file macropg.cxx.

References mpImpl.

◆ ~SvxMacroTabPage_()

SvxMacroTabPage_::~SvxMacroTabPage_ ( )
overridevirtual

Definition at line 85 of file macropg.cxx.

References mpImpl.

Member Function Documentation

◆ DECL_LINK() [1/4]

SvxMacroTabPage_::DECL_LINK ( AssignDeleteHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SvxMacroTabPage_::DECL_LINK ( DeleteAllHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/4]

SvxMacroTabPage_::DECL_LINK ( DoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/4]

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

◆ DisplayAppEvents()

void SvxMacroTabPage_::DisplayAppEvents ( bool  appEvents)

◆ EnableButtons()

void SvxMacroTabPage_::EnableButtons ( )
protected

Definition at line 62 of file macropg.cxx.

References LookupEvent(), m_nAssignedEvents, and mpImpl.

Referenced by DisplayAppEvents(), and GenericHandler_Impl().

◆ FillItemSet()

bool SvxMacroTabPage_::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GenericHandler_Impl()

void SvxMacroTabPage_::GenericHandler_Impl ( const weld::Button pBtn)
private

◆ GetPairFromAny()

EventPair SvxMacroTabPage_::GetPairFromAny ( const css::uno::Any &  aAny)
staticprotected

Definition at line 619 of file macropg.cxx.

References comphelper::NamedValueCollection::getOrDefault(), props, and type.

Referenced by InitAndSetHandler().

◆ GetPropsByName()

Any SvxMacroTabPage_::GetPropsByName ( const OUString &  eventName,
EventsHash eventsHash 
)
staticprotected

◆ InitAndSetHandler()

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 
)

◆ InitResources()

void SvxMacroTabPage_::InitResources ( )

◆ IsReadOnly()

bool SvxMacroTabPage_::IsReadOnly ( ) const
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 268 of file macropg.cxx.

References mpImpl.

◆ LookupEvent()

const EventPair * SvxMacroTabPage_::LookupEvent ( const OUString &  rEventName)
private

Definition at line 392 of file macropg.cxx.

References bAppEvents, m_appEventsHash, and m_docEventsHash.

Referenced by EnableButtons(), and GenericHandler_Impl().

◆ Reset()

void SvxMacroTabPage_::Reset ( const SfxItemSet )
overridevirtual

◆ SetReadOnly()

void SvxMacroTabPage_::SetReadOnly ( bool  bSet)

Definition at line 263 of file macropg.cxx.

References mpImpl.

Member Data Documentation

◆ aDisplayNames

std::vector< EventDisplayName > SvxMacroTabPage_::aDisplayNames
protected

Definition at line 72 of file macropg.hxx.

Referenced by DisplayAppEvents(), and InitResources().

◆ bAppEvents

bool SvxMacroTabPage_::bAppEvents
protected

Definition at line 71 of file macropg.hxx.

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

◆ bDocModified

bool SvxMacroTabPage_::bDocModified
protected

Definition at line 71 of file macropg.hxx.

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

◆ bInitialized

bool SvxMacroTabPage_::bInitialized
protected

Definition at line 71 of file macropg.hxx.

Referenced by Reset().

◆ m_appEventsHash

EventsHash SvxMacroTabPage_::m_appEventsHash
protected

◆ m_docEventsHash

EventsHash SvxMacroTabPage_::m_docEventsHash
protected

◆ m_nAssignedEvents

int SvxMacroTabPage_::m_nAssignedEvents
protected

Definition at line 70 of file macropg.hxx.

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

◆ m_xAppEvents

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

Definition at line 63 of file macropg.hxx.

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

◆ m_xDocEvents

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

Definition at line 66 of file macropg.hxx.

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

◆ m_xModifiable

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

Definition at line 67 of file macropg.hxx.

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

◆ mpImpl

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

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