LibreOffice Module sfx2 (master) 1
|
Public Member Functions | |
SfxInPlaceClient_Impl () | |
void | SizeHasChanged () |
DECL_LINK (TimerHdl, Timer *, void) | |
uno::Reference< frame::XFrame > const & | GetFrame () const |
virtual void SAL_CALL | saveObject () override |
virtual void SAL_CALL | visibilityChanged (sal_Bool bVisible) override |
virtual sal_Bool SAL_CALL | canInplaceActivate () override |
virtual void SAL_CALL | activatingInplace () override |
virtual void SAL_CALL | activatingUI () override |
virtual void SAL_CALL | deactivatedInplace () override |
virtual void SAL_CALL | deactivatedUI () override |
virtual uno::Reference< css::frame::XLayoutManager > SAL_CALL | getLayoutManager () override |
virtual uno::Reference< frame::XDispatchProvider > SAL_CALL | getInplaceDispatchProvider () override |
virtual awt::Rectangle SAL_CALL | getPlacement () override |
virtual awt::Rectangle SAL_CALL | getClipRectangle () override |
virtual void SAL_CALL | translateAccelerators (const uno::Sequence< awt::KeyEvent > &aKeys) override |
virtual void SAL_CALL | scrollObject (const awt::Size &aOffset) override |
virtual void SAL_CALL | changedPlacement (const awt::Rectangle &aPosRect) override |
virtual uno::Reference< util::XCloseable > SAL_CALL | getComponent () override |
virtual uno::Reference< awt::XWindow > SAL_CALL | getWindow () override |
virtual void SAL_CALL | notifyEvent (const document::EventObject &aEvent) override |
virtual void SAL_CALL | changingState (const css::lang::EventObject &aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState) override |
virtual void SAL_CALL | stateChanged (const css::lang::EventObject &aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState) override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &aEvent) override |
Public Attributes | |
Timer | m_aTimer { "sfx::SfxInPlaceClient m_xImpl::m_aTimer" } |
tools::Rectangle | m_aObjArea |
Fraction | m_aScaleWidth |
Fraction | m_aScaleHeight |
SfxInPlaceClient * | m_pClient |
sal_Int64 | m_nAspect |
bool | m_bStoreObject |
bool | m_bUIActive |
bool | m_bResizeNoScale |
bool | m_bNegativeX |
uno::Reference< embed::XEmbeddedObject > | m_xObject |
Definition at line 108 of file ipclient.cxx.
|
inline |
Definition at line 129 of file ipclient.cxx.
|
overridevirtual |
Definition at line 343 of file ipclient.cxx.
References o3tl::convert(), SfxInPlaceClient::GetEditWin(), vcl::Window::GetMapMode(), MapMode::GetMapUnit(), SfxInPlaceClient::GetObjArea(), SfxInPlaceClient::GetViewShell(), comphelper::LibreOfficeKit::isActive(), m_bNegativeX, m_pClient, o3tl::mm100, toString(), and o3tl::twip.
|
overridevirtual |
Definition at line 368 of file ipclient.cxx.
References SfxInPlaceClient::GetViewShell(), m_bUIActive, m_pClient, SfxViewShell::ResetAllClients_Impl(), and SfxViewShell::UIActivating().
|
overridevirtual |
Definition at line 330 of file ipclient.cxx.
|
overridevirtual |
Definition at line 511 of file ipclient.cxx.
References SfxInPlaceClient::GetEditWin(), tools::Rectangle::GetHeight(), getPlacement(), SfxInPlaceClient::GetScaledObjArea(), SfxInPlaceClient::GetViewShell(), tools::Rectangle::GetWidth(), m_aObjArea, m_aScaleHeight, m_aScaleWidth, m_bResizeNoScale, m_pClient, m_xObject, SfxInPlaceClient::ObjectAreaChanged(), vcl::Window::PixelToLogic(), SfxInPlaceClient::RequestNewObjectArea(), tools::Rectangle::SetSize(), SizeHasChanged(), and VCLRectangle().
|
overridevirtual |
Definition at line 175 of file ipclient.cxx.
|
overridevirtual |
Definition at line 379 of file ipclient.cxx.
References SfxInPlaceClient::GetViewShell(), comphelper::LibreOfficeKit::isActive(), and m_pClient.
|
overridevirtual |
Definition at line 393 of file ipclient.cxx.
References SfxInPlaceClient::GetViewShell(), m_bUIActive, m_pClient, and SfxViewShell::UIDeactivated().
SfxInPlaceClient_Impl::DECL_LINK | ( | TimerHdl | , |
Timer * | , | ||
void | |||
) |
|
overridevirtual |
Definition at line 209 of file ipclient.cxx.
References m_pClient.
|
overridevirtual |
Definition at line 465 of file ipclient.cxx.
References AWTRectangle(), vcl::Window::EnableMapMode(), SfxInPlaceClient::GetEditWin(), tools::Rectangle::GetHeight(), SfxInPlaceClient::GetViewShell(), tools::Rectangle::GetWidth(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsMapModeEnabled(), vcl::Window::LogicToPixel(), m_aObjArea, m_aScaleHeight, m_aScaleWidth, m_pClient, and tools::Rectangle::SetSize().
Referenced by SizeHasChanged().
|
overridevirtual |
Definition at line 560 of file ipclient.cxx.
References SfxObjectShell::GetModel(), SfxViewShell::GetObjectShell(), SfxInPlaceClient::GetViewShell(), and m_pClient.
uno::Reference< frame::XFrame > const & SfxInPlaceClient_Impl::GetFrame | ( | ) | const |
Definition at line 217 of file ipclient.cxx.
References SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxViewShell::GetViewFrame(), SfxInPlaceClient::GetViewShell(), and m_pClient.
Referenced by getInplaceDispatchProvider(), and getLayoutManager().
|
overridevirtual |
Definition at line 424 of file ipclient.cxx.
References GetFrame().
|
overridevirtual |
Definition at line 403 of file ipclient.cxx.
References ex, cppu::getCaughtException(), GetFrame(), and xFrame.
|
overridevirtual |
Definition at line 430 of file ipclient.cxx.
References AWTRectangle(), vcl::Window::EnableMapMode(), SfxInPlaceClient::GetEditWin(), tools::Rectangle::GetHeight(), SfxInPlaceClient::GetViewShell(), tools::Rectangle::GetWidth(), comphelper::LibreOfficeKit::isActive(), vcl::Window::IsMapModeEnabled(), vcl::Window::LogicToPixel(), m_aObjArea, m_aScaleHeight, m_aScaleWidth, m_pClient, and tools::Rectangle::SetSize().
Referenced by changedPlacement(), and SizeHasChanged().
|
overridevirtual |
Definition at line 577 of file ipclient.cxx.
References vcl::Window::GetComponentInterface(), SfxInPlaceClient::GetEditWin(), and m_pClient.
|
overridevirtual |
Definition at line 197 of file ipclient.cxx.
References aEvent, SfxInPlaceClient::FormatChanged(), SfxInPlaceClient::Invalidate(), m_nAspect, m_pClient, and SfxInPlaceClient::ViewChanged().
|
overridevirtual |
Definition at line 224 of file ipclient.cxx.
References SfxViewShell::GetObjectShell(), SfxInPlaceClient::GetViewShell(), SfxInPlaceClient::IsProtected(), m_bStoreObject, m_pClient, m_xObject, SfxObjectShell::SetModified(), xController, xFrame, and xModel.
|
overridevirtual |
Definition at line 504 of file ipclient.cxx.
References SfxInPlaceClient::GetViewShell(), and m_pClient.
void SfxInPlaceClient_Impl::SizeHasChanged | ( | ) |
Definition at line 589 of file ipclient.cxx.
References getClipRectangle(), SfxInPlaceClient::GetEditWin(), vcl::Window::GetMapMode(), MapMode::GetMapUnit(), getPlacement(), tools::Rectangle::GetSize(), SfxInPlaceClient::GetViewShell(), Size::Height(), vcl::Window::LogicToLogic(), m_aObjArea, m_bResizeNoScale, m_nAspect, m_pClient, m_xObject, VCLUnoHelper::UnoEmbed2VCLMapUnit(), and Size::Width().
Referenced by changedPlacement().
|
overridevirtual |
Definition at line 182 of file ipclient.cxx.
References SfxObjectShell::GetModel(), SfxViewShell::GetObjectShell(), SfxInPlaceClient::GetViewShell(), m_pClient, and SfxObjectShell::SetCurrentComponent().
|
overridevirtual |
Definition at line 495 of file ipclient.cxx.
References SfxInPlaceClient::GetViewShell(), and m_pClient.
|
overridevirtual |
Definition at line 315 of file ipclient.cxx.
References bVisible, SfxInPlaceClient::GetViewShell(), SfxInPlaceClient::Invalidate(), m_pClient, and SfxViewShell::OutplaceActivated().
tools::Rectangle SfxInPlaceClient_Impl::m_aObjArea |
Definition at line 116 of file ipclient.cxx.
Referenced by changedPlacement(), getClipRectangle(), getPlacement(), and SizeHasChanged().
Fraction SfxInPlaceClient_Impl::m_aScaleHeight |
Definition at line 118 of file ipclient.cxx.
Referenced by changedPlacement(), getClipRectangle(), and getPlacement().
Fraction SfxInPlaceClient_Impl::m_aScaleWidth |
Definition at line 117 of file ipclient.cxx.
Referenced by changedPlacement(), getClipRectangle(), and getPlacement().
Timer SfxInPlaceClient_Impl::m_aTimer { "sfx::SfxInPlaceClient m_xImpl::m_aTimer" } |
Definition at line 115 of file ipclient.cxx.
bool SfxInPlaceClient_Impl::m_bNegativeX |
Definition at line 124 of file ipclient.cxx.
Referenced by activatingInplace().
bool SfxInPlaceClient_Impl::m_bResizeNoScale |
Definition at line 123 of file ipclient.cxx.
Referenced by changedPlacement(), and SizeHasChanged().
bool SfxInPlaceClient_Impl::m_bStoreObject |
Definition at line 121 of file ipclient.cxx.
Referenced by saveObject().
bool SfxInPlaceClient_Impl::m_bUIActive |
Definition at line 122 of file ipclient.cxx.
Referenced by activatingUI(), and deactivatedUI().
sal_Int64 SfxInPlaceClient_Impl::m_nAspect |
Definition at line 120 of file ipclient.cxx.
Referenced by canInplaceActivate(), notifyEvent(), and SizeHasChanged().
SfxInPlaceClient* SfxInPlaceClient_Impl::m_pClient |
Definition at line 119 of file ipclient.cxx.
Referenced by activatingInplace(), activatingUI(), changedPlacement(), deactivatedInplace(), deactivatedUI(), disposing(), getClipRectangle(), getComponent(), GetFrame(), getPlacement(), getWindow(), notifyEvent(), saveObject(), scrollObject(), SizeHasChanged(), stateChanged(), translateAccelerators(), and visibilityChanged().
uno::Reference< embed::XEmbeddedObject > SfxInPlaceClient_Impl::m_xObject |
Definition at line 126 of file ipclient.cxx.
Referenced by canInplaceActivate(), changedPlacement(), saveObject(), and SizeHasChanged().