LibreOffice Module sw (master)
1
|
#include <inftxt.hxx>
Protected Member Functions | |
void | CtorInitTextSizeInfo (OutputDevice *pRenderContext, SwTextFrame *pFrame, TextFrameIndex nIdx) |
SwTextSizeInfo () | |
![]() | |
SwTextInfo () | |
Protected Attributes | |
SwTextPortionMap | m_aMaxWidth |
std::deque< sal_uInt16 > * | m_pKanaComp |
SwViewShell * | m_pVsh |
VclPtr< OutputDevice > | m_pOut |
VclPtr< OutputDevice > | m_pRef |
std::shared_ptr< const vcl::text::TextLayoutCache > | m_pCachedVclData |
SwFont * | m_pFnt |
SwUnderlineFont * | m_pUnderFnt |
SwTextFrame * | m_pFrame |
const SwViewOption * | m_pOpt |
const OUString * | m_pText |
TextFrameIndex | m_nIdx |
TextFrameIndex | m_nLen |
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 |
Definition at line 126 of file inftxt.hxx.
|
private |
Definition at line 129 of file inftxt.hxx.
|
protected |
Definition at line 182 of file inftxt.cxx.
References false.
SwTextSizeInfo::SwTextSizeInfo | ( | const SwTextSizeInfo & | rInf | ) |
Definition at line 211 of file inftxt.cxx.
References ChkOutDev(), GetDirection(), GetFont(), and GetLen().
SwTextSizeInfo::SwTextSizeInfo | ( | const SwTextSizeInfo & | rInf, |
const OUString * | pText, | ||
TextFrameIndex | nIdx = TextFrameIndex(0) |
||
) |
Definition at line 321 of file inftxt.cxx.
References ChkOutDev(), GetDirection(), GetFont(), GetMinLen(), and SetLen().
SwTextSizeInfo::SwTextSizeInfo | ( | SwTextFrame * | pTextFrame, |
TextFrameIndex | nIndex = TextFrameIndex(0) |
||
) |
Definition at line 357 of file inftxt.cxx.
References CtorInitTextSizeInfo(), false, SwRootFrame::GetCurrShell(), SwViewShell::GetOut(), and SwFrame::getRootFrame().
|
inline |
Definition at line 312 of file inftxt.hxx.
|
protected |
Definition at line 245 of file inftxt.cxx.
References vcl::text::BiDiRtl, vcl::text::BiDiStrong, ChkOutDev(), COMPLETE_STRING, SwTextInfo::CtorInitTextInfo(), DIR_LEFT2RIGHT, DIR_RIGHT2LEFT, SwRootFrame::GetCurrShell(), Application::GetDefaultDevice(), SwTextFrame::GetDoc(), GetMinLen(), OutputDevice::GetOutDevType(), SwAttrSet::GetParaGrid(), SwFrame::getRootFrame(), SwContentNode::GetSwAttrSet(), SwTextFrame::GetText(), SwTextFrame::GetTextNodeForParaProps(), HTML_MODE, SwFrame::IsInDocBody(), SwFrame::IsRightToLeft(), m_bFirstMulti, m_bFootnoteInside, m_bForbiddenChars, m_bHanging, m_bMulti, m_bNotEOL, m_bOnWin, m_bOtherThanFootnoteInside, m_bRuby, m_bScriptSpace, m_bStopUnderflow, m_bURLNotify, m_nDirection, m_nIdx, m_nKanaIdx, m_nLen, m_pFnt, m_pFrame, m_pKanaComp, m_pOpt, m_pOut, m_pRef, m_pText, m_pUnderFnt, m_pVsh, OUTDEV_WINDOW, pNoteURL, OutputDevice::SetLayoutMode(), SetLen(), SetSnapToGrid(), and SW_MOD.
Referenced by SwTextPaintInfo::CtorInitTextPaintInfo(), and SwTextSizeInfo().
|
inline |
Definition at line 707 of file inftxt.hxx.
References GetFont(), and GetOut().
Referenced by SwTextFormatter::CalcAscent(), SwTextPaintInfo::DrawRedArrow(), SwFootnotePortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwDoubleLinePortion::FormatBrackets(), SwTextFormatter::FormatQuoVadis(), and lcl_DrawSpecial().
|
inline |
Definition at line 329 of file inftxt.hxx.
References m_pCachedVclData.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextGuess::Guess(), and SwTextSlot::SwTextSlot().
|
inline |
Definition at line 240 of file inftxt.hxx.
Referenced by SwFlyPortion::Format(), SwTextPortion::Format_(), SwTextFrame::FormatAdjust(), SwTextPortion::FormatEOL(), SwTextFormatter::FormatQuoVadis(), SwTextInputFieldPortion::GetExpText(), GetMultiCreator(), SwTextFrameInfo::GetSpaces(), SwTextGuess::Guess(), lcl_AddSpace(), SwBlankPortion::MayUnderflow(), SwTextFormatter::NewPortion(), SwGluePortion::Paint(), and SwTextFormatInfo::ScanPortionEnd().
|
inline |
Definition at line 217 of file inftxt.hxx.
References m_nDirection.
Referenced by SwTextPaintInfo::CalcRect(), and SwLinePortion::Move().
|
inline |
Definition at line 231 of file inftxt.hxx.
References m_pFnt.
Referenced by SwTextGuess::AlternativeSpelling(), SwTaggedPDFHelper::BeginInlineStructureElements(), SwTextPortion::BreakCut(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcAscent(), SwLineLayout::CalcLine(), SwTextPaintInfo::CalcRect(), SwFieldPortion::CheckScript(), SwTextPortion::CreateHyphen(), SwFieldPortion::Format(), SwCombinedPortion::Format(), SwTextPortion::Format_(), SwDoubleLinePortion::FormatBrackets(), GetAscent(), SwTextCursor::GetCharRect_(), GetHangingBaseline(), SwTextCursor::GetModelPositionForViewPoint(), GetTextHeight(), SwTextPortion::GetTextSize(), GetTextSize(), SwTextGuess::Guess(), SwTextFormatter::Hyphenate(), SwTextFormatInfo::IsHyphenate(), lcl_DrawSpecial(), lcl_GetCharRectInsideField(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewDropPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwExpandPortion::Paint(), SwTabPortion::Paint(), SwGluePortion::Paint(), SwTmpEndPortion::Paint(), SwHolePortion::Paint(), SwBreakPortion::Paint(), SwDropPortion::Paint(), SwKernPortion::Paint(), SwNumberPortion::Paint(), SwControlCharPortion::Paint(), SwCombinedPortion::Paint(), SwDoubleLinePortion::PaintBracket(), SwTextPainter::PaintMultiPortion(), SwTabPortion::PreFormat(), SwLinePortion::PrePaint(), SelectFont(), and SwTaggedPDFHelper::SetAttributes().
|
inline |
Definition at line 232 of file inftxt.hxx.
References m_pFnt.
|
inline |
Definition at line 719 of file inftxt.hxx.
References GetFont(), and GetOut().
Referenced by SwTextFormatter::CalcAscent().
|
inline |
Definition at line 272 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(), SwFlyPortion::Format(), SwFootnotePortion::Format(), SwBlankPortion::Format(), SwSoftHyphPortion::Format(), SwBreakPortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwHiddenTextPortion::Format(), SwCombinedPortion::Format(), SwTextPortion::Format_(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwTextPortion::FormatEOL(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::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(), SwTextPortion::Paint(), SwGluePortion::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().
|
inline |
Definition at line 325 of file inftxt.hxx.
References m_nKanaIdx, and size.
Referenced by SwTextPaintInfo::DrawText_(), and GetTextSize().
|
inline |
Definition at line 319 of file inftxt.hxx.
References m_nKanaIdx.
|
inline |
Definition at line 274 of file inftxt.hxx.
References m_nLen.
Referenced by SwTextFormatter::BuildPortions(), SwLinePortion::CalcTextSize(), SwTextPortion::CreateHyphen(), SwTextPaintInfo::DrawBackBrush(), SwExpandPortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwTextPortion::Format_(), SwDropPortion::FormatText(), GetMinLen(), SwGluePortion::GetTextSize(), SwTextInputFieldPortion::GetTextSize(), SwDropPortion::GetTextSize(), SwTextGuess::Guess(), SwTextFormatInfo::LastKernPortion(), SwExpandPortion::Paint(), SwTextPortion::Paint(), SwGluePortion::Paint(), SwQuoVadisPortion::Paint(), SwNumberPortion::Paint(), SwTextPainter::PaintMultiPortion(), and SwTextSlot::SwTextSlot().
|
inline |
Definition at line 299 of file inftxt.hxx.
Referenced by SwTextAdjuster::CalcKanaAdj().
std::optional< SwMultiCreator > SwTextSizeInfo::GetMultiCreator | ( | TextFrameIndex & | rPos, |
SwMultiPortion const * | pM | ||
) | const |
Definition at line 934 of file pormulti.cxx.
References Bidi, CH_TXTATR_BREAKWORD, COMPLETE_STRING, SwScriptInfo::DirType(), Double, SwTextAttr::End(), SwTextAttr::GetAnyEnd(), GetChar(), SvxTwoLinesItem::GetEndBracket(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), getLength(), SwTextInfo::GetParaPortion(), SwTextAttr::GetStart(), SvxTwoLinesItem::GetStartBracket(), SwContentNode::GetSwAttrSet(), GetText(), GetTextFrame(), SvxTwoLinesItem::GetValue(), SvxTextRotateItem::GetValue(), SwMultiPortion::IsBidi(), SwFrame::IsRightToLeft(), lcl_Check2Lines(), lcl_CheckRotation(), lcl_Has2Lines(), lcl_HasRotation(), SwTextNode::Len(), m_pFrame, SwTextFrame::MapModelToView(), SwTextFrame::MapViewToModel(), SwScriptInfo::NextDirChg(), SwMultiCreator::nId, SwMultiCreator::nLevel, SwMultiCreator::nStartOfAttr, SwMultiCreator::pAttr, SwMultiCreator::pItem, RES_CHRATR_ROTATE(), RES_CHRATR_TWO_LINES(), RES_TXTATR_CJK_RUBY(), Rotate, Ruby, and SwTextAttr::Which().
Referenced by SwTextFormatter::MakeRestPortion(), and SwTextFormatter::NewPortion().
|
inline |
Definition at line 238 of file inftxt.hxx.
References m_pOpt.
Referenced by SwBookmarkPortion::DoPaint(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwTextPaintInfo::DrawViewOpt(), SwGluePortion::GetExpText(), SwSoftHyphPortion::GetExpText(), SwFieldPortion::GetExpText(), SwPostItsPortion::GetExpText(), SwIsoRefPortion::GetViewWidth(), SwIsoToxPortion::GetViewWidth(), SwSoftHyphPortion::GetViewWidth(), SwFieldPortion::GetViewWidth(), SwTextFormatter::NewFieldPortion(), SwTabPortion::Paint(), SwGluePortion::Paint(), SwTmpEndPortion::Paint(), SwTextInputFieldPortion::Paint(), SwBreakPortion::Paint(), SwFieldPortion::Paint(), SwDropPortion::Paint(), SwControlCharPortion::Paint(), SwGrfNumPortion::Paint(), SwTextPainter::PaintMultiPortion(), SwDropPortion::PaintText(), and SwTextFormatter::WhichTextPor().
|
inline |
Definition at line 224 of file inftxt.hxx.
References m_pOut.
Referenced by SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwTextPaintInfo::CalcRect(), ChkOutDev(), SwBookmarkPortion::DoPaint(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBackground(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawPostIts(), SwTextPainter::DrawTextLine(), SwFieldPortion::Format(), SwDropPortion::Format(), SwCombinedPortion::Format(), GetAscent(), GetHangingBaseline(), SwTextCursor::GetModelPositionForViewPoint(), GetTextHeight(), SwPostItsPortion::GetViewWidth(), lcl_CheckKashidaPositions(), lcl_CheckKashidaWidth(), SwExpandPortion::Paint(), SwTextInputFieldPortion::Paint(), SwHolePortion::Paint(), sw::FlyContentPortion::Paint(), SwDropPortion::Paint(), SwKernPortion::Paint(), SwHiddenTextPortion::Paint(), SwGrfNumPortion::Paint(), SwDropPortion::PaintDrop(), SwTextFrame::PaintSwFrame(), SwDropPortion::PaintText(), SwLinePortion::PrePaint(), SwTextIter::SeekAndChg(), SwTextIter::SeekAndChgBefore(), SwTextIter::SeekStartAndChg(), SelectFont(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 225 of file inftxt.hxx.
References m_pOut.
|
inline |
Definition at line 324 of file inftxt.hxx.
References m_pKanaComp.
|
inline |
Definition at line 228 of file inftxt.hxx.
References m_pRef.
Referenced by ChkOutDev(), and SwHookOut::SwHookOut().
|
inline |
Definition at line 229 of file inftxt.hxx.
References m_pRef.
|
inline |
Definition at line 239 of file inftxt.hxx.
References m_pText.
Referenced by SwTextFormatter::AllowRepaintOpt(), SwTextGuess::AlternativeSpelling(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextFormatter::CalcAscent(), SwTextFormatter::CalcFlyWidth(), SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwTextFrame::CalcPreps(), SwTextPortion::CreateHyphen(), SwTextPaintInfo::DrawBackBrush(), SwTextPainter::DrawTextLine(), SwFlyPortion::Format(), SwBreakPortion::Format(), SwFieldPortion::Format(), SwTextPortion::FormatEOL(), SwTextFrame::FormatOnceMore(), SwTextFrame::FormatQuick(), SwTextFrameInfo::GetBigIndent(), SwTextCursor::GetCharRect_(), SwTextInputFieldPortion::GetExpText(), GetMinLen(), SwTextCursor::GetModelPositionForViewPoint(), GetMultiCreator(), SwTextMargin::GetTextEnd(), SwTextMargin::GetTextStart(), SwTextGuess::Guess(), SwTextFormatter::Hyphenate(), SwTextFormatInfo::Init(), lcl_AddSpace(), lcl_CheckKashidaPositions(), lcl_CheckKashidaWidth(), SwBlankPortion::MayUnderflow(), SwTextFormatter::MergeCharacterBorder(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwTextPortion::Paint(), SwTabPortion::PreFormat(), SwTextFrame::RightMargin(), SwTextFormatInfo::ScanPortionEnd(), SwTaggedPDFHelper::SetAttributes(), SwTextSlot::SwTextSlot(), SwTextFrame::UnitDown_(), and SwTextFormatter::WhichTextPor().
TextFrameIndex SwTextSizeInfo::GetTextBreak | ( | const tools::Long | nLineWidth, |
const TextFrameIndex | nMaxLen, | ||
const sal_uInt16 | nComp, | ||
vcl::text::TextLayoutCache const * | pCache | ||
) | const |
Definition at line 433 of file inftxt.cxx.
References GetIdx(), SwTextInfo::GetParaPortion(), SwFont::GetTextBreak(), m_pFnt, m_pFrame, m_pOut, m_pRef, m_pText, m_pVsh, SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetHyphPos(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetSnapToGrid(), and SnapToGrid().
Referenced by SwTextGuess::Guess().
TextFrameIndex SwTextSizeInfo::GetTextBreak | ( | const tools::Long | nLineWidth, |
const TextFrameIndex | nMaxLen, | ||
const sal_uInt16 | nComp, | ||
TextFrameIndex & | rExtraCharPos, | ||
vcl::text::TextLayoutCache const * | pCache | ||
) | const |
Definition at line 453 of file inftxt.cxx.
References GetIdx(), SwTextInfo::GetParaPortion(), SwFont::GetTextBreak(), m_pFnt, m_pFrame, m_pOut, m_pRef, m_pText, m_pVsh, SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetHyphPos(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetSnapToGrid(), and SnapToGrid().
|
inline |
Definition at line 285 of file inftxt.hxx.
References m_pFrame.
Referenced by 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(), SwFieldFormCheckboxPortion::Format(), SwNumberPortion::Format(), SwHiddenTextPortion::Format(), SwCombinedPortion::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(), sw::FlyContentPortion::Paint(), SwDropPortion::Paint(), SwFieldFormCheckboxPortion::Paint(), SwNumberPortion::Paint(), SwControlCharPortion::Paint(), SwGrfNumPortion::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().
|
inline |
Definition at line 286 of file inftxt.hxx.
References m_pFrame.
|
inline |
Definition at line 713 of file inftxt.hxx.
References GetFont(), and GetOut().
Referenced by SwTextFormatter::CalcAscent(), SwFootnotePortion::Format(), SwFieldPortion::Format(), SwDropPortion::Format(), SwFieldFormCheckboxPortion::Format(), SwLineLayout::Format(), and SwTextFormatter::FormatQuoVadis().
SwPosSize SwTextSizeInfo::GetTextSize | ( | OutputDevice * | pOut, |
const SwScriptInfo * | pSI, | ||
const OUString & | rText, | ||
TextFrameIndex | nIdx, | ||
TextFrameIndex | nLen | ||
) | const |
Definition at line 382 of file inftxt.cxx.
References SwFont::GetTextSize_(), m_pFnt, m_pFrame, m_pVsh, SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetSnapToGrid(), and SnapToGrid().
Referenced by SwHyphPortion::Format(), SwFlyPortion::Format(), SwDoubleLinePortion::FormatBrackets(), SwTextPortion::FormatEOL(), SwExpandPortion::GetTextSize(), SwTextPortion::GetTextSize(), SwTextInputFieldPortion::GetTextSize(), SwIsoRefPortion::GetViewWidth(), SwIsoToxPortion::GetViewWidth(), SwSoftHyphPortion::GetViewWidth(), SwFieldPortion::GetViewWidth(), SwControlCharPortion::GetViewWidth(), SwTextGuess::Guess(), lcl_DrawSpecial(), SwTabPortion::Paint(), SwGluePortion::Paint(), SwTextInputFieldPortion::Paint(), SwBreakPortion::Paint(), SwControlCharPortion::Paint(), and SwTabPortion::PreFormat().
SwPosSize SwTextSizeInfo::GetTextSize | ( | ) | const |
Definition at line 396 of file inftxt.cxx.
References CJK, SwScriptInfo::CountCompChg(), SwFont::GetActual(), GetFont(), GetKanaComp(), SwTextInfo::GetParaPortion(), SwFont::GetTextSize_(), IsMulti(), m_nIdx, m_nLen, m_pFnt, m_pFrame, m_pOut, m_pText, m_pVsh, SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetSnapToGrid(), and SnapToGrid().
Referenced by SwTextPaintInfo::DrawBackBrush(), and GetTextSize().
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 |
Definition at line 417 of file inftxt.cxx.
References SwDrawTextInfo::GetKanaDiff(), SwFont::GetTextSize_(), m_pFnt, m_pFrame, m_pOut, m_pText, m_pVsh, SwDrawTextInfo::SetFont(), SwDrawTextInfo::SetFrame(), SwDrawTextInfo::SetKanaComp(), SwDrawTextInfo::SetSnapToGrid(), SnapToGrid(), and SwPosSize::Width().
|
inline |
Definition at line 730 of file inftxt.hxx.
References GetTextSize().
|
inline |
Definition at line 725 of file inftxt.hxx.
References GetTextSize().
|
inline |
Definition at line 236 of file inftxt.hxx.
References m_pUnderFnt.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwTextPainter::DrawTextLine(), SwNumberPortion::Paint(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 221 of file inftxt.hxx.
References m_pVsh.
Referenced by SwDropCapCache::CalcFontSize(), SwLineLayout::CalcLine(), SwTextPaintInfo::CalcRect(), ChkOutDev(), SwBookmarkPortion::DoPaint(), SwTextPainter::DrawTextLine(), SwFieldPortion::Format(), SwTextCursor::GetModelPositionForViewPoint(), lcl_setRedlineAttr(), SwTextFormatter::NewFieldPortion(), SwTextFormatter::NewNumberPortion(), sw::FlyContentPortion::Paint(), SwGrfNumPortion::Paint(), and SwFontSave::SwFontSave().
|
inline |
Definition at line 222 of file inftxt.hxx.
References m_pVsh.
|
inline |
Definition at line 213 of file inftxt.hxx.
References m_bForbiddenChars.
Referenced by SwTextGuess::Guess().
bool SwTextSizeInfo::HasHint | ( | TextFrameIndex | nPos | ) | const |
Definition at line 474 of file inftxt.cxx.
References m_pFrame, SwTextFrame::MapViewToModel(), and pos.
Referenced by SwTextFormatter::AllowRepaintOpt(), SwTextFrameInfo::GetBigIndent(), SwBlankPortion::MayUnderflow(), SwTextFormatter::NewPortion(), and SwTextFormatInfo::ScanPortionEnd().
|
inline |
Definition at line 211 of file inftxt.hxx.
References m_bScriptSpace.
Referenced by SwTextFormatter::BuildPortions().
|
inline |
Definition at line 322 of file inftxt.hxx.
References m_nKanaIdx.
Referenced by SwLinePortion::Move().
|
inline |
Definition at line 205 of file inftxt.hxx.
References m_bFirstMulti.
Referenced by SwTextPortion::Format_(), SwTextGuess::Guess(), SwTextFormatInfo::SwTextFormatInfo(), SwTextFrame::UnitDown_(), and SwTextFrame::UnitUp_().
|
inline |
Definition at line 199 of file inftxt.hxx.
References m_bFootnoteInside.
Referenced by SwTextFormatInfo::CheckFootnotePortion(), and SwTextGuess::Guess().
|
inline |
Definition at line 209 of file inftxt.hxx.
References m_bHanging.
Referenced by SwTextGuess::Guess().
|
inline |
Definition at line 203 of file inftxt.hxx.
References m_bMulti.
Referenced by SwTextPaintInfo::DrawText_(), SwTextPaintInfo::DrawViewOpt(), SwNumberPortion::Format(), GetTextSize(), SwTextGuess::Guess(), SwTextFrame::UnitDown_(), SwTextFrame::UnitUp_(), and SwTextFormatter::WhichFirstPortion().
|
inline |
Definition at line 279 of file inftxt.hxx.
References SwFont::GetActual(), and SwFont::GetCharSet().
Referenced by SwTextPaintInfo::DrawText_(), SwGluePortion::GetExpText(), and SwGluePortion::Paint().
|
inline |
Definition at line 201 of file inftxt.hxx.
References m_bOtherThanFootnoteInside.
Referenced by SwTextPortion::Format_(), and SwTextFormatter::InsertPortion().
|
inline |
Definition at line 219 of file inftxt.hxx.
References m_nDirection.
Referenced by SwTextPaintInfo::CalcRect(), and SwLinePortion::Move().
|
inline |
Definition at line 207 of file inftxt.hxx.
References m_bRuby.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), and SwTextPainter::PaintMultiPortion().
void SwTextSizeInfo::NoteAnimation | ( | ) | const |
Definition at line 373 of file inftxt.cxx.
References SwRootFrame::FlushVout(), SwViewShell::GetOut(), m_pOut, m_pVsh, and OnWin().
Referenced by SwGrfNumPortion::Paint().
|
inline |
Definition at line 194 of file inftxt.hxx.
References m_bNotEOL.
Referenced by SwTextPortion::BreakCut(), and SwTextGuess::Guess().
|
inline |
Definition at line 192 of file inftxt.hxx.
References m_bOnWin.
Referenced by SwTextPortion::CalcSpacing(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBackground(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawPostIts(), SwTextPaintInfo::DrawRect(), SwTextPaintInfo::DrawTab(), SwTextPaintInfo::DrawText_(), SwTextPainter::DrawTextLine(), SwTextPaintInfo::DrawViewOpt(), SwTextCursor::GetCharRect_(), SwGluePortion::GetExpText(), SwSoftHyphPortion::GetExpText(), SwFieldPortion::GetExpText(), SwPostItsPortion::GetExpText(), SwTextPortion::GetSpaceCnt(), SwIsoRefPortion::GetViewWidth(), SwIsoToxPortion::GetViewWidth(), SwPostItsPortion::GetViewWidth(), SwSoftHyphPortion::GetViewWidth(), SwFieldPortion::GetViewWidth(), lcl_AddSpace(), NoteAnimation(), SwExpandPortion::Paint(), SwTabPortion::Paint(), SwTextPortion::Paint(), SwGluePortion::Paint(), SwTmpEndPortion::Paint(), SwTextInputFieldPortion::Paint(), SwPostItsPortion::Paint(), SwBreakPortion::Paint(), SwDropPortion::Paint(), SwKernPortion::Paint(), SwControlCharPortion::Paint(), SwCombinedPortion::Paint(), SwDropPortion::PaintDrop(), SwDropPortion::PaintText(), and SwLinePortion::PrePaint().
|
inline |
Definition at line 320 of file inftxt.hxx.
Referenced by SwTextPainter::DrawTextLine(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 308 of file inftxt.hxx.
Referenced by SwTextFormatter::FormatLine().
void SwTextSizeInfo::SelectFont | ( | ) |
Definition at line 364 of file inftxt.cxx.
References SwFont::ChgPhysFnt(), GetFont(), GetOut(), SwFont::Invalidate(), and m_pVsh.
Referenced by SwTextFormatter::NewFlyCntPortion().
|
inline |
Definition at line 333 of file inftxt.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatInfo::CtorInitTextFormatInfo(), SwTextSlot::SwTextSlot(), and SwTextSlot::~SwTextSlot().
Definition at line 218 of file inftxt.hxx.
References m_nDirection.
Referenced by SwTextPainter::PaintMultiPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 206 of file inftxt.hxx.
References m_bFirstMulti.
Referenced by SwTextCursor::GetCharRect_(), and SwTextFormatInfo::SwTextFormatInfo().
Definition at line 233 of file inftxt.hxx.
Referenced by SwTextMargin::CtorInitTextMargin(), SwTextPainter::CtorInitTextPainter(), lcl_DrawSpecial(), SwFontSave::SwFontSave(), and SwFontSave::~SwFontSave().
|
inline |
Definition at line 200 of file inftxt.hxx.
References m_bFootnoteInside.
Referenced by SwTextFormatter::FormatLine(), and SwTextFormatter::NewFootnotePortion().
|
inline |
Definition at line 214 of file inftxt.hxx.
References m_bForbiddenChars.
Referenced by SwTextFormatInfo::InitHyph().
|
inline |
Definition at line 210 of file inftxt.hxx.
References m_bHanging.
Referenced by SwTextFormatInfo::InitHyph().
|
inline |
Definition at line 273 of file inftxt.hxx.
Referenced by SwRubyPortion::Adjust_(), SwTextFormatter::BuildMultiPortion(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcNewBlock(), SwTextPainter::CalcPaintOfst(), SwTextPainter::DrawTextLine(), SwTextFormatter::FeedInf(), SwDropPortion::Format(), SwTextAdjuster::FormatBlock(), SwBlankPortion::FormatEOL(), SwSoftHyphPortion::FormatEOL(), SwTextCursor::GetCharRect_(), SwTextGuess::Guess(), SwTextFormatInfo::Init(), SwTextFrameInfo::IsBullet(), lcl_TruncateMultiPortion(), SwLinePortion::Move(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwTextCursorSave::SwTextCursorSave(), SwTextSlot::SwTextSlot(), SwTextFormatter::UpdatePos(), and SwTextSlot::~SwTextSlot().
|
inline |
Definition at line 323 of file inftxt.hxx.
Referenced by SwTextPainter::DrawTextLine(), SwTextCursor::GetCharRect_(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 321 of file inftxt.hxx.
Referenced by SwTextCursor::GetCharRect_().
|
inline |
Definition at line 275 of file inftxt.hxx.
Referenced by SwTextPortion::BreakCut(), SwLinePortion::CalcTextSize(), SwTextPortion::CreateHyphen(), CtorInitTextSizeInfo(), SwTextPainter::DrawTextLine(), SwFieldPortion::Format(), SwDropPortion::Format(), SwTextFormatter::FormatLine(), SwDropPortion::FormatText(), SwTextCursor::GetCharRect_(), SwTextFormatInfo::Init(), SwTextFormatter::NewExtraPortion(), SwTextFormatter::NewPortion(), SwTextFormatter::NewTextPortion(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwTextSizeInfo(), SwTextSlot::SwTextSlot(), SwTextFormatter::Underflow(), and SwTextSlot::~SwTextSlot().
|
inline |
Definition at line 295 of file inftxt.hxx.
Referenced by SwTextGuess::Guess().
|
inline |
Definition at line 204 of file inftxt.hxx.
References m_bMulti.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextCursor::GetCharRect_(), and SwTextFormatInfo::SwTextFormatInfo().
|
inline |
Definition at line 195 of file inftxt.hxx.
References m_bNotEOL.
Referenced by SwFieldPortion::Format().
|
inline |
Definition at line 193 of file inftxt.hxx.
References m_bOnWin.
Referenced by SwTextCursor::GetCharRect_(), SwHookOut::SwHookOut(), and SwHookOut::~SwHookOut().
|
inline |
Definition at line 202 of file inftxt.hxx.
References m_bOtherThanFootnoteInside.
Referenced by SwTextFormatter::FormatLine(), and SwTextFormatter::InsertPortion().
|
inline |
Definition at line 226 of file inftxt.hxx.
Referenced by SwHookOut::SwHookOut(), and SwHookOut::~SwHookOut().
|
inline |
Definition at line 208 of file inftxt.hxx.
References m_bRuby.
Referenced by SwTextFormatter::BuildMultiPortion(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 212 of file inftxt.hxx.
References m_bScriptSpace.
Referenced by SwTextFormatInfo::InitHyph().
|
inline |
Definition at line 216 of file inftxt.hxx.
References m_bSnapToGrid.
Referenced by SwTextFormatter::BuildMultiPortion(), CtorInitTextSizeInfo(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 198 of file inftxt.hxx.
References m_bStopUnderflow.
Referenced by SwTextFormatter::NewPortion(), and SwTextFormatter::Underflow().
|
inline |
Definition at line 276 of file inftxt.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextSlot::SwTextSlot(), and SwTextSlot::~SwTextSlot().
|
inline |
Definition at line 235 of file inftxt.hxx.
Referenced by SwTextPainter::CheckSpecialUnderline(), SwTextPainter::DrawTextLine(), and SwTextPainter::PaintMultiPortion().
|
inline |
Definition at line 215 of file inftxt.hxx.
References m_bSnapToGrid.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextPortion::CalcSpacing(), SwTextPaintInfo::DrawText_(), SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextPortion::GetSpaceCnt(), GetTextBreak(), GetTextSize(), SwTextGuess::Guess(), SwTextPainter::PaintMultiPortion(), and SwRubyPortion::SwRubyPortion().
|
inline |
Definition at line 197 of file inftxt.hxx.
References m_bStopUnderflow.
Referenced by SwBlankPortion::MayUnderflow().
|
inline |
Definition at line 196 of file inftxt.hxx.
References m_bURLNotify.
|
protected |
Definition at line 134 of file inftxt.hxx.
|
protected |
Definition at line 166 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsFirstMulti(), and SetFirstMulti().
|
protected |
Definition at line 162 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsFootnoteInside(), and SetFootnoteInside().
|
protected |
Definition at line 173 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), HasForbiddenChars(), and SetForbiddenChars().
|
protected |
Definition at line 171 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsHanging(), and SetHanging().
|
protected |
Definition at line 165 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsMulti(), and SetMulti().
|
protected |
Definition at line 159 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), NotEOL(), and SetNotEOL().
|
protected |
Definition at line 158 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), OnWin(), and SetOnWin().
|
protected |
Definition at line 163 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsOtherThanFootnoteInside(), and SetOtherThanFootnoteInside().
|
protected |
Definition at line 170 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), IsRuby(), and SetRuby().
|
protected |
Definition at line 172 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), HasScriptSpace(), and SetScriptSpace().
|
protected |
Definition at line 174 of file inftxt.hxx.
Referenced by SetSnapToGrid(), and SnapToGrid().
|
protected |
Definition at line 161 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), SetStopUnderflow(), and StopUnderflow().
|
protected |
Definition at line 160 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), and URLNotify().
|
protected |
Definition at line 175 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), GetDirection(), IsRotated(), and SetDirection().
|
protected |
Definition at line 155 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), GetIdx(), and GetTextSize().
|
protected |
Definition at line 157 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), GetKanaComp(), GetKanaIdx(), and IncKanaIdx().
|
protected |
Definition at line 156 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), GetLen(), and GetTextSize().
|
protected |
Definition at line 148 of file inftxt.hxx.
Referenced by GetCachedVclData().
|
protected |
Definition at line 150 of file inftxt.hxx.
Referenced by SwTextFormatInfo::ChgHyph(), CtorInitTextSizeInfo(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawBorder(), SwTextPaintInfo::DrawPostIts(), SwTextPaintInfo::DrawText_(), GetFont(), GetTextBreak(), GetTextSize(), and SwTextFormatInfo::HyphWord().
|
protected |
Definition at line 152 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawText_(), SwTextPaintInfo::DrawViewOpt(), GetMultiCreator(), GetTextBreak(), GetTextFrame(), GetTextSize(), HasHint(), and SwTextFormatInfo::IsHyphenate().
|
protected |
Definition at line 137 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), and GetpKanaComp().
|
protected |
Definition at line 153 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), SwTextPaintInfo::DrawPostIts(), and GetOpt().
|
protected |
Definition at line 142 of file inftxt.hxx.
Referenced by SwTextFormatInfo::ChgHyph(), CtorInitTextSizeInfo(), SwTextPaintInfo::DrawBackBrush(), SwTextPaintInfo::DrawCheckBox(), SwTextPaintInfo::DrawLineBreak(), SwTextPaintInfo::DrawRect(), SwTextPaintInfo::DrawText_(), GetOut(), GetTextBreak(), GetTextSize(), and NoteAnimation().
|
protected |
Definition at line 143 of file inftxt.hxx.
Referenced by SwTextFormatInfo::CtorInitTextFormatInfo(), CtorInitTextSizeInfo(), GetRefDev(), and GetTextBreak().
|
protected |
Definition at line 154 of file inftxt.hxx.
Referenced by SwTextFormatInfo::CtorInitTextFormatInfo(), CtorInitTextSizeInfo(), GetText(), GetTextBreak(), and GetTextSize().
|
protected |
Definition at line 151 of file inftxt.hxx.
Referenced by CtorInitTextSizeInfo(), SwTextPaintInfo::DrawText_(), and GetUnderFnt().
|
protected |
Definition at line 139 of file inftxt.hxx.
Referenced by SwTextFormatInfo::ChgHyph(), CtorInitTextSizeInfo(), SwTextPaintInfo::DrawPostIts(), GetTextBreak(), GetTextSize(), GetVsh(), SwTextFormatInfo::HyphWord(), NoteAnimation(), and SelectFont().