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, 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
inline

◆ GetParent()

const SwContentType * SwContent::GetParent ( ) const
inline

◆ IsInvisible()

bool SwContent::IsInvisible ( ) const
inline

◆ IsProtect()

bool SwContent::IsProtect ( ) const
virtual

Reimplemented in SwURLFieldContent, SwTextFieldContent, and SwPostItContent.

Definition at line 218 of file content.cxx.

◆ operator<()

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

Definition at line 94 of file swcont.hxx.

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

◆ operator==()

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

Definition at line 89 of file swcont.hxx.

◆ SetInvisible()

void SwContent::SetInvisible ( )
inline

Definition at line 103 of file swcont.hxx.

References m_bInvisible.

Referenced by SwContentType::FillMemberList().

Member Data Documentation

◆ m_bInvisible

bool SwContent::m_bInvisible
private

Definition at line 82 of file swcont.hxx.

Referenced by IsInvisible(), and SetInvisible().

◆ m_nYPosition

double SwContent::m_nYPosition
private

Definition at line 78 of file swcont.hxx.

Referenced by operator<().

◆ m_pParent

const SwContentType* SwContent::m_pParent
private

Definition at line 76 of file swcont.hxx.

Referenced by GetParent().

◆ m_sContentName

OUString SwContent::m_sContentName
private

Definition at line 77 of file swcont.hxx.

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


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