LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SdPage Class Referencefinal

#include <sdpage.hxx>

Inheritance diagram for SdPage:
[legend]
Collaboration diagram for SdPage:
[legend]

Public Member Functions

 SdPage (SdDrawDocument &rNewDoc, bool bMasterPage)
 
virtual ~SdPage () override
 
virtual rtl::Reference< SdrPageCloneSdrPage (SdrModel &rTargetModel) const override
 
virtual void SetSize (const Size &aSize) override
 
virtual void SetBorder (sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr) override
 
virtual void SetLeftBorder (sal_Int32 nBorder) override
 
virtual void SetRightBorder (sal_Int32 nBorder) override
 
virtual void SetUpperBorder (sal_Int32 nBorder) override
 
virtual void SetLowerBorder (sal_Int32 nBorder) override
 
virtual bool IsReadOnly () const override
 
sd::ShapeListGetPresentationShapeList ()
 
void EnsureMasterPageDefaultBackground ()
 create background properties More...
 
SdrObjectCreatePresObj (PresObjKind eObjKind, bool bVertical, const ::tools::Rectangle &rRect)
 creates a presentation object with the given PresObjKind on this page. More...
 
rtl::Reference< SdrObjectCreateDefaultPresObj (PresObjKind eObjKind)
 
void DestroyDefaultPresObj (PresObjKind eObjKind)
 
SdrObjectGetPresObj (PresObjKind eObjKind, int nIndex=1, bool bFuzzySearch=false)
 returns the nIndex'th object from the given PresObjKind, index starts with 1 More...
 
PresObjKind GetPresObjKind (SdrObject *pObj) const
 
OUString GetPresObjText (PresObjKind eObjKind) const
 
SfxStyleSheetGetStyleSheetForMasterPageBackground () const
 
SfxStyleSheetGetStyleSheetForPresObj (PresObjKind eObjKind) const
 
sal_Int64 GetHashCode () const
 
bool RestoreDefaultText (SdrObject *pObj)
 
bool IsPresObj (const SdrObject *pObj)
 
void RemovePresObj (const SdrObject *pObj)
 removes the given SdrObject from the presentation object list More...
 
void InsertPresObj (SdrObject *pObj, PresObjKind eKind)
 inserts the given SdrObject into the presentation object list More...
 
void SetAutoLayout (AutoLayout eLayout, bool bInit=false, bool bCreate=false)
 
AutoLayout GetAutoLayout () const
 
void CreateTitleAndLayout (bool bInit=false, bool bCreate=false)
 
SdrObjectInsertAutoLayoutShape (SdrObject *pObj, PresObjKind eObjKind, bool bVertical, const ::tools::Rectangle &rRect, bool bInit)
 reuses or creates a presentation shape for an auto layout that fits the given parameter More...
 
virtual void NbcInsertObject (SdrObject *pObj, size_t nPos=SAL_MAX_SIZE) override
 
virtual rtl::Reference< SdrObjectNbcRemoveObject (size_t nObjNum) override
 
virtual rtl::Reference< SdrObjectRemoveObject (size_t nObjNum) override
 
virtual rtl::Reference< SdrObjectReplaceObject (SdrObject *pNewObj, size_t nObjNum) override
 Also override ReplaceObject methods to realize when objects are removed with this mechanism instead of RemoveObject. More...
 
void SetObjText (SdrTextObj *pObj, SdrOutliner *pOutliner, PresObjKind eObjKind, std::u16string_view rStr)
 
void SetPageKind (PageKind ePgType)
 
PageKind GetPageKind () const
 
void SetSelected (bool bSel)
 
bool IsSelected () const
 
void SetFadeEffect (css::presentation::FadeEffect eNewEffect)
 
css::presentation::FadeEffect GetFadeEffect () const
 
void SetPresChange (PresChange eChange)
 
PresChange GetPresChange () const
 
void SetTime (double fNewTime)
 
double GetTime () const
 
void SetSound (bool bNewSoundOn)
 
bool IsSoundOn () const
 
void SetExcluded (bool bNewExcluded)
 
bool IsExcluded () const
 
bool IsScaleObjects () const
 
void SetSoundFile (const OUString &rStr)
 
const OUString & GetSoundFile () const
 
void SetLoopSound (bool bLoopSound)
 
bool IsLoopSound () const
 
void SetStopSound (bool bStopSound)
 
bool IsStopSound () const
 
sal_Int16 getTransitionType () const
 
void setTransitionType (sal_Int16 nTransitionType)
 
sal_Int16 getTransitionSubtype () const
 
void setTransitionSubtype (sal_Int16 nTransitionSubtype)
 
bool getTransitionDirection () const
 
void setTransitionDirection (bool bTransitionbDirection)
 
sal_Int32 getTransitionFadeColor () const
 
void setTransitionFadeColor (sal_Int32 nTransitionFadeColor)
 
double getTransitionDuration () const
 
void setTransitionDuration (double fTransitionDuration)
 
virtual void Changed (const SdrObject &rObj, SdrUserCallType eType, const ::tools::Rectangle &rOldBoundRect) override
 
void SetLayoutName (const OUString &aName)
 
virtual OUString GetLayoutName () const override
 
void SetFileName (const OUString &aName)
 
const OUString & GetFileName () const
 
void SetBookmarkName (const OUString &aName)
 
const OUString & GetBookmarkName () const
 
void ConnectLink ()
 
void DisconnectLink ()
 
void ScaleObjects (const Size &rNewPageSize, const ::tools::Rectangle &rNewBorderRect, bool bScaleAllObj)
 
const OUString & GetName () const
 
OUString const & GetRealName () const
 
void SetPresentationLayout (std::u16string_view rLayoutName, bool bReplaceStyleSheets=true, bool bSetMasterPage=true, bool bReverseOrder=false)
 
void EndListenOutlineText ()
 
void SetPaperBin (sal_uInt16 nBin)
 
sal_uInt16 GetPaperBin () const
 
virtual void SetOrientation (Orientation eOrient) override
 
virtual Orientation GetOrientation () const override
 
virtual SfxStyleSheetGetTextStyleSheetForObject (SdrObject *pObj) const override
 
bool setAlienAttributes (const css::uno::Any &rAttributes)
 
void getAlienAttributes (css::uno::Any &rAttributes)
 
css::uno::Reference< css::animations::XAnimationNode > const & getAnimationNode ()
 returns the main animation node More...
 
void setAnimationNode (css::uno::Reference< css::animations::XAnimationNode > const &xNode)
 sets the main animation node More...
 
std::shared_ptr< sd::MainSequence > const & getMainSequence ()
 returns a helper class to manipulate effects inside the main sequence More...
 
bool hasAnimationNode () const
 quick check if this slide has an animation node. More...
 
void removeAnimations (const SdrObject *pObj)
 removes all custom animations for the given shape More...
 
void notifyObjectRenamed (const SdrObject *pObj)
 Notify that the object has been renamed and the animation effects has to update. More...
 
void SetName (const OUString &rName)
 Set the name of the page and broadcast a model change. More...
 
const sd::HeaderFooterSettingsgetHeaderFooterSettings () const
 
void setHeaderFooterSettings (const sd::HeaderFooterSettings &rNewSettings)
 
virtual bool checkVisibility (const sdr::contact::ViewObjectContact &rOriginal, const sdr::contact::DisplayInfo &rDisplayInfo, bool bEdit) override
 
void onParagraphInserted (const ::Outliner *pOutliner, Paragraph const *pPara, SdrObject *pObj)
 callback from the sd::View when a new paragraph for one object on this page is created More...
 
void onParagraphRemoving (const ::Outliner *pOutliner, Paragraph const *pPara, SdrObject *pObj)
 callback from the sd::View when a paragraph from one object on this page is removed More...
 
void onEndTextEdit (SdrObject *pObj)
 callback from the sd::View when an object just left text edit mode More...
 
SdStyleSheetgetPresentationStyle (sal_uInt32 nHelpId) const
 returns the presentation style with the given helpid from this masterpage or this slides masterpage More...
 
void RemoveEmptyPresentationObjects ()
 removes all empty presentation objects from this slide More...
 
::tools::Rectangle GetTitleRect () const
 
::tools::Rectangle GetLayoutRect () const
 
void SetPrecious (const bool bIsPrecious)
 Set the "precious" flag to the given value. More...
 
bool IsPrecious () const
 The "precious" flag is used for master pages to prevent some unused master pages from being deleted automatically. More...
 
void createAnnotation (css::uno::Reference< css::office::XAnnotation > &xAnnotation)
 
void addAnnotation (const css::uno::Reference< css::office::XAnnotation > &xAnnotation, int nIndex)
 
void removeAnnotation (const css::uno::Reference< css::office::XAnnotation > &xAnnotation)
 
const sd::AnnotationVectorgetAnnotations () const
 
bool Equals (const SdPage &) const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const override
 
sal_uInt16 getPageId () const
 
void getGraphicsForPrefetch (std::vector< Graphic * > &graphics) const
 Returns graphics objects from the page that can be prefetched before it's painted. More...
 
- Public Member Functions inherited from FmFormPage
 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
 
SdrLayerAdminGetLayerAdmin ()
 
virtual OUString GetLayoutName () const
 
virtual const SdrPageGridFrameListGetGridFrameList (const SdrPageView *pPV, const tools::Rectangle *pRect) 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)
 
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 ()
 
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)
 
virtual rtl::Reference< SdrObjectRemoveObject (size_t nObjNum)
 
virtual rtl::Reference< SdrObjectReplaceObject (SdrObject *pNewObj, size_t nObjNum)
 
virtual SdrObjectSetObjectOrdNum (size_t nOldObjNum, size_t nNewObjNum)
 
void SetExistingObjectOrdNum (SdrObject *pExistingObj, 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
 
SdrObjectGetObjByName (std::u16string_view sName) 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)
 
virtual void const * GetPDFAnchorStructureElementKey (SdrObject const &rObj)
 

Static Public Member Functions

static SdPagegetImplementation (const css::uno::Reference< css::drawing::XDrawPage > &xPage)
 returns the SdPage implementation for the given XDrawPage or 0 if not available More...
 
static void CalculateHandoutAreas (SdDrawDocument &rModel, AutoLayout eLayout, bool bHorizontal, std::vector< ::tools::Rectangle > &rAreas)
 
- Static Public Member Functions inherited from FmFormPage
static bool RequestHelp (vcl::Window *pWin, SdrView const *pView, const HelpEvent &rEvt)
 

Static Public Attributes

static sal_uInt16 mnLastPageId = 1
 

Private Member Functions

SdPageoperator= (const SdPage &)=delete
 
 SdPage (const SdPage &)=delete
 
virtual css::uno::Reference< css::uno::XInterface > createUnoPage () override
 
SfxItemSetgetOrCreateItems ()
 
void lateInit (const SdPage &rSrcPage)
 
void cloneAnimations (SdPage &rTargetPage) const
 clone the animations from this and set them to rTargetPage TTTT: Order is strange, should be the other way around by convention/convenience and makes usage a little dangerous... More...
 
void onRemoveObject (SdrObject *pObject)
 called before a shape is removed or replaced from this slide More...
 

Private Attributes

PageKind mePageKind
 page type More...
 
AutoLayout meAutoLayout
 AutoLayout. More...
 
sd::ShapeList maPresentationShapeList
 presentation objects More...
 
sd::ScopeLock maLockAutoLayoutArrangement
 
bool mbSelected
 selection identifier More...
 
PresChange mePresChange
 manual / automatic / semi automatic More...
 
double mfTime
 Display time in seconds. More...
 
bool mbSoundOn
 with / without sound. More...
 
bool mbExcluded
 will (not) be displayed during show. More...
 
OUString maLayoutName
 Name of the layout. More...
 
OUString maSoundFile
 Path to sound file (MS-DOS notation). More...
 
bool mbLoopSound
 
bool mbStopSound
 
OUString maCreatedPageName
 generated page name by GetPageName. More...
 
OUString maFileName
 file name. More...
 
OUString maBookmarkName
 Bookmark name. More...
 
bool mbScaleObjects
 Objects should be scaled. More...
 
rtl_TextEncoding meCharSet
 Text encoding. More...
 
sal_uInt16 mnPaperBin
 PaperBin. More...
 
SdPageLinkmpPageLink
 Page link (at left sides only) More...
 
sd::AnnotationVector maAnnotations
 
css::uno::Reference< css::animations::XAnimationNode > mxAnimationNode
 holds the smil animation sequences for this page More...
 
std::shared_ptr< sd::MainSequencempMainSequence
 a helper class to manipulate effects inside the main sequence More...
 
std::unique_ptr< SfxItemSetmpItems
 
sd::HeaderFooterSettings maHeaderFooterSettings
 
sal_Int16 mnTransitionType
 
sal_Int16 mnTransitionSubtype
 
bool mbTransitionDirection
 
sal_Int32 mnTransitionFadeColor
 
double mfTransitionDuration
 
bool mbIsPrecious
 
sal_uInt16 mnPageId
 

Friends

class SdGenericDrawPage
 
class SdDrawPage
 
class sd::UndoAnimation
 
class sd::UndoTransition
 
class ModifyPageUndoAction
 
class sd::UndoGeoObject
 
class sd::UndoAttrObject
 

Additional Inherited Members

- 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 &)
 
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 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 92 of file sdpage.hxx.

Constructor & Destructor Documentation

◆ SdPage() [1/2]

SdPage::SdPage ( const SdPage )
privatedelete

Referenced by CloneSdrPage().

◆ SdPage() [2/2]

SdPage::SdPage ( SdDrawDocument rNewDoc,
bool  bMasterPage 
)

◆ ~SdPage()

SdPage::~SdPage ( )
overridevirtual

Member Function Documentation

◆ addAnnotation()

void SdPage::addAnnotation ( const css::uno::Reference< css::office::XAnnotation > &  xAnnotation,
int  nIndex 
)

◆ CalculateHandoutAreas()

void SdPage::CalculateHandoutAreas ( SdDrawDocument rModel,
AutoLayout  eLayout,
bool  bHorizontal,
std::vector< ::tools::Rectangle > &  rAreas 
)
static

◆ Changed()

void SdPage::Changed ( const SdrObject rObj,
SdrUserCallType  eType,
const ::tools::Rectangle rOldBoundRect 
)
overridevirtual

◆ checkVisibility()

bool SdPage::checkVisibility ( const sdr::contact::ViewObjectContact rOriginal,
const sdr::contact::DisplayInfo rDisplayInfo,
bool  bEdit 
)
overridevirtual

◆ cloneAnimations()

void SdPage::cloneAnimations ( SdPage rTargetPage) const
private

clone the animations from this and set them to rTargetPage TTTT: Order is strange, should be the other way around by convention/convenience and makes usage a little dangerous...

Definition at line 148 of file sdpage_animations.cxx.

References sd::Clone(), mxAnimationNode, and setAnimationNode().

Referenced by lateInit().

◆ CloneSdrPage()

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

◆ ConnectLink()

void SdPage::ConnectLink ( )

◆ createAnnotation()

void SdPage::createAnnotation ( css::uno::Reference< css::office::XAnnotation > &  xAnnotation)

◆ CreateDefaultPresObj()

rtl::Reference< SdrObject > SdPage::CreateDefaultPresObj ( PresObjKind  eObjKind)

◆ CreatePresObj()

SdrObject * SdPage::CreatePresObj ( PresObjKind  eObjKind,
bool  bVertical,
const ::tools::Rectangle rRect 
)

creates a presentation object with the given PresObjKind on this page.

A user call will be set

Definition at line 284 of file sdpage.cxx.

References SfxUndoManager::AddUndoAction(), aName, Calc, Chart, DateTime, DBG_ASSERT, DynCastSdrTextObj(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_PARA_JUST(), SfxStyleSheetBasePool::Find(), Footer, Application::GetDefaultDevice(), SdrPage::GetLayerAdmin(), SdrLayerAdmin::GetLayerID(), SdrPage::GetPageNum(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), GetPresObjText(), SdrPage::getSdrModelFromSdrPage(), GetStyleSheetForPresObj(), SdrModel::GetStyleSheetPool(), Graphic, Handout, Header, FmFormPage::InsertObject(), InsertPresObj(), SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), OutputDevice::LogicToPixel(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextContourFrameItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), maLayoutName, SdrPage::mbMaster, Media, mePageKind, Notes, Object, OrgChart, Outline, Page, OutputDevice::PixelToLogic(), OutputDevice::Pop(), OutputDevice::Push(), SfxItemSet::Put(), SDRTEXTVERTADJUST_BOTTOM, SDRTEXTVERTADJUST_TOP, OutputDevice::SetMapMode(), SetObjText(), SlideNumber, Standard, sUNO_LayerName_background_objects, Table, Text, and Title.

Referenced by ImplSdPPTImport::ApplyTextObj(), convertPresentationObjectImpl(), sd::SdPhotoAlbumDialog::createCaption(), CreateDefaultPresObj(), SdGenericDrawPage::CreateSdrObject_(), CreateTitleAndLayout(), and InsertAutoLayoutShape().

◆ CreateTitleAndLayout()

void SdPage::CreateTitleAndLayout ( bool  bInit = false,
bool  bCreate = false 
)

◆ createUnoPage()

uno::Reference< uno::XInterface > SdPage::createUnoPage ( )
overrideprivatevirtual

Reimplemented from SdrPage.

Definition at line 2676 of file sdpage.cxx.

References createUnoPageImpl().

◆ DestroyDefaultPresObj()

void SdPage::DestroyDefaultPresObj ( PresObjKind  eObjKind)

◆ DisconnectLink()

void SdPage::DisconnectLink ( )

◆ dumpAsXml()

void SdPage::dumpAsXml ( xmlTextWriterPtr  pWriter) const
overridevirtual

Reimplemented from SdrPage.

Definition at line 625 of file sdpage2.cxx.

References SdrPage::dumpAsXml(), Handout, mePageKind, Notes, and Standard.

◆ EndListenOutlineText()

void SdPage::EndListenOutlineText ( )

◆ EnsureMasterPageDefaultBackground()

void SdPage::EnsureMasterPageDefaultBackground ( )

◆ Equals()

bool SdPage::Equals ( const SdPage rOtherPage) const

◆ getAlienAttributes()

void SdPage::getAlienAttributes ( css::uno::Any &  rAttributes)

◆ getAnimationNode()

Reference< XAnimationNode > const & SdPage::getAnimationNode ( )

returns the main animation node

Returns
the main animation node
Exceptions
css::uno::RuntimeException

Definition at line 47 of file sdpage_animations.cxx.

References mxAnimationNode.

Referenced by SdGenericDrawPage::getAnimationNode(), getMainSequence(), and sd::UndoAnimation::UndoAnimation().

◆ getAnnotations()

const sd::AnnotationVector & SdPage::getAnnotations ( ) const
inline

◆ GetAutoLayout()

AutoLayout SdPage::GetAutoLayout ( ) const
inline

◆ GetBookmarkName()

const OUString & SdPage::GetBookmarkName ( ) const
inline

Definition at line 260 of file sdpage.hxx.

◆ GetFadeEffect()

FadeEffect SdPage::GetFadeEffect ( ) const

Definition at line 103 of file sdpage_animations.cxx.

Referenced by SdGenericDrawPage::getPropertyValue().

◆ GetFileName()

const OUString & SdPage::GetFileName ( ) const
inline

Definition at line 258 of file sdpage.hxx.

◆ getGraphicsForPrefetch()

void SdPage::getGraphicsForPrefetch ( std::vector< Graphic * > &  graphics) const

Returns graphics objects from the page that can be prefetched before it's painted.

The pointers are temporary and should not be kept.

Definition at line 611 of file sdpage2.cxx.

References SdrObject::getFillGraphic(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), and i.

Referenced by sd::DrawViewShell::SwitchPage().

◆ GetHashCode()

sal_Int64 SdPage::GetHashCode ( ) const

Definition at line 2698 of file sdpage.cxx.

Referenced by SdXImpressDocument::getPartHash(), and SdXImpressDocument::getPostIts().

◆ getHeaderFooterSettings()

const HeaderFooterSettings & SdPage::getHeaderFooterSettings ( ) const

◆ getImplementation()

SdPage * SdPage::getImplementation ( const css::uno::Reference< css::drawing::XDrawPage > &  xPage)
static

◆ GetLayoutName()

virtual OUString SdPage::GetLayoutName ( ) const
inlineoverridevirtual

Reimplemented from SdrPage.

Definition at line 255 of file sdpage.hxx.

Referenced by ImplSdPPTImport::ApplyTextObj(), sd::ViewClipboard::AssignMasterPage(), sd::sidebar::MasterPagesSelector::AssignMasterPageToAllSlides(), sd::sidebar::DocumentHelper::AssignMasterPageToPageList(), sd::DrawViewShell::ChangeEditMode(), SdDrawDocument::CheckMasterPages(), convertPresentationObjectImpl(), sd::View::CreateClipboardDataObject(), SdTransferable::CreateData(), SdDrawDocument::CreatePage(), sd::FuExpandPage::DoExecute(), sd::FuSummaryPage::DoExecute(), SdPresLayoutDlg::FillValueSet(), getPresentationStyle(), SdStyleSheet::GetRealStyleSheet(), sd::DrawViewShell::GetStatusBarState(), sd::slidesorter::controller::SlotManager::GetStatusBarState(), GetStyleSheetForMasterPageBackground(), GetStyleSheetForPresObj(), IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), SdDrawDocument::InsertBookmarkAsPage(), sd::View::InsertData(), SdXImpressDocument::InsertSdPage(), sd::OutlineView::InsertSlideForParagraph(), sd::FuInsertFile::InsTextOrRTFinDrMode(), sd::FuInsertFile::InsTextOrRTFinOlMode(), SdDrawDocument::NewOrLoadCompleted(), sd::sidebar::SlideBackground::populateMasterSlideDropdown(), sd::sidebar::DocumentHelper::ProvideMasterPage(), sd::sidebar::DocumentHelper::ProvideStyles(), SdDrawDocument::RemoveUnnecessaryMasterPages(), SdDrawDocument::RenameLayoutTemplate(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), sd::DrawViewShell::ResetActualPage(), sd::DrawDocShell::SaveAsOwnFormat(), ScaleObjects(), sd::DrawView::SetAttributes(), sd::DrawView::SetMasterAttributes(), SdDrawPage::setMasterPage(), SdDrawDocument::SetMasterPage(), SetPresentationLayout(), sd::FuConstruct::SetStyleSheet(), and sd::DrawViewShell::SwitchPage().

◆ GetLayoutRect()

tools::Rectangle SdPage::GetLayoutRect ( ) const

◆ getMainSequence()

std::shared_ptr< sd::MainSequence > const & SdPage::getMainSequence ( )

◆ GetName()

const OUString & SdPage::GetName ( ) const

Definition at line 2505 of file sdpage.cxx.

References Draw, SdrPage::GetPageNum(), GetRealName(), SdrPage::getSdrModelFromSdrPage(), Handout, maCreatedPageName, SdrPage::mbMaster, mePageKind, Notes, SdResId(), and Standard.

Referenced by sd::MasterPageObserver::Implementation::AnalyzeUsedMasterPages(), sd::ViewShell::Implementation::AssignLayout(), sd::DrawViewShell::ChangeEditMode(), SdTemplateControl::Command(), sd::sidebar::DocumentHelper::CopyMasterPageToLocalDocument(), HtmlExport::CreateFileNames(), sd::SlideshowImpl::createSlideList(), SdPageLink::DataChanged(), sd::FuSlideShowDlg::DoExecute(), sd::FuPage::ExecuteDialog(), HtmlExport::ExportSingleDocument(), SdPageObjsTLV::Fill(), sd::sidebar::CurrentMasterPagesSelector::Fill(), sd::sidebar::RecentMasterPagesSelector::Fill(), SdDocLinkTarget::FindPage(), sd::DrawViewShell::FuTemporary(), accessibility::AccessibleSlideSorterObject::getAccessibleName(), SdDocLinkTarget::getElementNames(), accessibility::AccessibleDocumentViewBase::getExtendedAttributes(), sd::DrawViewShell::GetNavigatorWinState(), SdDrawDocument::GetPageByName(), SdXImpressDocument::getPartName(), sd::IMPL_LINK(), IMPL_LINK(), sd::slidesorter::controller::IMPL_LINK(), sd::IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), SdDrawDocument::InsertBookmarkAsPage(), SdMasterPagesAccess::insertNewByIndex(), SdPageObjsTLV::IsEqualToDoc(), SdDrawDocument::IsPageNameUnique(), ModifyPageUndoAction::ModifyPageUndoAction(), SdDrawDocument::NewOrLoadCompleted(), sd::slidesorter::controller::SlideSorterController::PageNameHasChanged(), sd::DocumentRenderer::Implementation::PrepareRegularPages(), sd::ViewShell::Implementation::ProcessModifyPageSlot(), ModifyPageUndoAction::Redo(), sd::MasterPageObserver::Implementation::RegisterDocument(), sd::slidesorter::controller::SlotManager::RenameSlide(), sd::DrawViewShell::RenameSlide(), sd::slidesorter::controller::SlotManager::RenameSlideFromDrawViewShell(), SdXImpressDocument::render(), sd::DrawViewShell::ResetActualPage(), SdDefineCustomShowDlg::SdDefineCustomShowDlg(), SdDrawDocument::SetMasterPage(), SetName(), sd::slidesorter::view::ToolTip::SetPage(), sd::SlideshowImpl::startShow(), sd::DrawViewShell::SwitchPage(), ModifyPageUndoAction::Undo(), sd::sidebar::SlideBackground::updateMasterSlideSelection(), and sd::sidebar::MasterPageDescriptor::UpdatePageObject().

◆ getOrCreateItems()

SfxItemSet * SdPage::getOrCreateItems ( )
private

Definition at line 448 of file sdpage2.cxx.

References SdrModel::GetItemPool(), SdrPage::getSdrModelFromSdrPage(), and mpItems.

Referenced by setAlienAttributes().

◆ GetOrientation()

Orientation SdPage::GetOrientation ( ) const
overridevirtual

◆ getPageId()

sal_uInt16 SdPage::getPageId ( ) const
inline

◆ GetPageKind()

PageKind SdPage::GetPageKind ( ) const
inline

Definition at line 205 of file sdpage.hxx.

Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), sd::HeaderFooterDialog::apply(), sd::MasterLayoutDialog::applyChanges(), ImplSdPPTImport::ApplyTextObj(), sd::ViewShell::Implementation::AssignLayout(), CalcAutoLayoutRectangles(), SdDrawDocument::CheckMasterPages(), checkVisibility(), sd::ViewOverlayManager::CreateTags(), sd::FuNavigation::DoExecute(), sd::DrawViewShell::ExecNavigatorWin(), sd::TextObjectBar::Execute(), SdPageObjsTLV::Fill(), SdPresLayoutDlg::FillValueSet(), SdDocLinkTarget::FindPage(), sd::AnnotationManagerImpl::GetAnnotationState(), sd::DrawViewShell::GetMenuState(), sd::DrawViewShell::GetOutlinerForMasterPageOutlineTextObj(), SdDrawDocument::GetPageByName(), sd::SlideshowImpl::getSlideNumberForBookmark(), sd::DrawViewShell::GetStateGoToLastPage(), sd::DrawViewShell::GetStateGoToNextPage(), SdDrawPage::getTypes(), SdMasterPage::getTypes(), ImpPageListWatcher::GetVisibleSdPageCount(), sd::DrawDocShell::GotoBookmark(), sd::HeaderFooterDialog::HeaderFooterDialog(), IMPL_LINK(), sd::IMPL_LINK(), IMPL_LINK_NOARG(), ImplSdPPTImport::Import(), ImplSdPPTImport::ImportPageEffect(), ImpPageListWatcher::ImpRecreateSortedPageListOnDemand(), SdDrawDocument::InsertBookmarkAsPage(), sd::View::InsertData(), SdDrawDocument::InsertMasterPage(), sd::FuInsertFile::InsSDDinDrMode(), SdPageObjsTLV::IsEqualToDoc(), SdDrawDocument::IsPageNameUnique(), sd::FuPoor::KeyInput(), lcl_IterateBookmarkPages(), sd::MasterLayoutDialog::MasterLayoutDialog(), SdDrawDocument::Merge(), sd::slidesorter::model::SlideSorterModel::NotifyPageEvent(), sd::sidebar::SlideBackground::populateMasterSlideDropdown(), SdGenericDrawPage::queryAggregation(), ModifyPageUndoAction::Redo(), SdDrawPagesAccess::remove(), SdMasterPagesAccess::remove(), SdDrawDocument::RemoveMasterPage(), SdDrawDocument::RemoveUnnecessaryMasterPages(), SdGenericDrawPage::SetHeight(), SdGenericDrawPage::SetLeftBorder(), SdGenericDrawPage::SetLowerBorder(), SdDrawDocument::SetMasterPage(), SetPresentationLayout(), SdGenericDrawPage::setPropertyValue(), SdGenericDrawPage::SetRightBorder(), SdDrawDocument::SetSelected(), sd::FuConstruct::SetStyleSheet(), SdGenericDrawPage::SetUpperBorder(), SdGenericDrawPage::SetWidth(), sd::SlideshowImpl::startShow(), ModifyPageUndoAction::Undo(), SdDrawDocument::UpdatePageObjectsInNotes(), SdDrawDocument::UpdatePageRelativeURLs(), and sd::ViewShell::UpdateScrollBars().

◆ GetPaperBin()

sal_uInt16 SdPage::GetPaperBin ( ) const
inline

◆ GetPresChange()

PresChange SdPage::GetPresChange ( ) const
inline

◆ GetPresentationShapeList()

sd::ShapeList & SdPage::GetPresentationShapeList ( )
inline

◆ getPresentationStyle()

SdStyleSheet * SdPage::getPresentationStyle ( sal_uInt32  nHelpId) const

returns the presentation style with the given helpid from this masterpage or this slides masterpage

Returns
the presentation style with the given helpid from this masterpage or this slides masterpage

Definition at line 674 of file sdpage.cxx.

References SfxStyleSheetBasePool::Find(), GetLayoutName(), SdrPage::getSdrModelFromSdrPage(), SdrModel::GetStyleSheetPool(), nIndex, SD_LT_SEPARATOR, STR_LAYOUT_BACKGROUND, STR_LAYOUT_BACKGROUNDOBJECTS, STR_LAYOUT_NOTES, STR_LAYOUT_OUTLINE, STR_LAYOUT_SUBTITLE, and STR_LAYOUT_TITLE.

Referenced by sd::FuPage::ExecuteDialog(), and sd::DrawViewShell::GetMenuState().

◆ GetPresObj()

SdrObject * SdPage::GetPresObj ( PresObjKind  eObjKind,
int  nIndex = 1,
bool  bFuzzySearch = false 
)

◆ GetPresObjKind()

PresObjKind SdPage::GetPresObjKind ( SdrObject pObj) const

◆ GetPresObjText()

OUString SdPage::GetPresObjText ( PresObjKind  eObjKind) const

◆ GetRealName()

OUString const & SdPage::GetRealName ( ) const
inline

Definition at line 269 of file sdpage.hxx.

References FmFormPage::GetName().

Referenced by GetName(), getPageApiName(), and SdDrawDocument::InsertBookmarkAsPage().

◆ GetSoundFile()

const OUString & SdPage::GetSoundFile ( ) const
inline

◆ GetStyleSheetForMasterPageBackground()

SfxStyleSheet * SdPage::GetStyleSheetForMasterPageBackground ( ) const

◆ GetStyleSheetForPresObj()

SfxStyleSheet * SdPage::GetStyleSheetForPresObj ( PresObjKind  eObjKind) const

◆ GetTextStyleSheetForObject()

SfxStyleSheet * SdPage::GetTextStyleSheetForObject ( SdrObject pObj) const
overridevirtual

◆ GetTime()

double SdPage::GetTime ( ) const
inline

◆ GetTitleRect()

tools::Rectangle SdPage::GetTitleRect ( ) const

◆ getTransitionDirection()

bool SdPage::getTransitionDirection ( ) const
inline

Definition at line 242 of file sdpage.hxx.

Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().

◆ getTransitionDuration()

double SdPage::getTransitionDuration ( ) const
inline

◆ getTransitionFadeColor()

sal_Int32 SdPage::getTransitionFadeColor ( ) const
inline

Definition at line 245 of file sdpage.hxx.

References mnTransitionFadeColor.

Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().

◆ getTransitionSubtype()

sal_Int16 SdPage::getTransitionSubtype ( ) const
inline

Definition at line 239 of file sdpage.hxx.

Referenced by SdDrawDocument::CreatePage(), and SdGenericDrawPage::getPropertyValue().

◆ getTransitionType()

sal_Int16 SdPage::getTransitionType ( ) const
inline

◆ hasAnimationNode()

bool SdPage::hasAnimationNode ( ) const

quick check if this slide has an animation node.

This can be used to have a cost free check if there are no animations ad this slide. If it returns true this does not mean that there are animations available.

Definition at line 93 of file sdpage_animations.cxx.

References mxAnimationNode.

Referenced by sd::EffectMigration::DocumentLoaded(), notifyObjectRenamed(), sd::UndoObjectSetText::UndoObjectSetText(), and sd::UndoRemovePresObjectImpl::UndoRemovePresObjectImpl().

◆ InsertAutoLayoutShape()

SdrObject * SdPage::InsertAutoLayoutShape ( SdrObject pObj1,
PresObjKind  eObjKind,
bool  bVertical,
const ::tools::Rectangle rRect,
bool  bInit 
)

reuses or creates a presentation shape for an auto layout that fits the given parameter

Parameters
eObjKindThe kind of presentation shape we like to have
nIndexIf > 1 we skip the first nIndex-1 shapes with the presentation shape kind eObjKind while looking for an existing presentation shape
bVerticalIf true, the shape is created vertical if bInit is true
rRectThe rectangle that should be used to transform the shape
bInitIf true the shape is created if not found
Returns
A presentation shape that was either found or created with the given parameters

Definition at line 2194 of file sdpage.cxx.

References SfxUndoManager::AddUndoAction(), convertPresentationObjectImpl(), CreatePresObj(), DynCastSdrTextObj(), SdrTextObj::GetObjIdentifier(), SdrPage::getSdrModelFromSdrPage(), InsertPresObj(), SdrTextObj::IsAutoGrowHeight(), SdrTextObj::IsAutoGrowWidth(), SfxUndoManager::IsInListAction(), SdrPage::IsInserted(), IsPresObj(), SdrTextObj::IsVerticalWriting(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextMinFrameHeightItem(), makeSdrTextMinFrameWidthItem(), SdrPage::mbMaster, Outline, SfxItemSet::Put(), SDRTEXTHORZADJUST_BLOCK, SDRTEXTHORZADJUST_RIGHT, SDRTEXTVERTADJUST_TOP, SdrObject::SetLogicRect(), SdrObject::SetMergedItem(), SdrObject::SetMergedItemSet(), SdrTextObj::SetVerticalWriting(), and Title.

Referenced by sd::OutlineView::CreateOutlineTextObject(), sd::OutlineView::CreateTitleTextObject(), sd::DrawView::DeleteMarked(), and SetAutoLayout().

◆ InsertPresObj()

void SdPage::InsertPresObj ( SdrObject pObj,
PresObjKind  eKind 
)

◆ IsExcluded()

bool SdPage::IsExcluded ( ) const
inline

◆ IsLoopSound()

bool SdPage::IsLoopSound ( ) const
inline

◆ IsPrecious()

bool SdPage::IsPrecious ( ) const
inline

The "precious" flag is used for master pages to prevent some unused master pages from being deleted automatically.

For pages other than master pages this flag can be ignored.

Returns
When this method returns <TRUE> for a master page then this master page should not be deleted automatically.

Definition at line 368 of file sdpage.hxx.

Referenced by sd::sidebar::DocumentHelper::AddMasterPage(), sd::sidebar::CurrentMasterPagesSelector::Fill(), and SdDrawDocument::RemoveUnnecessaryMasterPages().

◆ IsPresObj()

bool SdPage::IsPresObj ( const SdrObject pObj)

◆ IsReadOnly()

bool SdPage::IsReadOnly ( ) const
overridevirtual

Reimplemented from SdrObjList.

Definition at line 280 of file sdpage2.cxx.

◆ IsScaleObjects()

bool SdPage::IsScaleObjects ( ) const
inline

Definition at line 225 of file sdpage.hxx.

Referenced by SdDrawDocument::InsertBookmarkAsPage().

◆ IsSelected()

bool SdPage::IsSelected ( ) const
inline

◆ IsSoundOn()

bool SdPage::IsSoundOn ( ) const
inline

◆ IsStopSound()

bool SdPage::IsStopSound ( ) const
inline

Definition at line 234 of file sdpage.hxx.

Referenced by sd::impl::TransitionEffect::TransitionEffect().

◆ lateInit()

void SdPage::lateInit ( const SdPage rSrcPage)
private

◆ NbcInsertObject()

void SdPage::NbcInsertObject ( SdrObject pObj,
size_t  nPos = SAL_MAX_SIZE 
)
overridevirtual

◆ NbcRemoveObject()

rtl::Reference< SdrObject > SdPage::NbcRemoveObject ( size_t  nObjNum)
overridevirtual

◆ notifyObjectRenamed()

void SdPage::notifyObjectRenamed ( const SdrObject pObj)

Notify that the object has been renamed and the animation effects has to update.

Notify that the object has been renamed and the animation effect has to update.

Definition at line 82 of file sdpage_animations.cxx.

References getMainSequence(), and hasAnimationNode().

Referenced by sd::DrawViewShell::FuTemporary().

◆ onEndTextEdit()

void SdPage::onEndTextEdit ( SdrObject pObj)

callback from the sd::View when an object just left text edit mode

Definition at line 139 of file sdpage_animations.cxx.

References getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.

Referenced by sd::View::SdrEndTextEdit().

◆ onParagraphInserted()

void SdPage::onParagraphInserted ( const ::Outliner pOutliner,
Paragraph const *  pPara,
SdrObject pObj 
)

callback from the sd::View when a new paragraph for one object on this page is created

Definition at line 109 of file sdpage_animations.cxx.

References Any, getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.

Referenced by sd::IMPL_LINK().

◆ onParagraphRemoving()

void SdPage::onParagraphRemoving ( const ::Outliner pOutliner,
Paragraph const *  pPara,
SdrObject pObj 
)

callback from the sd::View when a paragraph from one object on this page is removed

Definition at line 124 of file sdpage_animations.cxx.

References Any, getMainSequence(), SdrObject::getUnoShape(), and mxAnimationNode.

Referenced by sd::IMPL_LINK().

◆ onRemoveObject()

void SdPage::onRemoveObject ( SdrObject pObject)
private

called before a shape is removed or replaced from this slide

Definition at line 1734 of file sdpage.cxx.

References SdrPage::getSdrModelFromSdrPage(), pObject, removeAnimations(), RemoveObject(), and RemovePresObj().

Referenced by NbcRemoveObject(), RemoveObject(), and ReplaceObject().

◆ operator=()

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

◆ removeAnimations()

void SdPage::removeAnimations ( const SdrObject pObj)

removes all custom animations for the given shape

Definition at line 68 of file sdpage_animations.cxx.

References getMainSequence(), mpMainSequence, and mxAnimationNode.

Referenced by onRemoveObject().

◆ removeAnnotation()

void SdPage::removeAnnotation ( const css::uno::Reference< css::office::XAnnotation > &  xAnnotation)

◆ RemoveEmptyPresentationObjects()

void SdPage::RemoveEmptyPresentationObjects ( )

removes all empty presentation objects from this slide

Definition at line 485 of file sdpage2.cxx.

References SdrObjListIter::Next(), and RemoveObject().

Referenced by SdDrawDocument::InsertBookmarkAsPage().

◆ RemoveObject()

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

◆ RemovePresObj()

void SdPage::RemovePresObj ( const SdrObject pObj)

◆ ReplaceObject()

rtl::Reference< SdrObject > SdPage::ReplaceObject ( SdrObject pNewObj,
size_t  nObjNum 
)
overridevirtual

Also override ReplaceObject methods to realize when objects are removed with this mechanism instead of RemoveObject.

Reimplemented from SdrObjList.

Definition at line 1726 of file sdpage.cxx.

References SdrObjList::GetObj(), onRemoveObject(), and SdrObjList::ReplaceObject().

◆ RestoreDefaultText()

bool SdPage::RestoreDefaultText ( SdrObject pObj)

◆ ScaleObjects()

void SdPage::ScaleObjects ( const Size rNewPageSize,
const ::tools::Rectangle rNewBorderRect,
bool  bScaleAllObj 
)

Definition at line 1807 of file sdpage.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), aName, SfxBroadcaster::Broadcast(), SdrObject::BroadcastObjectChange(), SfxItemSet::ClearInvalidItems(), SvxBulletItem::CopyValidProperties(), DynCastSdrTextObj(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_PARA_BULLET(), SfxItemSet::Get(), SdrObject::GetCurrentBoundRect(), SvxFontHeightItem::GetHeight(), SdrPage::GetHeight(), SfxStyleSheetBase::GetItemSet(), SfxItemSet::GetItemState(), GetLayoutName(), SdrPage::GetLeftBorder(), SdrObject::GetLogicRect(), SdrPage::GetLowerBorder(), SdrObject::GetMergedItem(), SdrObjList::GetObj(), SdrObjList::GetObjCount(), SdrObject::GetObjIdentifier(), SdrObject::GetOutlinerParaObject(), GetPresObj(), SdrPage::GetRightBorder(), EditTextObject::GetScriptType(), SdrPage::getSdrModelFromSdrPage(), tools::Rectangle::GetSize(), GetStyleSheetForPresObj(), OutlinerParaObject::GetTextObject(), SdrPage::GetUpperBorder(), SdrPage::GetWidth(), Size::Height(), i, SdrObject::IsEdgeObj(), IsPresObj(), maLockAutoLayoutArrangement, SdrPage::mbMaster, mbScaleObjects, SdrObject::NbcMove(), Notes, Outline, SfxItemSet::Put(), SdrObject::Resize(), rSet, SdrObject::SetChanged(), Size::setHeight(), SdrObject::SetMergedItem(), Size::setWidth(), Point::setX(), Point::setY(), Title, tools::Rectangle::TopLeft(), Size::Width(), Point::X(), and Point::Y().

Referenced by SdDrawDocument::AdaptPageSizeForAllPages(), SdDrawDocument::InsertBookmarkAsPage(), SdPageFormatUndoAction::Redo(), sd::DrawViewShell::SetupPage(), and SdPageFormatUndoAction::Undo().

◆ setAlienAttributes()

bool SdPage::setAlienAttributes ( const css::uno::Any &  rAttributes)

◆ setAnimationNode()

void SdPage::setAnimationNode ( css::uno::Reference< css::animations::XAnimationNode > const &  xNode)

sets the main animation node

Exceptions
css::uno::RuntimeException

Definition at line 60 of file sdpage_animations.cxx.

References mpMainSequence, and mxAnimationNode.

Referenced by cloneAnimations().

◆ SetAutoLayout()

void SdPage::SetAutoLayout ( AutoLayout  eLayout,
bool  bInit = false,
bool  bCreate = false 
)

◆ SetBookmarkName()

void SdPage::SetBookmarkName ( const OUString &  aName)
inline

◆ SetBorder()

void SdPage::SetBorder ( sal_Int32  nLft,
sal_Int32  nUpp,
sal_Int32  nRgt,
sal_Int32  Lwr 
)
overridevirtual

◆ SetExcluded()

void SdPage::SetExcluded ( bool  bNewExcluded)
inline

◆ SetFadeEffect()

void SdPage::SetFadeEffect ( css::presentation::FadeEffect  eNewEffect)

◆ SetFileName()

void SdPage::SetFileName ( const OUString &  aName)
inline

◆ setHeaderFooterSettings()

void SdPage::setHeaderFooterSettings ( const sd::HeaderFooterSettings rNewSettings)

◆ SetLayoutName()

void SdPage::SetLayoutName ( const OUString &  aName)

◆ SetLeftBorder()

void SdPage::SetLeftBorder ( sal_Int32  nBorder)
overridevirtual

◆ SetLoopSound()

void SdPage::SetLoopSound ( bool  bLoopSound)
inline

◆ SetLowerBorder()

void SdPage::SetLowerBorder ( sal_Int32  nBorder)
overridevirtual

◆ SetName()

void SdPage::SetName ( const OUString &  rName)

◆ SetObjText()

void SdPage::SetObjText ( SdrTextObj pObj,
SdrOutliner pOutliner,
PresObjKind  eObjKind,
std::u16string_view  rStr 
)

◆ SetOrientation()

void SdPage::SetOrientation ( Orientation  eOrient)
overridevirtual

◆ SetPageKind()

void SdPage::SetPageKind ( PageKind  ePgType)
inline

◆ SetPaperBin()

void SdPage::SetPaperBin ( sal_uInt16  nBin)
inline

◆ SetPrecious()

void SdPage::SetPrecious ( const bool  bIsPrecious)

◆ SetPresChange()

void SdPage::SetPresChange ( PresChange  eChange)
inline

◆ SetPresentationLayout()

void SdPage::SetPresentationLayout ( std::u16string_view  rLayoutName,
bool  bReplaceStyleSheets = true,
bool  bSetMasterPage = true,
bool  bReverseOrder = false 
)

◆ SetRightBorder()

void SdPage::SetRightBorder ( sal_Int32  nBorder)
overridevirtual

◆ SetSelected()

void SdPage::SetSelected ( bool  bSel)
inline

◆ SetSize()

void SdPage::SetSize ( const Size aSize)
overridevirtual

◆ SetSound()

void SdPage::SetSound ( bool  bNewSoundOn)
inline

◆ SetSoundFile()

void SdPage::SetSoundFile ( const OUString &  rStr)
inline

◆ SetStopSound()

void SdPage::SetStopSound ( bool  bStopSound)
inline

◆ SetTime()

void SdPage::SetTime ( double  fNewTime)
inline

◆ setTransitionDirection()

void SdPage::setTransitionDirection ( bool  bTransitionbDirection)

◆ setTransitionDuration()

void SdPage::setTransitionDuration ( double  fTransitionDuration)

◆ setTransitionFadeColor()

void SdPage::setTransitionFadeColor ( sal_Int32  nTransitionFadeColor)

◆ setTransitionSubtype()

void SdPage::setTransitionSubtype ( sal_Int16  nTransitionSubtype)

◆ setTransitionType()

void SdPage::setTransitionType ( sal_Int16  nTransitionType)

◆ SetUpperBorder()

void SdPage::SetUpperBorder ( sal_Int32  nBorder)
overridevirtual

Friends And Related Function Documentation

◆ ModifyPageUndoAction

friend class ModifyPageUndoAction
friend

Definition at line 101 of file sdpage.hxx.

◆ sd::UndoAnimation

friend class sd::UndoAnimation
friend

Definition at line 99 of file sdpage.hxx.

◆ sd::UndoAttrObject

friend class sd::UndoAttrObject
friend

Definition at line 103 of file sdpage.hxx.

◆ sd::UndoGeoObject

friend class sd::UndoGeoObject
friend

Definition at line 102 of file sdpage.hxx.

◆ sd::UndoTransition

friend class sd::UndoTransition
friend

Definition at line 100 of file sdpage.hxx.

◆ SdDrawPage

friend class SdDrawPage
friend

Definition at line 98 of file sdpage.hxx.

◆ SdGenericDrawPage

friend class SdGenericDrawPage
friend

Definition at line 97 of file sdpage.hxx.

Member Data Documentation

◆ maAnnotations

sd::AnnotationVector SdPage::maAnnotations
private

Definition at line 126 of file sdpage.hxx.

Referenced by addAnnotation(), lateInit(), and removeAnnotation().

◆ maBookmarkName

OUString SdPage::maBookmarkName
private

Bookmark name.

Definition at line 120 of file sdpage.hxx.

Referenced by ConnectLink(), Equals(), and lateInit().

◆ maCreatedPageName

OUString SdPage::maCreatedPageName
private

generated page name by GetPageName.

Definition at line 118 of file sdpage.hxx.

Referenced by GetName(), and lateInit().

◆ maFileName

OUString SdPage::maFileName
private

file name.

Definition at line 119 of file sdpage.hxx.

Referenced by ConnectLink(), and lateInit().

◆ maHeaderFooterSettings

sd::HeaderFooterSettings SdPage::maHeaderFooterSettings
private

Definition at line 140 of file sdpage.hxx.

Referenced by getHeaderFooterSettings(), and setHeaderFooterSettings().

◆ maLayoutName

OUString SdPage::maLayoutName
private

Name of the layout.

Definition at line 114 of file sdpage.hxx.

Referenced by CreatePresObj(), EndListenOutlineText(), Equals(), lateInit(), SdPage(), SetLayoutName(), and SetPresentationLayout().

◆ maLockAutoLayoutArrangement

sd::ScopeLock SdPage::maLockAutoLayoutArrangement
private

Definition at line 108 of file sdpage.hxx.

Referenced by Changed(), ScaleObjects(), and SetAutoLayout().

◆ maPresentationShapeList

sd::ShapeList SdPage::maPresentationShapeList
private

presentation objects

Definition at line 107 of file sdpage.hxx.

Referenced by GetPresObj(), GetPresObjKind(), InsertPresObj(), IsPresObj(), lateInit(), RemovePresObj(), and SetAutoLayout().

◆ maSoundFile

OUString SdPage::maSoundFile
private

Path to sound file (MS-DOS notation).

Definition at line 115 of file sdpage.hxx.

Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().

◆ mbExcluded

bool SdPage::mbExcluded
private

will (not) be displayed during show.

Definition at line 113 of file sdpage.hxx.

Referenced by Equals(), and lateInit().

◆ mbIsPrecious

bool SdPage::mbIsPrecious
private

Definition at line 387 of file sdpage.hxx.

Referenced by lateInit(), and SetPrecious().

◆ mbLoopSound

bool SdPage::mbLoopSound
private

Definition at line 116 of file sdpage.hxx.

Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().

◆ mbScaleObjects

bool SdPage::mbScaleObjects
private

Objects should be scaled.

Definition at line 121 of file sdpage.hxx.

Referenced by Equals(), lateInit(), and ScaleObjects().

◆ mbSelected

bool SdPage::mbSelected
private

selection identifier

Definition at line 109 of file sdpage.hxx.

Referenced by lateInit().

◆ mbSoundOn

bool SdPage::mbSoundOn
private

with / without sound.

Definition at line 112 of file sdpage.hxx.

Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().

◆ mbStopSound

bool SdPage::mbStopSound
private

Definition at line 117 of file sdpage.hxx.

Referenced by Equals(), lateInit(), and sd::UndoTransition::UndoTransition().

◆ mbTransitionDirection

bool SdPage::mbTransitionDirection
private

◆ meAutoLayout

AutoLayout SdPage::meAutoLayout
private

AutoLayout.

Definition at line 106 of file sdpage.hxx.

Referenced by Equals(), lateInit(), ModifyPageUndoAction::Redo(), and SetAutoLayout().

◆ meCharSet

rtl_TextEncoding SdPage::meCharSet
private

Text encoding.

Definition at line 122 of file sdpage.hxx.

Referenced by Equals(), and lateInit().

◆ mePageKind

PageKind SdPage::mePageKind
private

◆ mePresChange

PresChange SdPage::mePresChange
private

manual / automatic / semi automatic

Definition at line 110 of file sdpage.hxx.

Referenced by Equals(), and lateInit().

◆ mfTime

double SdPage::mfTime
private

Display time in seconds.

Definition at line 111 of file sdpage.hxx.

Referenced by Equals(), and lateInit().

◆ mfTransitionDuration

double SdPage::mfTransitionDuration
private

◆ mnLastPageId

sal_uInt16 SdPage::mnLastPageId = 1
static

Definition at line 384 of file sdpage.hxx.

◆ mnPageId

sal_uInt16 SdPage::mnPageId
private

Definition at line 390 of file sdpage.hxx.

◆ mnPaperBin

sal_uInt16 SdPage::mnPaperBin
private

PaperBin.

Definition at line 123 of file sdpage.hxx.

Referenced by Equals(), and lateInit().

◆ mnTransitionFadeColor

sal_Int32 SdPage::mnTransitionFadeColor
private

◆ mnTransitionSubtype

sal_Int16 SdPage::mnTransitionSubtype
private

◆ mnTransitionType

sal_Int16 SdPage::mnTransitionType
private

◆ mpItems

std::unique_ptr<SfxItemSet> SdPage::mpItems
private

Definition at line 136 of file sdpage.hxx.

Referenced by getAlienAttributes(), and getOrCreateItems().

◆ mpMainSequence

std::shared_ptr< sd::MainSequence > SdPage::mpMainSequence
private

a helper class to manipulate effects inside the main sequence

Definition at line 132 of file sdpage.hxx.

Referenced by getMainSequence(), removeAnimations(), and setAnimationNode().

◆ mpPageLink

SdPageLink* SdPage::mpPageLink
private

Page link (at left sides only)

Definition at line 124 of file sdpage.hxx.

Referenced by ConnectLink(), DisconnectLink(), and lateInit().

◆ mxAnimationNode

css::uno::Reference< css::animations::XAnimationNode > SdPage::mxAnimationNode
private

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