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

#include <textdat2.hxx>

Public Member Functions

 TextLine ()
 
bool IsIn (sal_Int32 nIndex, bool bInclEnd) const
 
void SetStart (sal_Int32 n)
 
sal_Int32 GetStart () const
 
void SetEnd (sal_Int32 n)
 
sal_Int32 GetEnd () const
 
void SetStartPortion (std::size_t n)
 
std::size_t GetStartPortion () const
 
void SetEndPortion (std::size_t n)
 
std::size_t GetEndPortion () const
 
sal_Int32 GetLen () const
 
bool IsInvalid () const
 
bool IsValid () const
 
void SetInvalid ()
 
void SetValid ()
 
short GetStartX () const
 
void SetStartX (short n)
 
bool operator== (const TextLine &rLine) const
 

Private Attributes

sal_Int32 mnStart
 
sal_Int32 mnEnd
 
std::size_t mnStartPortion
 
std::size_t mnEndPortion
 
short mnStartX
 
bool mbInvalid
 

Detailed Description

Definition at line 112 of file textdat2.hxx.

Constructor & Destructor Documentation

TextLine::TextLine ( )
inline

Definition at line 125 of file textdat2.hxx.

Member Function Documentation

sal_Int32 TextLine::GetEnd ( ) const
inline
std::size_t TextLine::GetEndPortion ( ) const
inline
sal_Int32 TextLine::GetLen ( ) const
inline

Definition at line 149 of file textdat2.hxx.

References mnStart.

Referenced by TextEngine::GetEditCursor().

sal_Int32 TextLine::GetStart ( ) const
inline
std::size_t TextLine::GetStartPortion ( ) const
inline
short TextLine::GetStartX ( ) const
inline

Definition at line 156 of file textdat2.hxx.

References mnStartX.

Referenced by TextEngine::GetCharPos(), and TextEngine::ImpGetPortionXOffset().

bool TextLine::IsIn ( sal_Int32  nIndex,
bool  bInclEnd 
) const
inline

Definition at line 134 of file textdat2.hxx.

References mnEnd.

bool TextLine::IsInvalid ( ) const
inline

Definition at line 151 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::GetInvalidYOffsets().

bool TextLine::IsValid ( ) const
inline

Definition at line 152 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::GetInvalidYOffsets().

bool TextLine::operator== ( const TextLine rLine) const
inline

Definition at line 162 of file textdat2.hxx.

References mnEnd, mnEndPortion, mnStart, and mnStartPortion.

void TextLine::SetEnd ( sal_Int32  n)
inline
void TextLine::SetEndPortion ( std::size_t  n)
inline
void TextLine::SetInvalid ( )
inline

Definition at line 153 of file textdat2.hxx.

Referenced by TextEngine::CreateLines().

void TextLine::SetStart ( sal_Int32  n)
inline
void TextLine::SetStartPortion ( std::size_t  n)
inline
void TextLine::SetStartX ( short  n)
inline

Definition at line 157 of file textdat2.hxx.

Referenced by TextEngine::CreateAndInsertEmptyLine(), and TextEngine::CreateLines().

void TextLine::SetValid ( )
inline

Member Data Documentation

bool TextLine::mbInvalid
private

Definition at line 122 of file textdat2.hxx.

Referenced by IsInvalid(), and IsValid().

sal_Int32 TextLine::mnEnd
private

Definition at line 116 of file textdat2.hxx.

Referenced by GetEnd(), IsIn(), and operator==().

std::size_t TextLine::mnEndPortion
private

Definition at line 118 of file textdat2.hxx.

Referenced by GetEndPortion(), and operator==().

sal_Int32 TextLine::mnStart
private

Definition at line 115 of file textdat2.hxx.

Referenced by GetLen(), GetStart(), and operator==().

std::size_t TextLine::mnStartPortion
private

Definition at line 117 of file textdat2.hxx.

Referenced by GetStartPortion(), and operator==().

short TextLine::mnStartX
private

Definition at line 120 of file textdat2.hxx.

Referenced by GetStartX().


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