LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwContent Class Reference

#include <swcont.hxx>

Inheritance diagram for SwContent:
Collaboration diagram for SwContent:

Public Member Functions

 SwContent (const SwContentType *pCnt, const OUString &rName, tools::Long nYPos)
virtual bool IsProtect () const
const SwContentTypeGetParent () const
const OUString & GetName () const
bool operator== (const SwContent &) const
bool operator< (const SwContent &rCont) const
bool IsInvisible () const
void SetInvisible ()
- Public Member Functions inherited from SwTypeNumber
 SwTypeNumber (sal_uInt8 nId)
virtual ~SwTypeNumber ()
sal_uInt8 GetTypeId () const

Private Attributes

const SwContentTypepParent
OUString sContentName
tools::Long nYPosition
bool bInvisible

Detailed Description

Definition at line 73 of file swcont.hxx.

Constructor & Destructor Documentation

SwContent::SwContent ( const SwContentType pCnt,
const OUString &  rName,
tools::Long  nYPos 

Definition at line 209 of file content.cxx.

Member Function Documentation

const OUString& SwContent::GetName ( ) const
const SwContentType* SwContent::GetParent ( ) const
bool SwContent::IsInvisible ( ) const

Definition at line 101 of file swcont.hxx.

References bInvisible.

Referenced by SwContentTree::Display(), and SwContentTree::RequestingChildren().

bool SwContent::IsProtect ( ) const

Reimplemented in SwPostItContent, SwTextFieldContent, and SwURLFieldContent.

Definition at line 223 of file content.cxx.

bool SwContent::operator< ( const SwContent rCont) const

Definition at line 93 of file swcont.hxx.

References vcl::NaturalSortCompare(), nYPosition, and sContentName.

bool SwContent::operator== ( const SwContent ) const

Definition at line 88 of file swcont.hxx.

void SwContent::SetInvisible ( )

Definition at line 102 of file swcont.hxx.

Referenced by SwContentType::FillMemberList().

Member Data Documentation

bool SwContent::bInvisible

Definition at line 81 of file swcont.hxx.

Referenced by IsInvisible().

tools::Long SwContent::nYPosition

Definition at line 77 of file swcont.hxx.

Referenced by operator<().

const SwContentType* SwContent::pParent

Definition at line 75 of file swcont.hxx.

Referenced by GetParent().

OUString SwContent::sContentName

Definition at line 76 of file swcont.hxx.

Referenced by GetName(), and operator<().

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