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 sal_uInt16 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 (sal_uInt16 nNew) |
sal_uInt16 | GetRealHeight () const |
sal_uInt16 | 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... | |
![]() | |
SwTextPortion () | |
virtual void | Paint (const SwTextPaintInfo &rInf) const 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 |
![]() | |
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) |
sal_uInt16 & | GetAscent () |
sal_uInt16 | GetAscent () const |
void | SetAscent (const sal_uInt16 nNewAsc) |
void | PrtWidth (sal_uInt16 nNewWidth) |
sal_uInt16 | PrtWidth () const |
void | AddPrtWidth (const sal_uInt16 nNew) |
void | SubPrtWidth (const sal_uInt16 nNew) |
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 () |
void | CalcTextSize (const SwTextSizeInfo &rInfo) |
void | PrePaint (const SwTextPaintInfo &rInf, const SwLinePortion *pLast) const |
void | Move (SwTextPaintInfo &rInf) |
virtual sal_uInt16 | GetViewWidth (const SwTextSizeInfo &rInf) const |
bool | GetJoinBorderWithPrev () const |
bool | GetJoinBorderWithNext () const |
void | SetJoinBorderWithPrev (const bool bJoinPrev) |
void | SetJoinBorderWithNext (const bool bJoinNext) |
![]() | |
SwPosSize (const sal_uInt16 nW=0, const sal_uInt16 nH=0) | |
SwPosSize (const Size &rSize) | |
virtual | ~SwPosSize () |
SwPosSize (SwPosSize const &)=default | |
SwPosSize (SwPosSize &&)=default | |
SwPosSize & | operator= (SwPosSize const &)=default |
SwPosSize & | operator= (SwPosSize &&)=default |
sal_uInt16 | Height () const |
sal_uInt16 | Width () const |
void | Width (const sal_uInt16 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 |
sal_uInt16 | m_nRealHeight |
sal_uInt16 | 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 SwTextPortion * | CopyLinePortion (const SwLinePortion &rPortion) |
![]() | |
SwLinePortion () | |
![]() | |
SwLinePortion * | mpNextPortion |
TextFrameIndex | mnLineLength |
sal_uInt16 | mnAscent |
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 689 of file porlay.cxx.
References Lay, ResetFlags(), and SwLinePortion::SetWhichPor().
|
overridevirtual |
Definition at line 211 of file porlay.cxx.
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 243 of file porlay.cxx.
References SwTextPortion::CopyLinePortion().
SwMarginPortion * SwLineLayout::CalcLeftMargin | ( | ) |
Definition at line 266 of file porlay.cxx.
References SwTextPortion::CopyLinePortion(), SwLinePortion::GetNextPortion(), SwPosSize::Height(), SwLinePortion::IsFlyPortion(), 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 336 of file porlay.cxx.
References Bookmark, sw::BOTTOM, sw::CENTER, SwRedlineItr::CheckLine(), SwLinePortion::Compress(), SwLinePortion::Cut(), end, IDocumentSettingAccess::get(), SwFlyCntPortion::GetAlign(), SwLinePortion::GetAscent(), SwFont::GetAscent(), SwAttrIter::GetAttrHandler(), SwAttrHandler::GetDefaultAscentAndHeight(), SwTextFrame::GetDoc(), SwTextIter::GetEnd(), SwLinePortion::GetExpText(), SwTextSizeInfo::GetFont(), SwFont::GetHeight(), SwDoc::getIDocumentSettingAccess(), GetLen(), SwLinePortion::GetLen(), SwTextFormatInfo::GetLineStart(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetOut(), SwTextInfo::GetParaPortion(), SwAttrIter::GetRedln(), SwTextIter::GetStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextSizeInfo::GetVsh(), SwLinePortion::GetWhichPor(), Height, SwPosSize::Height(), 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(), SwLinePortion::IsTextPortion(), lcl_HasOnlyBlanks(), SwTextFrame::MapViewToModel(), nLineWidth, NONE, sw::NONE, SwTextFormatInfo::RealWidth(), SAL_WARN_IF, SwLinePortion::SetAscent(), SwTextFormatter::SetFlyInCntBase(), SwParaPortion::SetMargin(), SwFlyCntPortion::SetMax(), Width, and SwPosSize::Width().
Referenced by SwTextFormatter::CalcFitToContent_(), SwMultiPortion::CalcSize(), and SwTextFormatter::FormatLine().
void SwLineLayout::CreateSpaceAdd | ( | const tools::Long | nInit = 0 | ) |
Definition at line 313 of file porlay.cxx.
Referenced by SwRubyPortion::Adjust_(), SwDoubleLinePortion::ChgSpaceAdd(), and SwBidiPortion::ChgSpaceAdd().
|
private |
Definition at line 182 of file porlay.cxx.
|
inline |
Definition at line 201 of file porlay.hxx.
Referenced by SwTextFrame::Format_(), and SwTextFormatter::FormatReset().
|
inline |
Definition at line 186 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcNewBlock(), SwTextFrame::Format_(), SwTextAdjuster::FormatBlock(), SwTextFormatter::FormatReset(), and SwDoubleLinePortion::ResetSpaceAdd().
|
overridevirtual |
Reimplemented from SwTextPortion.
Definition at line 255 of file porlay.cxx.
References SwTextPortion::Format(), GetLen(), SwTextSizeInfo::GetTextHeight(), and Height.
SwLinePortion * SwLineLayout::GetFirstPortion | ( | ) | const |
Definition at line 699 of file porlay.cxx.
References SwLinePortion::mpNextPortion.
Referenced by SwMultiPortion::ActualizeTabulator(), SwRubyPortion::Adjust_(), SwTextFormatter::AlignFlyInCntBase(), SwTextFormatter::AllowRepaintOpt(), SwTextFormatter::BuildMultiPortion(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwDoubleLinePortion::CalcBlanks(), SwTextAdjuster::CalcDropAdjust(), SwTextAdjuster::CalcKanaAdj(), SwTextPainter::CalcPaintOfst(), SwRubyPortion::CalcRubyOffset(), SwTextFormatter::ChkFlyUnderflow(), SwTextPainter::DrawTextLine(), 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(), and SwTextFrame::VisitPortions().
|
inline |
Definition at line 176 of file porlay.hxx.
References GetHangingMargin_().
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatLine(), SwTextCursor::GetModelPositionForViewPoint(), and SwTextFrame::HangingMargin().
|
private |
Definition at line 2451 of file porlay.cxx.
References SwLinePortion::GetNextPortion(), SwLinePortion::IsHangingPortion(), SwLinePortion::IsPostItsPortion(), SwLinePortion::mnAscent, SetHanging(), and SwPosSize::Width().
Referenced by GetHangingMargin().
|
inline |
Definition at line 203 of file porlay.hxx.
References m_pKanaComp.
Referenced by SwTextAdjuster::CalcKanaAdj().
|
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(), SwDoubleLinePortion::ResetSpaceAdd(), and SetLLSpaceAdd().
|
inline |
Definition at line 159 of file porlay.hxx.
References m_pNext.
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(), SwParaPortion::FindDropPortion(), WidowsAndOrphans::FindWidows(), 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.
References m_pNext.
|
inline |
Definition at line 202 of file porlay.hxx.
Referenced by SwMarginPortion::AdjustRight(), SwTextAdjuster::CalcKanaAdj(), 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.
References m_nRealHeight.
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.
References m_eRedlineEnd.
Referenced by SwTextPainter::DrawTextLine().
|
inline |
Definition at line 141 of file porlay.hxx.
References m_sRedlineText.
Referenced by SwTextFrame::PaintExtraData().
|
inline |
Definition at line 171 of file porlay.hxx.
References m_nTextHeight.
Referenced by SwTextFormatter::CalcRealHeight().
|
inline |
Definition at line 133 of file porlay.hxx.
References m_bContent.
Referenced by SwTextFrame::ChgThisLines(), and SwTextFrame::PaintExtraData().
|
inline |
Definition at line 143 of file porlay.hxx.
References m_bForcedLeftMargin.
Referenced by SwTextFormatter::NewTabPortion().
|
inline |
Definition at line 135 of file porlay.hxx.
References m_bRedline.
Referenced by SwTextPainter::DrawTextLine(), SwTextFormatter::FormatQuoVadis(), and SwTextFrame::PaintExtraData().
|
inline |
Definition at line 137 of file porlay.hxx.
References m_bRedlineEnd.
Referenced by SwTextPainter::DrawTextLine().
|
inline |
Definition at line 147 of file porlay.hxx.
References m_bUnderscore.
Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().
|
overridevirtual |
Reimplemented from SwPosSize.
Definition at line 200 of file porlay.cxx.
References SwPosSize::Height().
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::FirstLineHeight(), SwTextFormatter::FormatLine(), SwTextFrame::FormatLine(), SwTextCursor::GetCharRect_(), SwTextFormatter::GetFrameRstHeight(), SwTextFrame::GetScalingOfSelectedText(), SwTextFormatter::InsertPortion(), SwTextFormatter::MakeDummyLine(), SwTextFormatter::NewFootnotePortion(), SwTextFormatter::NewPortion(), SwDropPortion::PaintDrop(), SwTextPainter::PaintMultiPortion(), and SwTextFormatter::UpdatePos().
void SwLineLayout::Init | ( | SwLinePortion * | pNextPortion = nullptr | ) |
Definition at line 2438 of file porlay.cxx.
References SwPosSize::Height(), SwLinePortion::SetAscent(), SwLinePortion::SetLen(), SwLinePortion::SetNextPortion(), SetRealHeight(), and SwPosSize::Width().
Referenced by SwTextFormatter::FormatReset().
void SwLineLayout::InitSpaceAdd | ( | ) |
Definition at line 305 of file porlay.cxx.
Referenced by SwTextAdjuster::CalcNewBlock().
|
overridevirtual |
Reimplemented from SwLinePortion.
Definition at line 219 of file porlay.cxx.
References SwTextPortion::CopyLinePortion(), and GetLen().
|
inline |
Definition at line 131 of file porlay.hxx.
References m_bBlinking.
|
inline |
Definition at line 154 of file porlay.hxx.
References m_bClipping.
Referenced by SwTextPainter::DrawTextLine(), and SwTextFrame::FormatLine().
|
inline |
Definition at line 151 of file porlay.hxx.
References m_bDummy.
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.
References m_bEndHyph.
Referenced by SwTextIter::CntHyphens(), SwTextFrame::Format_(), and SwTextFrame::FormatLine().
|
inline |
Definition at line 127 of file porlay.hxx.
References m_bFly.
Referenced by SwTextFormatter::FormatLine().
|
inline |
Definition at line 121 of file porlay.hxx.
References m_bFormatAdj.
Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextAdjuster::GetAdjusted().
|
inline |
Definition at line 145 of file porlay.hxx.
References m_bHanging.
Referenced by SwTextCursor::GetModelPositionForViewPoint().
|
inline |
Definition at line 125 of file porlay.hxx.
References m_bMidHyph.
Referenced by SwTextIter::CntHyphens(), and SwTextFrame::Format_().
|
inline |
Definition at line 129 of file porlay.hxx.
References m_bRest.
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 630 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 681 of file porlay.cxx.
Referenced by SwTextFrame::Format_(), SwTextFormatter::FormatReset(), and SwLineLayout().
|
inline |
Definition at line 130 of file porlay.hxx.
References m_bBlinking.
|
inline |
Definition at line 153 of file porlay.hxx.
References m_bClipping.
Referenced by SwTextFormatter::CalcRealHeight().
|
inline |
Definition at line 132 of file porlay.hxx.
References m_bContent.
|
inline |
Definition at line 150 of file porlay.hxx.
References m_bDummy.
Referenced by SwTextFormatter::CalcFlyWidth().
|
inline |
Definition at line 122 of file porlay.hxx.
References m_bEndHyph.
Referenced by SwSoftHyphPortion::Format(), SwTextPortion::Format_(), and SwTextFormatter::FormatLine().
|
inline |
Definition at line 126 of file porlay.hxx.
References m_bFly.
Referenced by SwTextFormatter::BuildPortions().
|
inline |
Definition at line 142 of file porlay.hxx.
References m_bForcedLeftMargin.
Referenced by SwTextFormatter::CalcFlyWidth().
|
inline |
Definition at line 120 of file porlay.hxx.
References m_bFormatAdj.
Referenced by SwTextAdjuster::CalcAdjLine(), and SwTextFormatter::CalcAdjustLine().
|
inline |
Definition at line 144 of file porlay.hxx.
References m_bHanging.
Referenced by GetHangingMargin_().
|
inline |
Definition at line 200 of file porlay.hxx.
Referenced by SwTextAdjuster::CalcKanaAdj().
|
inline |
Definition at line 188 of file porlay.hxx.
References GetLLSpaceAddCount().
Referenced by SwTextAdjuster::CalcNewBlock(), SwDoubleLinePortion::ChgSpaceAdd(), and SwBidiPortion::ChgSpaceAdd().
|
inline |
Definition at line 124 of file porlay.hxx.
References m_bMidHyph.
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.
References m_bRedline.
|
inline |
Definition at line 136 of file porlay.hxx.
References m_bRedlineEnd.
|
inline |
Definition at line 138 of file porlay.hxx.
|
inline |
Definition at line 140 of file porlay.hxx.
|
inline |
Definition at line 128 of file porlay.hxx.
References m_bRest.
Referenced by SwTextFormatter::WhichFirstPortion().
|
inline |
Definition at line 146 of file porlay.hxx.
References m_bUnderscore.
|
private |
Definition at line 92 of file porlay.hxx.
Referenced by IsBlinking(), and SetBlinking().
|
private |
Definition at line 93 of file porlay.hxx.
Referenced by IsClipping(), and SetClipping().
|
private |
Definition at line 94 of file porlay.hxx.
Referenced by HasContent(), and SetContent().
|
private |
Definition at line 87 of file porlay.hxx.
Referenced by IsDummy(), and SetDummy().
|
private |
Definition at line 88 of file porlay.hxx.
Referenced by IsEndHyph(), and SetEndHyph().
|
private |
Definition at line 90 of file porlay.hxx.
|
private |
Definition at line 97 of file porlay.hxx.
Referenced by HasForcedLeftMargin(), and SetForcedLeftMargin().
|
private |
Definition at line 86 of file porlay.hxx.
Referenced by IsFormatAdj(), and SetFormatAdj().
|
private |
Definition at line 98 of file porlay.hxx.
Referenced by IsHanging(), and SetHanging().
|
private |
Definition at line 89 of file porlay.hxx.
Referenced by IsMidHyph(), and SetMidHyph().
|
private |
Definition at line 95 of file porlay.hxx.
Referenced by HasRedline(), and SetRedline().
|
private |
Definition at line 96 of file porlay.hxx.
Referenced by HasRedlineEnd(), and SetRedlineEnd().
|
private |
Definition at line 91 of file porlay.hxx.
|
private |
Definition at line 99 of file porlay.hxx.
Referenced by HasUnderscore(), and SetUnderscore().
|
private |
Definition at line 101 of file porlay.hxx.
Referenced by GetRedlineEndType().
|
private |
Definition at line 84 of file porlay.hxx.
Referenced by GetRealHeight().
|
private |
Definition at line 85 of file porlay.hxx.
Referenced by GetTextHeight().
|
private |
Definition at line 83 of file porlay.hxx.
Referenced by GetKanaComp().
|
private |
Definition at line 82 of file porlay.hxx.
|
private |
Definition at line 81 of file porlay.hxx.
Referenced by GetNext().
|
private |
Definition at line 103 of file porlay.hxx.
Referenced by GetRedlineText().