|
LibreOffice Module cui (master) 1
|
#include <macroass.hxx>
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 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 () |
Static Public Member Functions | |
| static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
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) |
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_Impl > | mpImpl |
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 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 |
Definition at line 34 of file macroass.hxx.
| 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().
|
overridevirtual |
Definition at line 126 of file macroass.cxx.
References mpImpl.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 180 of file macroass.cxx.
References LaunchFillGroup().
| void SfxMacroTabPage::AddEvent | ( | const OUString & | rEventName, |
| SvMacroItemId | nEventId | ||
| ) |
Definition at line 131 of file macroass.cxx.
References weld::TreeView::append(), aTbl, ConvertToUIName_Impl(), SvxMacroTableDtor::Get(), mpImpl, weld::TreeView::n_children(), and weld::TreeView::set_text().
Referenced by IMPL_LINK_NOARG(), PageCreated(), and Reset().
|
private |
Definition at line 277 of file macroass.cxx.
References aTbl, DBG_ASSERT, EnableButtons(), SvxMacroTableDtor::Erase(), weld::TreeView::get_selected_id(), weld::TreeView::get_selected_index(), SvxMacroTableDtor::Insert(), mpImpl, weld::TreeView::set_text(), SVX_MACRO_LANGUAGE_SF, and SVX_MACRO_LANGUAGE_STARBASIC.
|
static |
Definition at line 384 of file macroass.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 82 of file macroass.cxx.
References aTbl, SvxMacroTableDtor::Get(), weld::TreeView::get_selected_id(), weld::TreeView::get_selected_index(), weld::TreeView::get_text(), and mpImpl.
Referenced by AssignDeleteHdl(), Reset(), and ScriptChanged().
|
private |
Definition at line 354 of file macroass.cxx.
References aTbl, ConvertToUIName_Impl(), SvxMacroTableDtor::Get(), weld::TreeView::get_id(), weld::TreeView::get_text(), SvxMacroTableDtor::IsKeyValid(), mpImpl, n, weld::TreeView::n_children(), and weld::TreeView::set_text().
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 154 of file macroass.cxx.
References aPageRg, aTbl, SvxMacroTableDtor::empty(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SvxMacroItem::GetMacroTable(), SfxTabPage::GetWhich(), SfxItemSet::Put(), rSet, and SfxPoolItem::Which().
|
private |
Definition at line 326 of file macroass.cxx.
References weld::TreeView::connect_changed(), weld::TreeView::connect_row_activated(), weld::Widget::get_approximate_digit_width(), LINK, mpImpl, and weld::TreeView::set_column_fixed_widths().
Referenced by SfxMacroTabPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 230 of file macroass.cxx.
| void SfxMacroTabPage::LaunchFillGroup | ( | ) |
Definition at line 174 of file macroass.cxx.
References mpImpl.
Referenced by ActivatePage(), and SfxMacroAssignDlg::SfxMacroAssignDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 185 of file macroass.cxx.
References AddEvent(), SfxEventNamesList::at(), SfxItemSet::GetItemIfSet(), SfxEventName::maUIName, SfxEventName::mnId, mpImpl, and SfxEventNamesList::size().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 201 of file macroass.cxx.
References AddEvent(), aPageRg, SfxEventNamesList::at(), aTbl, EnableButtons(), FillEvents(), weld::TreeView::get_iter_first(), SfxEventNamesItem::GetEvents(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SfxTabPage::GetWhich(), weld::TreeView::make_iterator(), SfxEventName::maUIName, SfxEventName::mnId, mpImpl, rSet, weld::TreeView::set_cursor(), and SfxEventNamesList::size().
| void SfxMacroTabPage::ScriptChanged | ( | ) |
Definition at line 145 of file macroass.cxx.
References EnableButtons(), and mpImpl.
Referenced by SfxMacroTabPage().
|
private |
Definition at line 36 of file macroass.hxx.
Referenced by AddEvent(), AssignDeleteHdl(), EnableButtons(), FillEvents(), FillItemSet(), and Reset().
|
private |
Definition at line 46 of file macroass.hxx.
Referenced by AddEvent(), AssignDeleteHdl(), EnableButtons(), FillEvents(), InitAndSetHandler(), LaunchFillGroup(), PageCreated(), Reset(), ScriptChanged(), SfxMacroTabPage(), and ~SfxMacroTabPage().