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

Public Member Functions

 FmFormPage (FmFormModel &rModel, bool bMasterPage=false)
 
virtual ~FmFormPage () override
 
virtual rtl::Reference< SdrPageCloneSdrPage (SdrModel &rTargetModel) const override
 
virtual void InsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override
 
virtual rtl::Reference< 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
 
virtual rtl::Reference< SdrPageCloneSdrPage (SdrModel &rTargetModel) const
 
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
 
tools::Long GetWidth () const
 
tools::Long 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
 
void SetBackgroundFullSize (bool bIn)
 
bool IsBackgroundFullSize () 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...
 
void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
- Public Member Functions inherited from SdrObjList
virtual SdrPagegetSdrPageFromSdrObjList () const
 
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)
 
virtual void InsertObject (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 rtl::Reference< SdrObjectNbcRemoveObject (size_t nObjNum)
 remove from list without delete More...
 
virtual rtl::Reference< SdrObjectRemoveObject (size_t nObjNum)
 
virtual rtl::Reference< 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 SetExistingObjectOrdNum (SdrObject *pExistingObj, size_t nNewObjNum)
 Modify ZOrder of an SdrObject, object must already be in the list. 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
 
SdrObjectGetObjByName (std::u16string_view sName) 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 cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 

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 ()
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 

Private Member Functions

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

Private Attributes

std::unique_ptr< FmFormPageImplm_pImpl
 
OUString m_sPageName
 

Friends

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
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 39 of file fmpage.hxx.

Constructor & Destructor Documentation

◆ FmFormPage() [1/2]

FmFormPage::FmFormPage ( const FmFormPage )
privatedelete

Referenced by CloneSdrPage().

◆ FmFormPage() [2/2]

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

Definition at line 46 of file fmpage.cxx.

References m_pImpl.

◆ ~FmFormPage()

FmFormPage::~FmFormPage ( )
overridevirtual

Definition at line 63 of file fmpage.cxx.

Member Function Documentation

◆ CloneSdrPage()

rtl::Reference< SdrPage > FmFormPage::CloneSdrPage ( SdrModel rTargetModel) const
overridevirtual

Reimplemented from SdrPage.

Definition at line 67 of file fmpage.cxx.

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

◆ GetForms()

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

◆ GetImpl()

FmFormPageImpl & FmFormPage::GetImpl ( ) const
inline

◆ GetName()

const OUString & FmFormPage::GetName ( ) const
inline

Definition at line 65 of file fmpage.hxx.

◆ InsertObject()

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

Reimplemented from SdrObjList.

Definition at line 79 of file fmpage.cxx.

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

◆ lateInit()

void FmFormPage::lateInit ( const FmFormPage rPage)
protected

Definition at line 52 of file fmpage.cxx.

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

◆ operator=()

FmFormPage & FmFormPage::operator= ( const FmFormPage )
privatedelete

◆ RemoveObject()

rtl::Reference< SdrObject > FmFormPage::RemoveObject ( size_t  nObjNum)
overridevirtual

Reimplemented from SdrObjList.

Definition at line 164 of file fmpage.cxx.

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

◆ RequestHelp()

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

◆ SetName()

void FmFormPage::SetName ( const OUString &  rName)
inline

Definition at line 66 of file fmpage.hxx.

Friends And Related Function Documentation

◆ FmFormObj

friend class FmFormObj
friend

Definition at line 44 of file fmpage.hxx.

Referenced by RequestHelp().

Member Data Documentation

◆ m_pImpl

std::unique_ptr<FmFormPageImpl> FmFormPage::m_pImpl
private

Definition at line 45 of file fmpage.hxx.

Referenced by GetForms(), and lateInit().

◆ m_sPageName

OUString FmFormPage::m_sPageName
private

Definition at line 46 of file fmpage.hxx.

Referenced by lateInit().


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