LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SvxDrawPage Class Reference

#include <unopage.hxx>

Inheritance diagram for SvxDrawPage:
[legend]
Collaboration diagram for SvxDrawPage:
[legend]

Public Member Functions

 SvxDrawPage (SdrPage *pPage)
 
virtual ~SvxDrawPage () override throw ()
 
SdrPageGetSdrPage () const
 
SdrObjectCreateSdrObject (const css::uno::Reference< css::drawing::XShape > &xShape, bool bBeginning=false) throw ()
 
virtual SdrObjectCreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape)
 
virtual css::uno::Reference< css::drawing::XShape > CreateShape (SdrObject *pObj) const
 
virtual void SAL_CALL release () override throw ()
 
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_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 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::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 (sal_uInt16 &rType, SdrInventor &rInventor, const OUString &aName) throw ()
 
static SvxShapeCreateShapeByTypeAndInventor (sal_uInt16 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) throw ()
 
void SelectObjectInView (const css::uno::Reference< css::drawing::XShape > &xShape, SdrPageView *pPageView) throw ()
 
virtual void disposing () throw ()
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from SvxMutexHelper
::osl::Mutex & getMutex ()
 

Protected Attributes

cppu::OBroadcastHelper mrBHelper
 
SdrPagempPage
 
SdrModelmpModel
 
std::unique_ptr< SdrViewmpView
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 54 of file unopage.hxx.

Constructor & Destructor Documentation

SvxDrawPage::SvxDrawPage ( SdrPage pPage)

Definition at line 68 of file unopage.cxx.

References getMutex(), mpView, and mpView.

SvxDrawPage::~SvxDrawPage ( )
throw (
)
overridevirtual

Member Function Documentation

void SAL_CALL SvxDrawPage::add ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual
void SAL_CALL SvxDrawPage::addBottom ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual
void SAL_CALL SvxDrawPage::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual
void SAL_CALL SvxDrawPage::addTop ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual

Definition at line 247 of file unopage.cxx.

References add().

SdrObject * SvxDrawPage::CreateSdrObject ( const css::uno::Reference< css::drawing::XShape > &  xShape,
bool  bBeginning = false 
)
throw (
)

Definition at line 845 of file unopage.cxx.

References SdrObject::IsDoNotInsertIntoPageAutomatically(), and SdrObject::IsInserted().

Referenced by add(), and addBottom().

SdrObject * SvxDrawPage::CreateSdrObject_ ( const css::uno::Reference< css::drawing::XShape > &  xShape)
virtual
Reference< drawing::XShape > SvxDrawPage::CreateShape ( SdrObject pObj) const
virtual
Exceptions
css::uno::RuntimeException

Reimplemented in SvxFmDrawPage.

Definition at line 836 of file unopage.cxx.

References CreateShapeByTypeAndInventor(), SdrObject::GetObjIdentifier(), and SdrObject::GetObjInventor().

Referenced by SvxFmDrawPage::CreateShape(), and SdrObject::getUnoShape().

SvxShape * SvxDrawPage::CreateShapeByTypeAndInventor ( sal_uInt16  nType,
SdrInventor  nInventor,
SdrObject pObj,
SvxDrawPage pPage = nullptr,
OUString const &  referer = OUString() 
)
static
void SvxDrawPage::dispose ( void  )
overridevirtual
void SvxDrawPage::disposing ( )
throw (
)
protectedvirtual

Definition at line 94 of file unopage.cxx.

References mpModel, mpPage, and mpView.

Referenced by dispose().

uno::Any SAL_CALL SvxDrawPage::getByIndex ( sal_Int32  Index)
overridevirtual
sal_Int32 SAL_CALL SvxDrawPage::getCount ( )
overridevirtual

Definition at line 341 of file unopage.cxx.

References SdrObjList::GetObjCount(), mpModel, and mpPage.

uno::Type SAL_CALL SvxDrawPage::getElementType ( )
overridevirtual

Definition at line 373 of file unopage.cxx.

References cppu::UnoType< class >::get().

OUString SAL_CALL SvxDrawPage::getImplementationName ( )
overridevirtual

Definition at line 863 of file unopage.cxx.

SdrPage* SvxDrawPage::GetSdrPage ( ) const
inline
uno::Sequence< OUString > SAL_CALL SvxDrawPage::getSupportedServiceNames ( )
overridevirtual

Definition at line 873 of file unopage.cxx.

void SvxDrawPage::GetTypeAndInventor ( sal_uInt16 &  rType,
SdrInventor rInventor,
const OUString &  aName 
)
throw (
)
static
Reference< drawing::XShapeGroup > SAL_CALL SvxDrawPage::group ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)
overridevirtual
sal_Bool SAL_CALL SvxDrawPage::hasElements ( )
overridevirtual

Definition at line 378 of file unopage.cxx.

References SdrObjList::GetObjCount(), mpModel, and mpPage.

void SvxDrawPage::release ( )
throw (
)
overridevirtual
void SAL_CALL SvxDrawPage::remove ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual
void SAL_CALL SvxDrawPage::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
overridevirtual
void SvxDrawPage::SelectObjectInView ( const css::uno::Reference< css::drawing::XShape > &  xShape,
SdrPageView pPageView 
)
throw (
)
protected

Definition at line 428 of file unopage.cxx.

References mpView, and SAL_WARN_IF.

Referenced by ungroup().

void SvxDrawPage::SelectObjectsInView ( const css::uno::Reference< css::drawing::XShapes > &  aShapes,
SdrPageView pPageView 
)
throw (
)
protected

Definition at line 406 of file unopage.cxx.

References i, mpView, and SAL_WARN_IF.

Referenced by group().

void SvxDrawPage::sort ( const css::uno::Sequence< sal_Int32 > &  sortOrder)
overridevirtual

Definition at line 334 of file unopage.cxx.

References mpPage, and SdrObjList::sort().

sal_Bool SAL_CALL SvxDrawPage::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 868 of file unopage.cxx.

References cppu::supportsService().

void SAL_CALL SvxDrawPage::ungroup ( const css::uno::Reference< css::drawing::XShapeGroup > &  aGroup)
overridevirtual

Definition at line 477 of file unopage.cxx.

References mpModel, mpPage, mpView, SAL_WARN_IF, SelectObjectInView(), and SdrModel::SetChanged().

Member Data Documentation

SdrModel* SvxDrawPage::mpModel
protected
SdrPage* SvxDrawPage::mpPage
protected
std::unique_ptr<SdrView> SvxDrawPage::mpView
protected

Definition at line 68 of file unopage.hxx.

Referenced by disposing(), group(), SvxDrawPage(), and ungroup().

cppu::OBroadcastHelper SvxDrawPage::mrBHelper
protected

Definition at line 64 of file unopage.hxx.

Referenced by addEventListener(), dispose(), removeEventListener(), and ~SvxDrawPage().


The documentation for this class was generated from the following files: