Kaydet (Commit) 335b38d8 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: add doxygen comments for some document model / layout classes

üst 3626c2ce
...@@ -249,6 +249,7 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem ); ...@@ -249,6 +249,7 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem );
// global function to start grammar checking in the document // global function to start grammar checking in the document
void StartGrammarChecking( SwDoc &rDoc ); void StartGrammarChecking( SwDoc &rDoc );
/// Represents the model of a Writer document.
class SW_DLLPUBLIC SwDoc : class SW_DLLPUBLIC SwDoc :
public IInterface, public IInterface,
public IDocumentSettingAccess, public IDocumentSettingAccess,
......
...@@ -48,6 +48,7 @@ struct SwPosition; ...@@ -48,6 +48,7 @@ struct SwPosition;
#define INLINE inline #define INLINE inline
#endif #endif
/// Marks a character position inside a document model node.
class SW_DLLPUBLIC SwIndex class SW_DLLPUBLIC SwIndex
{ {
private: private:
......
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
class SwNode; class SwNode;
class SwNodes; class SwNodes;
/// Marks a node in the document model.
class SW_DLLPUBLIC SwNodeIndex class SW_DLLPUBLIC SwNodeIndex
{ {
friend void SwNodes::RegisterIndex( SwNodeIndex& ); friend void SwNodes::RegisterIndex( SwNodeIndex& );
......
...@@ -79,7 +79,7 @@ namespace com { namespace sun { namespace star { ...@@ -79,7 +79,7 @@ namespace com { namespace sun { namespace star {
typedef std::set< xub_StrLen > SwSoftPageBreakList; typedef std::set< xub_StrLen > SwSoftPageBreakList;
// SwTxtNode /// SwTxtNode is a paragraph in the document model.
class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable class SW_DLLPUBLIC SwTxtNode: public SwCntntNode, public ::sfx2::Metadatable
{ {
......
...@@ -53,6 +53,7 @@ namespace utl { ...@@ -53,6 +53,7 @@ namespace utl {
class TextSearch; class TextSearch;
} }
/// Marks a position in the document model.
struct SW_DLLPUBLIC SwPosition struct SW_DLLPUBLIC SwPosition
{ {
SwNodeIndex nNode; SwNodeIndex nNode;
...@@ -157,6 +158,7 @@ extern SwGoInDoc fnGoCntntCellsSkipHidden; ...@@ -157,6 +158,7 @@ extern SwGoInDoc fnGoCntntCellsSkipHidden;
void _InitPam(); void _InitPam();
/// PaM is Point and Mark: a selection of the document model.
class SW_DLLPUBLIC SwPaM : public Ring class SW_DLLPUBLIC SwPaM : public Ring
{ {
SwPosition m_Bound1; SwPosition m_Bound1;
......
...@@ -49,6 +49,7 @@ public: ...@@ -49,6 +49,7 @@ public:
virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect& ) const; virtual void PaintSubsidiaryLines( const SwPageFrm*, const SwRect& ) const;
}; };
/// Header in the document layout, inside a page.
class SwHeaderFrm: public SwHeadFootFrm class SwHeaderFrm: public SwHeadFootFrm
{ {
public: public:
...@@ -57,6 +58,7 @@ public: ...@@ -57,6 +58,7 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwHeaderFrm) DECL_FIXEDMEMPOOL_NEWDEL(SwHeaderFrm)
}; };
/// Footer in the document layout, inside a page.
class SwFooterFrm: public SwHeadFootFrm class SwFooterFrm: public SwHeadFootFrm
{ {
public: public:
......
...@@ -58,6 +58,7 @@ enum SwPageChg ...@@ -58,6 +58,7 @@ enum SwPageChg
CHG_CHGPAGE CHG_CHGPAGE
}; };
/// A page of the document layout.
class SwPageFrm: public SwFtnBossFrm class SwPageFrm: public SwFtnBossFrm
{ {
friend class SwFrm; friend class SwFrm;
......
...@@ -62,6 +62,7 @@ struct SwCrsrMoveState; ...@@ -62,6 +62,7 @@ struct SwCrsrMoveState;
#include <vector> #include <vector>
/// The root element of a Writer document layout.
class SwRootFrm: public SwLayoutFrm class SwRootFrm: public SwLayoutFrm
{ {
//Muss das Superfluous temporaer abschalten. //Muss das Superfluous temporaer abschalten.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment