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

#include <unodraw.hxx>

Inheritance diagram for SwFmDrawPage:
Collaboration diagram for SwFmDrawPage:

Public Member Functions

 SwFmDrawPage (SdrPage *pPage)
virtual ~SwFmDrawPage () noexcept override
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 () noexcept 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 () noexcept override
SdrPageGetSdrPage () const
SdrObjectCreateSdrObject (const css::uno::Reference< css::drawing::XShape > &xShape, bool bBeginning=false) noexcept
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

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 (SdrObjKind &rType, SdrInventor &rInventor, const OUString &aName) noexcept
static rtl::Reference< SvxShapeCreateShapeByTypeAndInventor (SdrObjKind nType, SdrInventor nInventor, SdrObject *pObj, SvxDrawPage *pPage=nullptr, OUString const &referer=OUString())

Private Attributes

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) noexcept
void SelectObjectInView (const css::uno::Reference< css::drawing::XShape > &xShape, SdrPageView *pPageView) noexcept
virtual void disposing () noexcept
- Protected Attributes inherited from SvxDrawPage
cppu::OBroadcastHelper mrBHelper
std::unique_ptr< SdrViewmpView

Detailed Description

Definition at line 43 of file unodraw.hxx.

Constructor & Destructor Documentation

SwFmDrawPage::SwFmDrawPage ( SdrPage pPage)

Definition at line 255 of file unodraw.cxx.

SwFmDrawPage::~SwFmDrawPage ( )

Definition at line 260 of file unodraw.cxx.

References m_vShapes, and RemovePageView().

Member Function Documentation

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

Definition at line 54 of file unodraw.hxx.

References SvxDrawPage::mpView.

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

SdrPageView * SwFmDrawPage::GetPageView ( )

Definition at line 279 of file unodraw.cxx.

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

Referenced by PreGroup(), and PreUnGroup().

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

Definition at line 310 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 267 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 274 of file unodraw.cxx.

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

Referenced by SwXDrawPage::ungroup().

void SwFmDrawPage::RemovePageView ( )

Definition at line 286 of file unodraw.cxx.

References m_pPageView, and SvxDrawPage::mpView.

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

void SwFmDrawPage::RemoveShape ( const SwXShape pShape)

Definition at line 64 of file unodraw.hxx.

References find().

Member Data Documentation

SdrPageView* SwFmDrawPage::m_pPageView

Definition at line 45 of file unodraw.hxx.

Referenced by GetPageView(), and RemovePageView().

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

Definition at line 46 of file unodraw.hxx.

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

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