LibreOffice Module sw (master) 1
|
Collection of SwLinePortion instances, representing one line of text. More...
#include <porlay.hxx>
Public Member Functions | |
virtual void | Height (const SwTwips nNew, const bool bText=true) override |
virtual SwLinePortion * | Insert (SwLinePortion *pPortion) override |
virtual SwLinePortion * | Append (SwLinePortion *pPortion) override |
SwLinePortion * | GetFirstPortion () const |
void | ResetFlags () |
void | SetFormatAdj (const bool bNew) |
bool | IsFormatAdj () const |
void | SetEndHyph (const bool bNew) |
bool | IsEndHyph () const |
void | SetMidHyph (const bool bNew) |
bool | IsMidHyph () const |
void | SetFly (const bool bNew) |
bool | IsFly () const |
void | SetRest (const bool bNew) |
bool | IsRest () const |
void | SetBlinking (const bool bNew) |
bool | IsBlinking () const |
void | SetContent (const bool bNew) |
bool | HasContent () const |
void | SetRedline (const bool bNew) |
bool | HasRedline () const |
void | SetRedlineEnd (const bool bNew) |
bool | HasRedlineEnd () const |
void | SetRedlineEndType (const enum RedlineType eNew) |
RedlineType | GetRedlineEndType () const |
void | SetRedlineText (const OUString &sText) |
const OUString * | GetRedlineText () const |
void | SetForcedLeftMargin () |
bool | HasForcedLeftMargin () const |
void | SetHanging (const bool bNew) |
bool | IsHanging () const |
void | SetUnderscore (const bool bNew) |
bool | HasUnderscore () const |
void | SetDummy (const bool bNew) |
bool | IsDummy () const |
void | SetClipping (const bool bNew) |
bool | IsClipping () const |
SwLineLayout () | |
virtual | ~SwLineLayout () override |
SwLineLayout * | GetNext () |
const SwLineLayout * | GetNext () const |
void | SetNext (SwLineLayout *pNew) |
void | Init (SwLinePortion *pNextPortion=nullptr) |
void | CalcLine (SwTextFormatter &rLine, SwTextFormatInfo &rInf) |
void | SetRealHeight (SwTwips nNew) |
SwTwips | GetRealHeight () const |
SwTwips | GetTextHeight () const |
SwMarginPortion * | CalcLeftMargin () |
SwTwips | GetHangingMargin () const |
virtual bool | Format (SwTextFormatInfo &rInf) override |
bool | IsSpaceAdd () const |
void | InitSpaceAdd () |
void | CreateSpaceAdd (const tools::Long nInit=0) |
void | FinishSpaceAdd () |
sal_uInt16 | GetLLSpaceAddCount () const |
void | SetLLSpaceAdd (tools::Long nNew, sal_uInt16 nIdx) |
tools::Long | GetLLSpaceAdd (sal_uInt16 nIdx) |
void | RemoveFirstLLSpaceAdd () |
std::vector< tools::Long > * | GetpLLSpaceAdd () const |
void | SetKanaComp (std::unique_ptr< std::deque< sal_uInt16 > > pNew) |
void | FinishKanaComp () |
std::deque< sal_uInt16 > * | GetpKanaComp () const |
std::deque< sal_uInt16 > & | GetKanaComp () |
void | MaxAscentDescent (SwTwips &_orAscent, SwTwips &_orDescent, SwTwips &_orObjAscent, SwTwips &_orObjDescent, const SwLinePortion *_pDontConsiderPortion=nullptr, const bool _bNoFlyCntPorAndLinePor=false) const |
determine ascent and descent for positioning of as-character anchored object More... | |
void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &nOffset) const override |
SwTwips | Height () const |
virtual void | Height (const SwTwips nNew, const bool=true) |
Public Member Functions inherited from SwTextPortion | |
SwTextPortion () | |
virtual void | Paint (const SwTextPaintInfo &rInf) const override |
virtual bool | Format (SwTextFormatInfo &rInf) override |
virtual void | FormatEOL (SwTextFormatInfo &rInf) override |
virtual TextFrameIndex | GetModelPositionForViewPoint (sal_uInt16 nOfst) const override |
the parameter is actually SwTwips apparently? More... | |
virtual SwPosSize | GetTextSize (const SwTextSizeInfo &rInfo) const override |
virtual bool | GetExpText (const SwTextSizeInfo &rInf, OUString &rText) const override |
virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const override |
TextFrameIndex | GetSpaceCnt (const SwTextSizeInfo &rInf, TextFrameIndex &rCnt) const |
bool | CreateHyphen (SwTextFormatInfo &rInf, SwTextGuess const &rGuess) |
virtual void | HandlePortion (SwPortionHandler &rPH) const override |
Public Member Functions inherited from SwLinePortion | |
SwLinePortion (const SwLinePortion &rPortion) | |
virtual | ~SwLinePortion () |
SwLinePortion * | GetNextPortion () const |
SwLinePortion & | operator= (const SwLinePortion &rPortion) |
TextFrameIndex | GetLen () const |
void | SetLen (TextFrameIndex const nLen) |
void | SetNextPortion (SwLinePortion *pNew) |
SwTwips & | GetAscent () |
SwTwips | GetAscent () const |
void | SetAscent (const SwTwips nNewAsc) |
void | PrtWidth (SwTwips nNewWidth) |
SwTwips | PrtWidth () const |
void | AddPrtWidth (const SwTwips nNew) |
void | SubPrtWidth (const SwTwips nNew) |
SwTwips | ExtraBlankWidth () const |
void | ExtraBlankWidth (const SwTwips nNew) |
SwTwips | GetHangingBaseline () const |
void | SetHangingBaseline (const SwTwips nNewBaseline) |
virtual SwLinePortion * | Insert (SwLinePortion *pPortion) |
virtual SwLinePortion * | Append (SwLinePortion *pPortion) |
SwLinePortion * | Cut (SwLinePortion *pVictim) |
void | Truncate () |
virtual SwLinePortion * | Compress () |
void | SetWhichPor (const PortionType nNew) |
PortionType | GetWhichPor () const |
bool | InTextGrp () const |
bool | InGlueGrp () const |
bool | InTabGrp () const |
bool | InHyphGrp () const |
bool | InNumberGrp () const |
bool | InFixGrp () const |
bool | InFieldGrp () const |
bool | InToxRefGrp () const |
bool | InToxRefOrFieldGrp () const |
bool | InExpGrp () const |
bool | InFixMargGrp () const |
bool | InSpaceGrp () const |
bool | IsGrfNumPortion () const |
bool | IsFlyCntPortion () const |
bool | IsBlankPortion () const |
bool | IsBreakPortion () const |
bool | IsErgoSumPortion () const |
bool | IsQuoVadisPortion () const |
bool | IsTabLeftPortion () const |
bool | IsTabRightPortion () const |
bool | IsTabCenterPortion () const |
bool | IsTabDecimalPortion () const |
bool | IsFootnoteNumPortion () const |
bool | IsFootnotePortion () const |
bool | IsDropPortion () const |
bool | IsLayPortion () const |
bool | IsParaPortion () const |
bool | IsMarginPortion () const |
bool | IsFlyPortion () const |
bool | IsHolePortion () const |
bool | IsSoftHyphPortion () const |
bool | IsPostItsPortion () const |
bool | IsCombinedPortion () const |
bool | IsTextPortion () const |
bool | IsHangingPortion () const |
bool | IsKernPortion () const |
bool | IsArrowPortion () const |
bool | IsMultiPortion () const |
bool | IsNumberPortion () const |
bool | IsControlCharPortion () const |
SwLinePortion * | FindPrevPortion (const SwLinePortion *pRoot) |
SwLinePortion * | FindLastPortion () |
virtual TextFrameIndex | GetModelPositionForViewPoint (sal_uInt16 nOfst) const |
the parameter is actually SwTwips apparently? More... | |
virtual SwPosSize | GetTextSize (const SwTextSizeInfo &rInfo) const |
void | CalcTextSize (const SwTextSizeInfo &rInfo) |
virtual void | Paint (const SwTextPaintInfo &rInf) const =0 |
void | PrePaint (const SwTextPaintInfo &rInf, const SwLinePortion *pLast) const |
virtual bool | Format (SwTextFormatInfo &rInf) |
virtual void | FormatEOL (SwTextFormatInfo &rInf) |
void | Move (SwTextPaintInfo &rInf) |
virtual bool | GetExpText (const SwTextSizeInfo &rInf, OUString &rText) const |
virtual sal_uInt16 | GetViewWidth (const SwTextSizeInfo &rInf) const |
virtual tools::Long | CalcSpacing (tools::Long nSpaceAdd, const SwTextSizeInfo &rInf) const |
virtual void | HandlePortion (SwPortionHandler &rPH) const |
bool | GetJoinBorderWithPrev () const |
bool | GetJoinBorderWithNext () const |
void | SetJoinBorderWithPrev (const bool bJoinPrev) |
void | SetJoinBorderWithNext (const bool bJoinNext) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter, const OUString &rText, TextFrameIndex &rOffset) const |
void | dumpAsXmlAttributes (xmlTextWriterPtr writer, std::u16string_view rText, TextFrameIndex nOffset) const |
Public Member Functions inherited from SwPosSize | |
SwPosSize (const SwTwips nW=0, const SwTwips nH=0) | |
SwPosSize (const Size &rSize) | |
virtual | ~SwPosSize () |
SwPosSize (SwPosSize const &)=default | |
SwPosSize (SwPosSize &&)=default | |
SwPosSize & | operator= (SwPosSize const &)=default |
SwPosSize & | operator= (SwPosSize &&)=default |
SwTwips | Height () const |
virtual void | Height (const SwTwips nNew, const bool=true) |
SwTwips | Width () const |
void | Width (const SwTwips nNew) |
Size | SvLSize () const |
void | SvLSize (const Size &rSize) |
void | SvXSize (const Size &rSize) |
SwPosSize & | operator= (const Size &rSize) |
Private Member Functions | |
SwTwips | GetHangingMargin_ () const |
void | DeleteNext () |
Private Attributes | |
SwLineLayout * | m_pNext |
std::unique_ptr< std::vector< tools::Long > > | m_pLLSpaceAdd |
std::unique_ptr< std::deque< sal_uInt16 > > | m_pKanaComp |
SwTwips | m_nRealHeight |
SwTwips | m_nTextHeight |
bool | m_bFormatAdj: 1 |
bool | m_bDummy: 1 |
bool | m_bEndHyph: 1 |
bool | m_bMidHyph: 1 |
bool | m_bFly: 1 |
bool | m_bRest: 1 |
bool | m_bBlinking: 1 |
bool | m_bClipping: 1 |
bool | m_bContent: 1 |
bool | m_bRedline: 1 |
bool | m_bRedlineEnd: 1 |
bool | m_bForcedLeftMargin: 1 |
bool | m_bHanging: 1 |
bool | m_bUnderscore: 1 |
enum RedlineType | m_eRedlineEnd |
OUString | m_sRedlineText |
Additional Inherited Members | |
Static Public Member Functions inherited from SwTextPortion | |
static SwTextPortion * | CopyLinePortion (const SwLinePortion &rPortion) |
Protected Member Functions inherited from SwLinePortion | |
SwLinePortion () | |
Protected Attributes inherited from SwLinePortion | |
SwLinePortion * | mpNextPortion |
TextFrameIndex | mnLineLength |
SwTwips | mnAscent |
SwTwips | mnHangingBaseline |
Collection of SwLinePortion instances, representing one line of text.
Typically owned by an SwParaPortion.
Definition at line 78 of file porlay.hxx.
SwLineLayout::SwLineLayout | ( | ) |
Definition at line 831 of file porlay.cxx.
References Lay, ResetFlags(), and SwLinePortion::SetWhichPor().
|
overridevirtual |
Definition at line 242 of file porlay.cxx.
References DeleteNext(), m_pKanaComp, m_pLLSpaceAdd, and SwLinePortion::Truncate().
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 274 of file porlay.cxx.
References SwTextPortion::CopyLinePortion(), and SwLinePortion::mpNextPortion.
SwMarginPortion * SwLineLayout::CalcLeftMargin | ( | ) |
Definition at line 297 of file porlay.cxx.
References SwTextPortion::CopyLinePortion(), GetKanaComp(), SwLinePortion::GetNextPortion(), GetpKanaComp(), SwPosSize::Height(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsMarginPortion(), SwGluePortion::Join(), SwLinePortion::SetAscent(), SwGluePortion::SetFixWidth(), SwLinePortion::SetLen(), SwLinePortion::SetNextPortion(), and SwPosSize::Width().
Referenced by SwTextAdjuster::CalcFlyAdjust().
void SwLineLayout::CalcLine | ( | SwTextFormatter & | rLine, |
SwTextFormatInfo & | rInf | ||
) |
Definition at line 372 of file porlay.cxx.
References SwLinePortion::AddPrtWidth(), Bookmark, sw::BOTTOM, sw::CENTER, SwRedlineItr::CheckLine(), SwTextFormatter::ClearIfIsFirstOfBorderMerge(), SwLinePortion::Compress(), SwLinePortion::Cut(), SwAnchoredObject::DynCastFlyFrame(), end, SwRedlineTable::FindAtPosition(), IDocumentSettingAccess::get(), SwFlyCntPortion::GetAlign(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwLinePortion::GetAscent(), SwFont::GetAscent(), SwAttrIter::GetAttrHandler(), SwRangeRedline::GetAuthor(), SwBreakPortion::GetClear(), SwFormatAnchor::GetContentAnchor(), SwAttrHandler::GetDefaultAscentAndHeight(), SwTextFrame::GetDoc(), SwFrame::GetDrawObjs(), SwTextIter::GetEnd(), SwLinePortion::GetExpText(), SwTextSizeInfo::GetFont(), SwAnchoredObject::GetFrameFormat(), SwFont::GetHeight(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), SwLinePortion::GetLen(), SwDropPortion::GetLines(), SwTextFormatInfo::GetLineStart(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetOut(), SwTextInfo::GetParaPortion(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwAttrIter::GetRedln(), SwTextIter::GetStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwRangeRedline::GetType(), SwTextSizeInfo::GetVsh(), SwLinePortion::GetWhichPor(), HasContent(), SwMultiPortion::HasFlyInContent(), Height(), SwPosSize::Height(), i, IGNORE_TABS_AND_BLANKS_FOR_LINE_CALCULATION, SwLinePortion::InExpGrp(), Init(), SwLinePortion::InNumberGrp(), SwLinePortion::InTabGrp(), SwLinePortion::InTextGrp(), SwLinePortion::IsBreakPortion(), SwLinePortion::IsDropPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsHangingPortion(), SwLinePortion::IsHolePortion(), SwLinePortion::IsMultiPortion(), SwLinePortion::IsPostItsPortion(), IDocumentRedlineAccess::IsShowChanges(), SwLinePortion::IsTextPortion(), lcl_HasOnlyBlanks(), SwTextFrame::MapViewToModel(), SwLinePortion::mnAscent, SwLinePortion::mnLineLength, SwLinePortion::mpNextPortion, n, nLineWidth, sw::NONE, NONE, SwTextFormatInfo::RealWidth(), SAL_WARN_IF, SwLinePortion::SetAscent(), SetContent(), SetDummy(), SwTextFormatter::SetFlyInCntBase(), SetHanging(), SwLinePortion::SetLen(), SwParaPortion::SetMargin(), SwFlyCntPortion::SetMax(), SetRedline(), SetRedlineEnd(), SetRedlineEndType(), SetRedlineText(), SwSortedObjs::size(), start, and SwPosSize::Width().
Referenced by SwTextFormatter::CalcFitToContent_(), SwMultiPortion::CalcSize(), and SwTextFormatter::FormatLine().
void SwLineLayout::CreateSpaceAdd | ( | const tools::Long | nInit = 0 | ) |
Definition at line 344 of file porlay.cxx.
References m_pLLSpaceAdd, and SetLLSpaceAdd().
Referenced by SwRubyPortion::Adjust_(), SwDoubleLinePortion::ChgSpaceAdd(), SwBidiPortion::ChgSpaceAdd(), and InitSpaceAdd().
|
private |
Definition at line 216 of file porlay.cxx.
References GetNext(), m_pNext, and SetNext().
Referenced by ~SwLineLayout().
|
overridevirtual |
Reimplemented from SwLinePortion.
Reimplemented in SwParaPortion.
Definition at line 813 of file porlay.cxx.
References SwLinePortion::dumpAsXmlAttributes(), and SwLinePortion::GetLen().
|
inline |
Definition at line 201 of file porlay.hxx.
Referenced by SwTextFrame::FormatImpl(), and SwTextFormatter::FormatReset().
|
inline |
Definition at line 186 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcNewBlock(), SwTextAdjuster::FormatBlock(), SwTextFrame::FormatImpl(), SwTextFormatter::FormatReset(), and SwDoubleLinePortion::ResetSpaceAdd().
|
overridevirtual |
Reimplemented from SwTextPortion.
Definition at line 286 of file porlay.cxx.
References SwTextPortion::Format(), SwLinePortion::GetLen(), SwTextSizeInfo::GetTextHeight(), and Height().
SwLinePortion * SwLineLayout::GetFirstPortion | ( | ) | const |
Definition at line 841 of file porlay.cxx.
References SwLinePortion::mpNextPortion.
Referenced by SwMultiPortion::ActualizeTabulator(), SwRubyPortion::Adjust_(), SwTextCursor::AdjustBaseLine(), SwTextFormatter::AlignFlyInCntBase(), SwTextFormatter::AllowRepaintOpt(), SwTextFormatter::BuildMultiPortion(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcDropAdjust(), SwTextAdjuster::CalcKanaAdj(), SwTextPainter::CalcPaintOfst(), SwRubyPortion::CalcRubyOffset(), SwTextFormatter::ChkFlyUnderflow(), SwTextPainter::DrawTextLine(), SwMultiPortion::dumpAsXml(), SwTextFrame::dumpAsXml(), SwTextAdjuster::FormatBlock(), SwTextFormatter::FormatLine(), SwTextFormatter::FormatQuoVadis(), SwTextCursor::GetCharRect_(), SwTextNode::GetDropSize(), SwTextCursor::GetEndCharRect(), SwTextMargin::GetLineStart(), SwTextCursor::GetModelPositionForViewPoint(), SwTextFrame::Hyphenate(), lcl_VisualMoveRecursion(), SwTextFormatter::MakeRestPortion(), SwTextPainter::PaintDropPortion(), SwTextPainter::PaintMultiPortion(), SwTextFormatter::Underflow(), SwTextFormatter::UpdatePos(), SwTextFrame::VisitPortions(), and WidowsAndOrphans::WouldFit().
|
inline |
Definition at line 176 of file porlay.hxx.
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatLine(), SwTextCursor::GetModelPositionForViewPoint(), and SwTextFrame::HangingMargin().
|
private |
Definition at line 2733 of file porlay.cxx.
References SwLinePortion::GetNextPortion(), SwLinePortion::IsHangingPortion(), SwLinePortion::IsPostItsPortion(), SwLinePortion::mnAscent, SetHanging(), and SwPosSize::Width().
|
inline |
Definition at line 203 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcKanaAdj(), and CalcLeftMargin().
|
inline |
Definition at line 195 of file porlay.hxx.
Referenced by SwDoubleLinePortion::ChgSpaceAdd(), SwTextCursor::GetCharRect_(), and SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 187 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcNewBlock(), and SwDoubleLinePortion::ResetSpaceAdd().
|
inline |
Definition at line 159 of file porlay.hxx.
Referenced by SwMultiPortion::ActualizeTabulator(), SwRubyPortion::Adjust_(), SwTextFormatter::AllowRepaintOpt(), SwTextFormatter::BuildMultiPortion(), SwTextFrame::CalcBaseOfstForFly(), SwDoubleLinePortion::CalcBlanks(), SwTextFrame::CalcHeightOfLastLine(), SwTextFormatter::CalcRealHeight(), SwRubyPortion::CalcRubyOffset(), SwMultiPortion::CalcSize(), SwTextIter::CntHyphens(), DeleteNext(), SwTextPainter::DrawTextLine(), SwMultiPortion::dumpAsXml(), SwTextFrame::dumpAsXml(), SwParaPortion::FindDropPortion(), WidowsAndOrphans::FindWidows(), SwTextFrame::FirstLineHeight(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwTextFrame::FormatLine(), SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextIter::GetNext(), SwTextIter::GetNextLine(), SwTextFrame::GetParHeight(), SwParaPortion::GetParLen(), SwTextIter::GetPrev_(), SwTextIter::GetPrevLine(), SwTextFrame::HangingMargin(), SwTextFormatter::Insert(), SwTextFrameInfo::IsOneLine(), lcl_OldFieldRest(), lcl_TruncateMultiPortion(), SwTextFormatter::MakeRestPortion(), SwTextIter::Next(), SwTextIter::NextLine(), SwNumberPortion::Paint(), SwGrfNumPortion::Paint(), SwTextPainter::PaintMultiPortion(), SwParaPortion::SetErgoSumNum(), SwTextFrame::StopAnimation(), SwRubyPortion::SwRubyPortion(), SwTextIter::TruncLines(), SwTextFormatter::UpdatePos(), SwParaPortion::UpdateQuoVadis(), and SwTextFrame::VisitPortions().
|
inline |
Definition at line 160 of file porlay.hxx.
|
inline |
Definition at line 202 of file porlay.hxx.
Referenced by SwMarginPortion::AdjustRight(), SwTextAdjuster::CalcKanaAdj(), CalcLeftMargin(), SwTextPainter::DrawTextLine(), SwTextCursor::GetCharRect_(), SwTextCursor::GetModelPositionForViewPoint(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 197 of file porlay.hxx.
Referenced by SwDoubleLinePortion::ChgSpaceAdd(), SwTextPainter::DrawTextLine(), SwTextPainter::PaintDropPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 169 of file porlay.hxx.
Referenced by SwTextCursor::AdjustBaseLine(), SwTextFormatter::CalcFlyWidth(), SwTextFormatInfo::CheckFootnotePortion_(), SwTextFormatter::ChkFlyUnderflow(), SwTextFormatter::FormatLine(), SwTextCursor::GetCharRect_(), SwTextIter::GetLineHeight(), SwTextFrame::GetParHeight(), SwTextFormatter::NewFootnotePortion(), SwDropPortion::PaintDrop(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 139 of file porlay.hxx.
Referenced by SwTextPainter::DrawTextLine().
|
inline |
Definition at line 141 of file porlay.hxx.
Referenced by SwTextFrame::PaintExtraData().
|
inline |
Definition at line 171 of file porlay.hxx.
Referenced by SwTextFormatter::CalcRealHeight().
|
inline |
Definition at line 133 of file porlay.hxx.
Referenced by CalcLine(), SwTextFrame::ChgThisLines(), and SwTextFrame::PaintExtraData().
|
inline |
Definition at line 143 of file porlay.hxx.
Referenced by SwTextFormatter::NewTabPortion().
|
inline |
Definition at line 135 of file porlay.hxx.
Referenced by SwTextPainter::DrawTextLine(), SwTextFormatter::FormatQuoVadis(), and SwTextFrame::PaintExtraData().
|
inline |
Definition at line 137 of file porlay.hxx.
Referenced by SwTextPainter::DrawTextLine().
|
inline |
Definition at line 147 of file porlay.hxx.
Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().
|
inline |
Definition at line 49 of file possiz.hxx.
Referenced by CalcLine(), Format(), and Init().
|
overridevirtual |
Reimplemented from SwPosSize.
Definition at line 231 of file porlay.cxx.
References SwPosSize::Height(), and m_nTextHeight.
Referenced by SwTextCursor::AdjustBaseLine(), SwTextFormatter::BuildMultiPortion(), SwTextFormatter::BuildPortions(), SwTextIter::CalcAscentAndHeight(), SwTextFrame::CalcBaseOfstForFly(), SwTextAdjuster::CalcKanaAdj(), SwTextAdjuster::CalcNewBlock(), SwTextFormatter::CalcRealHeight(), SwTextAdjuster::CalcRightMargin(), SwMultiPortion::CalcSize(), SwTextFormatInfo::CheckFootnotePortion_(), SwTextFormatter::ChkFlyUnderflow(), WidowsAndOrphans::FindWidows(), SwTextFrame::FormatLine(), SwTextFormatter::FormatLine(), SwTextCursor::GetCharRect_(), SwTextFormatter::GetFrameRstHeight(), SwTextFrame::GetScalingOfSelectedText(), SwTextFormatter::InsertPortion(), SwTextFormatter::MakeDummyLine(), SwTextFormatter::NewFootnotePortion(), SwTextFormatter::NewPortion(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), and SwTextFormatter::UpdatePos().
|
inlinevirtual |
Reimplemented from SwPosSize.
Definition at line 50 of file possiz.hxx.
void SwLineLayout::Init | ( | SwLinePortion * | pNextPortion = nullptr | ) |
Definition at line 2720 of file porlay.cxx.
References Height(), SwLinePortion::SetAscent(), SwLinePortion::SetLen(), SwLinePortion::SetNextPortion(), SetRealHeight(), and SwPosSize::Width().
Referenced by CalcLine(), and SwTextFormatter::FormatReset().
void SwLineLayout::InitSpaceAdd | ( | ) |
Definition at line 336 of file porlay.cxx.
References CreateSpaceAdd(), m_pLLSpaceAdd, and SetLLSpaceAdd().
Referenced by SwTextAdjuster::CalcNewBlock().
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 250 of file porlay.cxx.
References SwTextPortion::CopyLinePortion(), SwLinePortion::GetLen(), IsBlinking(), SwLinePortion::mpNextPortion, SetBlinking(), and SwLinePortion::SetNextPortion().
|
inline |
Definition at line 131 of file porlay.hxx.
Referenced by Insert().
|
inline |
Definition at line 154 of file porlay.hxx.
Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().
|
inline |
Definition at line 151 of file porlay.hxx.
Referenced by SwTextFrame::CalcBaseOfstForFly(), SwTextAdjuster::CalcDropAdjust(), SwTextFormatter::CalcRealHeight(), WidowsAndOrphans::FindBreak(), SwParaPortion::FindDropPortion(), SwTextIter::GetNextLine(), SwTextIter::GetPrevLine(), WidowsAndOrphans::IsBreakNowWidAndOrp(), SwTextIter::IsFirstTextLine(), SwTextFormatter::NewPortion(), SwTextIter::Next(), SwTextIter::NextLine(), SwTextFrame::PaintExtraData(), SwTextIter::Prev(), SwTextIter::PrevLine(), and SwTextIter::TruncLines().
|
inline |
Definition at line 123 of file porlay.hxx.
Referenced by SwTextIter::CntHyphens(), SwTextFrame::Format_(), and SwTextFrame::FormatLine().
|
inline |
Definition at line 127 of file porlay.hxx.
Referenced by SwTextFormatter::FormatLine().
|
inline |
Definition at line 121 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextAdjuster::GetAdjusted().
|
inline |
Definition at line 145 of file porlay.hxx.
Referenced by SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 125 of file porlay.hxx.
Referenced by SwTextIter::CntHyphens(), and SwTextFrame::Format_().
|
inline |
Definition at line 129 of file porlay.hxx.
Referenced by SwTextFormatter::CalcAscent(), SwTextPainter::DrawTextLine(), SwTextFrame::Format_(), SwTextPainter::PaintMultiPortion(), and SwTextIter::TruncLines().
|
inline |
Definition at line 183 of file porlay.hxx.
Referenced by SwDoubleLinePortion::ChgSpaceAdd(), SwBidiPortion::ChgSpaceAdd(), SwTextCursor::GetCharRect_(), and SwTextCursor::GetModelPositionForViewPoint().
void SwLineLayout::MaxAscentDescent | ( | SwTwips & | _orAscent, |
SwTwips & | _orDescent, | ||
SwTwips & | _orObjAscent, | ||
SwTwips & | _orObjDescent, | ||
const SwLinePortion * | _pDontConsiderPortion = nullptr , |
||
const bool | _bNoFlyCntPorAndLinePor = false |
||
) | const |
determine ascent and descent for positioning of as-character anchored object
OD 07.01.2004 #i11859# - previously local method <lcl_MaxAscDescent> Method calculates maximum ascents and descents of the line layout. One value considering as-character anchored objects, one without these objects. Portions for other anchored objects aren't considered. OD 2005-05-20 #i47162# - add optional parameter <_bNoFlyCntPorAndLinePor> to control, if the fly content portions and line portion are considered.
_orAscent | output parameter - maximum ascent without as-character anchored objects |
_orDescent | output parameter - maximum descent without as-character anchored objects |
_orObjAscent | output parameter - maximum ascent with as-character anchored objects |
_orObjDescent | output parameter - maximum descent with as-character anchored objects |
_pDontConsiderPortion | input parameter - portion, which isn't considered for calculating <_orObjAscent> and <_orObjDescent>, if it isn't a portion for a as-character anchored object or it isn't as high as the line. |
_bNoFlyCntPorAndLinePor | optional input parameter - boolean, indicating that fly content portions and the line portion are considered or not. |
Definition at line 763 of file porlay.cxx.
References Bookmark, SwLinePortion::GetAscent(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwLinePortion::GetWhichPor(), SwPosSize::Height(), SwLinePortion::IsBreakPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), and SwLinePortion::IsGrfNumPortion().
Referenced by SwTextFormatter::AlignFlyInCntBase(), SwTextFrame::CalcHeightOfLastLine(), SwTextFormatter::CalcUnclipped(), SwTextFormatter::NewFlyCntPortion(), and SwTextFormatter::UpdatePos().
|
inline |
Definition at line 196 of file porlay.hxx.
Referenced by SwDoubleLinePortion::ResetSpaceAdd().
void SwLineLayout::ResetFlags | ( | ) |
Definition at line 823 of file porlay.cxx.
References m_bBlinking, m_bClipping, m_bContent, m_bDummy, m_bEndHyph, m_bFly, m_bForcedLeftMargin, m_bFormatAdj, m_bHanging, m_bMidHyph, m_bRedline, m_bRedlineEnd, m_bRest, and m_eRedlineEnd.
Referenced by SwTextFrame::FormatImpl(), SwTextFormatter::FormatReset(), and SwLineLayout().
|
inline |
Definition at line 130 of file porlay.hxx.
Referenced by Insert().
|
inline |
Definition at line 153 of file porlay.hxx.
Referenced by SwTextFormatter::CalcRealHeight().
|
inline |
Definition at line 132 of file porlay.hxx.
Referenced by CalcLine().
|
inline |
Definition at line 150 of file porlay.hxx.
Referenced by SwTextFormatter::CalcFlyWidth(), and CalcLine().
|
inline |
Definition at line 122 of file porlay.hxx.
Referenced by SwSoftHyphPortion::Format(), SwTextPortion::Format_(), and SwTextFormatter::FormatLine().
|
inline |
Definition at line 126 of file porlay.hxx.
Referenced by SwTextFormatter::BuildPortions().
|
inline |
Definition at line 142 of file porlay.hxx.
Referenced by SwTextFormatter::CalcFlyWidth().
|
inline |
Definition at line 120 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextFormatter::CalcAdjustLine().
|
inline |
Definition at line 144 of file porlay.hxx.
Referenced by CalcLine(), and GetHangingMargin_().
|
inline |
Definition at line 200 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcKanaAdj().
|
inline |
Definition at line 188 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcNewBlock(), SwDoubleLinePortion::ChgSpaceAdd(), SwBidiPortion::ChgSpaceAdd(), CreateSpaceAdd(), and InitSpaceAdd().
|
inline |
Definition at line 124 of file porlay.hxx.
Referenced by SwSoftHyphPortion::Format(), SwTextPortion::Format_(), and SwTextFormatter::FormatLine().
|
inline |
Definition at line 161 of file porlay.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), DeleteNext(), SwTextFormatter::Insert(), SwTextFormatter::MakeRestPortion(), SwRubyPortion::SwRubyPortion(), and SwTextIter::TruncLines().
|
inline |
Definition at line 168 of file porlay.hxx.
Referenced by SwTextFormatter::BuildMultiPortion(), SwTextFormatter::CalcRealHeight(), SwTextFormatter::FormatLine(), SwTextCursor::GetCharRect_(), Init(), SwTextFormatter::NewFootnotePortion(), and SwTextIter::TruncLines().
|
inline |
Definition at line 134 of file porlay.hxx.
Referenced by CalcLine().
|
inline |
Definition at line 136 of file porlay.hxx.
Referenced by CalcLine().
|
inline |
Definition at line 138 of file porlay.hxx.
Referenced by CalcLine().
|
inline |
Definition at line 140 of file porlay.hxx.
Referenced by CalcLine().
|
inline |
Definition at line 128 of file porlay.hxx.
Referenced by SwTextFormatter::WhichFirstPortion().
|
inline |
Definition at line 146 of file porlay.hxx.
|
private |
Definition at line 92 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 93 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 94 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 87 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 88 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 90 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 97 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 86 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 98 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 89 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 95 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 96 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 91 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 99 of file porlay.hxx.
|
private |
Definition at line 101 of file porlay.hxx.
Referenced by ResetFlags().
|
private |
Definition at line 84 of file porlay.hxx.
|
private |
Definition at line 85 of file porlay.hxx.
Referenced by Height().
|
private |
Definition at line 83 of file porlay.hxx.
Referenced by ~SwLineLayout().
|
private |
Definition at line 82 of file porlay.hxx.
Referenced by CreateSpaceAdd(), InitSpaceAdd(), and ~SwLineLayout().
|
private |
Definition at line 81 of file porlay.hxx.
Referenced by DeleteNext().
|
private |
Definition at line 103 of file porlay.hxx.