diff options
author | Norah Abanimy <nabanimy@kacst.edu.sa> | 2012-07-30 10:34:33 +0300 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2012-08-01 16:15:08 +0200 |
commit | 15a79a36b129d51972c02992248eae88715ddccf (patch) | |
tree | 572baf54bb1f315a1d5bd2ceb0f44adcd9c1592e /sd/inc | |
parent | 0fc413a327242adc1eb4c196179fdf660229edc9 (diff) |
Convert documents to follow the doxygen standard
Change-Id: I9086f6129f61afba6b7d0317248756cde34f075b
Diffstat (limited to 'sd/inc')
-rw-r--r-- | sd/inc/anminfo.hxx | 40 | ||||
-rw-r--r-- | sd/inc/drawdoc.hxx | 12 | ||||
-rw-r--r-- | sd/inc/pres.hxx | 32 | ||||
-rw-r--r-- | sd/inc/sdpage.hxx | 60 | ||||
-rw-r--r-- | sd/inc/sdpptwrp.hxx | 5 | ||||
-rw-r--r-- | sd/inc/sdxmlwrp.hxx | 6 | ||||
-rw-r--r-- | sd/inc/shapelist.hxx | 4 |
7 files changed, 81 insertions, 78 deletions
diff --git a/sd/inc/anminfo.hxx b/sd/inc/anminfo.hxx index 2b8379aecee4..605863bc2d15 100644 --- a/sd/inc/anminfo.hxx +++ b/sd/inc/anminfo.hxx @@ -37,26 +37,26 @@ public: PresObjKind mePresObjKind; /* deprecated animation infos */ - ::com::sun::star::presentation::AnimationEffect meEffect; // Animationseffekt - ::com::sun::star::presentation::AnimationEffect meTextEffect; // Animationseffekt fuer Textinhalt - ::com::sun::star::presentation::AnimationSpeed meSpeed; // Geschwindigkeit der Animation - sal_Bool mbActive; // eingeschaltet ? - sal_Bool mbDimPrevious; // Objekt abblenden - sal_Bool mbIsMovie; // wenn Gruppenobjekt, dann Sequenz aus den - sal_Bool mbDimHide; // verstecken statt abblenden - Color maBlueScreen; // identifiziert "Hintergrundpixel" - Color maDimColor; // zum Abblenden des Objekts - String maSoundFile; // Pfad zum Soundfile in MSDOS-Notation - sal_Bool mbSoundOn; // Sound ein/aus - sal_Bool mbPlayFull; // Sound ganz abspielen - SdrPathObj* mpPathObj; // das Pfadobjekt - ::com::sun::star::presentation::ClickAction meClickAction; // Aktion bei Mausklick - ::com::sun::star::presentation::AnimationEffect meSecondEffect; // fuer Objekt ausblenden - ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; // fuer Objekt ausblenden - String maSecondSoundFile; // fuer Objekt ausblenden - sal_Bool mbSecondSoundOn; // fuer Objekt ausblenden - sal_Bool mbSecondPlayFull;// fuer Objekt ausblenden - sal_uInt16 mnVerb; // fuer OLE-Objekt + ::com::sun::star::presentation::AnimationEffect meEffect; ///< Animation effect + ::com::sun::star::presentation::AnimationEffect meTextEffect; ///< Animation effect for text + ::com::sun::star::presentation::AnimationSpeed meSpeed; ///< Speed of the animation + sal_Bool mbActive; ///< turned on? + sal_Bool mbDimPrevious; ///< Object Dim + sal_Bool mbIsMovie; ///< wenn Gruppenobjekt, dann Sequenz aus den + sal_Bool mbDimHide; ///< hide rather than dim + Color maBlueScreen; ///< identifies "background pixels" + Color maDimColor; ///< zum Abblenden des Objekts + String maSoundFile; ///< Path to the sound file in MS DOS notation + sal_Bool mbSoundOn; ///< Sound on / off + sal_Bool mbPlayFull; ///< Play sound quite + SdrPathObj* mpPathObj; ///< The path object + ::com::sun::star::presentation::ClickAction meClickAction; ///< Action at mouse click + ::com::sun::star::presentation::AnimationEffect meSecondEffect; ///< for Hidden object + ::com::sun::star::presentation::AnimationSpeed meSecondSpeed; ///< for Hidden object + String maSecondSoundFile; ///< for Hidden object + sal_Bool mbSecondSoundOn; ///< for Hidden object + sal_Bool mbSecondPlayFull;///< ffor Hidden object + sal_uInt16 mnVerb; ///< for OLE object sal_uLong mnPresOrder; SdrObject& mrObject; diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx index 5063f4bab29b..3e724439fac8 100644 --- a/sd/inc/drawdoc.hxx +++ b/sd/inc/drawdoc.hxx @@ -146,8 +146,8 @@ namespace sd class SdDrawDocument : public FmFormModel { private: - ::sd::Outliner* mpOutliner; // local outliner for outline mode - ::sd::Outliner* mpInternalOutliner; // internal outliner for creation of text objects + ::sd::Outliner* mpOutliner; ///< local outliner for outline mode + ::sd::Outliner* mpInternalOutliner; ///< internal outliner for creation of text objects Timer* mpWorkStartupTimer; Timer* mpOnlineSpellingTimer; sd::ShapeList* mpOnlineSpellingList; @@ -169,7 +169,7 @@ private: sal_Bool mbOnlineSpell; sal_Bool mbSummationOfParagraphs; - bool mbStartWithPresentation; // is set to true when starting with command line parameter -start + bool mbStartWithPresentation; ///< is set to true when starting with command line parameter -start LanguageType meLanguage; LanguageType meLanguageCJK; LanguageType meLanguageCTL; @@ -550,7 +550,7 @@ public: sd::UndoManager* GetUndoManager() const; - /* converts the given western font height to a corresponding ctl font height, deppending on the system language */ + /** converts the given western font height to a corresponding ctl font height, deppending on the system language */ static sal_uInt32 convertFontHeightToCTL( sal_uInt32 nWesternFontHeight ); /** Get the style sheet pool if it was a SdStyleSheetPool. @@ -639,8 +639,8 @@ private: namespace sd { -// an instance of this guard disables modification of a document -// during its lifetime +/**an instance of this guard disables modification of a document + during its lifetime*/ class ModifyGuard { public: diff --git a/sd/inc/pres.hxx b/sd/inc/pres.hxx index 04d3a0c75345..ce1e05feb441 100644 --- a/sd/inc/pres.hxx +++ b/sd/inc/pres.hxx @@ -48,22 +48,22 @@ enum AutoLayout { // new layouts with enum/text/chart/org/clip merged to content AUTOLAYOUT__START = 0, - AUTOLAYOUT_TITLE = 0, // Title Slide - AUTOLAYOUT_TITLE_CONTENT = 1, // Title, Content - AUTOLAYOUT_TITLE_2CONTENT = 3, // Title and 2 Content - AUTOLAYOUT_TITLE_ONLY = 19, // Title Only - AUTOLAYOUT_NONE = 20, // Blank Slide - AUTOLAYOUT_ONLY_TEXT = 32, // Centered Text - AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, // Title, Content and 2 Content - AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, // Title, 2 Content and Content - AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,// Title, 2 Content over Content - AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, // Title, Content over Content - AUTOLAYOUT_TITLE_4CONTENT = 18, // Title, 4 Content - AUTOLAYOUT_TITLE_6CONTENT = 34, // Title, 6 Content - AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, // Vertical Title, Vertical Content over Vertical Content - AUTOLAYOUT_VTITLE_VCONTENT = 28, // Vertical Title, Vertical Content over Vertical Content - AUTOLAYOUT_TITLE_VCONTENT = 29, // Title, Vertical Content - AUTOLAYOUT_TITLE_2VTEXT = 30, // Title, 2 Vertical Content + AUTOLAYOUT_TITLE = 0, ///< Title Slide + AUTOLAYOUT_TITLE_CONTENT = 1, ///< Title, Content + AUTOLAYOUT_TITLE_2CONTENT = 3, ///< Title and 2 Content + AUTOLAYOUT_TITLE_ONLY = 19, ///< Title Only + AUTOLAYOUT_NONE = 20, ///< Blank Slide + AUTOLAYOUT_ONLY_TEXT = 32, ///< Centered Text + AUTOLAYOUT_TITLE_CONTENT_2CONTENT = 12, ///< Title, Content and 2 Content + AUTOLAYOUT_TITLE_2CONTENT_CONTENT = 15, ///< Title, 2 Content and Content + AUTOLAYOUT_TITLE_2CONTENT_OVER_CONTENT = 16,///< Title, 2 Content over Content + AUTOLAYOUT_TITLE_CONTENT_OVER_CONTENT = 14, ///< Title, Content over Content + AUTOLAYOUT_TITLE_4CONTENT = 18, ///< Title, 4 Content + AUTOLAYOUT_TITLE_6CONTENT = 34, ///< Title, 6 Content + AUTOLAYOUT_VTITLE_VCONTENT_OVER_VCONTENT = 27, ///< Vertical Title, Vertical Content over Vertical Content + AUTOLAYOUT_VTITLE_VCONTENT = 28, ///< Vertical Title, Vertical Content over Vertical Content + AUTOLAYOUT_TITLE_VCONTENT = 29, ///< Title, Vertical Content + AUTOLAYOUT_TITLE_2VTEXT = 30, ///< Title, 2 Vertical Content // deprecated AUTOLAYOUT_ENUM = 1, diff --git a/sd/inc/sdpage.hxx b/sd/inc/sdpage.hxx index e346b21f2f19..b6c68bb06692 100644 --- a/sd/inc/sdpage.hxx +++ b/sd/inc/sdpage.hxx @@ -118,29 +118,29 @@ friend class sd::UndoGeoObject; friend class sd::UndoAttrObject; protected: - PageKind mePageKind; // Seitentyp - AutoLayout meAutoLayout; // AutoLayout - sd::ShapeList maPresentationShapeList; // Praesentationsobjekte + PageKind mePageKind; ///< page Type + AutoLayout meAutoLayout; ///< AutoLayout + sd::ShapeList maPresentationShapeList; ///< presentation objects sd::ScopeLock maLockAutoLayoutArrangement; - sal_Bool mbSelected; // Selektionskennung - PresChange mePresChange; // manuell/automatisch/halbautomatisch - 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) + sal_Bool mbSelected; ///< selection identifier + PresChange mePresChange; ///< manual / automatic / semi automatic + sal_uInt32 mnTime; ///< Display time in seconds + sal_Bool mbSoundOn; ///< with / without sound(sal_True/sal_False) + sal_Bool mbExcluded; ///< wird in der Show nicht/doch + ///< displayed (sal_True/sal_False) + String maLayoutName; ///< Name of the layout + String maSoundFile; ///< Path to Sound File (MSDOS-Notation) bool mbLoopSound; bool mbStopSound; - String maCreatedPageName; // von GetPageName erzeugter Seitenname - String maFileName; // Filename - String maBookmarkName; // Bookmarkname - sal_Bool mbScaleObjects; // Objekte sollen skaliert werden - sal_Bool mbBackgroundFullSize; // Hintergrundobjekt auf ganze Seite darstellen - rtl_TextEncoding meCharSet; // Text-Encoding - sal_uInt16 mnPaperBin; // PaperBin - Orientation meOrientation; // Print-Orientation - SdPageLink* mpPageLink; // PageLink (nur bei gelinkten Seiten) + String maCreatedPageName; ///< GetPageName generated by Page Name + String maFileName; ///< Filename + String maBookmarkName; ///< Bookmarkname + sal_Bool mbScaleObjects; ///< Objects should be scaled + sal_Bool mbBackgroundFullSize; ///< Background object to represent the whole page + rtl_TextEncoding meCharSet; ////< Text-Encoding + sal_uInt16 mnPaperBin; ///< PaperBin + Orientation meOrientation; ///< Print-Orientation + SdPageLink* mpPageLink; ///< Page link (at left sides only) sd::AnnotationVector maAnnotations; @@ -195,7 +195,7 @@ public: SfxStyleSheet* GetStyleSheetForPresObj(PresObjKind eObjKind) const; bool RestoreDefaultText( SdrObject* pObj ); - /** returns true if the given SdrObject is inside the presentation object list */ + /** @return true if the given SdrObject is inside the presentation object list */ bool IsPresObj(const SdrObject* pObj); /** removes the given SdrObject from the presentation object list */ @@ -214,8 +214,8 @@ public: 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 + /** Also overload ReplaceObject methods to realize when + objects are removed with this mechanism instead of RemoveObject*/ virtual SdrObject* NbcReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum); virtual SdrObject* ReplaceObject(SdrObject* pNewObj, sal_uLong nObjNum); @@ -271,7 +271,7 @@ public: double getTransitionDuration() const; void setTransitionDuration( double fTranstionDuration ); - // Virtuelle Methoden von SdrObjUserCall + /// Virtual methods of SdrObjUserCall. virtual void Changed(const SdrObject& rObj, SdrUserCallType eType, const Rectangle& rOldBoundRect); @@ -314,13 +314,13 @@ public: sal_Bool setAlienAttributes( const com::sun::star::uno::Any& rAttributes ); void getAlienAttributes( com::sun::star::uno::Any& rAttributes ); - /** returns the main animation node */ + /** @return the main animation node */ ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode > getAnimationNode() throw (::com::sun::star::uno::RuntimeException); /** sets the main animation node */ void setAnimationNode( ::com::sun::star::uno::Reference< ::com::sun::star::animations::XAnimationNode >& xNode ) throw (::com::sun::star::uno::RuntimeException); - /** returns a helper class to manipulate effects inside the main sequence */ + /** @return a helper class to manipulate effects inside the main sequence */ boost::shared_ptr< sd::MainSequence > getMainSequence(); /** quick check if this slide has an animation node. @@ -329,7 +329,7 @@ public: */ bool hasAnimationNode() const; - /** returns the SdPage implementation for the given XDrawPage or 0 if not available */ + /** @return the SdPage implementation for the given XDrawPage or 0 if not available */ static SdPage* getImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XDrawPage >& xPage ); /** removes all custom animations for the given shape */ @@ -342,7 +342,9 @@ public: const sd::HeaderFooterSettings& getHeaderFooterSettings() const; void setHeaderFooterSettings( const sd::HeaderFooterSettings& rNewSettings ); - /** this method returns true if the object from the ViewObjectContact should + /** + This method + @return true if the object from the ViewObjectContact should be visible on this page while rendering. bEdit selects if visibility test is for an editing view or a final render, like printing. @@ -361,7 +363,7 @@ public: /** callback from the sd::View when an object just left text edit mode */ void onEndTextEdit( SdrObject* pObj ); - /** returns the presentation style with the given helpid from this masterpage or this + /** @return the presentation style with the given helpid from this masterpage or this slides masterpage */ SdStyleSheet* getPresentationStyle( sal_uInt32 nHelpId ) const; diff --git a/sd/inc/sdpptwrp.hxx b/sd/inc/sdpptwrp.hxx index 6a1129887b7a..4b0c424ee284 100644 --- a/sd/inc/sdpptwrp.hxx +++ b/sd/inc/sdpptwrp.hxx @@ -35,11 +35,12 @@ public: sal_Bool bShowProgress); virtual ~SdPPTFilter (void); + /// these methods are necassary for the export to PowerPoint sal_Bool Import(); sal_Bool Export(); - // these methods are necassary for the export to PowerPoint - void PreSaveBasic(); // restaures the original basic storage + /// restaures the original basic storage + void PreSaveBasic(); private: SvMemoryStream* pBas; diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx index 497674da62ca..6440d1a6ff3b 100644 --- a/sd/inc/sdxmlwrp.hxx +++ b/sd/inc/sdxmlwrp.hxx @@ -28,9 +28,9 @@ enum SdXMLFilterMode { - SDXMLMODE_Normal, // standard load and save of the complete document - SDXMLMODE_Preview, // only for import, only the first draw page and its master page is loaded - SDXMLMODE_Organizer // only for import, only the styles are loaded + SDXMLMODE_Normal, /// standard load and save of the complete document + SDXMLMODE_Preview, /// only for import, only the first draw page and its master page is loaded + SDXMLMODE_Organizer /// only for import, only the styles are loaded }; class SdXMLFilter : public SdFilter diff --git a/sd/inc/shapelist.hxx b/sd/inc/shapelist.hxx index b12d6427b385..f3c779e2b184 100644 --- a/sd/inc/shapelist.hxx +++ b/sd/inc/shapelist.hxx @@ -42,10 +42,10 @@ namespace sd /** removes all shapes from this list */ void clear(); - /** returns true if this list is empty */ + /** @return true if this list is empty */ bool isEmpty() const; - /** returns true if given shape is part of this list */ + /** @return true if given shape is part of this list */ bool hasShape( SdrObject& rObject ) const; /** returns the shape following the given shape in the list or 0 |