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:
[legend]
Collaboration diagram for SwFmDrawPage:
[legend]

Public Member Functions

 SwFmDrawPage (SwDoc *pDoc, 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)
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &aType) override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () 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 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
 
void InvalidateSwDoc ()
 Renamed and outlined to detect where it's called. More...
 

Static Public Member Functions

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

Private Attributes

SwDocm_pDoc
 
SdrPageViewm_pPageView
 
std::vector< rtl::Reference< SwXShape > > m_vShapes
 

Detailed Description

Definition at line 47 of file unodraw.hxx.

Constructor & Destructor Documentation

◆ SwFmDrawPage()

SwFmDrawPage::SwFmDrawPage ( SwDoc pDoc,
SdrPage pPage 
)

Definition at line 255 of file unodraw.cxx.

◆ ~SwFmDrawPage()

SwFmDrawPage::~SwFmDrawPage ( )
overridevirtualnoexcept

Definition at line 260 of file unodraw.cxx.

References m_vShapes, and RemovePageView().

Member Function Documentation

◆ add()

void SwFmDrawPage::add ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual

Definition at line 526 of file unodraw.cxx.

References SvxDrawPage::add(), convertTwipToMm100(), FindFrameFormat(), SwShapeDescriptor_Impl::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwDoc::GetAttrPool(), IDocumentLayoutAccess::GetCurrentLayout(), SwXShape::GetDescImpl(), SwNodes::GetEndOfContent(), SwShapeDescriptor_Impl::GetFollowTextFlow(), SwShapeDescriptor_Impl::GetHOrient(), SwFormatHoriOrient::GetHoriOrient(), SwDoc::getIDocumentContentOperations(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentLayoutAccess(), IDocumentDrawModelAccess::GetInvisibleControlsId(), IDocumentDrawModelAccess::GetInvisibleHeavenId(), IDocumentDrawModelAccess::GetInvisibleHellId(), SwShapeDescriptor_Impl::GetLRSpace(), SwRootFrame::GetModelPositionForViewPoint(), SdrObject::GetName(), SwFormat::GetName(), SwDoc::GetNodes(), SdrObject::GetObjInventor(), SwFormatAnchor::GetPageNum(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SvxShape::getPosition(), SvxShape::GetSdrObject(), SwShapeDescriptor_Impl::GetSurround(), SwShapeDescriptor_Impl::GetTextRange(), SwShapeDescriptor_Impl::GetULSpace(), SwDoc::GetUniqueShapeName(), SwFormatVertOrient::GetVertOrient(), SwShapeDescriptor_Impl::GetVOrient(), SwShapeDescriptor_Impl::GetWrapInfluenceOnObjPos(), IDocumentContentOperations::InsertDrawObj(), SdrObject::IsInserted(), SwShapeDescriptor_Impl::IsOpaque(), SwXShape::m_bDescriptor, m_pDoc, SwXShape::m_pFormat, SwXShape::m_pPage, o3tl::mm100, SwPostItHelper::NONE, Point, RES_FRMATR_BEGIN(), RES_FRMATR_END(), SwFormatAnchor::SetAnchor(), SwFrameFormat::SetFormatName(), SwXShape::SetFrameFormat(), SdrObject::SetLayer(), SdrObject::SetName(), SetOnlyText, SwFormatVertOrient::SetPos(), SwFormatHoriOrient::SetPos(), SvxShape::setPosition(), SwFormatAnchor::SetType(), o3tl::toTwips(), and sw::XTextRangeToSwPaM().

◆ createEnumeration()

uno::Reference< container::XEnumeration > SwFmDrawPage::createEnumeration ( )
overridevirtual

Definition at line 451 of file unodraw.cxx.

◆ CreateShape()

uno::Reference< drawing::XShape > SwFmDrawPage::CreateShape ( SdrObject pObj) const
overridevirtual

◆ getByIndex()

uno::Any SwFmDrawPage::getByIndex ( sal_Int32  nIndex)
overridevirtual

◆ getCount()

sal_Int32 SwFmDrawPage::getCount ( )
overridevirtual

◆ GetDrawView()

SdrView * SwFmDrawPage::GetDrawView ( )
inline

Definition at line 59 of file unodraw.hxx.

References mpView.

Referenced by group(), and ungroup().

◆ getElementType()

uno::Type SwFmDrawPage::getElementType ( )
overridevirtual

Definition at line 511 of file unodraw.cxx.

References cppu::UnoType< typename T >::get().

◆ getImplementationName()

OUString SwFmDrawPage::getImplementationName ( )
overridevirtual

Definition at line 458 of file unodraw.cxx.

◆ GetPageView()

SdrPageView * SwFmDrawPage::GetPageView ( )

Definition at line 279 of file unodraw.cxx.

References m_pPageView, mpPage, and mpView.

Referenced by PreGroup(), and PreUnGroup().

◆ GetShape()

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

◆ GetShapeGroup()

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

Definition at line 313 of file unodraw.cxx.

References GetShape().

Referenced by group().

◆ getSupportedServiceNames()

uno::Sequence< OUString > SwFmDrawPage::getSupportedServiceNames ( )
overridevirtual

Definition at line 468 of file unodraw.cxx.

◆ getTypes()

uno::Sequence< uno::Type > SwFmDrawPage::getTypes ( )
overridevirtual

◆ group()

uno::Reference< drawing::XShapeGroup > SwFmDrawPage::group ( const css::uno::Reference< css::drawing::XShapes > &  xShapes)
overridevirtual

◆ hasElements()

sal_Bool SwFmDrawPage::hasElements ( )
overridevirtual

◆ InvalidateSwDoc()

void SwFmDrawPage::InvalidateSwDoc ( )

Renamed and outlined to detect where it's called.

Definition at line 775 of file unodraw.cxx.

References m_pDoc.

◆ PreGroup()

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

Definition at line 267 of file unodraw.cxx.

References GetPageView(), and mpView.

Referenced by group().

◆ PreUnGroup()

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

Definition at line 274 of file unodraw.cxx.

References GetPageView().

Referenced by ungroup().

◆ queryInterface()

uno::Any SwFmDrawPage::queryInterface ( const css::uno::Type &  aType)
overridevirtual

Definition at line 473 of file unodraw.cxx.

References uno::Any::hasValue().

◆ remove()

void SwFmDrawPage::remove ( const css::uno::Reference< css::drawing::XShape > &  xShape)
overridevirtual

Definition at line 697 of file unodraw.cxx.

References SwTextBoxHelper::getUnoTextFrame(), and m_pDoc.

◆ RemovePageView()

void SwFmDrawPage::RemovePageView ( )

Definition at line 286 of file unodraw.cxx.

References m_pPageView, and mpView.

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

◆ RemoveShape()

void SwFmDrawPage::RemoveShape ( const SwXShape pShape)
inline

Definition at line 69 of file unodraw.hxx.

References find(), and m_vShapes.

Referenced by SwXShape::dispose().

◆ supportsService()

sal_Bool SwFmDrawPage::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 463 of file unodraw.cxx.

References cppu::supportsService().

◆ ungroup()

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

Member Data Documentation

◆ m_pDoc

SwDoc* SwFmDrawPage::m_pDoc
private

Definition at line 49 of file unodraw.hxx.

Referenced by add(), getByIndex(), getCount(), group(), hasElements(), InvalidateSwDoc(), remove(), and ungroup().

◆ m_pPageView

SdrPageView* SwFmDrawPage::m_pPageView
private

Definition at line 50 of file unodraw.hxx.

Referenced by GetPageView(), and RemovePageView().

◆ m_vShapes

std::vector<rtl::Reference<SwXShape> > SwFmDrawPage::m_vShapes
private

Definition at line 51 of file unodraw.hxx.

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


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