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::TextLine ( )
inline

Definition at line 125 of file textdat2.hxx.

Member Function Documentation

◆ GetEnd()

sal_Int32 TextLine::GetEnd ( ) const
inline

◆ GetEndPortion()

std::size_t TextLine::GetEndPortion ( ) const
inline

◆ GetLen()

sal_Int32 TextLine::GetLen ( ) const
inline

Definition at line 149 of file textdat2.hxx.

References mnEnd, and mnStart.

Referenced by TextEngine::GetEditCursor().

◆ GetStart()

sal_Int32 TextLine::GetStart ( ) const
inline

◆ GetStartPortion()

std::size_t TextLine::GetStartPortion ( ) const
inline

◆ GetStartX()

short TextLine::GetStartX ( ) const
inline

Definition at line 156 of file textdat2.hxx.

References mnStartX.

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

◆ IsIn()

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

Definition at line 134 of file textdat2.hxx.

References mnEnd, mnStart, and nIndex.

◆ IsInvalid()

bool TextLine::IsInvalid ( ) const
inline

Definition at line 151 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::GetInvalidYOffsets().

◆ IsValid()

bool TextLine::IsValid ( ) const
inline

Definition at line 152 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::GetInvalidYOffsets().

◆ operator==()

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

Definition at line 162 of file textdat2.hxx.

References mnEnd, mnEndPortion, mnStart, and mnStartPortion.

◆ SetEnd()

void TextLine::SetEnd ( sal_Int32  n)
inline

◆ SetEndPortion()

void TextLine::SetEndPortion ( std::size_t  n)
inline

◆ SetInvalid()

void TextLine::SetInvalid ( )
inline

Definition at line 153 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::CreateLines().

◆ SetStart()

void TextLine::SetStart ( sal_Int32  n)
inline

◆ SetStartPortion()

void TextLine::SetStartPortion ( std::size_t  n)
inline

◆ SetStartX()

void TextLine::SetStartX ( short  n)
inline

Definition at line 157 of file textdat2.hxx.

References mnStartX, and n.

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

◆ SetValid()

void TextLine::SetValid ( )
inline

Member Data Documentation

◆ mbInvalid

bool TextLine::mbInvalid
private

Definition at line 122 of file textdat2.hxx.

Referenced by IsInvalid(), IsValid(), SetInvalid(), and SetValid().

◆ mnEnd

sal_Int32 TextLine::mnEnd
private

Definition at line 116 of file textdat2.hxx.

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

◆ mnEndPortion

std::size_t TextLine::mnEndPortion
private

Definition at line 118 of file textdat2.hxx.

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

◆ mnStart

sal_Int32 TextLine::mnStart
private

Definition at line 115 of file textdat2.hxx.

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

◆ mnStartPortion

std::size_t TextLine::mnStartPortion
private

Definition at line 117 of file textdat2.hxx.

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

◆ mnStartX

short TextLine::mnStartX
private

Definition at line 120 of file textdat2.hxx.

Referenced by GetStartX(), and SetStartX().


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