LibreOffice Module editeng (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ParaPortion Class Reference

#include <editdoc.hxx>

Collaboration diagram for ParaPortion:
[legend]

Public Member Functions

 ParaPortion (ContentNode *pNode)
 
 ~ParaPortion ()
 
sal_Int32 GetLineNumber (sal_Int32 nIndex) const
 
EditLineListGetLines ()
 
const EditLineListGetLines () const
 
bool IsInvalid () const
 
bool IsSimpleInvalid () const
 
void SetValid ()
 
bool MustRepaint () const
 
void SetMustRepaint (bool bRP)
 
sal_Int32 GetBulletX () const
 
void SetBulletX (sal_Int32 n)
 
void MarkInvalid (sal_Int32 nStart, sal_Int32 nDiff)
 
void MarkSelectionInvalid (sal_Int32 nStart)
 
void SetVisible (bool bVisible)
 
bool IsVisible () const
 
bool IsEmpty ()
 
tools::Long GetHeight () const
 
sal_Int32 GetFirstLineOffset () const
 
void ResetHeight ()
 
ContentNodeGetNode () const
 
TextPortionListGetTextPortions ()
 
const TextPortionListGetTextPortions () const
 
sal_Int32 GetInvalidPosStart () const
 
short GetInvalidDiff () const
 
void CorrectValuesBehindLastFormattedLine (sal_Int32 nLastFormattedLine)
 

Static Public Member Functions

static bool DbgCheckTextPortions (ParaPortion const &)
 

Private Member Functions

 ParaPortion (const ParaPortion &)=delete
 

Private Attributes

EditLineList aLineList
 
TextPortionList aTextPortionList
 
ContentNodepNode
 
tools::Long nHeight
 
ScriptTypePosInfos aScriptInfos
 
WritingDirectionInfos aWritingDirectionInfos
 
sal_Int32 nInvalidPosStart
 
sal_Int32 nFirstLineOffset
 
sal_Int32 nBulletX
 
sal_Int32 nInvalidDiff
 
bool bInvalid: 1
 
bool bSimple: 1
 
bool bVisible: 1
 
bool bForceRepaint: 1
 

Friends

class ImpEditEngine
 

Detailed Description

Definition at line 590 of file editdoc.hxx.

Constructor & Destructor Documentation

◆ ParaPortion() [1/2]

ParaPortion::ParaPortion ( const ParaPortion )
privatedelete

◆ ParaPortion() [2/2]

ParaPortion::ParaPortion ( ContentNode pNode)

Definition at line 509 of file editdoc.cxx.

References bVisible, and nFirstLineOffset.

◆ ~ParaPortion()

ParaPortion::~ParaPortion ( )

Definition at line 523 of file editdoc.cxx.

Member Function Documentation

◆ CorrectValuesBehindLastFormattedLine()

void ParaPortion::CorrectValuesBehindLastFormattedLine ( sal_Int32  nLastFormattedLine)

◆ DbgCheckTextPortions()

bool ParaPortion::DbgCheckTextPortions ( ParaPortion const &  rPara)
static

◆ GetBulletX()

sal_Int32 ParaPortion::GetBulletX ( ) const
inline

◆ GetFirstLineOffset()

sal_Int32 ParaPortion::GetFirstLineOffset ( ) const
inline

◆ GetHeight()

tools::Long ParaPortion::GetHeight ( ) const
inline

◆ GetInvalidDiff()

short ParaPortion::GetInvalidDiff ( ) const
inline

Definition at line 650 of file editdoc.hxx.

References nInvalidDiff.

Referenced by ImpEditEngine::CreateLines().

◆ GetInvalidPosStart()

sal_Int32 ParaPortion::GetInvalidPosStart ( ) const
inline

Definition at line 649 of file editdoc.hxx.

References nInvalidPosStart.

Referenced by ImpEditEngine::CreateLines().

◆ GetLineNumber()

sal_Int32 ParaPortion::GetLineNumber ( sal_Int32  nIndex) const

◆ GetLines() [1/2]

EditLineList & ParaPortion::GetLines ( )
inline

◆ GetLines() [2/2]

const EditLineList & ParaPortion::GetLines ( ) const
inline

Definition at line 621 of file editdoc.hxx.

References aLineList.

◆ GetNode()

ContentNode * ParaPortion::GetNode ( ) const
inline

◆ GetTextPortions() [1/2]

TextPortionList & ParaPortion::GetTextPortions ( )
inline

◆ GetTextPortions() [2/2]

const TextPortionList & ParaPortion::GetTextPortions ( ) const
inline

Definition at line 647 of file editdoc.hxx.

References aTextPortionList.

◆ IsEmpty()

bool ParaPortion::IsEmpty ( )
inline

Definition at line 639 of file editdoc.hxx.

References TextPortionList::Count(), and GetTextPortions().

◆ IsInvalid()

bool ParaPortion::IsInvalid ( ) const
inline

◆ IsSimpleInvalid()

bool ParaPortion::IsSimpleInvalid ( ) const
inline

Definition at line 624 of file editdoc.hxx.

References bSimple.

Referenced by ImpEditEngine::CreateLines().

◆ IsVisible()

bool ParaPortion::IsVisible ( ) const
inline

◆ MarkInvalid()

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

◆ MarkSelectionInvalid()

void ParaPortion::MarkSelectionInvalid ( sal_Int32  nStart)

◆ MustRepaint()

bool ParaPortion::MustRepaint ( ) const
inline

Definition at line 627 of file editdoc.hxx.

References bForceRepaint.

Referenced by ImpEditEngine::FormatDoc().

◆ ResetHeight()

void ParaPortion::ResetHeight ( )
inline

Definition at line 643 of file editdoc.hxx.

References nFirstLineOffset, and nHeight.

Referenced by ImpEditEngine::InvalidateFromParagraph().

◆ SetBulletX()

void ParaPortion::SetBulletX ( sal_Int32  n)
inline

Definition at line 631 of file editdoc.hxx.

References n, and nBulletX.

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

◆ SetMustRepaint()

void ParaPortion::SetMustRepaint ( bool  bRP)
inline

◆ SetValid()

void ParaPortion::SetValid ( )
inline

Definition at line 625 of file editdoc.hxx.

References bInvalid, and bSimple.

Referenced by ImpEditEngine::FinishCreateLines(), and ImpEditEngine::InsertTextObject().

◆ SetVisible()

void ParaPortion::SetVisible ( bool  bVisible)

Definition at line 596 of file editdoc.cxx.

References bVisible.

Referenced by ImpEditEngine::ShowParagraph().

Friends And Related Function Documentation

◆ ImpEditEngine

friend class ImpEditEngine
friend

Definition at line 592 of file editdoc.hxx.

Member Data Documentation

◆ aLineList

EditLineList ParaPortion::aLineList
private

Definition at line 594 of file editdoc.hxx.

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

◆ aScriptInfos

ScriptTypePosInfos ParaPortion::aScriptInfos
private

◆ aTextPortionList

TextPortionList ParaPortion::aTextPortionList
private

Definition at line 595 of file editdoc.hxx.

Referenced by DbgCheckTextPortions(), and GetTextPortions().

◆ aWritingDirectionInfos

WritingDirectionInfos ParaPortion::aWritingDirectionInfos
private

◆ bForceRepaint

bool ParaPortion::bForceRepaint
private

Definition at line 610 of file editdoc.hxx.

Referenced by ImpEditEngine::InsertTextObject(), MustRepaint(), and SetMustRepaint().

◆ bInvalid

bool ParaPortion::bInvalid
private

Definition at line 607 of file editdoc.hxx.

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

◆ bSimple

bool ParaPortion::bSimple
private

Definition at line 608 of file editdoc.hxx.

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

◆ bVisible

bool ParaPortion::bVisible
private

Definition at line 609 of file editdoc.hxx.

Referenced by GetFirstLineOffset(), GetHeight(), GetLineNumber(), IsVisible(), and SetVisible().

◆ nBulletX

sal_Int32 ParaPortion::nBulletX
private

Definition at line 604 of file editdoc.hxx.

Referenced by GetBulletX(), and SetBulletX().

◆ nFirstLineOffset

sal_Int32 ParaPortion::nFirstLineOffset
private

Definition at line 603 of file editdoc.hxx.

Referenced by GetFirstLineOffset(), ImpEditEngine::InsertTextObject(), and ResetHeight().

◆ nHeight

tools::Long ParaPortion::nHeight
private

◆ nInvalidDiff

sal_Int32 ParaPortion::nInvalidDiff
private

Definition at line 605 of file editdoc.hxx.

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

◆ nInvalidPosStart

sal_Int32 ParaPortion::nInvalidPosStart
private

Definition at line 602 of file editdoc.hxx.

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

◆ pNode

ContentNode* ParaPortion::pNode
private

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