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

#include <textdat2.hxx>

Collaboration diagram for TEParaPortion:
[legend]

Public Member Functions

 TEParaPortion (TextNode *pNode)
 
 ~TEParaPortion ()
 
 TEParaPortion (const TEParaPortion &)=delete
 
void operator= (const TEParaPortion &)=delete
 
bool IsInvalid () const
 
bool IsSimpleInvalid () const
 
void SetNotSimpleInvalid ()
 
void SetValid ()
 
void MarkInvalid (sal_Int32 nStart, sal_Int32 nDiff)
 
void MarkSelectionInvalid (sal_Int32 nStart)
 
sal_Int32 GetInvalidPosStart () const
 
sal_Int32 GetInvalidDiff () const
 
TextNodeGetNode () const
 
std::vector< TextLine > & GetLines ()
 
TETextPortionListGetTextPortions ()
 
std::vector< TEWritingDirectionInfo > & GetWritingDirectionInfos ()
 
std::vector< TextLine >::size_type GetLineNumber (sal_Int32 nIndex, bool bInclEnd)
 
void CorrectValuesBehindLastFormattedLine (sal_uInt16 nLastFormattedLine)
 

Private Attributes

TextNodempNode
 
std::vector< TextLinemaLines
 
TETextPortionList maTextPortions
 
std::vector< TEWritingDirectionInfomaWritingDirectionInfos
 
sal_Int32 mnInvalidPosStart
 
sal_Int32 mnInvalidDiff
 
bool mbInvalid
 
bool mbSimple
 

Detailed Description

Definition at line 170 of file textdat2.hxx.

Constructor & Destructor Documentation

◆ TEParaPortion() [1/2]

TEParaPortion::TEParaPortion ( TextNode pNode)

Definition at line 148 of file textdata.cxx.

References mpNode.

◆ ~TEParaPortion()

TEParaPortion::~TEParaPortion ( )

Definition at line 157 of file textdata.cxx.

◆ TEParaPortion() [2/2]

TEParaPortion::TEParaPortion ( const TEParaPortion )
delete

Member Function Documentation

◆ CorrectValuesBehindLastFormattedLine()

void TEParaPortion::CorrectValuesBehindLastFormattedLine ( sal_uInt16  nLastFormattedLine)

◆ GetInvalidDiff()

sal_Int32 TEParaPortion::GetInvalidDiff ( ) const
inline

Definition at line 201 of file textdat2.hxx.

References mnInvalidDiff.

Referenced by TextEngine::CreateLines().

◆ GetInvalidPosStart()

sal_Int32 TEParaPortion::GetInvalidPosStart ( ) const
inline

Definition at line 200 of file textdat2.hxx.

References mnInvalidPosStart.

Referenced by TextEngine::CreateLines().

◆ GetLineNumber()

std::vector< TextLine >::size_type TEParaPortion::GetLineNumber ( sal_Int32  nIndex,
bool  bInclEnd 
)

◆ GetLines()

std::vector< TextLine > & TEParaPortion::GetLines ( )
inline

◆ GetNode()

TextNode * TEParaPortion::GetNode ( ) const
inline

◆ GetTextPortions()

TETextPortionList & TEParaPortion::GetTextPortions ( )
inline

◆ GetWritingDirectionInfos()

std::vector< TEWritingDirectionInfo > & TEParaPortion::GetWritingDirectionInfos ( )
inline

◆ IsInvalid()

bool TEParaPortion::IsInvalid ( ) const
inline

Definition at line 192 of file textdat2.hxx.

References mbInvalid.

Referenced by TextEngine::CreateLines(), TextEngine::FormatDoc(), and TextEngine::ImpPaint().

◆ IsSimpleInvalid()

bool TEParaPortion::IsSimpleInvalid ( ) const
inline

Definition at line 193 of file textdat2.hxx.

References mbSimple.

Referenced by TextEngine::CreateLines().

◆ MarkInvalid()

void TEParaPortion::MarkInvalid ( sal_Int32  nStart,
sal_Int32  nDiff 
)

◆ MarkSelectionInvalid()

void TEParaPortion::MarkSelectionInvalid ( sal_Int32  nStart)

◆ operator=()

void TEParaPortion::operator= ( const TEParaPortion )
delete

◆ SetNotSimpleInvalid()

void TEParaPortion::SetNotSimpleInvalid ( )
inline

Definition at line 194 of file textdat2.hxx.

References mbSimple.

Referenced by TextEngine::ImpInsertText().

◆ SetValid()

void TEParaPortion::SetValid ( )
inline

Definition at line 195 of file textdat2.hxx.

References mbInvalid, and mbSimple.

Referenced by TextEngine::CreateLines().

Member Data Documentation

◆ maLines

std::vector<TextLine> TEParaPortion::maLines
private

Definition at line 175 of file textdat2.hxx.

Referenced by CorrectValuesBehindLastFormattedLine(), GetLineNumber(), and GetLines().

◆ maTextPortions

TETextPortionList TEParaPortion::maTextPortions
private

Definition at line 176 of file textdat2.hxx.

Referenced by GetTextPortions().

◆ maWritingDirectionInfos

std::vector<TEWritingDirectionInfo> TEParaPortion::maWritingDirectionInfos
private

Definition at line 177 of file textdat2.hxx.

Referenced by GetWritingDirectionInfos(), MarkInvalid(), and MarkSelectionInvalid().

◆ mbInvalid

bool TEParaPortion::mbInvalid
private

Definition at line 182 of file textdat2.hxx.

Referenced by IsInvalid(), MarkInvalid(), MarkSelectionInvalid(), and SetValid().

◆ mbSimple

bool TEParaPortion::mbSimple
private

◆ mnInvalidDiff

sal_Int32 TEParaPortion::mnInvalidDiff
private

Definition at line 180 of file textdat2.hxx.

Referenced by GetInvalidDiff(), MarkInvalid(), and MarkSelectionInvalid().

◆ mnInvalidPosStart

sal_Int32 TEParaPortion::mnInvalidPosStart
private

Definition at line 179 of file textdat2.hxx.

Referenced by GetInvalidPosStart(), MarkInvalid(), and MarkSelectionInvalid().

◆ mpNode

TextNode* TEParaPortion::mpNode
private

Definition at line 173 of file textdat2.hxx.

Referenced by GetNode().


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