LibreOffice Module sw (master) 1
|
#include <unodraw.hxx>
Public Member Functions | |
SwFmDrawPage (SwDoc *pDoc, SdrPage *pPage) | |
virtual | ~SwFmDrawPage () noexcept override |
const SdrMarkList & | PreGroup (const css::uno::Reference< css::drawing::XShapes > &rShapes) |
void | PreUnGroup (const css::uno::Reference< css::drawing::XShapeGroup > &rShapeGroup) |
SdrView * | GetDrawView () |
SdrPageView * | GetPageView () |
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 | |
SwDoc * | m_pDoc |
SdrPageView * | m_pPageView |
std::vector< rtl::Reference< SwXShape > > | m_vShapes |
const SfxItemPropertySet * | m_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) | |
Definition at line 50 of file unodraw.hxx.
Definition at line 256 of file unodraw.cxx.
|
overridevirtualnoexcept |
Definition at line 264 of file unodraw.cxx.
References m_vShapes, and RemovePageView().
|
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().
|
overridevirtual |
Definition at line 478 of file unodraw.cxx.
|
overridevirtual |
Definition at line 490 of file unodraw.cxx.
|
overridevirtual |
Definition at line 568 of file unodraw.cxx.
|
overridevirtual |
Definition at line 322 of file unodraw.cxx.
References SvxFmDrawPage::CreateShape(), SwXTextEmbeddedObject::CreateXTextEmbeddedObject(), SwXTextFrame::CreateXTextFrame(), SwXTextGraphicObject::CreateXTextGraphicObject(), DynCastE3dScene(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwFormat::GetDoc(), SwContact::GetFormat(), SwNodeIndex::GetIndex(), SwDoc::GetNodes(), SwNodeIndex::GetNodes(), SdrObject::GetObjInventor(), SdrObject::GetUserCall(), SdrObject::Is3DObj(), SwNodes::IsDocNodes(), SwNode::IsGrfNode(), SdrObject::IsGroupObject(), SwNode::IsNoTextNode(), SwNode::IsOLENode(), m_vShapes, RES_FLYFRMFMT(), and SwFormat::Which().
|
overridevirtual |
Definition at line 601 of file unodraw.cxx.
References SwTextBoxHelper::getByIndex(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), m_pDoc, and nIndex.
|
overridevirtual |
Definition at line 590 of file unodraw.cxx.
References SwTextBoxHelper::getCount(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), and m_pDoc.
|
inline |
|
overridevirtual |
Definition at line 612 of file unodraw.cxx.
References cppu::UnoType< typename T >::get().
|
overridevirtual |
Definition at line 575 of file unodraw.cxx.
SdrPageView * SwFmDrawPage::GetPageView | ( | ) |
Definition at line 283 of file unodraw.cxx.
References m_pPageView, mpPage, and mpView.
Referenced by PreGroup(), and PreUnGroup().
|
overridevirtual |
Definition at line 389 of file unodraw.cxx.
References SfxItemPropertySet::getPropertySetInfo(), and m_pPropertySet.
|
overridevirtual |
Definition at line 432 of file unodraw.cxx.
References model::theme::createXTheme(), SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), m_pPropertySet, SfxItemPropertyMapEntry::nWID, WID_NAVORDER, WID_PAGE_BACKFULL, WID_PAGE_BOTTOM, WID_PAGE_HEIGHT, WID_PAGE_ISDARK, WID_PAGE_LEFT, WID_PAGE_NUMBER, WID_PAGE_ORIENT, WID_PAGE_RIGHT, WID_PAGE_THEME, WID_PAGE_TOP, WID_PAGE_USERATTRIBS, and WID_PAGE_WIDTH.
|
static |
Definition at line 297 of file unodraw.cxx.
References FindFrameFormat(), SvxShape::GetSdrObject(), SdrObject::getUnoShape(), and m_vShapes.
Referenced by SwXTextView::getSelection(), and GetShapeGroup().
|
static |
|
overridevirtual |
Definition at line 585 of file unodraw.cxx.
|
overridevirtual |
Definition at line 815 of file unodraw.cxx.
References SwDoc::ChgAnchor(), END, FindFrameFormat(), GetDrawView(), SwDoc::GetIDocumentUndoRedo(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMark::GetMarkedSdrObj(), SwDrawContact::GetMaster(), GetShapeGroup(), SwDoc::GroupSelection(), i, m_pDoc, PreGroup(), RemovePageView(), START, and SdrView::UnmarkAll().
|
overridevirtual |
Definition at line 617 of file unodraw.cxx.
References IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SvxDrawPage::hasElements(), and m_pDoc.
void SwFmDrawPage::InvalidateSwDoc | ( | ) |
Renamed and outlined to detect where it's called.
Definition at line 875 of file unodraw.cxx.
References m_pDoc.
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().
void SwFmDrawPage::PreUnGroup | ( | const css::uno::Reference< css::drawing::XShapeGroup > & | rShapeGroup | ) |
|
overridevirtual |
Definition at line 797 of file unodraw.cxx.
References SwTextBoxHelper::getUnoTextFrame(), and m_pDoc.
void SwFmDrawPage::RemovePageView | ( | ) |
Definition at line 290 of file unodraw.cxx.
References m_pPageView, and mpView.
Referenced by group(), ungroup(), and ~SwFmDrawPage().
|
overridevirtual |
Definition at line 484 of file unodraw.cxx.
|
inline |
Definition at line 74 of file unodraw.hxx.
References find(), and m_vShapes.
Referenced by SwXShape::dispose().
|
overridevirtual |
Definition at line 496 of file unodraw.cxx.
|
overridevirtual |
Definition at line 395 of file unodraw.cxx.
References SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), SdrPage::getSdrPageProperties(), m_pPropertySet, SfxItemPropertyMapEntry::nWID, SdrPageProperties::SetTheme(), WID_NAVORDER, WID_PAGE_BACKFULL, WID_PAGE_BOTTOM, WID_PAGE_HEIGHT, WID_PAGE_ISDARK, WID_PAGE_LEFT, WID_PAGE_NUMBER, WID_PAGE_ORIENT, WID_PAGE_RIGHT, WID_PAGE_THEME, WID_PAGE_TOP, WID_PAGE_USERATTRIBS, and WID_PAGE_WIDTH.
|
overridevirtual |
Definition at line 580 of file unodraw.cxx.
References cppu::supportsService().
|
overridevirtual |
Definition at line 854 of file unodraw.cxx.
References SwDoc::ChgAnchor(), END, GetDrawView(), SwDoc::GetIDocumentUndoRedo(), m_pDoc, PreUnGroup(), RemovePageView(), START, and SwDoc::UnGroupSelection().
|
private |
Definition at line 52 of file unodraw.hxx.
Referenced by add(), getByIndex(), getCount(), group(), hasElements(), InvalidateSwDoc(), remove(), and ungroup().
|
private |
Definition at line 53 of file unodraw.hxx.
Referenced by GetPageView(), and RemovePageView().
|
private |
Definition at line 55 of file unodraw.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 54 of file unodraw.hxx.
Referenced by CreateShape(), GetShape(), RemoveShape(), and ~SwFmDrawPage().