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

#include <swcont.hxx>

Inheritance diagram for SwContent:
[legend]
Collaboration diagram for SwContent:
[legend]

Public Member Functions

 SwContent (const SwContentType *pCnt, const OUString &rName, 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 const sContentName
 
long const nYPosition
 
bool bInvisible
 

Detailed Description

Definition at line 70 of file swcont.hxx.

Constructor & Destructor Documentation

SwContent::SwContent ( const SwContentType pCnt,
const OUString &  rName,
long  nYPos 
)

Definition at line 176 of file content.cxx.

Member Function Documentation

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

Definition at line 98 of file swcont.hxx.

References bInvisible.

Referenced by SwContentType::FillMemberList().

bool SwContent::IsProtect ( ) const
virtual

Reimplemented in SwPostItContent, and SwURLFieldContent.

Definition at line 190 of file content.cxx.

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

Definition at line 90 of file swcont.hxx.

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

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

Definition at line 85 of file swcont.hxx.

void SwContent::SetInvisible ( )
inline

Definition at line 99 of file swcont.hxx.

Referenced by SwContentType::FillMemberList().

Member Data Documentation

bool SwContent::bInvisible
private

Definition at line 78 of file swcont.hxx.

Referenced by IsInvisible().

long const SwContent::nYPosition
private

Definition at line 74 of file swcont.hxx.

Referenced by operator<().

const SwContentType* SwContent::pParent
private

Definition at line 72 of file swcont.hxx.

Referenced by GetParent().

OUString const SwContent::sContentName
private

Definition at line 73 of file swcont.hxx.

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


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