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

#include <txtcache.hxx>

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

Public Member Functions

 SwTextLine (SwTextFrame const *pFrame, std::unique_ptr< SwParaPortion > pNew=nullptr)
 
virtual ~SwTextLine () override
 
SwParaPortionGetPara ()
 
const SwParaPortionGetPara () const
 
void SetPara (SwParaPortion *pNew, bool bDelete)
 
- Public Member Functions inherited from SwCacheObj
 SwCacheObj (const void *pOwner)
 
virtual ~SwCacheObj ()
 
const voidGetOwner () const
 
bool IsOwner (const void *pNew) const
 
sal_uInt16 GetCachePos () const
 
bool IsLocked () const
 
void Lock ()
 
void Unlock ()
 

Private Member Functions

virtual void UpdateCachePos () override
 

Private Attributes

std::unique_ptr< SwParaPortionpLine
 

Additional Inherited Members

- Protected Attributes inherited from SwCacheObj
const voidm_pOwner
 

Detailed Description

Definition at line 28 of file txtcache.hxx.

Constructor & Destructor Documentation

SwTextLine::SwTextLine ( SwTextFrame const *  pFrame,
std::unique_ptr< SwParaPortion pNew = nullptr 
)

Definition at line 27 of file txtcache.cxx.

References void().

SwTextLine::~SwTextLine ( )
overridevirtual

Definition at line 33 of file txtcache.cxx.

Member Function Documentation

SwParaPortion* SwTextLine::GetPara ( )
inline
const SwParaPortion* SwTextLine::GetPara ( ) const
inline

Definition at line 39 of file txtcache.hxx.

void SwTextLine::SetPara ( SwParaPortion pNew,
bool  bDelete 
)
inline

Definition at line 41 of file txtcache.hxx.

References void().

Referenced by SwTextFrame::ClearPara(), SwTextLineAccess::GetPara(), and SwTextFrame::SetPara().

void SwTextLine::UpdateCachePos ( )
overrideprivatevirtual

Reimplemented from SwCacheObj.

Definition at line 37 of file txtcache.cxx.

References assert(), SwCacheObj::GetCachePos(), SwCacheObj::m_pOwner, and SwTextFrame::SetCacheIdx().

Member Data Documentation

std::unique_ptr<SwParaPortion> SwTextLine::pLine
private

Definition at line 30 of file txtcache.hxx.


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