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, OUString aName, double 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 SwContentTypem_pParent
OUString m_sContentName
double m_nYPosition
bool m_bInvisible

Detailed Description

Definition at line 74 of file swcont.hxx.

Constructor & Destructor Documentation

◆ SwContent()

SwContent::SwContent ( const SwContentType pCnt,
OUString  aName,
double  nYPos 

Definition at line 204 of file content.cxx.

References aName.

Member Function Documentation

◆ GetName()

const OUString & SwContent::GetName ( ) const

◆ GetParent()

const SwContentType * SwContent::GetParent ( ) const

◆ IsInvisible()

bool SwContent::IsInvisible ( ) const

◆ IsProtect()

bool SwContent::IsProtect ( ) const

Reimplemented in SwURLFieldContent, SwTextFieldContent, and SwPostItContent.

Definition at line 218 of file content.cxx.

◆ operator<()

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

Definition at line 94 of file swcont.hxx.

References m_nYPosition, m_sContentName, and vcl::NaturalSortCompare().

◆ operator==()

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

Definition at line 89 of file swcont.hxx.

◆ SetInvisible()

void SwContent::SetInvisible ( )

Definition at line 103 of file swcont.hxx.

References m_bInvisible.

Referenced by SwContentType::FillMemberList().

Member Data Documentation

◆ m_bInvisible

bool SwContent::m_bInvisible

Definition at line 82 of file swcont.hxx.

Referenced by IsInvisible(), and SetInvisible().

◆ m_nYPosition

double SwContent::m_nYPosition

Definition at line 78 of file swcont.hxx.

Referenced by operator<().

◆ m_pParent

const SwContentType* SwContent::m_pParent

Definition at line 76 of file swcont.hxx.

Referenced by GetParent().

◆ m_sContentName

OUString SwContent::m_sContentName

Definition at line 77 of file swcont.hxx.

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

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