LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
SwFmDrawPage Class Reference

#include <unodraw.hxx>

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

Public Member Functions

 SwFmDrawPage (SdrPage *pPage)
 
virtual ~SwFmDrawPage () override throw ()
 
const SdrMarkListPreGroup (const css::uno::Reference< css::drawing::XShapes > &rShapes)
 
void PreUnGroup (const css::uno::Reference< css::drawing::XShapeGroup > &rShapeGroup)
 
SdrViewGetDrawView ()
 
SdrPageViewGetPageView ()
 
void RemovePageView ()
 
virtual css::uno::Reference< css::drawing::XShape > CreateShape (SdrObject *pObj) const override
 
void RemoveShape (const SwXShape *pShape)
 
- Public Member Functions inherited from SvxFmDrawPage
 SvxFmDrawPage (SdrPage *pPage)
 
virtual ~SvxFmDrawPage () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &aType) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual css::uno::Reference< css::container::XNameContainer > SAL_CALL getForms () override
 
virtual sal_Bool SAL_CALL hasForms () override
 
- Public Member Functions inherited from SvxDrawPage
 SvxDrawPage (SdrPage *pPage)
 
virtual ~SvxDrawPage () override
 
SdrPageGetSdrPage () const
 
SdrObjectCreateSdrObject (const css::uno::Reference< css::drawing::XShape > &xShape, bool bBeginning=false)
 
virtual void SAL_CALL release () 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 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
 

Static Public Member Functions

static css::uno::Reference< css::drawing::XShape > GetShape (SdrObject *pObj)
 
static css::uno::Reference< css::drawing::XShapeGroup > GetShapeGroup (SdrObject *pObj)
 
- Static Public Member Functions inherited from SvxDrawPage
static void GetTypeAndInventor (sal_uInt16 &rType, SdrInventor &rInventor, const OUString &aName)
 
static SvxShapeCreateShapeByTypeAndInventor (sal_uInt16 nType, SdrInventor nInventor, SdrObject *pObj, SvxDrawPage *pPage=nullptr, OUString const &referer=OUString())
 

Private Attributes

SdrPageViewpPageView
 
std::vector< SwXShape * > m_vShapes
 

Additional Inherited Members

- Protected Member Functions inherited from SvxFmDrawPage
virtual SdrObjectCreateSdrObject_ (const css::uno::Reference< css::drawing::XShape > &xShape) override
 
- Protected Member Functions inherited from SvxDrawPage
void SelectObjectsInView (const css::uno::Reference< css::drawing::XShapes > &aShapes, SdrPageView *pPageView)
 
void SelectObjectInView (const css::uno::Reference< css::drawing::XShape > &xShape, SdrPageView *pPageView)
 
virtual void disposing ()
 
- Protected Attributes inherited from SvxDrawPage
cppu::OBroadcastHelper mrBHelper
 
SdrPagempPage
 
SdrModelmpModel
 
std::unique_ptr< SdrViewmpView
 

Detailed Description

Definition at line 44 of file unodraw.hxx.

Constructor & Destructor Documentation

SwFmDrawPage::SwFmDrawPage ( SdrPage pPage)

Definition at line 250 of file unodraw.cxx.

SwFmDrawPage::~SwFmDrawPage ( )
throw (
)
overridevirtual

Definition at line 255 of file unodraw.cxx.

References m_vShapes, and RemovePageView().

Member Function Documentation

uno::Reference< drawing::XShape > SwFmDrawPage::CreateShape ( SdrObject pObj) const
overridevirtual
SdrView* SwFmDrawPage::GetDrawView ( )
inline

Definition at line 55 of file unodraw.hxx.

References SvxDrawPage::mpView.

Referenced by SwXDrawPage::group(), and SwXDrawPage::ungroup().

SdrPageView * SwFmDrawPage::GetPageView ( )

Definition at line 274 of file unodraw.cxx.

References SvxDrawPage::mpPage, SvxDrawPage::mpView, and pPageView.

Referenced by PreGroup(), and PreUnGroup().

uno::Reference< drawing::XShape > SwFmDrawPage::GetShape ( SdrObject pObj)
static
uno::Reference< drawing::XShapeGroup > SwFmDrawPage::GetShapeGroup ( SdrObject pObj)
static

Definition at line 305 of file unodraw.cxx.

References GetShape().

Referenced by SwXDrawPage::group().

const SdrMarkList & SwFmDrawPage::PreGroup ( const css::uno::Reference< css::drawing::XShapes > &  rShapes)

Definition at line 262 of file unodraw.cxx.

References GetPageView(), SvxDrawPage::mpView, and SvxDrawPage::SelectObjectsInView().

Referenced by SwXDrawPage::group().

void SwFmDrawPage::PreUnGroup ( const css::uno::Reference< css::drawing::XShapeGroup > &  rShapeGroup)

Definition at line 269 of file unodraw.cxx.

References GetPageView(), and SvxDrawPage::SelectObjectInView().

Referenced by SwXDrawPage::ungroup().

void SwFmDrawPage::RemovePageView ( )

Definition at line 281 of file unodraw.cxx.

References SvxDrawPage::mpView, and pPageView.

Referenced by SwXDrawPage::group(), SwXDrawPage::ungroup(), and ~SwFmDrawPage().

void SwFmDrawPage::RemoveShape ( const SwXShape pShape)
inline

Definition at line 65 of file unodraw.hxx.

References find().

Member Data Documentation

std::vector<SwXShape*> SwFmDrawPage::m_vShapes
private

Definition at line 47 of file unodraw.hxx.

Referenced by CreateShape(), GetShape(), and ~SwFmDrawPage().

SdrPageView* SwFmDrawPage::pPageView
private

Definition at line 46 of file unodraw.hxx.

Referenced by GetPageView(), and RemovePageView().


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