LibreOffice Module svx (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FmFormPage Class Reference

#include <fmpage.hxx>

Inheritance diagram for FmFormPage:
Collaboration diagram for FmFormPage:

Public Member Functions

 FmFormPage (FmFormModel &rModel, bool bMasterPage=false)
virtual ~FmFormPage () override
virtual SdrPageCloneSdrPage (SdrModel &rTargetModel) const 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
 changing the layers does not set the modified-flag! More...
SdrLayerAdminGetLayerAdmin ()
virtual OUString GetLayoutName () const
virtual const SdrPageGridFrameListGetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) const
 for snap-to-grid in Writer, also for AlignObjects if 1 object is marked if pRect != null, then the pages that are intersected by this Rect, otherwise the visible pages More...
css::uno::Reference< css::uno::XInterface > const & getUnoPage ()
virtual SfxStyleSheetGetTextStyleSheetForObject (SdrObject *pObj) const
Color GetPageBackgroundColor () const
 deprecated returns an averaged background color of this page More...
Color GetPageBackgroundColor (SdrPageView const *pView, bool bScreenDisplay=true) const
 deprecated returns an averaged background color of this page More...
virtual bool checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit)
 this method returns true if the object from the ViewObjectContact should be visible on this page while rendering. More...
- Public Member Functions inherited from SdrObjList
virtual SdrObjectgetSdrObjectFromSdrObjList () const
void CopyObjects (const SdrObjList &rSrcList)
void ClearSdrObjList ()
void RecalcObjOrdNums ()
 recalculate order numbers / ZIndex More...
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)
 remove from list without delete More...
virtual SdrObjectReplaceObject (SdrObject *pNewObj, size_t nObjNum)
 Replace existing object by different one. More...
virtual SdrObjectSetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum)
 Modify ZOrder of an SdrObject. More...
void SetSdrObjListRectsDirty ()
const tools::RectangleGetAllObjSnapRect () const
const tools::RectangleGetAllObjBoundRect () const
void NbcReformatAllTextObjects ()
 reformat all text objects, e.g. when changing printer More...
void ReformatAllTextObjects ()
void ReformatAllEdgeObjects ()
 #103122# reformats all edge objects that are connected to other objects More...
void BurnInStyleSheetAttributes ()
 convert attributes of the style to hard formatting More...
size_t GetObjCount () const
SdrObjectGetObj (size_t nNum) const
virtual bool IsReadOnly () const
 linked page or linked group object More...
void FlattenGroups ()
 Makes the object list flat, i.e. More...
void UnGroupObj (size_t nObjNum)
 Ungroup the object at the given index. More...
bool HasObjectNavigationOrder () const
 Return whether there is an explicit, user defined, object navigation order. More...
void SetObjectNavigationPosition (SdrObject &rObject, const sal_uInt32 nNewNavigationPosition)
 Set the navigation position of the given object to the specified value. More...
SdrObjectGetObjectForNavigationPosition (const sal_uInt32 nNavigationPosition) const
 Return the object for the given navigation position. More...
void ClearObjectNavigationOrder ()
 Restore the navigation order to that defined by the z-order. More...
bool RecalcNavigationPositions ()
 Set the navigation position of all SdrObjects to their position in the mxNavigationOrder list. More...
void SetNavigationOrder (const css::uno::Reference< css::container::XIndexAccess > &rxOrder)
 Set the navigation order to the one defined by the given list of XShape objects. More...
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
- Public Member Functions inherited from tools::WeakBase
 WeakBase ()
virtual ~WeakBase ()
void clearWeak ()

Static Public Member Functions

static bool RequestHelp (vcl::Window *pWin, SdrView const *pView, const HelpEvent &rEvt)

Protected Member Functions

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 &)
virtual css::uno::Reference< css::uno::XInterface > createUnoPage ()
void lateInit (const SdrPage &rSrcPage)
void TRG_ImpMasterPageRemoved (const SdrPage &rRemovedPage)
- Protected Member Functions inherited from SdrObjList
void RecalcRects ()
 SdrObjList ()
virtual ~SdrObjList ()

Private Member Functions

FmFormPageoperator= (const FmFormPage &)=delete
 FmFormPage (const FmFormPage &)=delete

Private Attributes

std::unique_ptr< FmFormPageImplm_pImpl
OUString m_sPageName


class FmFormObj

Additional Inherited Members

- Protected Attributes inherited from SdrPage
std::unique_ptr< sdr::MasterPageDescriptormpMasterPageDescriptor
sal_uInt16 nPageNum
bool mbMaster: 1
bool mbInserted: 1
bool mbObjectsNotPersistent: 1
bool mbPageBorderOnlyLeftRight: 1

Detailed Description

Definition at line 39 of file fmpage.hxx.

Constructor & Destructor Documentation

FmFormPage::FmFormPage ( const FmFormPage )

Referenced by CloneSdrPage().

FmFormPage::FmFormPage ( FmFormModel rModel,
bool  bMasterPage = false 

Definition at line 44 of file fmpage.cxx.

References m_pImpl.

FmFormPage::~FmFormPage ( )

Definition at line 61 of file fmpage.cxx.

Member Function Documentation

SdrPage * FmFormPage::CloneSdrPage ( SdrModel rTargetModel) const

Reimplemented from SdrPage.

Definition at line 65 of file fmpage.cxx.

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

const Reference< css::form::XForms > & FmFormPage::GetForms ( bool  _bForceCreate = true) const
FmFormPageImpl& FmFormPage::GetImpl ( ) const
const OUString& FmFormPage::GetName ( ) const

Definition at line 65 of file fmpage.hxx.

void FmFormPage::InsertObject ( SdrObject pObj,
size_t  nPos = SAL_MAX_SIZE 

Reimplemented from SdrObjList.

Definition at line 77 of file fmpage.cxx.

References SdrPage::getSdrModelFromSdrPage(), and SdrObjList::InsertObject().

Referenced by Svx3DPreviewControl::Construct().

void FmFormPage::lateInit ( const FmFormPage rPage)

Definition at line 50 of file fmpage.cxx.

References GetImpl(), SdrPage::lateInit(), m_pImpl, and m_sPageName.

Referenced by CloneSdrPage().

FmFormPage& FmFormPage::operator= ( const FmFormPage )
SdrObject * FmFormPage::RemoveObject ( size_t  nObjNum)

Reimplemented from SdrObjList.

Definition at line 162 of file fmpage.cxx.

References SdrPage::getSdrModelFromSdrPage(), and SdrObjList::RemoveObject().

bool FmFormPage::RequestHelp ( vcl::Window pWin,
SdrView const *  pView,
const HelpEvent rEvt 
void FmFormPage::SetName ( const OUString &  rName)

Definition at line 66 of file fmpage.hxx.

Friends And Related Function Documentation

friend class FmFormObj

Definition at line 44 of file fmpage.hxx.

Referenced by RequestHelp().

Member Data Documentation

std::unique_ptr<FmFormPageImpl> FmFormPage::m_pImpl

Definition at line 45 of file fmpage.hxx.

Referenced by GetForms(), and lateInit().

OUString FmFormPage::m_sPageName

Definition at line 46 of file fmpage.hxx.

Referenced by lateInit().

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