LibreOffice Module sw (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | Private Types | List of all members
SwTextSizeInfo Class Reference

#include <inftxt.hxx>

Inheritance diagram for SwTextSizeInfo:
[legend]
Collaboration diagram for SwTextSizeInfo:
[legend]

Public Member Functions

 SwTextSizeInfo (const SwTextSizeInfo &rInf)
 
 SwTextSizeInfo (const SwTextSizeInfo &rInf, const OUString *pText, TextFrameIndex nIdx=TextFrameIndex(0))
 
 SwTextSizeInfo (SwTextFrame *pTextFrame, TextFrameIndex nIndex=TextFrameIndex(0))
 
std::optional< SwMultiCreatorGetMultiCreator (TextFrameIndex &rPos, SwMultiPortion const *pM) const
 
bool OnWin () const
 
void SetOnWin (const bool bNew)
 
bool NotEOL () const
 
void SetNotEOL (const bool bNew)
 
bool URLNotify () const
 
bool StopUnderflow () const
 
void SetStopUnderflow (const bool bNew)
 
bool IsFootnoteInside () const
 
void SetFootnoteInside (const bool bNew)
 
bool IsOtherThanFootnoteInside () const
 
void SetOtherThanFootnoteInside (const bool bNew)
 
bool IsMulti () const
 
void SetMulti (const bool bNew)
 
bool IsFirstMulti () const
 
void SetFirstMulti (const bool bNew)
 
bool IsRuby () const
 
void SetRuby (const bool bNew)
 
bool IsHanging () const
 
void SetHanging (const bool bNew)
 
bool HasScriptSpace () const
 
void SetScriptSpace (const bool bNew)
 
bool HasForbiddenChars () const
 
void SetForbiddenChars (const bool bN)
 
bool SnapToGrid () const
 
void SetSnapToGrid (const bool bN)
 
sal_uInt8 GetDirection () const
 
void SetDirection (const sal_uInt8 nNew)
 
bool IsRotated () const
 
SwViewShellGetVsh ()
 
const SwViewShellGetVsh () const
 
vcl::RenderContextGetOut ()
 
const vcl::RenderContextGetOut () const
 
void SetOut (OutputDevice *pNewOut)
 
vcl::RenderContextGetRefDev ()
 
const vcl::RenderContextGetRefDev () const
 
SwFontGetFont ()
 
const SwFontGetFont () const
 
void SetFont (SwFont *pNew)
 
void SelectFont ()
 
void SetUnderFnt (SwUnderlineFont *pNew)
 
SwUnderlineFontGetUnderFnt () const
 
const SwViewOptionGetOpt () const
 
const OUString & GetText () const
 
sal_Unicode GetChar (TextFrameIndex const nPos) const
 
sal_uInt16 GetTextHeight () const
 
SwPosSize GetTextSize (OutputDevice *pOut, const SwScriptInfo *pSI, const OUString &rText, TextFrameIndex nIdx, TextFrameIndex nLen) const
 
SwPosSize GetTextSize () const
 
void GetTextSize (const SwScriptInfo *pSI, TextFrameIndex nIdx, TextFrameIndex nLen, const sal_uInt16 nComp, sal_uInt16 &nMinSize, sal_uInt16 &nMaxSizeDiff, vcl::text::TextLayoutCache const *=nullptr) const
 
SwPosSize GetTextSize (const SwScriptInfo *pSI, TextFrameIndex nIdx, TextFrameIndex nLen) const
 
SwPosSize GetTextSize (const OUString &rText) const
 
TextFrameIndex GetTextBreak (const tools::Long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, vcl::text::TextLayoutCache const *) const
 
TextFrameIndex GetTextBreak (const tools::Long nLineWidth, const TextFrameIndex nMaxLen, const sal_uInt16 nComp, TextFrameIndex &rExtraCharPos, vcl::text::TextLayoutCache const *) const
 
sal_uInt16 GetAscent () const
 
sal_uInt16 GetHangingBaseline () const
 
TextFrameIndex GetIdx () const
 
void SetIdx (const TextFrameIndex nNew)
 
TextFrameIndex GetLen () const
 
void SetLen (const TextFrameIndex nNew)
 
TextFrameIndex GetMeasureLen () const
 
void SetMeasureLen (const TextFrameIndex nNew)
 
void SetText (const OUString &rNew)
 
bool IsNoSymbol () const
 
void NoteAnimation () const
 
SwTextFrameGetTextFrame ()
 
const SwTextFrameGetTextFrame () const
 
bool HasHint (TextFrameIndex nPos) const
 
void SetMaxWidthDiff (const SwLinePortion *nKey, sal_uInt16 nVal)
 
sal_uInt16 GetMaxWidthDiff (const SwLinePortion *nKey)
 
void ResetMaxWidthDiff ()
 
bool CompressLine ()
 
sal_uInt16 GetKanaIdx () const
 
void ResetKanaIdx ()
 
void SetKanaIdx (sal_uInt16 nNew)
 
void IncKanaIdx ()
 
void SetKanaComp (std::deque< sal_uInt16 > *pNew)
 
std::deque< sal_uInt16 > * GetpKanaComp () const
 
sal_uInt16 GetKanaComp () const
 
const std::shared_ptr< const vcl::text::TextLayoutCache > & GetCachedVclData () const
 
void SetCachedVclData (std::shared_ptr< const vcl::text::TextLayoutCache > const &pCachedVclData)
 
- Public Member Functions inherited from SwTextInfo
void CtorInitTextInfo (SwTextFrame *pFrame)
 
 SwTextInfo (const SwTextInfo &rInf)
 
 SwTextInfo (SwTextFrame *pFrame)
 
SwParaPortionGetParaPortion ()
 
const SwParaPortionGetParaPortion () const
 
TextFrameIndex GetTextStart () const
 

Protected Member Functions

void CtorInitTextSizeInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, TextFrameIndex nIdx)
 
 SwTextSizeInfo ()
 
- Protected Member Functions inherited from SwTextInfo
 SwTextInfo ()
 

Protected Attributes

SwTextPortionMap m_aMaxWidth
 
std::deque< sal_uInt16 > * m_pKanaComp
 
SwViewShellm_pVsh
 
VclPtr< OutputDevicem_pOut
 
VclPtr< OutputDevicem_pRef
 
std::shared_ptr< const vcl::text::TextLayoutCachem_pCachedVclData
 
SwFontm_pFnt
 
SwUnderlineFontm_pUnderFnt
 
SwTextFramem_pFrame
 
const SwViewOptionm_pOpt
 
const OUString * m_pText
 
TextFrameIndex m_nIdx
 
TextFrameIndex m_nLen
 
TextFrameIndex m_nMeasureLen
 
sal_uInt16 m_nKanaIdx
 
bool m_bOnWin: 1
 
bool m_bNotEOL: 1
 
bool m_bURLNotify: 1
 
bool m_bStopUnderflow: 1
 
bool m_bFootnoteInside: 1
 
bool m_bOtherThanFootnoteInside: 1
 
bool m_bMulti: 1
 
bool m_bFirstMulti: 1
 
bool m_bRuby: 1
 
bool m_bHanging: 1
 
bool m_bScriptSpace: 1
 
bool m_bForbiddenChars: 1
 
bool m_bSnapToGrid: 1
 
sal_uInt8 m_nDirection: 2
 

Private Types

typedef std::map< SwLinePortion const *, sal_uInt16 > SwTextPortionMap
 

Detailed Description

Definition at line 126 of file inftxt.hxx.

Member Typedef Documentation

◆ SwTextPortionMap

typedef std::map< SwLinePortion const *, sal_uInt16 > SwTextSizeInfo::SwTextPortionMap
private

Definition at line 129 of file inftxt.hxx.

Constructor & Destructor Documentation

◆ SwTextSizeInfo() [1/4]

SwTextSizeInfo::SwTextSizeInfo ( )
protected

Definition at line 182 of file inftxt.cxx.

◆ SwTextSizeInfo() [2/4]

SwTextSizeInfo::SwTextSizeInfo ( const SwTextSizeInfo rInf)

Definition at line 212 of file inftxt.cxx.

References ChkOutDev(), GetDirection(), GetFont(), and GetLen().

◆ SwTextSizeInfo() [3/4]

SwTextSizeInfo::SwTextSizeInfo ( const SwTextSizeInfo rInf,
const OUString *  pText,
TextFrameIndex  nIdx = TextFrameIndex(0) 
)

Definition at line 323 of file inftxt.cxx.

References ChkOutDev(), GetDirection(), GetFont(), GetMinLen(), nIndex, and SetLen().

◆ SwTextSizeInfo() [4/4]

SwTextSizeInfo::SwTextSizeInfo ( SwTextFrame pTextFrame,
TextFrameIndex  nIndex = TextFrameIndex(0) 
)

Member Function Documentation

◆ CompressLine()

bool SwTextSizeInfo::CompressLine ( )
inline

Definition at line 315 of file inftxt.hxx.

References m_aMaxWidth.

◆ CtorInitTextSizeInfo()

void SwTextSizeInfo::CtorInitTextSizeInfo ( OutputDevice pRenderContext,
SwTextFrame pFrame,
TextFrameIndex  nIdx 
)
protected

◆ GetAscent()

sal_uInt16 SwTextSizeInfo::GetAscent ( ) const
inline

◆ GetCachedVclData()

const std::shared_ptr< const vcl::text::TextLayoutCache > & SwTextSizeInfo::GetCachedVclData ( ) const
inline

◆ GetChar()

sal_Unicode SwTextSizeInfo::GetChar ( TextFrameIndex const  nPos) const
inline

◆ GetDirection()

sal_uInt8 SwTextSizeInfo::GetDirection ( ) const
inline

Definition at line 218 of file inftxt.hxx.

References m_nDirection.

Referenced by SwTextPaintInfo::CalcRect(), and SwLinePortion::Move().

◆ GetFont() [1/2]

SwFont * SwTextSizeInfo::GetFont ( )
inline

◆ GetFont() [2/2]

const SwFont * SwTextSizeInfo::GetFont ( ) const
inline

Definition at line 233 of file inftxt.hxx.

References m_pFnt.

◆ GetHangingBaseline()

sal_uInt16 SwTextSizeInfo::GetHangingBaseline ( ) const
inline

Definition at line 723 of file inftxt.hxx.

References GetFont(), GetHangingBaseline(), GetOut(), and m_pVsh.

Referenced by SwTextFormatter::CalcAscent(), and GetHangingBaseline().

◆ GetIdx()

TextFrameIndex SwTextSizeInfo::GetIdx ( ) const
inline

Definition at line 273 of file inftxt.hxx.

References m_nIdx.

Referenced by SwRubyPortion::Adjust_(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextPortion::BreakCut(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcAscent(), SwDoubleLinePortion::CalcBlanks(), SwTextFormatter::CalcFlyWidth(), SwDropCapCache::CalcFontSize(), SwTextFormatInfo::CheckCurrentPosBookmark(), SwFieldPortion::CheckScript(), SwTextPainter::CheckSpecialUnderline(), SwTextPortion::CreateHyphen(), SwTextPaintInfo::DrawBackBrush(), SwTextPainter::DrawTextLine(), SwDropPortion::Format(), SwBlankPortion::Format(), SwFieldPortion::Format(), SwCombinedPortion::Format(), SwFlyPortion::Format(), SwFootnotePortion::Format(), SwSoftHyphPortion::Format(), SwBreakPortion::Format(), SwHiddenTextPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwTextPortion::Format_(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwTextPortion::FormatEOL(), SwTextCursor::GetCharRect_(), SwTextInputFieldPortion::GetExpText(), GetMinLen(), SwTextCursor::GetModelPositionForViewPoint(), SwBidiPortion::GetSpaceCnt(), GetTextBreak(), SwDropPortion::GetTextSize(), SwTextGuess::Guess(), lcl_AddSpace(), SwBlankPortion::MayUnderflow(), SwTextFormatter::MergeCharacterBorder(), SwLinePortion::Move(), SwTextFormatter::NewDropPortion(), SwTextFormatter::NewErgoSumPortion(), SwTextFormatter::NewExtraPortion(), SwTextFormatter::NewFootnoteNumPortion(), SwTextFormatter::NewNumberPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwGluePortion::Paint(), SwTextPortion::Paint(), SwFieldFormCheckboxPortion::Paint(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), SwTabPortion::PreFormat(), SwTextIter::SeekAndChg(), SwTextIter::SeekAndChgBefore(), SwTaggedPDFHelper::SetAttributes(), SwTextCursorSave::SwTextCursorSave(), SwTextSlot::SwTextSlot(), SwTextFormatter::TryNewNoLengthPortion(), SwTextFormatter::UpdatePos(), SwTextFormatter::WhichFirstPortion(), and SwTextFormatter::WhichTextPor().

◆ GetKanaComp()

sal_uInt16 SwTextSizeInfo::GetKanaComp ( ) const
inline

Definition at line 328 of file inftxt.hxx.

References m_nKanaIdx, m_pKanaComp, and size.

Referenced by SwTextPaintInfo::DrawText_(), and GetTextSize().

◆ GetKanaIdx()

sal_uInt16 SwTextSizeInfo::GetKanaIdx ( ) const
inline

Definition at line 322 of file inftxt.hxx.

References m_nKanaIdx.

◆ GetLen()

TextFrameIndex SwTextSizeInfo::GetLen ( ) const
inline

◆ GetMaxWidthDiff()

sal_uInt16 SwTextSizeInfo::GetMaxWidthDiff ( const SwLinePortion nKey)
inline

Definition at line 302 of file inftxt.hxx.

References m_aMaxWidth.

Referenced by SwTextAdjuster::CalcKanaAdj().

◆ GetMeasureLen()

TextFrameIndex SwTextSizeInfo::GetMeasureLen ( ) const
inline

Definition at line 277 of file inftxt.hxx.

References m_nMeasureLen.

Referenced by SwTextCursor::GetCharRect_(), and SwTextSlot::SwTextSlot().

◆ GetMultiCreator()

std::optional< SwMultiCreator > SwTextSizeInfo::GetMultiCreator ( TextFrameIndex rPos,
SwMultiPortion const *  pM 
) const

◆ GetOpt()

const SwViewOption & SwTextSizeInfo::GetOpt ( ) const
inline

◆ GetOut() [1/2]

vcl::RenderContext * SwTextSizeInfo::GetOut ( )
inline

◆ GetOut() [2/2]

const vcl::RenderContext * SwTextSizeInfo::GetOut ( ) const
inline

Definition at line 226 of file inftxt.hxx.

References m_pOut.

◆ GetpKanaComp()

std::deque< sal_uInt16 > * SwTextSizeInfo::GetpKanaComp ( ) const
inline

Definition at line 327 of file inftxt.hxx.

References m_pKanaComp.

◆ GetRefDev() [1/2]

vcl::RenderContext * SwTextSizeInfo::GetRefDev ( )
inline

Definition at line 229 of file inftxt.hxx.

References m_pRef.

Referenced by ChkOutDev(), and SwHookOut::SwHookOut().

◆ GetRefDev() [2/2]

const vcl::RenderContext * SwTextSizeInfo::GetRefDev ( ) const
inline

Definition at line 230 of file inftxt.hxx.

References m_pRef.

◆ GetText()

const OUString & SwTextSizeInfo::GetText ( ) const
inline

◆ GetTextBreak() [1/2]

TextFrameIndex SwTextSizeInfo::GetTextBreak ( const tools::Long  nLineWidth,
const TextFrameIndex  nMaxLen,
const sal_uInt16  nComp,
TextFrameIndex rExtraCharPos,
vcl::text::TextLayoutCache const *  pCache 
) const

◆ GetTextBreak() [2/2]

TextFrameIndex SwTextSizeInfo::GetTextBreak ( const tools::Long  nLineWidth,
const TextFrameIndex  nMaxLen,
const sal_uInt16  nComp,
vcl::text::TextLayoutCache const *  pCache 
) const

◆ GetTextFrame() [1/2]

SwTextFrame * SwTextSizeInfo::GetTextFrame ( )
inline

Definition at line 288 of file inftxt.hxx.

References m_pFrame.

Referenced by SwTextCursor::AdjustBaseLine(), SwTextFormatter::AlignFlyInCntBase(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcFlyWidth(), SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwTextPaintInfo::CalcRect(), SwTextPortion::CalcSpacing(), checkApplyParagraphMarkFormatToNumbering(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBorder(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawPostIts(), SwTextPaintInfo::DrawRedArrow(), SwTextPaintInfo::DrawTab(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwNumberPortion::Format(), SwCombinedPortion::Format(), SwBreakPortion::Format(), SwHiddenTextPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwTextPortion::Format_(), SwTextFormatInfo::GetCharAttr(), SwTextFormatInfo::GetDropFormat(), SwTextFormatInfo::GetLineWidth(), GetMultiCreator(), SwTextPortion::GetSpaceCnt(), SwTextGuess::Guess(), SwTextFormatInfo::Init(), SwTextFormatInfo::InitHyph(), lcl_AddSpace(), lcl_DrawSpecial(), lcl_IsDropFlyInter(), SwLinePortion::Move(), SwTextFormatter::NewDropPortion(), SwTextFormatter::NewFlyCntPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTabPortion(), SwDropPortion::Paint(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), sw::FlyContentPortion::Paint(), SwBreakPortion::Paint(), SwControlCharPortion::Paint(), SwBookmarkPortion::Paint(), SwFieldFormCheckboxPortion::Paint(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), SwTabPortion::PostFormat(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SwTextFormatInfo::ScanPortionEnd(), SwTextFormatInfo::SetParaFootnote(), SwArrowPortion::SwArrowPortion(), SwRubyPortion::SwRubyPortion(), SwTextSlot::SwTextSlot(), SwTextFormatter::TryNewNoLengthPortion(), SwTextFormatter::UpdatePos(), and SwTextFormatter::WhichTextPor().

◆ GetTextFrame() [2/2]

const SwTextFrame * SwTextSizeInfo::GetTextFrame ( ) const
inline

Definition at line 289 of file inftxt.hxx.

References m_pFrame.

◆ GetTextHeight()

sal_uInt16 SwTextSizeInfo::GetTextHeight ( ) const
inline

◆ GetTextSize() [1/5]

SwPosSize SwTextSizeInfo::GetTextSize ( ) const

◆ GetTextSize() [2/5]

SwPosSize SwTextSizeInfo::GetTextSize ( const OUString &  rText) const
inline

Definition at line 729 of file inftxt.hxx.

References GetTextSize(), and m_pOut.

◆ GetTextSize() [3/5]

SwPosSize SwTextSizeInfo::GetTextSize ( const SwScriptInfo pSI,
TextFrameIndex  nIdx,
TextFrameIndex  nLen 
) const
inline

Definition at line 734 of file inftxt.hxx.

References GetTextSize(), m_pOut, and m_pText.

◆ GetTextSize() [4/5]

void SwTextSizeInfo::GetTextSize ( const SwScriptInfo pSI,
TextFrameIndex  nIdx,
TextFrameIndex  nLen,
const sal_uInt16  nComp,
sal_uInt16 &  nMinSize,
sal_uInt16 &  nMaxSizeDiff,
vcl::text::TextLayoutCache const *  pCache = nullptr 
) const

◆ GetTextSize() [5/5]

SwPosSize SwTextSizeInfo::GetTextSize ( OutputDevice pOut,
const SwScriptInfo pSI,
const OUString &  rText,
TextFrameIndex  nIdx,
TextFrameIndex  nLen 
) const

◆ GetUnderFnt()

SwUnderlineFont * SwTextSizeInfo::GetUnderFnt ( ) const
inline

◆ GetVsh() [1/2]

SwViewShell * SwTextSizeInfo::GetVsh ( )
inline

◆ GetVsh() [2/2]

const SwViewShell * SwTextSizeInfo::GetVsh ( ) const
inline

Definition at line 223 of file inftxt.hxx.

References m_pVsh.

◆ HasForbiddenChars()

bool SwTextSizeInfo::HasForbiddenChars ( ) const
inline

Definition at line 214 of file inftxt.hxx.

References m_bForbiddenChars.

Referenced by SwTextGuess::Guess().

◆ HasHint()

bool SwTextSizeInfo::HasHint ( TextFrameIndex  nPos) const

◆ HasScriptSpace()

bool SwTextSizeInfo::HasScriptSpace ( ) const
inline

Definition at line 212 of file inftxt.hxx.

References m_bScriptSpace.

Referenced by SwTextFormatter::BuildPortions().

◆ IncKanaIdx()

void SwTextSizeInfo::IncKanaIdx ( )
inline

Definition at line 325 of file inftxt.hxx.

References m_nKanaIdx.

Referenced by SwLinePortion::Move().

◆ IsFirstMulti()

bool SwTextSizeInfo::IsFirstMulti ( ) const
inline

◆ IsFootnoteInside()

bool SwTextSizeInfo::IsFootnoteInside ( ) const
inline

Definition at line 200 of file inftxt.hxx.

References m_bFootnoteInside.

Referenced by SwTextFormatInfo::CheckFootnotePortion(), and SwTextGuess::Guess().

◆ IsHanging()

bool SwTextSizeInfo::IsHanging ( ) const
inline

Definition at line 210 of file inftxt.hxx.

References m_bHanging.

Referenced by SwTextGuess::Guess().

◆ IsMulti()

bool SwTextSizeInfo::IsMulti ( ) const
inline

◆ IsNoSymbol()

bool SwTextSizeInfo::IsNoSymbol ( ) const
inline

◆ IsOtherThanFootnoteInside()

bool SwTextSizeInfo::IsOtherThanFootnoteInside ( ) const
inline

Definition at line 202 of file inftxt.hxx.

References m_bOtherThanFootnoteInside.

Referenced by SwTextPortion::Format_(), and SwTextFormatter::InsertPortion().

◆ IsRotated()

bool SwTextSizeInfo::IsRotated ( ) const
inline

Definition at line 220 of file inftxt.hxx.

References m_nDirection.

Referenced by SwTextPaintInfo::CalcRect(), and SwLinePortion::Move().

◆ IsRuby()

bool SwTextSizeInfo::IsRuby ( ) const
inline

Definition at line 208 of file inftxt.hxx.

References m_bRuby.

Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextFormatter::BuildPortions().

◆ NoteAnimation()

void SwTextSizeInfo::NoteAnimation ( ) const

Definition at line 376 of file inftxt.cxx.

References SwRootFrame::FlushVout(), SwViewShell::GetOut(), m_pOut, m_pVsh, and OnWin().

Referenced by SwGrfNumPortion::Paint().

◆ NotEOL()

bool SwTextSizeInfo::NotEOL ( ) const
inline

Definition at line 195 of file inftxt.hxx.

References m_bNotEOL.

Referenced by SwTextPortion::BreakCut(), and SwTextGuess::Guess().

◆ OnWin()

bool SwTextSizeInfo::OnWin ( ) const
inline

◆ ResetKanaIdx()

void SwTextSizeInfo::ResetKanaIdx ( )
inline

◆ ResetMaxWidthDiff()

void SwTextSizeInfo::ResetMaxWidthDiff ( )
inline

Definition at line 311 of file inftxt.hxx.

References m_aMaxWidth.

Referenced by SwTextFormatter::FormatLine().

◆ SelectFont()

void SwTextSizeInfo::SelectFont ( )

◆ SetCachedVclData()

void SwTextSizeInfo::SetCachedVclData ( std::shared_ptr< const vcl::text::TextLayoutCache > const &  pCachedVclData)
inline

◆ SetDirection()

void SwTextSizeInfo::SetDirection ( const sal_uInt8  nNew)
inline

Definition at line 219 of file inftxt.hxx.

References m_nDirection.

Referenced by SwTextPainter::PaintMultiPortion(), and SwTextFormatter::UpdatePos().

◆ SetFirstMulti()

void SwTextSizeInfo::SetFirstMulti ( const bool  bNew)
inline

◆ SetFont()

void SwTextSizeInfo::SetFont ( SwFont pNew)
inline

◆ SetFootnoteInside()

void SwTextSizeInfo::SetFootnoteInside ( const bool  bNew)
inline

Definition at line 201 of file inftxt.hxx.

References m_bFootnoteInside.

Referenced by SwTextFormatter::FormatLine(), and SwTextFormatter::NewFootnotePortion().

◆ SetForbiddenChars()

void SwTextSizeInfo::SetForbiddenChars ( const bool  bN)
inline

Definition at line 215 of file inftxt.hxx.

References m_bForbiddenChars.

Referenced by SwTextFormatInfo::InitHyph().

◆ SetHanging()

void SwTextSizeInfo::SetHanging ( const bool  bNew)
inline

Definition at line 211 of file inftxt.hxx.

References m_bHanging.

Referenced by SwTextFormatInfo::InitHyph().

◆ SetIdx()

void SwTextSizeInfo::SetIdx ( const TextFrameIndex  nNew)
inline

◆ SetKanaComp()

void SwTextSizeInfo::SetKanaComp ( std::deque< sal_uInt16 > *  pNew)
inline

◆ SetKanaIdx()

void SwTextSizeInfo::SetKanaIdx ( sal_uInt16  nNew)
inline

Definition at line 324 of file inftxt.hxx.

References m_nKanaIdx.

Referenced by SwTextCursor::GetCharRect_().

◆ SetLen()

void SwTextSizeInfo::SetLen ( const TextFrameIndex  nNew)
inline

◆ SetMaxWidthDiff()

void SwTextSizeInfo::SetMaxWidthDiff ( const SwLinePortion nKey,
sal_uInt16  nVal 
)
inline

Definition at line 298 of file inftxt.hxx.

References m_aMaxWidth.

Referenced by SwTextGuess::Guess().

◆ SetMeasureLen()

void SwTextSizeInfo::SetMeasureLen ( const TextFrameIndex  nNew)
inline

◆ SetMulti()

void SwTextSizeInfo::SetMulti ( const bool  bNew)
inline

◆ SetNotEOL()

void SwTextSizeInfo::SetNotEOL ( const bool  bNew)
inline

Definition at line 196 of file inftxt.hxx.

References m_bNotEOL.

Referenced by SwFieldPortion::Format().

◆ SetOnWin()

void SwTextSizeInfo::SetOnWin ( const bool  bNew)
inline

Definition at line 194 of file inftxt.hxx.

References m_bOnWin.

Referenced by SwTextCursor::GetCharRect_(), SwHookOut::SwHookOut(), and SwHookOut::~SwHookOut().

◆ SetOtherThanFootnoteInside()

void SwTextSizeInfo::SetOtherThanFootnoteInside ( const bool  bNew)
inline

◆ SetOut()

void SwTextSizeInfo::SetOut ( OutputDevice pNewOut)
inline

Definition at line 227 of file inftxt.hxx.

References m_pOut.

Referenced by SwHookOut::SwHookOut(), and SwHookOut::~SwHookOut().

◆ SetRuby()

void SwTextSizeInfo::SetRuby ( const bool  bNew)
inline

Definition at line 209 of file inftxt.hxx.

References m_bRuby.

Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextPainter::PaintMultiPortion().

◆ SetScriptSpace()

void SwTextSizeInfo::SetScriptSpace ( const bool  bNew)
inline

Definition at line 213 of file inftxt.hxx.

References m_bScriptSpace.

Referenced by SwTextFormatInfo::InitHyph().

◆ SetSnapToGrid()

void SwTextSizeInfo::SetSnapToGrid ( const bool  bN)
inline

◆ SetStopUnderflow()

void SwTextSizeInfo::SetStopUnderflow ( const bool  bNew)
inline

Definition at line 199 of file inftxt.hxx.

References m_bStopUnderflow.

Referenced by SwTextFormatter::NewPortion(), and SwTextFormatter::Underflow().

◆ SetText()

void SwTextSizeInfo::SetText ( const OUString &  rNew)
inline

◆ SetUnderFnt()

void SwTextSizeInfo::SetUnderFnt ( SwUnderlineFont pNew)
inline

◆ SnapToGrid()

bool SwTextSizeInfo::SnapToGrid ( ) const
inline

◆ StopUnderflow()

bool SwTextSizeInfo::StopUnderflow ( ) const
inline

Definition at line 198 of file inftxt.hxx.

References m_bStopUnderflow.

Referenced by SwBlankPortion::MayUnderflow().

◆ URLNotify()

bool SwTextSizeInfo::URLNotify ( ) const
inline

Definition at line 197 of file inftxt.hxx.

References m_bURLNotify.

Member Data Documentation

◆ m_aMaxWidth

SwTextPortionMap SwTextSizeInfo::m_aMaxWidth
protected

Definition at line 134 of file inftxt.hxx.

Referenced by CompressLine(), GetMaxWidthDiff(), ResetMaxWidthDiff(), and SetMaxWidthDiff().

◆ m_bFirstMulti

bool SwTextSizeInfo::m_bFirstMulti
protected

Definition at line 167 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), IsFirstMulti(), and SetFirstMulti().

◆ m_bFootnoteInside

bool SwTextSizeInfo::m_bFootnoteInside
protected

Definition at line 163 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), IsFootnoteInside(), and SetFootnoteInside().

◆ m_bForbiddenChars

bool SwTextSizeInfo::m_bForbiddenChars
protected

Definition at line 174 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), HasForbiddenChars(), and SetForbiddenChars().

◆ m_bHanging

bool SwTextSizeInfo::m_bHanging
protected

Definition at line 172 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), IsHanging(), and SetHanging().

◆ m_bMulti

bool SwTextSizeInfo::m_bMulti
protected

Definition at line 166 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), IsMulti(), and SetMulti().

◆ m_bNotEOL

bool SwTextSizeInfo::m_bNotEOL
protected

Definition at line 160 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), NotEOL(), and SetNotEOL().

◆ m_bOnWin

bool SwTextSizeInfo::m_bOnWin
protected

Definition at line 159 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), OnWin(), and SetOnWin().

◆ m_bOtherThanFootnoteInside

bool SwTextSizeInfo::m_bOtherThanFootnoteInside
protected

◆ m_bRuby

bool SwTextSizeInfo::m_bRuby
protected

Definition at line 171 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), IsRuby(), and SetRuby().

◆ m_bScriptSpace

bool SwTextSizeInfo::m_bScriptSpace
protected

Definition at line 173 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), HasScriptSpace(), and SetScriptSpace().

◆ m_bSnapToGrid

bool SwTextSizeInfo::m_bSnapToGrid
protected

Definition at line 175 of file inftxt.hxx.

Referenced by SetSnapToGrid(), and SnapToGrid().

◆ m_bStopUnderflow

bool SwTextSizeInfo::m_bStopUnderflow
protected

Definition at line 162 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), SetStopUnderflow(), and StopUnderflow().

◆ m_bURLNotify

bool SwTextSizeInfo::m_bURLNotify
protected

Definition at line 161 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), and URLNotify().

◆ m_nDirection

sal_uInt8 SwTextSizeInfo::m_nDirection
protected

Definition at line 176 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), GetDirection(), IsRotated(), and SetDirection().

◆ m_nIdx

TextFrameIndex SwTextSizeInfo::m_nIdx
protected

◆ m_nKanaIdx

sal_uInt16 SwTextSizeInfo::m_nKanaIdx
protected

◆ m_nLen

TextFrameIndex SwTextSizeInfo::m_nLen
protected

Definition at line 156 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), GetLen(), GetTextSize(), and SetLen().

◆ m_nMeasureLen

TextFrameIndex SwTextSizeInfo::m_nMeasureLen
protected

Definition at line 157 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), GetMeasureLen(), GetTextSize(), and SetMeasureLen().

◆ m_pCachedVclData

std::shared_ptr<const vcl::text::TextLayoutCache> SwTextSizeInfo::m_pCachedVclData
protected

Definition at line 148 of file inftxt.hxx.

Referenced by GetCachedVclData(), and SetCachedVclData().

◆ m_pFnt

SwFont* SwTextSizeInfo::m_pFnt
protected

◆ m_pFrame

SwTextFrame* SwTextSizeInfo::m_pFrame
protected

◆ m_pKanaComp

std::deque<sal_uInt16>* SwTextSizeInfo::m_pKanaComp
protected

Definition at line 137 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), GetKanaComp(), GetpKanaComp(), and SetKanaComp().

◆ m_pOpt

const SwViewOption* SwTextSizeInfo::m_pOpt
protected

Definition at line 153 of file inftxt.hxx.

Referenced by CtorInitTextSizeInfo(), SwTextPaintInfo::DrawPostIts(), and GetOpt().

◆ m_pOut

VclPtr<OutputDevice> SwTextSizeInfo::m_pOut
protected

◆ m_pRef

VclPtr<OutputDevice> SwTextSizeInfo::m_pRef
protected

◆ m_pText

const OUString* SwTextSizeInfo::m_pText
protected

◆ m_pUnderFnt

SwUnderlineFont* SwTextSizeInfo::m_pUnderFnt
protected

◆ m_pVsh

SwViewShell* SwTextSizeInfo::m_pVsh
protected

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