LibreOffice Module sc (master) 1
|
#include <client.hxx>
Public Member Functions | |
ScClient (ScTabViewShell *pViewShell, vcl::Window *pDraw, SdrModel *pSdrModel, const SdrOle2Obj *pObj) | |
virtual | ~ScClient () override |
SdrOle2Obj * | GetDrawObj () |
Public Member Functions inherited from SfxInPlaceClient | |
SfxInPlaceClient (SfxViewShell *pViewShell, vcl::Window *pDraw, sal_Int64 nAspect) | |
virtual | ~SfxInPlaceClient () |
SfxInPlaceClient (const SfxInPlaceClient &)=delete | |
SfxInPlaceClient & | operator= (const SfxInPlaceClient &)=delete |
SfxViewShell * | GetViewShell () const |
vcl::Window * | GetEditWin () const |
const css::uno::Reference< css::embed::XEmbeddedObject > & | GetObject () const |
void | SetObject (const css::uno::Reference< css::embed::XEmbeddedObject > &rObject) |
void | SetObjectState (sal_Int32) |
bool | IsObjectUIActive () const |
bool | IsObjectInPlaceActive () const |
void | DeactivateObject () |
bool | SetObjArea (const tools::Rectangle &) |
const tools::Rectangle & | GetObjArea () const |
tools::Rectangle | GetScaledObjArea () const |
void | SetSizeScale (const Fraction &rScaleWidth, const Fraction &rScaleHeight) |
void | SetObjAreaAndScale (const tools::Rectangle &, const Fraction &, const Fraction &) |
const Fraction & | GetScaleWidth () const |
const Fraction & | GetScaleHeight () const |
void | Invalidate () |
sal_Int64 | GetAspect () const |
sal_Int64 | GetObjectMiscStatus () const |
ErrCode | DoVerb (sal_Int32 nVerb) |
void | VisAreaChanged () |
void | ResetObject () |
bool | IsUIActive () const |
void | SetNegativeX (bool bSet) |
bool | IsNegativeX () const |
virtual void | FormatChanged () |
virtual bool | IsProtected () const |
Private Member Functions | |
virtual void | ObjectAreaChanged () override |
virtual void | RequestNewObjectArea (tools::Rectangle &) override |
virtual void | ViewChanged () override |
Private Attributes | |
SdrModel * | pModel |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxInPlaceClient | |
static SfxInPlaceClient * | GetClient (SfxObjectShell const *pDoc, const css::uno::Reference< css::embed::XEmbeddedObject > &xObject) |
Definition at line 28 of file client.hxx.
ScClient::ScClient | ( | ScTabViewShell * | pViewShell, |
vcl::Window * | pDraw, | ||
SdrModel * | pSdrModel, | ||
const SdrOle2Obj * | pObj | ||
) |
Definition at line 38 of file client.cxx.
References SdrOle2Obj::GetObjRef(), and SfxInPlaceClient::SetObject().
|
overridevirtual |
Definition at line 45 of file client.cxx.
SdrOle2Obj * ScClient::GetDrawObj | ( | ) |
Definition at line 49 of file client.cxx.
References aName, SfxObjectShell::GetEmbeddedObjectContainer(), comphelper::EmbeddedObjectContainer::GetEmbeddedObjectName(), SfxInPlaceClient::GetObject(), SfxViewShell::GetObjectShell(), SdrModel::GetPage(), SdrModel::GetPageCount(), SfxInPlaceClient::GetViewShell(), SdrObjListIter::Next(), pModel, and pObject.
Referenced by ObjectAreaChanged(), RequestNewObjectArea(), ScTabView::SetTabNo(), and ViewChanged().
|
overrideprivatevirtual |
Reimplemented from SfxInPlaceClient.
Definition at line 137 of file client.cxx.
References tools::Rectangle::Center(), SdrObject::GetCurrentBoundRect(), ScViewData::GetDocShell(), GetDrawObj(), SdrTextObj::GetGeoStat(), SfxInPlaceClient::GetScaledObjArea(), ScTabView::GetViewData(), SfxInPlaceClient::GetViewShell(), GeoStat::m_nRotationAngle, GeoStat::m_nShearAngle, tools::Rectangle::Move(), ScTabView::ScrollToObject(), ScDocShell::SetDrawModified(), SdrObject::SetLogicRect(), SdrOle2Obj::setSuppressSetVisAreaSize(), Point::X(), and Point::Y().
|
overrideprivatevirtual |
Reimplemented from SfxInPlaceClient.
Definition at line 75 of file client.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), tools::Rectangle::Bottom(), GetDrawObj(), SfxInPlaceClient::GetObjArea(), SdrModel::GetPage(), SdrPage::GetSize(), tools::Rectangle::GetSize(), ScViewData::GetTabNo(), ScTabView::GetViewData(), SfxInPlaceClient::GetViewShell(), SdrObject::IsMoveProtect(), SdrObject::IsResizeProtect(), tools::Rectangle::Left(), pModel, tools::Rectangle::Right(), tools::Rectangle::SetPos(), tools::Rectangle::SetSize(), Size::setWidth(), Point::setX(), tools::Rectangle::Top(), tools::Rectangle::TopLeft(), and Size::Width().
|
overrideprivatevirtual |
Reimplemented from SfxInPlaceClient.
Definition at line 175 of file client.cxx.
References SdrObject::ActionChanged(), ScTabView::GetActiveWin(), SfxInPlaceClient::GetAspect(), ScViewData::GetDocShell(), GetDrawObj(), SdrTextObj::GetLogicRect(), SfxInPlaceClient::GetObject(), SfxInPlaceClient::GetScaleHeight(), SfxInPlaceClient::GetScaleWidth(), tools::Rectangle::GetSize(), ScTabView::GetViewData(), SfxInPlaceClient::GetViewShell(), Size::Height(), SfxInPlaceClient::IsObjectInPlaceActive(), OutputDevice::LogicToLogic(), vcl::Window::LogicToPixel(), ScDocShell::SetDrawModified(), SdrObject::SetLogicRect(), tools::Rectangle::SetSize(), TOOLS_WARN_EXCEPTION, VCLUnoHelper::UnoEmbed2VCLMapUnit(), and Size::Width().
|
private |
Definition at line 31 of file client.hxx.
Referenced by GetDrawObj(), and RequestNewObjectArea().