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

#include <dpage.hxx>

Inheritance diagram for SwDPage:
Collaboration diagram for SwDPage:

Public Member Functions

 SwDPage (SwDrawModel &rNewModel, bool bMasterPage)
virtual ~SwDPage () override
virtual SwDPageCloneSdrPage (SdrModel &rTargetModel) const override
virtual SdrObjectReplaceObject (SdrObject *pNewObj, size_t nObjNum) override
virtual const SdrPageGridFrameListGetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) const override
bool RequestHelp (vcl::Window *pWindow, SdrView const *pView, const HelpEvent &rEvt)
virtual css::uno::Reference< css::uno::XInterface > createUnoPage () override
- Public Member Functions inherited from FmFormPage
 FmFormPage (FmFormModel &rModel, bool bMasterPage=false)
virtual ~FmFormPage () override
virtual void InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override
virtual SdrObjectRemoveObject (size_t nObjNum) override
const css::uno::Reference< css::form::XForms > & GetForms (bool _bForceCreate=true) const
FmFormPageImplGetImpl () const
const OUString & GetName () const
void SetName (const OUString &rName)
- Public Member Functions inherited from SdrPage
void AddPageUser (sdr::PageUser &rNewUser)
void RemovePageUser (sdr::PageUser &rOldUser)
SdrModelgetSdrModelFromSdrPage () const
const sdr::contact::ViewContactGetViewContact () const
sdr::contact::ViewContactGetViewContact ()
void ActionChanged ()
SdrPagePropertiesgetSdrPageProperties ()
const SdrPagePropertiesgetSdrPageProperties () const
const SdrPagePropertiesgetCorrectSdrPageProperties () const
 SdrPage (SdrModel &rModel, bool bMasterPage=false)
virtual ~SdrPage () override
bool IsMasterPage () const
void SetInserted (bool bNew=true)
bool IsInserted () const
void SetChanged ()
virtual SdrPagegetSdrPageFromSdrObjList () const override
void SetPageNum (sal_uInt16 nNew)
sal_uInt16 GetPageNum () const
void setPageBorderOnlyLeftRight (bool bNew)
bool getPageBorderOnlyLeftRight () const
virtual void SetSize (const Size &aSiz)
Size GetSize () const
virtual void SetOrientation (Orientation eOri)
virtual Orientation GetOrientation () const
sal_Int32 GetWidth () const
sal_Int32 GetHeight () const
virtual void SetBorder (sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr)
virtual void SetLeftBorder (sal_Int32 nBorder)
virtual void SetUpperBorder (sal_Int32 nBorder)
virtual void SetRightBorder (sal_Int32 nBorder)
virtual void SetLowerBorder (sal_Int32 nBorder)
sal_Int32 GetLeftBorder () const
sal_Int32 GetUpperBorder () const
sal_Int32 GetRightBorder () const
sal_Int32 GetLowerBorder () const
bool TRG_HasMasterPage () const
void TRG_SetMasterPage (SdrPage &rNew)
void TRG_ClearMasterPage ()
SdrPageTRG_GetMasterPage () const
const SdrLayerIDSetTRG_GetMasterPageVisibleLayers () const
void TRG_SetMasterPageVisibleLayers (const SdrLayerIDSet &rNew)
sdr::contact::ViewContactTRG_GetMasterPageDescriptorViewContact () const
void MakePageObjectsNamesUnique ()
const SdrLayerAdminGetLayerAdmin () const
SdrLayerAdminGetLayerAdmin ()
virtual OUString GetLayoutName () const
css::uno::Reference< css::uno::XInterface > const & getUnoPage ()
virtual SfxStyleSheetGetTextStyleSheetForObject (SdrObject *pObj) const
Color GetPageBackgroundColor () const
Color GetPageBackgroundColor (SdrPageView const *pView, bool bScreenDisplay=true) const
virtual bool checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit)
- Public Member Functions inherited from SdrObjList
virtual SdrObjectgetSdrObjectFromSdrObjList () const
void CopyObjects (const SdrObjList &rSrcList)
void ClearSdrObjList ()
void RecalcObjOrdNums ()
bool IsObjOrdNumsDirty () const
virtual void NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE)
void sort (std::vector< sal_Int32 > &sortOrder)
void InsertObjectThenMakeNameUnique (SdrObject *pObj)
void InsertObjectThenMakeNameUnique (SdrObject *pObj, std::unordered_set< rtl::OUString > &rNameSet, size_t nPos=SAL_MAX_SIZE)
virtual SdrObjectNbcRemoveObject (size_t nObjNum)
virtual SdrObjectSetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum)
void SetSdrObjListRectsDirty ()
const tools::RectangleGetAllObjSnapRect () const
const tools::RectangleGetAllObjBoundRect () const
void NbcReformatAllTextObjects ()
void ReformatAllTextObjects ()
void ReformatAllEdgeObjects ()
void BurnInStyleSheetAttributes ()
size_t GetObjCount () const
SdrObjectGetObj (size_t nNum) const
virtual bool IsReadOnly () const
void FlattenGroups ()
void UnGroupObj (size_t nObjNum)
bool HasObjectNavigationOrder () const
void SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition)
SdrObjectGetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const
void ClearObjectNavigationOrder ()
bool RecalcNavigationPositions ()
void SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder)
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
- Public Member Functions inherited from SdrObjUserCall
virtual ~SdrObjUserCall ()
virtual void Changed (const SdrObject &rObj, SdrUserCallType eType, const tools::Rectangle &rOldBoundRect)

Private Member Functions

SwDPageoperator= (const SwDPage &)=delete
 SwDPage (const SwDPage &)=delete
void lateInit (const SwDPage &rSrcPage)

Private Attributes

std::unique_ptr< SdrPageGridFrameListpGridLst

Additional Inherited Members

- Static Public Member Functions inherited from FmFormPage
static bool RequestHelp (vcl::Window *pWin, SdrView const *pView, const HelpEvent &rEvt)
- Protected Member Functions inherited from FmFormPage
void lateInit (const FmFormPage &rPage)
- Protected Member Functions inherited from SdrPage
std::unique_ptr< sdr::contact::ViewContactCreateObjectSpecificViewContact ()
void SetUnoPage (css::uno::Reference< css::drawing::XDrawPage > const &)
void lateInit (const SdrPage &rSrcPage)
void TRG_ImpMasterPageRemoved (const SdrPage &rRemovedPage)
- Protected Member Functions inherited from SdrObjList
void RecalcRects ()
 SdrObjList ()
virtual ~SdrObjList ()
- Protected Attributes inherited from SdrPage
std::unique_ptr< sdr::MasterPageDescriptormpMasterPageDescriptor
sal_uInt16 nPageNum
bool mbMaster
bool mbInserted
bool mbObjectsNotPersistent
bool mbPageBorderOnlyLeftRight

Detailed Description

Definition at line 30 of file dpage.hxx.

Constructor & Destructor Documentation

SwDPage::SwDPage ( const SwDPage )

Referenced by CloneSdrPage().

SwDPage::SwDPage ( SwDrawModel rNewModel,
bool  bMasterPage 

Definition at line 47 of file dpage.cxx.

SwDPage::~SwDPage ( )

Definition at line 53 of file dpage.cxx.

Member Function Documentation

SwDPage * SwDPage::CloneSdrPage ( SdrModel rTargetModel) const

Reimplemented from FmFormPage.

Definition at line 69 of file dpage.cxx.

References SdrPage::IsMasterPage(), lateInit(), and SwDPage().

Reference< XInterface > SwDPage::createUnoPage ( )

Reimplemented from SdrPage.

Definition at line 239 of file dpage.cxx.

References assert(), SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), pDoc, and xModel.

const SdrPageGridFrameList * SwDPage::GetGridFrameList ( const SdrPageView pPV,
const tools::Rectangle pRect 
) const
void SwDPage::lateInit ( const SwDPage rSrcPage)

Definition at line 57 of file dpage.cxx.

References i, FmFormPage::lateInit(), and pGridLst.

Referenced by CloneSdrPage().

SwDPage& SwDPage::operator= ( const SwDPage )
SdrObject * SwDPage::ReplaceObject ( SdrObject pNewObj,
size_t  nObjNum 

Reimplemented from SdrObjList.

Definition at line 80 of file dpage.cxx.

References SdrObjList::GetObj(), GetUserCall(), SdrObjList::ReplaceObject(), and RES_DRAWFRMFMT().

bool SwDPage::RequestHelp ( vcl::Window pWindow,
SdrView const *  pView,
const HelpEvent rEvt 

Member Data Documentation

SwDoc* SwDPage::pDoc

Definition at line 36 of file dpage.hxx.

Referenced by createUnoPage(), and RequestHelp().

std::unique_ptr<SdrPageGridFrameList> SwDPage::pGridLst

Definition at line 35 of file dpage.hxx.

Referenced by GetGridFrameList(), and lateInit().

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