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

#include <editdoc.hxx>

Collaboration diagram for TextPortion:
[legend]

Public Member Functions

 TextPortion (sal_Int32 nL)
 
 TextPortion (const TextPortion &r)
 
sal_Int32 GetLen () const
 
void SetLen (sal_Int32 nL)
 
void setWidth (tools::Long nWidth)
 
void setHeight (tools::Long nHeight)
 
void adjustSize (tools::Long nDeltaX, tools::Long nDeltaY)
 
void SetSize (const Size &rSize)
 
const SizeGetSize () const
 
void SetKind (PortionKind n)
 
PortionKind GetKind () const
 
void SetRightToLeftLevel (sal_uInt8 n)
 
sal_uInt8 GetRightToLeftLevel () const
 
bool IsRightToLeft () const
 
sal_Unicode GetExtraValue () const
 
void SetExtraValue (sal_Unicode n)
 
ExtraPortionInfoGetExtraInfos () const
 
void SetExtraInfos (ExtraPortionInfo *p)
 

Private Attributes

std::unique_ptr< ExtraPortionInfoxExtraInfos
 
sal_Int32 nLen
 
Size aOutSz
 
PortionKind nKind
 
sal_uInt8 nRightToLeftLevel
 
sal_Unicode nExtraValue
 

Detailed Description

Definition at line 378 of file editdoc.hxx.

Constructor & Destructor Documentation

◆ TextPortion() [1/2]

TextPortion::TextPortion ( sal_Int32  nL)
inline

Definition at line 390 of file editdoc.hxx.

References TEXT.

◆ TextPortion() [2/2]

TextPortion::TextPortion ( const TextPortion r)
inline

Definition at line 399 of file editdoc.hxx.

Member Function Documentation

◆ adjustSize()

void TextPortion::adjustSize ( tools::Long  nDeltaX,
tools::Long  nDeltaY 
)
inline

◆ GetExtraInfos()

ExtraPortionInfo * TextPortion::GetExtraInfos ( ) const
inline

◆ GetExtraValue()

sal_Unicode TextPortion::GetExtraValue ( ) const
inline

Definition at line 444 of file editdoc.hxx.

References nExtraValue.

Referenced by ImpEditEngine::Paint().

◆ GetKind()

PortionKind TextPortion::GetKind ( ) const
inline

◆ GetLen()

sal_Int32 TextPortion::GetLen ( ) const
inline

◆ GetRightToLeftLevel()

sal_uInt8 TextPortion::GetRightToLeftLevel ( ) const
inline

◆ GetSize()

const Size & TextPortion::GetSize ( ) const
inline

◆ IsRightToLeft()

bool TextPortion::IsRightToLeft ( ) const
inline

◆ SetExtraInfos()

void TextPortion::SetExtraInfos ( ExtraPortionInfo p)
inline

Definition at line 448 of file editdoc.hxx.

References p, and xExtraInfos.

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

◆ SetExtraValue()

void TextPortion::SetExtraValue ( sal_Unicode  n)
inline

Definition at line 445 of file editdoc.hxx.

References n, and nExtraValue.

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

◆ setHeight()

void TextPortion::setHeight ( tools::Long  nHeight)
inline

Definition at line 417 of file editdoc.hxx.

References aOutSz, and Size::setHeight().

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

◆ SetKind()

void TextPortion::SetKind ( PortionKind  n)
inline

Definition at line 437 of file editdoc.hxx.

References n, and nKind.

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

◆ SetLen()

void TextPortion::SetLen ( sal_Int32  nL)
inline

◆ SetRightToLeftLevel()

void TextPortion::SetRightToLeftLevel ( sal_uInt8  n)
inline

Definition at line 440 of file editdoc.hxx.

References n, and nRightToLeftLevel.

Referenced by ImpEditEngine::CreateLines().

◆ SetSize()

void TextPortion::SetSize ( const Size rSize)
inline

◆ setWidth()

void TextPortion::setWidth ( tools::Long  nWidth)
inline

Member Data Documentation

◆ aOutSz

Size TextPortion::aOutSz
private

Definition at line 383 of file editdoc.hxx.

Referenced by adjustSize(), GetSize(), setHeight(), SetSize(), and setWidth().

◆ nExtraValue

sal_Unicode TextPortion::nExtraValue
private

Definition at line 386 of file editdoc.hxx.

Referenced by GetExtraValue(), and SetExtraValue().

◆ nKind

PortionKind TextPortion::nKind
private

Definition at line 384 of file editdoc.hxx.

Referenced by GetKind(), and SetKind().

◆ nLen

sal_Int32 TextPortion::nLen
private

Definition at line 382 of file editdoc.hxx.

Referenced by GetLen(), and SetLen().

◆ nRightToLeftLevel

sal_uInt8 TextPortion::nRightToLeftLevel
private

Definition at line 385 of file editdoc.hxx.

Referenced by GetRightToLeftLevel(), IsRightToLeft(), and SetRightToLeftLevel().

◆ xExtraInfos

std::unique_ptr<ExtraPortionInfo> TextPortion::xExtraInfos
private

Definition at line 381 of file editdoc.hxx.

Referenced by GetExtraInfos(), and SetExtraInfos().


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