LibreOffice Module sfx2 (master) 1
|
#include <inettbc.hxx>
Classes | |
struct | ExecuteInfo |
Public Member Functions | |
SFX_DECL_TOOLBOX_CONTROL () | |
SfxURLToolBoxControl_Impl (sal_uInt16 nSlotId, ToolBoxItemId nId, ToolBox &rBox) | |
virtual | ~SfxURLToolBoxControl_Impl () override |
virtual VclPtr< InterimItemWindow > | CreateItemWindow (vcl::Window *pParent) override |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override |
![]() | |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override |
virtual void SAL_CALL | execute (sal_Int16 KeyModifier) override |
virtual void SAL_CALL | click () override |
virtual void SAL_CALL | doubleClick () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createPopupWindow () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createItemWindow (const css::uno::Reference< css::awt::XWindow > &rParent) override |
SFX_DECL_TOOLBOX_CONTROL () | |
SfxToolBoxControl (sal_uInt16 nSlotID, ToolBoxItemId nId, ToolBox &rBox, bool bShowStrings=false) | |
virtual | ~SfxToolBoxControl () override |
ToolBox & | GetToolBox () const |
ToolBoxItemId | GetId () const |
unsigned short | GetSlotId () const |
void | Dispatch (const OUString &aCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs) |
![]() | |
ToolboxController (const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Reference< css::frame::XFrame > &xFrame, OUString aCommandURL) | |
ToolboxController () | |
virtual | ~ToolboxController () override |
css::uno::Reference< css::frame::XFrame > | getFrameInterface () const |
const css::uno::Reference< css::uno::XComponentContext > & | getContext () const |
css::uno::Reference< css::frame::XLayoutManager > | getLayoutManager () const |
void | updateStatus (const OUString &aCommandURL) |
void | updateStatus () |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &aType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
virtual void SAL_CALL | update () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | statusChanged (const css::frame::FeatureStateEvent &Event) override=0 |
virtual void SAL_CALL | execute (sal_Int16 KeyModifier) override |
virtual void SAL_CALL | click () override |
virtual void SAL_CALL | doubleClick () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createPopupWindow () override |
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL | createItemWindow (const css::uno::Reference< css::awt::XWindow > &Parent) override |
virtual void SAL_CALL | setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual sal_Bool SAL_CALL | convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
const OUString & | getCommandURL () const |
const OUString & | getModuleName () const |
void | dispatchCommand (const OUString &sCommandURL, const css::uno::Sequence< css::beans::PropertyValue > &rArgs, const OUString &rTarget=OUString()) |
void | enable (bool bEnable) |
bool | IsInSidebar () const |
Private Member Functions | |
SvtURLBox * | GetURLBox () const |
URLBoxItemWindow * | GetURLBoxItemWindow () const |
void | OpenURL (const OUString &rName) const |
DECL_LINK (OpenHdl, weld::ComboBox &, bool) | |
DECL_LINK (SelectHdl, weld::ComboBox &, void) | |
DECL_STATIC_LINK (SfxURLToolBoxControl_Impl, ExecuteHdl_Impl, void *, void) | |
Private Attributes | |
bool | m_bModified |
Additional Inherited Members | |
![]() | |
static void | Dispatch (const css::uno::Reference< css::frame::XDispatchProvider > &rDispatchProvider, const OUString &rCommand, css::uno::Sequence< css::beans::PropertyValue > const &aArgs) |
static SfxItemState | GetItemState (const SfxPoolItem *pState) |
static rtl::Reference< SfxToolBoxControl > | CreateControl (sal_uInt16 nSlotId, ToolBoxItemId nTbxId, ToolBox *pBox, SfxModule const *pMod) |
static void | RegisterToolBoxControl (SfxModule *, const SfxTbxCtrlFactory &) |
![]() | |
typedef std::unordered_map< OUString, css::uno::Reference< css::frame::XDispatch > > | URLToDispatchMap |
![]() | |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) |
virtual void | Select (sal_uInt16 nSelectModifier) |
virtual void | DoubleClick () |
virtual void | Click () |
virtual void | CreatePopupWindow () |
virtual VclPtr< InterimItemWindow > | CreateItemWindow (vcl::Window *pParent) |
![]() | |
bool | getToolboxId (ToolBoxItemId &rItemId, ToolBox **ppToolBox) |
DECL_DLLPRIVATE_STATIC_LINK (ToolboxController, ExecuteHdl_Impl, void *, void) | |
void | addStatusListener (const OUString &aCommandURL) |
void | removeStatusListener (const OUString &aCommandURL) |
void | bindListener () |
void | unbindListener () |
const css::uno::Reference< css::util::XURLTransformer > & | getURLTransformer () const |
const css::uno::Reference< css::awt::XWindow > & | getParent () const |
![]() | |
bool | m_bInitialized |
bool | m_bDisposed |
bool | m_bSidebar |
ToolBoxItemId | m_nToolBoxId |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
css::uno::Reference< css::uno::XComponentContext > | m_xContext |
OUString | m_aCommandURL |
URLToDispatchMap | m_aListenerMap |
comphelper::OMultiTypeInterfaceContainerHelper2 | m_aListenerContainer |
css::uno::Reference< css::awt::XWindow > | m_xParentWindow |
css::uno::Reference< css::util::XURLTransformer > | m_xUrlTransformer |
OUString | m_sModuleName |
weld::Toolbar * | m_pToolbar |
weld::Builder * | m_pBuilder |
Definition at line 30 of file inettbc.hxx.
SfxURLToolBoxControl_Impl::SfxURLToolBoxControl_Impl | ( | sal_uInt16 | nSlotId, |
ToolBoxItemId | nId, | ||
ToolBox & | rBox | ||
) |
Definition at line 53 of file inettbc.cxx.
|
overridevirtual |
Definition at line 60 of file inettbc.cxx.
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 178 of file inettbc.cxx.
References SvtURLBox::connect_changed(), SvtURLBox::connect_entry_activate(), and LINK.
|
private |
|
private |
|
private |
|
private |
Definition at line 116 of file inettbc.cxx.
References URLBoxItemWindow::GetURLBox(), and GetURLBoxItemWindow().
Referenced by StateChangedAtToolBoxControl().
|
private |
Definition at line 111 of file inettbc.cxx.
References SfxToolBoxControl::GetId(), ToolBox::GetItemWindow(), and SfxToolBoxControl::GetToolBox().
Referenced by GetURLBox(), and StateChangedAtToolBoxControl().
|
private |
Definition at line 121 of file inettbc.cxx.
References SfxURLToolBoxControl_Impl::ExecuteInfo::aArgs, aName, aTargetURL, SfxURLToolBoxControl_Impl::ExecuteInfo::aTargetURL, svt::ToolboxController::getFrameInterface(), INetURLObject::GetProtocol(), svt::ToolboxController::getURLTransformer(), LINK, comphelper::makePropertyValue(), SvtURLBox::ParseSmart(), Application::PostUserEvent(), URL, xDispatch, and SfxURLToolBoxControl_Impl::ExecuteInfo::xDispatch.
SfxURLToolBoxControl_Impl::SFX_DECL_TOOLBOX_CONTROL | ( | ) |
|
overridevirtual |
Reimplemented from SfxToolBoxControl.
Definition at line 220 of file inettbc.cxx.
References SvtURLBox::append_text(), aURL, SvtURLBox::clear(), SvtHistoryOptions::GetList(), GetURLBox(), GetURLBoxItemWindow(), CntUnencodedStringItem::GetValue(), vcl::Window::GrabFocus(), m_bModified, SvtURLBox::set_entry_text(), URLBoxItemWindow::set_sensitive(), and INetURLObject::WithCharset.
|
private |
Definition at line 33 of file inettbc.hxx.
Referenced by StateChangedAtToolBoxControl().