diff options
Diffstat (limited to 'sd/inc/sdpage.hxx')
-rw-r--r-- | sd/inc/sdpage.hxx | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index a8ae44b9b524..68431d0c82d4 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -126,12 +126,12 @@ protected: AutoLayout meAutoLayout; // AutoLayout sd::ShapeList maPresentationShapeList; // Praesentationsobjekte sd::ScopeLock maLockAutoLayoutArrangement; - BOOL mbSelected; // Selektionskennung + sal_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) + sal_uInt32 mnTime; // Anzeigedauer in Sekunden + sal_Bool mbSoundOn; // mit/ohne Sound (sal_True/sal_False) + sal_Bool mbExcluded; // wird in der Show nicht/doch + // angezeigt (sal_True/sal_False) String maLayoutName; // Name des Layouts String maSoundFile; // Pfad zum Soundfile (MSDOS-Notation) bool mbLoopSound; @@ -139,10 +139,10 @@ protected: 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 + sal_Bool mbScaleObjects; // Objekte sollen skaliert werden + sal_Bool mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen rtl_TextEncoding meCharSet; // Text-Encoding - USHORT mnPaperBin; // PaperBin + sal_uInt16 mnPaperBin; // PaperBin Orientation meOrientation; // Print-Orientation SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten) @@ -172,25 +172,25 @@ protected: public: TYPEINFO(); - SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, BOOL bMasterPage=FALSE); + SdPage(SdDrawDocument& rNewDoc, StarBASIC* pBasic, sal_Bool bMasterPage=sal_False); SdPage(const SdPage& rSrcPage); ~SdPage(); 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 SetBorder(sal_Int32 nLft, sal_Int32 nUpp, sal_Int32 nRgt, sal_Int32 Lwr); + virtual void SetLftBorder(sal_Int32 nBorder); + virtual void SetRgtBorder(sal_Int32 nBorder); + virtual void SetUppBorder(sal_Int32 nBorder); + virtual void SetLwrBorder(sal_Int32 nBorder); virtual void SetModel(SdrModel* pNewModel); virtual bool IsReadOnly() const; sd::ShapeList& GetPresentationShapeList() { return maPresentationShapeList; } void EnsureMasterPageDefaultBackground(); - SdrObject* CreatePresObj(PresObjKind eObjKind, BOOL bVertical, const Rectangle& rRect, BOOL bInsert=FALSE); + SdrObject* CreatePresObj(PresObjKind eObjKind, sal_Bool bVertical, const Rectangle& rRect, sal_Bool bInsert=sal_False); SdrObject* CreateDefaultPresObj(PresObjKind eObjKind, bool bInsert); SdrObject* GetPresObj(PresObjKind eObjKind, int nIndex = 1, bool bFuzzySearch = false ); PresObjKind GetPresObjKind(SdrObject* pObj) const; @@ -208,20 +208,20 @@ public: /** inserts the given SdrObject into the presentation object list */ void InsertPresObj(SdrObject* pObj, PresObjKind eKind ); - void SetAutoLayout(AutoLayout eLayout, BOOL bInit=FALSE, BOOL bCreate=FALSE); + void SetAutoLayout(AutoLayout eLayout, sal_Bool bInit=sal_False, sal_Bool bCreate=sal_False); AutoLayout GetAutoLayout() const { return meAutoLayout; } - void CreateTitleAndLayout(BOOL bInit=FALSE, BOOL bCreate=FALSE); + void CreateTitleAndLayout(sal_Bool bInit=sal_False, sal_Bool bCreate=sal_False); SdrObject* InsertAutoLayoutShape(SdrObject* pObj, PresObjKind eObjKind, bool bVertical, Rectangle aRect, bool bInit ); - virtual void NbcInsertObject(SdrObject* pObj, ULONG nPos=CONTAINER_APPEND, + virtual void NbcInsertObject(SdrObject* pObj, sal_uLong nPos=CONTAINER_APPEND, const SdrInsertReason* pReason=NULL); - virtual SdrObject* NbcRemoveObject(ULONG nObjNum); - virtual SdrObject* RemoveObject(ULONG nObjNum); + virtual SdrObject* NbcRemoveObject(sal_uLong nObjNum); + virtual SdrObject* RemoveObject(sal_uLong nObjNum); // Also overload ReplaceObject methods to realize when // objects are removed with this mechanism instead of RemoveObject - virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, ULONG nObjNum); - virtual SdrObject* ReplaceObject(SdrObject* pNewObj, ULONG nObjNum); + virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum); + virtual SdrObject* ReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum); virtual void SetLinkData(const String& rLinkName, const String& rLinkData); @@ -230,8 +230,8 @@ public: void SetPageKind(PageKind ePgType) { mePageKind = ePgType; } PageKind GetPageKind() const { return mePageKind; } - void SetSelected(BOOL bSel) { mbSelected = bSel; } - BOOL IsSelected() const { return mbSelected; } + void SetSelected(sal_Bool bSel) { mbSelected = bSel; } + sal_Bool IsSelected() const { return mbSelected; } void SetFadeEffect(::com::sun::star::presentation::FadeEffect eNewEffect); ::com::sun::star::presentation::FadeEffect GetFadeEffect() const; @@ -239,17 +239,17 @@ public: void SetPresChange(PresChange eChange) { mePresChange = eChange; } PresChange GetPresChange() const { return mePresChange; } - void SetTime(UINT32 nNewTime) { mnTime = nNewTime; } - UINT32 GetTime() const { return mnTime; } + void SetTime(sal_uInt32 nNewTime) { mnTime = nNewTime; } + sal_uInt32 GetTime() const { return mnTime; } - void SetSound(BOOL bNewSoundOn) { mbSoundOn = bNewSoundOn; } - BOOL IsSoundOn() const { return mbSoundOn; } + void SetSound(sal_Bool bNewSoundOn) { mbSoundOn = bNewSoundOn; } + sal_Bool IsSoundOn() const { return mbSoundOn; } - void SetExcluded(BOOL bNewExcluded) { mbExcluded = bNewExcluded; } - BOOL IsExcluded() const { return mbExcluded; } + void SetExcluded(sal_Bool bNewExcluded) { mbExcluded = bNewExcluded; } + sal_Bool IsExcluded() const { return mbExcluded; } - void SetScaleObjects(BOOL bScale) { mbScaleObjects = bScale; } - BOOL IsScaleObjects() const { return mbScaleObjects; } + void SetScaleObjects(sal_Bool bScale) { mbScaleObjects = bScale; } + sal_Bool IsScaleObjects() const { return mbScaleObjects; } void SetSoundFile(const String& rStr) { maSoundFile = rStr; } String GetSoundFile() const { return maSoundFile; } @@ -292,24 +292,24 @@ public: void DisconnectLink(); void ScaleObjects(const Size& rNewPageSize, const Rectangle& rNewBorderRect, - BOOL bScaleAllObj); + sal_Bool bScaleAllObj); const String& GetName() const; String GetRealName() const { return FmFormPage::GetName(); }; void SetPresentationLayout(const String& rLayoutName, - BOOL bReplaceStyleSheets = TRUE, - BOOL bSetMasterPage = TRUE, - BOOL bReverseOrder = FALSE); + sal_Bool bReplaceStyleSheets = sal_True, + sal_Bool bSetMasterPage = sal_True, + sal_Bool bReverseOrder = sal_False); void EndListenOutlineText(); - void SetBackgroundFullSize( BOOL bIn ); - BOOL IsBackgroundFullSize() const { return mbBackgroundFullSize; } + void SetBackgroundFullSize( sal_Bool bIn ); + sal_Bool IsBackgroundFullSize() const { return mbBackgroundFullSize; } rtl_TextEncoding GetCharSet() { return(meCharSet); } - void SetPaperBin(USHORT nBin) { mnPaperBin = nBin; } - USHORT GetPaperBin() const { return mnPaperBin; } + void SetPaperBin(sal_uInt16 nBin) { mnPaperBin = nBin; } + sal_uInt16 GetPaperBin() const { return mnPaperBin; } virtual void SetOrientation(Orientation eOrient); virtual Orientation GetOrientation() const; |