LibreOffice Module svx (master) 1
|
#include <unopage.hxx>
Public Member Functions | |
SvxDrawPage (SdrPage *pPage) | |
virtual | ~SvxDrawPage () noexcept override |
SdrPage * | GetSdrPage () const |
rtl::Reference< SdrObject > | CreateSdrObject (const css::uno::Reference< css::drawing::XShape > &xShape, bool bBeginning=false) noexcept |
virtual rtl::Reference< SdrObject > | CreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape) |
virtual css::uno::Reference< css::drawing::XShape > | CreateShape (SdrObject *pObj) const |
virtual void SAL_CALL | release () noexcept override |
virtual void SAL_CALL | add (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | remove (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | addTop (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | addBottom (const css::uno::Reference< css::drawing::XShape > &xShape) override |
virtual void SAL_CALL | sort (const css::uno::Sequence< sal_Int32 > &sortOrder) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
virtual sal_Int32 SAL_CALL | getCount () override |
virtual css::uno::Any SAL_CALL | getByIndex (sal_Int32 Index) override |
virtual css::uno::Reference< css::drawing::XShapeGroup > SAL_CALL | group (const css::uno::Reference< css::drawing::XShapes > &xShapes) override |
virtual void SAL_CALL | ungroup (const css::uno::Reference< css::drawing::XShapeGroup > &aGroup) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
Public Member Functions inherited from cppu::WeakAggImplHelper7< css::drawing::XDrawPage, css::drawing::XShapeGrouper, css::drawing::XShapes2, css::drawing::XShapes3, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::lang::XComponent > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakAggObject | |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Static Public Member Functions | |
static void | GetTypeAndInventor (SdrObjKind &rType, SdrInventor &rInventor, const OUString &aName) noexcept |
static rtl::Reference< SvxShape > | CreateShapeByTypeAndInventor (SdrObjKind nType, SdrInventor nInventor, SdrObject *pObj, SvxDrawPage *pPage=nullptr, OUString const &referer=OUString()) |
Protected Member Functions | |
void | SelectObjectsInView (const css::uno::Reference< css::drawing::XShapes > &aShapes, SdrPageView *pPageView) noexcept |
void | SelectObjectInView (const css::uno::Reference< css::drawing::XShape > &xShape, SdrPageView *pPageView) noexcept |
virtual void | disposing () noexcept |
Protected Member Functions inherited from cppu::WeakAggImplHelper7< css::drawing::XDrawPage, css::drawing::XShapeGrouper, css::drawing::XShapes2, css::drawing::XShapes3, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::lang::XComponent > | |
virtual css::uno::Any SAL_CALL | queryInterface (css::uno::Type const &rType) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () SAL_OVERRIDE |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakAggObject | |
virtual | ~OWeakAggObject () SAL_OVERRIDE |
OWeakAggObject () | |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Protected Attributes | |
cppu::OBroadcastHelper | mrBHelper |
SdrPage * | mpPage |
SdrModel * | mpModel |
std::unique_ptr< SdrView > | mpView |
Protected Attributes inherited from cppu::BaseMutex | |
mutable::osl::Mutex | m_aMutex |
Protected Attributes inherited from cppu::OWeakAggObject | |
css::uno::WeakReferenceHelper | xDelegator |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 50 of file unopage.hxx.
SvxDrawPage::SvxDrawPage | ( | SdrPage * | pPage | ) |
|
overridevirtualnoexcept |
Definition at line 75 of file unopage.cxx.
References cppu::WeakAggImplHelper7< css::drawing::XDrawPage, css::drawing::XShapeGrouper, css::drawing::XShapes2, css::drawing::XShapes3, css::lang::XServiceInfo, css::lang::XUnoTunnel, css::lang::XComponent >::acquire(), cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, dispose(), and mrBHelper.
|
overridevirtual |
Definition at line 179 of file unopage.cxx.
References SvxShape::Create(), CreateSdrObject(), ENSURE_OR_RETURN_VOID, SdrPage::getSdrModelFromSdrPage(), SvxShape::GetSdrObject(), SdrObjList::InsertObject(), mpModel, mpPage, and SdrModel::SetChanged().
Referenced by addTop().
|
overridevirtual |
Definition at line 252 of file unopage.cxx.
References SvxShape::Create(), CreateSdrObject(), ENSURE_OR_RETURN_VOID, SvxShape::GetSdrObject(), SdrObjList::InsertObject(), mpModel, mpPage, and SdrModel::SetChanged().
|
overridevirtual |
Definition at line 159 of file unopage.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::addListener(), mpModel, and mrBHelper.
|
overridevirtual |
Definition at line 247 of file unopage.cxx.
References add().
|
noexcept |
Definition at line 833 of file unopage.cxx.
References mpPage.
Referenced by add(), and addBottom().
|
virtual |
css::uno::RuntimeException |
Reimplemented in SvxFmDrawPage.
Definition at line 497 of file unopage.cxx.
References basegfx::B2DPolygon::append(), E3D_Extrusion, E3D_Lathe, E3D_Scene, GetTypeAndInventor(), SdrObjFactory::MakeNewObject(), mpModel, NONE, nType, Camera3D::SetAutoAdjustProjection(), basegfx::B2DPolygon::setClosed(), Camera3D::SetFocalLength(), SdrObject::SetMergedItem(), Camera3D::SetPosAndLookAt(), and Camera3D::SetViewWindow().
Referenced by SvxFmDrawPage::CreateSdrObject_().
css::uno::RuntimeException |
Reimplemented in SvxFmDrawPage.
Definition at line 824 of file unopage.cxx.
References CreateShapeByTypeAndInventor(), SdrObject::GetObjIdentifier(), and SdrObject::GetObjInventor().
Referenced by SvxFmDrawPage::CreateShape(), and SdrObject::getUnoShape().
|
static |
css::uno::RuntimeException |
Definition at line 613 of file unopage.cxx.
References Caption, CircleArc, CircleCut, CircleOrEllipse, CircleSection, CustomShape, Default, E3d, E3D_Cube, E3D_Extrusion, E3D_Lathe, E3D_Polygon, E3D_Scene, E3D_Sphere, Edge, FreehandFill, FreehandLine, comphelper::IEmbeddedHelper::getEmbeddedObjectContainer(), SdrObject::GetGlobalDrawObjectItemPool(), SvxUnoPropertyMapProvider::GetMap(), SdrModel::GetPersist(), SvxUnoPropertyMapProvider::GetPropertySet(), SdrPage::getSdrModelFromSdrPage(), getSvxMapProvider(), Graphic, Group, SdrObject::IsEmptyPresObj(), Line, Measure, Media, mpPage, nType, OLE2, OLE2Applet, OLE2Plugin, OLEPluginFrame, OutlineText, Page, PathFill, PathLine, PathPoly, PathPolyLine, Polygon, PolyLine, Rectangle, SO3_APPLET_CLASSID, SO3_IFRAME_CLASSID, SO3_PLUGIN_CLASSID, SVXMAP_OLE2, SVXMAP_PAGE, Table, Text, TitleText, and UNO.
Referenced by CreateShape(), CreateSvxShapeByTypeAndInventor(), and SdrObject::getUnoShape().
|
overridevirtual |
Definition at line 104 of file unopage.cxx.
References cppu::OBroadcastHelperVar< class container, class keyType >::aLC, cppu::OBroadcastHelperVar< class container, class keyType >::bDisposed, cppu::OBroadcastHelperVar< class container, class keyType >::bInDispose, disposing(), mrBHelper, and cppu::OBroadcastHelperVar< class container, class keyType >::rMutex.
Referenced by ~SvxDrawPage().
|
protectedvirtualnoexcept |
|
overridevirtual |
Definition at line 351 of file unopage.cxx.
References Any, SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getUnoShape(), o3tl::make_unsigned(), mpModel, and mpPage.
|
overridevirtual |
Definition at line 341 of file unopage.cxx.
References SdrObjList::GetObjCount(), mpModel, and mpPage.
|
overridevirtual |
Definition at line 373 of file unopage.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 851 of file unopage.cxx.
|
inline |
Definition at line 77 of file unopage.hxx.
References mpPage.
Referenced by SvxFmDrawPage::CreateSdrObject_(), SvxFmDrawPage::getForms(), GetSdrPageFromXDrawPage(), SvxFmDrawPage::hasForms(), unogallery::GalleryTheme::insertDrawingByIndex(), and SvxUnoDrawPagesAccess::remove().
|
overridevirtual |
Definition at line 861 of file unopage.cxx.
References aSeq.
|
staticnoexcept |
Definition at line 570 of file unopage.cxx.
References aName, Default, E3d, UHashMap::getId(), IsInventorE3D(), Media, OLE2, OLE2Applet, OLE2Plugin, OLEPluginFrame, and Table.
Referenced by CreateSdrObject_().
|
overridevirtual |
Definition at line 436 of file unopage.cxx.
References SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SdrObject::getUnoShape(), mpModel, mpPage, mpView, SAL_WARN_IF, SelectObjectsInView(), and SdrModel::SetChanged().
|
overridevirtual |
Definition at line 378 of file unopage.cxx.
References SdrObjList::GetObjCount(), mpModel, and mpPage.
|
overridevirtualnoexcept |
|
overridevirtual |
Definition at line 290 of file unopage.cxx.
References SdrModel::AddUndo(), SdrModel::BegUndo(), SdrUndoFactory::CreateUndoDeleteObject(), Delete, SdrModel::EndUndo(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::getSdrObjectFromXShape(), SdrModel::GetSdrUndoFactory(), SdrModel::IsUndoEnabled(), mpModel, mpPage, nCount, SdrObjList::RemoveObject(), SdrModel::SetChanged(), SvxResId(), and SdrObject::TakeObjNameSingul().
|
overridevirtual |
Definition at line 169 of file unopage.cxx.
References mpModel, mrBHelper, and cppu::OBroadcastHelperVar< class container, class keyType >::removeListener().
|
protectednoexcept |
Definition at line 424 of file unopage.cxx.
References mpView, and SAL_WARN_IF.
Referenced by ungroup().
|
protectednoexcept |
Definition at line 402 of file unopage.cxx.
References i, mpView, nCount, and SAL_WARN_IF.
Referenced by group().
|
overridevirtual |
Definition at line 329 of file unopage.cxx.
References mpModel, mpPage, and SdrObjList::sort().
|
overridevirtual |
Definition at line 856 of file unopage.cxx.
References ServiceName, and cppu::supportsService().
|
overridevirtual |
Definition at line 473 of file unopage.cxx.
References mpModel, mpPage, mpView, SAL_WARN_IF, SelectObjectInView(), and SdrModel::SetChanged().
|
protected |
Definition at line 64 of file unopage.hxx.
Referenced by add(), addBottom(), addEventListener(), CreateSdrObject_(), disposing(), getByIndex(), getCount(), group(), hasElements(), remove(), removeEventListener(), sort(), and ungroup().
|
protected |
Definition at line 63 of file unopage.hxx.
Referenced by add(), addBottom(), CreateShapeByTypeAndInventor(), disposing(), getByIndex(), getCount(), group(), hasElements(), remove(), sort(), and ungroup().
|
protected |
Definition at line 65 of file unopage.hxx.
Referenced by disposing(), group(), SvxDrawPage(), and ungroup().
|
protected |
Definition at line 61 of file unopage.hxx.
Referenced by addEventListener(), dispose(), removeEventListener(), and ~SvxDrawPage().