LibreOffice Module sw (master) 1
Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
SwTextFrameInfo Class Reference

#include <frminf.hxx>

Collaboration diagram for SwTextFrameInfo:
[legend]

Public Member Functions

 SwTextFrameInfo (const SwTextFrame *pTextFrame)
 
bool IsOneLine () const
 
bool IsFilled (const sal_uInt8 nPercent) const
 
SwTwips GetLineStart () const
 
SwTwips GetCharPos (TextFrameIndex nChar, bool bCenter=true) const
 
void GetSpaces (std::vector< std::pair< TextFrameIndex, TextFrameIndex > > &, bool bWithLineBreak) const
 
bool IsBullet (TextFrameIndex nTextPos) const
 
SwTwips GetFirstIndent () const
 
const SwTextFrameGetFrame () const
 
SwTextFrameInfoSetFrame (const SwTextFrame *pNew)
 
sal_Int32 GetBigIndent (TextFrameIndex &rFndPos, const SwTextFrame *pNextFrame) const
 

Static Private Member Functions

static SwTwips GetLineStart (const SwTextCursor &rLine)
 

Private Attributes

const SwTextFramem_pFrame
 

Detailed Description

Definition at line 32 of file frminf.hxx.

Constructor & Destructor Documentation

◆ SwTextFrameInfo()

SwTextFrameInfo::SwTextFrameInfo ( const SwTextFrame pTextFrame)
inline

Definition at line 40 of file frminf.hxx.

Member Function Documentation

◆ GetBigIndent()

sal_Int32 SwTextFrameInfo::GetBigIndent ( TextFrameIndex rFndPos,
const SwTextFrame pNextFrame 
) const

◆ GetCharPos()

SwTwips SwTextFrameInfo::GetCharPos ( TextFrameIndex  nChar,
bool  bCenter = true 
) const

◆ GetFirstIndent()

SwTwips SwTextFrameInfo::GetFirstIndent ( ) const

◆ GetFrame()

const SwTextFrame * SwTextFrameInfo::GetFrame ( ) const
inline

Definition at line 64 of file frminf.hxx.

References m_pFrame.

Referenced by SwAutoFormat::AutoCorrect(), and SwNodes::TextToTable().

◆ GetLineStart() [1/2]

SwTwips SwTextFrameInfo::GetLineStart ( ) const

◆ GetLineStart() [2/2]

SwTwips SwTextFrameInfo::GetLineStart ( const SwTextCursor rLine)
staticprivate

◆ GetSpaces()

void SwTextFrameInfo::GetSpaces ( std::vector< std::pair< TextFrameIndex, TextFrameIndex > > &  rRanges,
bool  bWithLineBreak 
) const

◆ IsBullet()

bool SwTextFrameInfo::IsBullet ( TextFrameIndex  nTextPos) const

◆ IsFilled()

bool SwTextFrameInfo::IsFilled ( const sal_uInt8  nPercent) const

◆ IsOneLine()

bool SwTextFrameInfo::IsOneLine ( ) const

◆ SetFrame()

SwTextFrameInfo & SwTextFrameInfo::SetFrame ( const SwTextFrame pNew)
inline

Member Data Documentation

◆ m_pFrame

const SwTextFrame* SwTextFrameInfo::m_pFrame
private

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