diff options
Diffstat (limited to 'sd/inc/sdpage.hxx')
-rw-r--r-- | sd/inc/sdpage.hxx | 174 |
1 files changed, 87 insertions, 87 deletions
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index bd330616969c..937d966e41f3 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -94,7 +94,7 @@ namespace sd { bool mbDateTimeVisible; bool mbDateTimeIsFixed; String maDateTimeText; - int meDateTimeFormat; + int meDateTimeFormat; HeaderFooterSettings(); @@ -122,31 +122,31 @@ friend class sd::UndoGeoObject; friend class sd::UndoAttrObject; protected: - PageKind mePageKind; // Seitentyp - AutoLayout meAutoLayout; // AutoLayout - sd::ShapeList maPresentationShapeList; // Praesentationsobjekte + PageKind mePageKind; // Seitentyp + AutoLayout meAutoLayout; // AutoLayout + sd::ShapeList maPresentationShapeList; // Praesentationsobjekte sd::ScopeLock maLockAutoLayoutArrangement; - BOOL mbSelected; // Selektionskennung - PresChange mePresChange; // manuell/automatisch/halbautomatisch - UINT32 mnTime; // Anzeigedauer in Sekunden - BOOL mbSoundOn; // mit/ohne Sound (TRUE/FALSE) - BOOL mbExcluded; // wird in der Show nicht/doch + BOOL mbSelected; // Selektionskennung + PresChange mePresChange; // manuell/automatisch/halbautomatisch + UINT32 mnTime; // Anzeigedauer in Sekunden + BOOL mbSoundOn; // mit/ohne Sound (TRUE/FALSE) + BOOL mbExcluded; // wird in der Show nicht/doch // angezeigt (TRUE/FALSE) - String maLayoutName; // Name des Layouts + String maLayoutName; // Name des Layouts String maSoundFile; // Pfad zum Soundfile (MSDOS-Notation) - bool mbLoopSound; - bool mbStopSound; + bool mbLoopSound; + bool mbStopSound; String maCreatedPageName; // von GetPageName erzeugter Seitenname String maFileName; // Filename - String maBookmarkName; // Bookmarkname - BOOL mbScaleObjects; // Objekte sollen skaliert werden - BOOL mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen + String maBookmarkName; // Bookmarkname + BOOL mbScaleObjects; // Objekte sollen skaliert werden + BOOL mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen rtl_TextEncoding meCharSet; // Text-Encoding USHORT mnPaperBin; // PaperBin Orientation meOrientation; // Print-Orientation - SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten) + SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten) - sd::AnnotationVector maAnnotations; + sd::AnnotationVector maAnnotations; /** holds the smil animation sequences for this page */ ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > mxAnimationNode; @@ -156,11 +156,11 @@ protected: virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > createUnoPage(); - SfxItemSet* mpItems; + SfxItemSet* mpItems; SfxItemSet* getOrCreateItems(); - sd::HeaderFooterSettings maHeaderFooterSettings; + sd::HeaderFooterSettings maHeaderFooterSettings; // new transition settings sal_Int16 mnTransitionType; @@ -178,40 +178,40 @@ public: virtual SdrPage* Clone() const; virtual SdrPage* Clone(SdrModel* pNewModel) const; - virtual void SetSize(const Size& aSize); - virtual void SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 Lwr); - virtual void SetLftBorder(INT32 nBorder); - virtual void SetRgtBorder(INT32 nBorder); - virtual void SetUppBorder(INT32 nBorder); - virtual void SetLwrBorder(INT32 nBorder); - virtual void SetModel(SdrModel* pNewModel); + virtual void SetSize(const Size& aSize); + virtual void SetBorder(INT32 nLft, INT32 nUpp, INT32 nRgt, INT32 Lwr); + virtual void SetLftBorder(INT32 nBorder); + virtual void SetRgtBorder(INT32 nBorder); + virtual void SetUppBorder(INT32 nBorder); + virtual void SetLwrBorder(INT32 nBorder); + virtual void SetModel(SdrModel* pNewModel); virtual bool IsReadOnly() const; - sd::ShapeList& GetPresentationShapeList() { return maPresentationShapeList; } + sd::ShapeList& GetPresentationShapeList() { return maPresentationShapeList; } void EnsureMasterPageDefaultBackground(); SdrObject* CreatePresObj(PresObjKind eObjKind, BOOL bVertical, const Rectangle& rRect, BOOL bInsert=FALSE); - SdrObject* CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert); - SdrObject* GetPresObj(PresObjKind eObjKind, int nIndex = 1, bool bFuzzySearch = false ); + SdrObject* CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert); + SdrObject* GetPresObj(PresObjKind eObjKind, int nIndex = 1, bool bFuzzySearch = false ); PresObjKind GetPresObjKind(SdrObject* pObj) const; String GetPresObjText(PresObjKind eObjKind) const; SfxStyleSheet* GetStyleSheetForMasterPageBackground() const; - SfxStyleSheet* GetStyleSheetForPresObj(PresObjKind eObjKind) const; - bool RestoreDefaultText( SdrObject* pObj ); + SfxStyleSheet* GetStyleSheetForPresObj(PresObjKind eObjKind) const; + bool RestoreDefaultText( SdrObject* pObj ); /** returns true if the given SdrObject is inside the presentation object list */ - bool IsPresObj(const SdrObject* pObj); + bool IsPresObj(const SdrObject* pObj); /** removes the given SdrObject from the presentation object list */ - void RemovePresObj(const SdrObject* pObj); + void RemovePresObj(const SdrObject* pObj); /** inserts the given SdrObject into the presentation object list */ - void InsertPresObj(SdrObject* pObj, PresObjKind eKind ); + void InsertPresObj(SdrObject* pObj, PresObjKind eKind ); - void SetAutoLayout(AutoLayout eLayout, BOOL bInit=FALSE, BOOL bCreate=FALSE); - AutoLayout GetAutoLayout() const { return meAutoLayout; } + void SetAutoLayout(AutoLayout eLayout, BOOL bInit=FALSE, BOOL bCreate=FALSE); + AutoLayout GetAutoLayout() const { return meAutoLayout; } void CreateTitleAndLayout(BOOL bInit=FALSE, BOOL bCreate=FALSE); - SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Rectangle aRect, bool bInit ); + SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Rectangle aRect, bool bInit ); virtual void NbcInsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL); @@ -225,86 +225,86 @@ public: virtual void SetLinkData(const String& rLinkName, const String& rLinkData); - void SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rStr ); + void SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eObjKind, const String& rStr ); - void SetPageKind(PageKind ePgType) { mePageKind = ePgType; } - PageKind GetPageKind() const { return mePageKind; } + void SetPageKind(PageKind ePgType) { mePageKind = ePgType; } + PageKind GetPageKind() const { return mePageKind; } - void SetSelected(BOOL bSel) { mbSelected = bSel; } - BOOL IsSelected() const { return mbSelected; } + void SetSelected(BOOL bSel) { mbSelected = bSel; } + BOOL IsSelected() const { return mbSelected; } - void SetFadeEffect(::com::sun::star::presentation::FadeEffect eNewEffect); - ::com::sun::star::presentation::FadeEffect GetFadeEffect() const; + void SetFadeEffect(::com::sun::star::presentation::FadeEffect eNewEffect); + ::com::sun::star::presentation::FadeEffect GetFadeEffect() const; - void SetPresChange(PresChange eChange) { mePresChange = eChange; } - PresChange GetPresChange() const { return mePresChange; } + void SetPresChange(PresChange eChange) { mePresChange = eChange; } + PresChange GetPresChange() const { return mePresChange; } - void SetTime(UINT32 nNewTime) { mnTime = nNewTime; } - UINT32 GetTime() const { return mnTime; } + void SetTime(UINT32 nNewTime) { mnTime = nNewTime; } + UINT32 GetTime() const { return mnTime; } - void SetSound(BOOL bNewSoundOn) { mbSoundOn = bNewSoundOn; } - BOOL IsSoundOn() const { return mbSoundOn; } + void SetSound(BOOL bNewSoundOn) { mbSoundOn = bNewSoundOn; } + BOOL IsSoundOn() const { return mbSoundOn; } - void SetExcluded(BOOL bNewExcluded) { mbExcluded = bNewExcluded; } - BOOL IsExcluded() const { return mbExcluded; } + void SetExcluded(BOOL bNewExcluded) { mbExcluded = bNewExcluded; } + BOOL IsExcluded() const { return mbExcluded; } - void SetScaleObjects(BOOL bScale) { mbScaleObjects = bScale; } - BOOL IsScaleObjects() const { return mbScaleObjects; } + void SetScaleObjects(BOOL bScale) { mbScaleObjects = bScale; } + BOOL IsScaleObjects() const { return mbScaleObjects; } - void SetSoundFile(const String& rStr) { maSoundFile = rStr; } - String GetSoundFile() const { return maSoundFile; } + void SetSoundFile(const String& rStr) { maSoundFile = rStr; } + String GetSoundFile() const { return maSoundFile; } - void SetLoopSound( bool bLoopSound ) { mbLoopSound = bLoopSound; } - bool IsLoopSound() const { return mbLoopSound; } + void SetLoopSound( bool bLoopSound ) { mbLoopSound = bLoopSound; } + bool IsLoopSound() const { return mbLoopSound; } - void SetStopSound( bool bStopSound ) { mbStopSound = bStopSound; } - bool IsStopSound() const { return mbStopSound; } + void SetStopSound( bool bStopSound ) { mbStopSound = bStopSound; } + bool IsStopSound() const { return mbStopSound; } - sal_Int16 getTransitionType() const; - void setTransitionType( sal_Int16 nTransitionType ); + sal_Int16 getTransitionType() const; + void setTransitionType( sal_Int16 nTransitionType ); - sal_Int16 getTransitionSubtype() const; - void setTransitionSubtype( sal_Int16 nTransitionSubtype ); + sal_Int16 getTransitionSubtype() const; + void setTransitionSubtype( sal_Int16 nTransitionSubtype ); - sal_Bool getTransitionDirection() const; - void setTransitionDirection( sal_Bool bTransitionbDirection ); + sal_Bool getTransitionDirection() const; + void setTransitionDirection( sal_Bool bTransitionbDirection ); - sal_Int32 getTransitionFadeColor() const; - void setTransitionFadeColor( sal_Int32 nTransitionFadeColor ); + sal_Int32 getTransitionFadeColor() const; + void setTransitionFadeColor( sal_Int32 nTransitionFadeColor ); - double getTransitionDuration() const; - void setTransitionDuration( double fTranstionDuration ); + double getTransitionDuration() const; + void setTransitionDuration( double fTranstionDuration ); // Virtuelle Methoden von SdrObjUserCall virtual void Changed(const SdrObject& rObj, SdrUserCallType eType, const Rectangle& rOldBoundRect); - void SetLayoutName(String aName); - virtual String GetLayoutName() const { return maLayoutName; } + void SetLayoutName(String aName); + virtual String GetLayoutName() const { return maLayoutName; } - void SetFileName(const String& aName) { maFileName = aName; } - virtual String GetFileName() const { return maFileName; } - void SetBookmarkName(const String& aName) { maBookmarkName = aName; } - virtual String GetBookmarkName() const { return maBookmarkName; } - SdPageLink* GetLink() { return mpPageLink; } + void SetFileName(const String& aName) { maFileName = aName; } + virtual String GetFileName() const { return maFileName; } + void SetBookmarkName(const String& aName) { maBookmarkName = aName; } + virtual String GetBookmarkName() const { return maBookmarkName; } + SdPageLink* GetLink() { return mpPageLink; } - void ConnectLink(); - void DisconnectLink(); + void ConnectLink(); + void DisconnectLink(); void ScaleObjects(const Size& rNewPageSize, const Rectangle& rNewBorderRect, BOOL bScaleAllObj); const String& GetName() const; - String GetRealName() const { return FmFormPage::GetName(); }; + String GetRealName() const { return FmFormPage::GetName(); }; void SetPresentationLayout(const String& rLayoutName, BOOL bReplaceStyleSheets = TRUE, BOOL bSetMasterPage = TRUE, BOOL bReverseOrder = FALSE); - void EndListenOutlineText(); + void EndListenOutlineText(); - void SetBackgroundFullSize( BOOL bIn ); - BOOL IsBackgroundFullSize() const { return mbBackgroundFullSize; } + void SetBackgroundFullSize( BOOL bIn ); + BOOL IsBackgroundFullSize() const { return mbBackgroundFullSize; } rtl_TextEncoding GetCharSet() { return(meCharSet); } @@ -352,8 +352,8 @@ public: like printing. */ virtual bool checkVisibility( - const sdr::contact::ViewObjectContact& rOriginal, - const sdr::contact::DisplayInfo& rDisplayInfo, + const sdr::contact::ViewObjectContact& rOriginal, + const sdr::contact::DisplayInfo& rDisplayInfo, bool bEdit ); /** callback from the sd::View when a new paragraph for one object on this page is created */ @@ -407,6 +407,6 @@ private: void onRemoveObject( SdrObject* pObject ); }; -#endif // _SDPAGE_HXX +#endif // _SDPAGE_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |