LibreOffice Module cui (master) 1
|
#include <macropg.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () 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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () 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_Impl > | mpImpl |
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< EventDisplayName > | 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) | |
DECL_LINK (DeleteAllHdl_Impl, weld::Button &, void) | |
void | GenericHandler_Impl (const weld::Button *pBtn) |
const EventPair * | LookupEvent (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 SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Definition at line 53 of file macropg.hxx.
|
protected |
Definition at line 74 of file macropg.cxx.
References mpImpl.
|
overridevirtual |
Definition at line 85 of file macropg.cxx.
References mpImpl.
|
private |
|
private |
|
private |
|
private |
void SvxMacroTabPage_::DisplayAppEvents | ( | bool | appEvents | ) |
Definition at line 304 of file macropg.cxx.
References aDisplayNames, bAppEvents, CuiResId(), EnableButtons(), m_appEventsHash, m_docEventsHash, m_nAssignedEvents, m_xAppEvents, m_xDocEvents, and mpImpl.
Referenced by IMPL_LINK_NOARG(), Reset(), and SvxMacroTabPage::SvxMacroTabPage().
|
protected |
Definition at line 62 of file macropg.cxx.
References LookupEvent(), m_nAssignedEvents, and mpImpl.
Referenced by DisplayAppEvents(), and GenericHandler_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 174 of file macropg.cxx.
References bDocModified, DBG_UNHANDLED_EXCEPTION, Exception, GetPropsByName(), m_appEventsHash, m_docEventsHash, m_xAppEvents, m_xDocEvents, and m_xModifiable.
|
private |
Definition at line 411 of file macropg.cxx.
References aVndSunStarUNO, bAppEvents, bDocModified, DBG_ASSERT, EnableButtons(), weld::TreeView::get_id(), weld::TreeView::get_selected_index(), SfxTabPage::GetFrame(), SfxTabPage::GetFrameWeld(), SvxScriptSelectorDialog::GetScriptURL(), AssignComponentDialog::getURL(), LookupEvent(), m_appEventsHash, m_docEventsHash, m_nAssignedEvents, mpImpl, weld::DialogController::run(), weld::TreeView::scroll_to_row(), weld::TreeView::select(), weld::TreeView::set_image(), weld::TreeView::set_text(), and sEventType.
|
staticprotected |
Definition at line 619 of file macropg.cxx.
References comphelper::NamedValueCollection::getOrDefault(), props, and type.
Referenced by InitAndSetHandler().
|
staticprotected |
Definition at line 601 of file macropg.cxx.
References Any, comphelper::NamedValueCollection::getPropertyValues(), and comphelper::NamedValueCollection::put().
Referenced by FillItemSet().
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 | ||
) |
Definition at line 542 of file macropg.cxx.
References Exception, GetPairFromAny(), LINK, m_appEventsHash, m_docEventsHash, m_xAppEvents, m_xDocEvents, m_xModifiable, and mpImpl.
Referenced by SvxEventConfigPage::LateInit(), and SvxMacroTabPage::SvxMacroTabPage().
void SvxMacroTabPage_::InitResources | ( | ) |
Definition at line 90 of file macropg.cxx.
References aDisplayNames.
Referenced by SvxEventConfigPage::SvxEventConfigPage(), and SvxMacroTabPage::SvxMacroTabPage().
|
overridevirtual |
|
private |
Definition at line 392 of file macropg.cxx.
References bAppEvents, m_appEventsHash, and m_docEventsHash.
Referenced by EnableButtons(), and GenericHandler_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 225 of file macropg.cxx.
References bAppEvents, bDocModified, bInitialized, DisplayAppEvents(), Exception, m_appEventsHash, m_docEventsHash, m_xAppEvents, m_xDocEvents, and m_xModifiable.
void SvxMacroTabPage_::SetReadOnly | ( | bool | bSet | ) |
Definition at line 263 of file macropg.cxx.
References mpImpl.
|
protected |
Definition at line 72 of file macropg.hxx.
Referenced by DisplayAppEvents(), and InitResources().
|
protected |
Definition at line 71 of file macropg.hxx.
Referenced by DisplayAppEvents(), GenericHandler_Impl(), LookupEvent(), and Reset().
|
protected |
Definition at line 71 of file macropg.hxx.
Referenced by FillItemSet(), GenericHandler_Impl(), and Reset().
|
protected |
Definition at line 71 of file macropg.hxx.
Referenced by Reset().
|
protected |
Definition at line 68 of file macropg.hxx.
Referenced by DisplayAppEvents(), FillItemSet(), GenericHandler_Impl(), InitAndSetHandler(), LookupEvent(), and Reset().
|
protected |
Definition at line 69 of file macropg.hxx.
Referenced by DisplayAppEvents(), FillItemSet(), GenericHandler_Impl(), InitAndSetHandler(), LookupEvent(), and Reset().
|
protected |
Definition at line 70 of file macropg.hxx.
Referenced by DisplayAppEvents(), EnableButtons(), and GenericHandler_Impl().
|
private |
Definition at line 63 of file macropg.hxx.
Referenced by DisplayAppEvents(), FillItemSet(), InitAndSetHandler(), and Reset().
|
protected |
Definition at line 66 of file macropg.hxx.
Referenced by DisplayAppEvents(), FillItemSet(), InitAndSetHandler(), and Reset().
|
protected |
Definition at line 67 of file macropg.hxx.
Referenced by FillItemSet(), InitAndSetHandler(), and Reset().
|
protected |
Definition at line 65 of file macropg.hxx.
Referenced by DisplayAppEvents(), EnableButtons(), GenericHandler_Impl(), InitAndSetHandler(), IsReadOnly(), SetReadOnly(), SvxEventConfigPage::SvxEventConfigPage(), SvxMacroTabPage::SvxMacroTabPage(), SvxMacroTabPage_(), and ~SvxMacroTabPage_().