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

TextNode *const mpNode
 
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::TEParaPortion ( TextNode pNode)

Definition at line 147 of file textdata.cxx.

TEParaPortion::~TEParaPortion ( )

Definition at line 156 of file textdata.cxx.

TEParaPortion::TEParaPortion ( const TEParaPortion )
delete

Member Function Documentation

void TEParaPortion::CorrectValuesBehindLastFormattedLine ( sal_uInt16  nLastFormattedLine)
sal_Int32 TEParaPortion::GetInvalidDiff ( ) const
inline

Definition at line 201 of file textdat2.hxx.

References mnInvalidDiff.

Referenced by TextEngine::CreateLines().

sal_Int32 TEParaPortion::GetInvalidPosStart ( ) const
inline

Definition at line 200 of file textdat2.hxx.

References mnInvalidPosStart.

Referenced by TextEngine::CreateLines().

std::vector< TextLine >::size_type TEParaPortion::GetLineNumber ( sal_Int32  nIndex,
bool  bInclEnd 
)
std::vector<TextLine>& TEParaPortion::GetLines ( )
inline
TextNode* TEParaPortion::GetNode ( ) const
inline
TETextPortionList& TEParaPortion::GetTextPortions ( )
inline
std::vector<TEWritingDirectionInfo>& TEParaPortion::GetWritingDirectionInfos ( )
inline
bool TEParaPortion::IsInvalid ( ) const
inline

Definition at line 192 of file textdat2.hxx.

References mbInvalid.

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

bool TEParaPortion::IsSimpleInvalid ( ) const
inline

Definition at line 193 of file textdat2.hxx.

References mbSimple.

Referenced by TextEngine::CreateLines().

void TEParaPortion::MarkInvalid ( sal_Int32  nStart,
sal_Int32  nDiff 
)
void TEParaPortion::MarkSelectionInvalid ( sal_Int32  nStart)
void TEParaPortion::operator= ( const TEParaPortion )
delete
void TEParaPortion::SetNotSimpleInvalid ( )
inline

Definition at line 194 of file textdat2.hxx.

Referenced by TextEngine::ImpInsertText().

void TEParaPortion::SetValid ( )
inline

Definition at line 195 of file textdat2.hxx.

Referenced by TextEngine::CreateLines().

Member Data Documentation

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

Definition at line 175 of file textdat2.hxx.

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

TETextPortionList TEParaPortion::maTextPortions
private

Definition at line 176 of file textdat2.hxx.

Referenced by GetTextPortions().

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

Definition at line 177 of file textdat2.hxx.

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

bool TEParaPortion::mbInvalid
private

Definition at line 182 of file textdat2.hxx.

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

bool TEParaPortion::mbSimple
private

Definition at line 183 of file textdat2.hxx.

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

sal_Int32 TEParaPortion::mnInvalidDiff
private

Definition at line 180 of file textdat2.hxx.

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

sal_Int32 TEParaPortion::mnInvalidPosStart
private

Definition at line 179 of file textdat2.hxx.

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

TextNode* const 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: