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 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
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
void InvalidateSwDoc ()
 Renamed and outlined to detect where it's called. More...
 
- Public Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 ()
 
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
 

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
 
const SfxItemPropertySetm_pPropertySet
 

Additional Inherited Members

- Protected Member Functions inherited from cppu::AggImplInheritanceHelper2< class BaseClass, class Ifc1, class Ifc2 >
 AggImplInheritanceHelper2 (T1 const &arg1)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5)
 
 AggImplInheritanceHelper2 (T1 const &arg1, T2 const &arg2, T3 const &arg3, T4 const &arg4, T5 const &arg5, T6 const &arg6)
 

Detailed Description

Definition at line 50 of file unodraw.hxx.

Constructor & Destructor Documentation

◆ SwFmDrawPage()

SwFmDrawPage::SwFmDrawPage ( SwDoc pDoc,
SdrPage pPage 
)

Definition at line 256 of file unodraw.cxx.

◆ ~SwFmDrawPage()

SwFmDrawPage::~SwFmDrawPage ( )
overridevirtualnoexcept

Definition at line 264 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 627 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_pPage, o3tl::mm100, SwPostItHelper::NONE, RES_FRMATR_BEGIN(), RES_FRMATR_END(), SwFormatAnchor::SetAnchor(), SwFrameFormat::SetFormatName(), SdrObject::SetLayer(), SdrObject::SetName(), SetOnlyText, SwFormatVertOrient::SetPos(), SwFormatHoriOrient::SetPos(), SvxShape::setPosition(), SwFormatAnchor::SetType(), o3tl::toTwips(), and sw::XTextRangeToSwPaM().

◆ addPropertyChangeListener()

void SwFmDrawPage::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 478 of file unodraw.cxx.

◆ addVetoableChangeListener()

void SwFmDrawPage::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 490 of file unodraw.cxx.

◆ createEnumeration()

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

Definition at line 568 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 64 of file unodraw.hxx.

References mpView.

Referenced by group(), and ungroup().

◆ getElementType()

uno::Type SwFmDrawPage::getElementType ( )
overridevirtual

Definition at line 612 of file unodraw.cxx.

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

◆ getImplementationName()

OUString SwFmDrawPage::getImplementationName ( )
overridevirtual

Definition at line 575 of file unodraw.cxx.

◆ GetPageView()

SdrPageView * SwFmDrawPage::GetPageView ( )

Definition at line 283 of file unodraw.cxx.

References m_pPageView, mpPage, and mpView.

Referenced by PreGroup(), and PreUnGroup().

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SwFmDrawPage::getPropertySetInfo ( )
overridevirtual

Definition at line 389 of file unodraw.cxx.

References SfxItemPropertySet::getPropertySetInfo(), and m_pPropertySet.

◆ getPropertyValue()

uno::Any SwFmDrawPage::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ GetShape()

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

◆ GetShapeGroup()

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

Definition at line 317 of file unodraw.cxx.

References GetShape().

Referenced by group().

◆ getSupportedServiceNames()

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

Definition at line 585 of file unodraw.cxx.

◆ 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 875 of file unodraw.cxx.

References m_pDoc.

◆ PreGroup()

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

Definition at line 271 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 278 of file unodraw.cxx.

References GetPageView().

Referenced by ungroup().

◆ remove()

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

Definition at line 797 of file unodraw.cxx.

References SwTextBoxHelper::getUnoTextFrame(), and m_pDoc.

◆ RemovePageView()

void SwFmDrawPage::RemovePageView ( )

Definition at line 290 of file unodraw.cxx.

References m_pPageView, and mpView.

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

◆ removePropertyChangeListener()

void SwFmDrawPage::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 484 of file unodraw.cxx.

◆ RemoveShape()

void SwFmDrawPage::RemoveShape ( const SwXShape pShape)
inline

Definition at line 74 of file unodraw.hxx.

References find(), and m_vShapes.

Referenced by SwXShape::dispose().

◆ removeVetoableChangeListener()

void SwFmDrawPage::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 496 of file unodraw.cxx.

◆ setPropertyValue()

void SwFmDrawPage::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

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

Definition at line 580 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 52 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 53 of file unodraw.hxx.

Referenced by GetPageView(), and RemovePageView().

◆ m_pPropertySet

const SfxItemPropertySet* SwFmDrawPage::m_pPropertySet
private

Definition at line 55 of file unodraw.hxx.

Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().

◆ m_vShapes

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

Definition at line 54 of file unodraw.hxx.

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


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