LibreOffice Module sw (master) 1
|
#include <itrform2.hxx>
Public Member Functions | |
void | CalcDropHeight (const sal_uInt16 nLines) |
SwTwips | CalcBottomLine () const |
void | CalcUnclipped (SwTwips &rTop, SwTwips &rBottom) |
bool | CalcOnceMore () |
void | CtorInitTextFormatter (SwTextFrame *pFrame, SwTextFormatInfo *pInf) |
SwTextFormatter (SwTextFrame *pTextFrame, SwTextFormatInfo *pTextFormatInf) | |
virtual | ~SwTextFormatter () override |
TextFrameIndex | FormatLine (TextFrameIndex nStart) |
void | RecalcRealHeight () |
bool | Hyphenate (SwInterHyphInfoTextFrame &rInf) |
TextFrameIndex | FormatQuoVadis (TextFrameIndex nStart) |
bool | IsStop () const |
bool | IsNewLine () const |
bool | IsQuick () const |
void | MakeDummyLine () |
This function creates a Line that reaches to the other Page Margin. More... | |
void | Insert (SwLineLayout *pLine) |
sal_uInt16 | GetFrameRstHeight () const |
SwTwips | CalcFitToContent_ () |
SwLinePortion * | MakeRestPortion (const SwLineLayout *pLine, TextFrameIndex nPos) |
const SwFormatDrop * | GetDropFormat () const |
void | ClearDropFormat () |
SwMultiPortion * | GetMulti () const |
bool | IsOnceMore () const |
void | SetOnceMore (bool bNew) |
bool | HasTruncLines () const |
void | SetTruncLines (bool bNew) |
bool | IsUnclipped () const |
void | SetUnclipped (bool bNew) |
bool | IsFlyInCntBase () const |
void | SetFlyInCntBase (bool bNew=true) |
SwTextFormatInfo & | GetInfo () |
const SwTextFormatInfo & | GetInfo () const |
void | InitCntHyph () |
const sal_uInt8 & | CntEndHyph () const |
const sal_uInt8 & | CntMidHyph () const |
sal_uInt8 & | CntEndHyph () |
sal_uInt8 & | CntMidHyph () |
void | MergeCharacterBorder (SwLinePortion &rPortion, SwLinePortion const *pPrev, SwTextFormatInfo &rInf) |
Merge border of the line portion with setting the portion's m_bJoinBorderWidthNext and m_bJoinBorderWidthPrev members and changing the size (width, height and ascent) of the portion to get a merged border. More... | |
bool | ClearIfIsFirstOfBorderMerge (SwLinePortion const *pPortion) |
![]() | |
SwTextPainter (SwTextFrame *pTextFrame, SwTextPaintInfo *pTextPaintInf) | |
void | DrawTextLine (const SwRect &rPaint, SwSaveClip &rClip, const bool bUnderSz, ::std::optional< SwTaggedPDFHelper > &roTaggedLabel, ::std::optional< SwTaggedPDFHelper > &roTaggedParagraph) |
void | PaintDropPortion () |
void | PaintMultiPortion (const SwRect &rPaint, SwMultiPortion &rMulti, const SwMultiPortion *pEnvPor=nullptr) |
void | SetPaintDrop (const bool bNew) |
bool | IsPaintDrop () const |
SwTextPaintInfo & | GetInfo () |
const SwTextPaintInfo & | GetInfo () const |
![]() | |
SwTextCursor (SwTextFrame *pTextFrame, SwTextSizeInfo *pTextSizeInf) | |
void | GetCharRect (SwRect *, TextFrameIndex, SwCursorMoveState *=nullptr, const tools::Long nMax=0) |
void | GetEndCharRect (SwRect *, TextFrameIndex, SwCursorMoveState *=nullptr, const tools::Long nMax=0) |
TextFrameIndex | GetModelPositionForViewPoint (SwPosition *pPos, const Point &rPoint, bool bChgNode, SwCursorMoveState *=nullptr) const |
const SwLineLayout * | CharCursorToLine (TextFrameIndex const nPos) |
SwTwips | AdjustBaseLine (const SwLineLayout &rLine, const SwLinePortion *pPor, SwTwips nPorHeight=0, SwTwips nAscent=0, const bool bAutoToCentered=false) const |
![]() | |
void | CalcAdjLine (SwLineLayout *pCurr) |
void | GetAdjusted () const |
void | CalcDropAdjust () |
void | CalcDropRepaint () |
![]() | |
SwTextMargin (SwTextFrame *pTextFrame, SwTextSizeInfo *pTextSizeInf) | |
SwTwips | GetLeftMargin () const |
SwTwips | Left () const |
SwTwips | Right () const |
SwTwips | FirstLeft () const |
SwTwips | CurrWidth () const |
SwTwips | GetLineStart () const |
SwTwips | GetLineEnd () const |
Point | GetTopLeft () const |
bool | IsOneBlock () const |
bool | IsLastBlock () const |
bool | IsLastCenter () const |
SvxAdjust | GetAdjust () const |
sal_uInt16 | GetLineWidth () const |
SwTwips | GetLeftMin () const |
bool | HasNegFirst () const |
SwTwips | GetTabLeft () const |
sal_uInt16 | GetDropLines () const |
void | SetDropLines (const sal_uInt16 nNew) |
sal_uInt16 | GetDropLeft () const |
sal_uInt16 | GetDropHeight () const |
void | SetDropHeight (const sal_uInt16 nNew) |
sal_uInt16 | GetDropDescent () const |
void | SetDropDescent (const sal_uInt16 nNew) |
void | DropInit () |
TextFrameIndex | GetTextStart () const |
TextFrameIndex | GetTextEnd () const |
SwTextSizeInfo & | GetInfo () |
const SwTextSizeInfo & | GetInfo () const |
![]() | |
SwTextIter (SwTextFrame *pTextFrame, SwTextInfo *pTextInf) | |
const SwLineLayout * | GetCurr () const |
const SwLineLayout * | GetNext () const |
const SwLineLayout * | GetPrev () |
TextFrameIndex | GetLength () const |
sal_uInt16 | GetLineNr () const |
TextFrameIndex | GetStart () const |
TextFrameIndex | GetEnd () const |
SwTwips | Y () const |
SwTwips | RegStart () const |
sal_uInt16 | RegDiff () const |
bool | IsRegisterOn () const |
SwTextInfo & | GetInfo () |
const SwTextInfo & | GetInfo () const |
void | Top () |
void | Bottom () |
const SwLineLayout * | Next () |
const SwLineLayout * | Prev () |
const SwLineLayout * | NextLine () |
const SwLineLayout * | PrevLine () |
const SwLineLayout * | GetNextLine () const |
const SwLineLayout * | GetPrevLine () |
void | CharToLine (TextFrameIndex) |
void | TwipsToLine (const SwTwips) |
void | TruncLines (bool bNoteFollow=false) |
SwTwips | GetLineHeight () const |
void | CalcAscentAndHeight (SwTwips &rAscent, SwTwips &rHeight) const |
bool | IsFirstTextLine () const |
bool | IsParaLine () const |
const SwLineInfo & | GetLineInfo () const |
SwTwips | GetFirstPos () const |
bool | SeekAndChg (SwTextSizeInfo &rInf) |
bool | SeekAndChgBefore (SwTextSizeInfo &rInf) |
bool | SeekStartAndChg (SwTextSizeInfo &rInf, const bool bPara=false) |
SwTextFrame * | GetTextFrame () |
const SwTextFrame * | GetTextFrame () const |
void | CntHyphens (sal_uInt8 &nEndCnt, sal_uInt8 &nMidCnt) const |
![]() | |
SwAttrIter (SwTextNode &rTextNode, SwScriptInfo &rScrInf, SwTextFrame const *const pFrame=nullptr) | |
All subclasses of this always have a SwTextFrame passed to the constructor, but SwAttrIter itself may be created without a SwTextFrame in certain special cases via this ctor here. More... | |
virtual | ~SwAttrIter () |
SwRedlineItr * | GetRedln () |
TextFrameIndex | GetNextAttr () const |
bool | Seek (TextFrameIndex nPos) |
Enables the attributes used at char pos nPos in the logical font. More... | |
bool | IsSymbol (TextFrameIndex nPos) |
bool | SeekAndChgAttrIter (TextFrameIndex nPos, OutputDevice *pOut) |
Executes ChgPhysFnt if Seek() returns true and change font to merge character border with neighbours. More... | |
bool | SeekStartAndChgAttrIter (OutputDevice *pOut, const bool bParaFont) |
bool | MaybeHasHints () const |
SwTextAttr * | GetAttr (TextFrameIndex nPos) const |
Returns the attribute for a position. More... | |
SwFont * | GetFnt () |
const SwFont * | GetFnt () const |
sal_uInt8 | GetPropFont () const |
void | SetPropFont (const sal_uInt8 nNew) |
SwAttrHandler & | GetAttrHandler () |
Static Public Member Functions | |
static void | MergeCharacterBorder (SwDropPortion const &rPortion) |
Merge border of the drop portion with modifying the font of the portions' part. More... | |
![]() | |
static void | SetRightMargin (const bool bNew) |
static bool | IsRightMargin () |
Private Member Functions | |
SwLinePortion * | NewPortion (SwTextFormatInfo &rInf, ::std::optional< TextFrameIndex >) |
SwTextPortion * | NewTextPortion (SwTextFormatInfo &rInf) |
SwLinePortion * | NewExtraPortion (SwTextFormatInfo &rInf) |
SwTabPortion * | NewTabPortion (SwTextFormatInfo &rInf, bool bAuto) const |
SwNumberPortion * | NewNumberPortion (SwTextFormatInfo &rInf) const |
SwDropPortion * | NewDropPortion (SwTextFormatInfo &rInf) |
SwNumberPortion * | NewFootnoteNumPortion (SwTextFormatInfo const &rInf) const |
The portion for the Footnote Numbering in the Footnote Area. More... | |
SwErgoSumPortion * | NewErgoSumPortion (SwTextFormatInfo const &rInf) const |
SwExpandPortion * | NewFieldPortion (SwTextFormatInfo &rInf, const SwTextAttr *pHt) const |
SwFootnotePortion * | NewFootnotePortion (SwTextFormatInfo &rInf, SwTextAttr *pHt) |
The portion for the Footnote Reference in the Text. More... | |
SwFlyCntPortion * | NewFlyCntPortion (SwTextFormatInfo &rInf, SwTextAttr *pHt) const |
Sets a new portion for an object anchored as character. More... | |
SwLinePortion * | WhichFirstPortion (SwTextFormatInfo &rInf) |
SwTextPortion * | WhichTextPor (SwTextFormatInfo &rInf) const |
SwExpandPortion * | TryNewNoLengthPortion (SwTextFormatInfo const &rInfo) |
Try to create a new portion with zero length, for an end of a hint (where there is no CH_TXTATR). More... | |
void | BuildPortions (SwTextFormatInfo &rInf) |
bool | BuildMultiPortion (SwTextFormatInfo &rInf, SwMultiPortion &rMulti) |
void | CalcFlyWidth (SwTextFormatInfo &rInf) |
Calculation of the emulated right side. More... | |
void | CalcAdjustLine (SwLineLayout *pCurr) |
void | CalcRealHeight (bool bNewLine=false) |
void | FeedInf (SwTextFormatInfo &rInf) const |
SwLinePortion * | Underflow (SwTextFormatInfo &rInf) |
void | CalcAscent (SwTextFormatInfo &rInf, SwLinePortion *pPor) |
bool | AllowRepaintOpt () const |
void | FormatReset (SwTextFormatInfo &rInf) |
void | UpdatePos (SwLineLayout *pCurr, Point aStart, TextFrameIndex nStartIdx, bool bAlways=false) const |
The position of the portions changes with the adjustment. More... | |
void | AlignFlyInCntBase (tools::Long nBaseLine) const |
Set all anchored as character objects to the passed BaseLine (in Y direction). More... | |
bool | ChkFlyUnderflow (SwTextFormatInfo &rInf) const |
This is called after the real height of the line has been calculated Therefore it is possible, that more flys from below intersect with the line, or that flys from above do not intersect with the line anymore. More... | |
void | InsertPortion (SwTextFormatInfo &rInf, SwLinePortion *pPor) |
void | GuessDropHeight (const sal_uInt16 nLines) |
We assume that the font height doesn't change and that at first there are at least as many lines, as the DropCap-setting claims. More... | |
Private Attributes | |
const SwFormatDrop * | m_pDropFormat |
SwMultiPortion * | m_pMulti |
sal_uInt8 | m_nContentEndHyph |
sal_uInt8 | m_nContentMidHyph |
TextFrameIndex | m_nLeftScanIdx |
TextFrameIndex | m_nRightScanIdx |
bool | m_bOnceMore: 1 |
bool | m_bFlyInContentBase: 1 |
bool | m_bTruncLines: 1 |
bool | m_bUnclipped: 1 |
std::unique_ptr< sw::MergedAttrIterByEnd > | m_pByEndIter |
SwLinePortion * | m_pFirstOfBorderMerge |
Definition at line 33 of file itrform2.hxx.
|
inline |
Definition at line 153 of file itrform2.hxx.
References CtorInitTextFormatter().
|
overridevirtual |
Definition at line 118 of file itrform2.cxx.
References GetInfo(), SwTextFormatInfo::GetRest(), and SwTextFormatInfo::SetRest().
|
private |
Set all anchored as character objects to the passed BaseLine (in Y direction).
Definition at line 2505 of file itrform2.cxx.
References SwLineLayout::GetFirstPortion(), GetInfo(), GetMulti(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetTextFrame(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsGrfNumPortion(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwLineLayout::MaxAscentDescent(), None, Point, Reverse, Rotate, SwTextFrame::SwitchHorizontalToVertical(), X, and SwTextIter::Y().
Referenced by FormatLine().
|
private |
Definition at line 2319 of file itrform2.cxx.
References CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, COMPLETE_STRING, SwTextMargin::GetAdjust(), SwLineLayout::GetFirstPortion(), SwTextFrame::GetFollow(), GetInfo(), SwLinePortion::GetLen(), getLength(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwTextFormatInfo::GetReformatStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::HasHint(), SwLinePortion::IsFlyPortion(), SwTextMargin::IsLastBlock(), SwTextMargin::IsLastCenter(), SwTextIter::m_nStart, SwTextIter::m_pCurr, and SwTextIter::m_pFrame.
Referenced by FormatLine().
|
private |
Definition at line 1907 of file pormulti.cxx.
References SwMultiPortion::ActualizeTabulator(), SwLinePortion::AddPrtWidth(), Bookmark, SwDoubleLinePortion::BracketWidth(), BuildPortions(), SwTextAdjuster::CalcNewBlock(), SwMultiPortion::CalcSize(), Clone(), SwFootnoteBossFrame::FindBodyCont(), SwLinePortion::FindLastPortion(), SwFrame::FindPageFrame(), SwLinePortion::FormatEOL(), FormatReset(), SwTextMargin::GetAdjust(), SwLinePortion::GetAscent(), SwTextSizeInfo::GetCachedVclData(), SwMultiPortion::GetDirection(), SwFieldPortion::GetExp(), SwLineLayout::GetFirstPortion(), SwTextSizeInfo::GetFont(), SwTableLine::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), GetGridItem(), SwTextGridItem::GetGridType(), SwFormatFrameSize::GetHeightSizeType(), SwTextSizeInfo::GetIdx(), GetInfo(), SwTextFormatInfo::GetLast(), SwLinePortion::GetLen(), SwBidiPortion::GetLevel(), SwDoubleLinePortion::GetLineDiff(), SwTextFormatInfo::GetLineStart(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwTextPaintInfo::GetPaintOfst(), SwTextPaintInfo::GetPos(), SwAttrIter::GetPropFont(), SwTextFormatInfo::GetRest(), SwTextFormatInfo::GetRoot(), SwMultiPortion::GetRoot(), SwTextGridItem::GetRubyTextBelow(), SwTextIter::GetStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwFrame::GetUpper(), SwLinePortion::GetWhichPor(), GRID_LINES_CHARS, SwMultiPortion::HasBrackets(), SwMultiPortion::HasRotation(), SwPosSize::Height(), SwLineLayout::Height(), SwRect::Height(), SwLinePortion::InFieldGrp(), SwMultiPortion::IsBidi(), SwFrame::IsCellFrame(), SwMultiPortion::IsDouble(), SwTextFormatInfo::IsFootnoteDone(), SwMultiPortion::IsFormatted(), SwLinePortion::IsHolePortion(), SwFrame::IsInFootnote(), SwFrame::IsInTab(), SwTextFormatInfo::IsNumDone(), SwFrame::IsRightToLeft(), SwTextSizeInfo::IsRuby(), SwMultiPortion::IsRuby(), SwTextFormatInfo::IsStop(), SwFrame::IsVertical(), lcl_ExtractFieldFollow(), lcl_TruncateMultiPortion(), SwTextIter::m_nStart, SwTextIter::m_pCurr, SwTextIter::m_pFrame, m_pMulti, SwLayoutModeModifier::Modify(), SwMultiPortion::OnRight(), SwMultiPortion::OnTop(), SwTextFormatInfo::RealWidth(), SwTextIter::SeekAndChg(), SwTextIter::SeekAndChgBefore(), SwLinePortion::SetAscent(), SwTextSizeInfo::SetCachedVclData(), SwTextSizeInfo::SetFirstMulti(), SwFieldPortion::SetFollow(), SwMultiPortion::SetFollowField(), SwTextFormatInfo::SetFootnoteDone(), SwMultiPortion::SetFormatted(), SwTextSizeInfo::SetIdx(), SwTextFormatInfo::SetLast(), SwLinePortion::SetLen(), SwTextSizeInfo::SetMulti(), SwLineLayout::SetNext(), SwLinePortion::SetNextPortion(), SwTextFormatInfo::SetNumDone(), SwTextPaintInfo::SetPaintOfst(), SwAttrIter::SetPropFont(), SwLineLayout::SetRealHeight(), SwTextFormatInfo::SetRest(), SwTextSizeInfo::SetRuby(), SwTextSizeInfo::SetSnapToGrid(), SwTextFormatInfo::SetStop(), SwTextSizeInfo::SetText(), SwTextSizeInfo::SnapToGrid(), Variable, SwTextFormatInfo::Width(), SwPosSize::Width(), SwRect::Width(), and SwTextPaintInfo::X().
Referenced by BuildPortions().
|
private |
Definition at line 377 of file itrform2.cxx.
References BuildMultiPortion(), CalcAscent(), CalcFlyWidth(), SwTextFormatInfo::CheckCurrentPosBookmark(), SwTextFormatInfo::ChkNoHyph(), CJK, ClearFly(), SwTextFormatInfo::ClrUnderflow(), CntEndHyph(), CntMidHyph(), COMPLETE_STRING, SwFootnoteBossFrame::FindBodyCont(), SwLinePortion::FindLastPortion(), SwFrame::FindPageFrame(), SwTextFormatInfo::ForcedLeftMargin(), SwLinePortion::Format(), SwLinePortion::FormatEOL(), SwTabPortion::FormatEOL(), SwFont::GetActual(), SwFormatAnchor::GetAnchorId(), GetAppCharClass(), SwLinePortion::GetAscent(), SwFormatAnchor::GetContentAnchor(), SwTextFrame::GetDoc(), SwFixPortion::GetFix(), SwTextFormatInfo::GetFly(), SwTextSizeInfo::GetFont(), GetFont(), GetGridItem(), SwTextGridItem::GetGridType(), GetGridWidth(), SwFont::GetHeight(), SwTextSizeInfo::GetIdx(), SwTextFormatInfo::GetLast(), SwTextFormatInfo::GetLastTab(), SwTextMargin::GetLeftMargin(), SwTextSizeInfo::GetLen(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwTextPaintInfo::GetPaintOfst(), SwRectFnSet::GetPrtLeft(), SwTextFormatInfo::GetReformatStart(), SwTextFormatInfo::GetRest(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), SwFont::GetUnderline(), SwFrame::GetUpper(), GRID_LINES_CHARS, SwMultiPortion::HasFlyInContent(), SwTextSizeInfo::HasScriptSpace(), SwLineLayout::Height(), i, SwLinePortion::InFieldGrp(), SwLinePortion::InFixMargGrp(), SwLinePortion::InNumberGrp(), InsertPortion(), SwLinePortion::InTabGrp(), SwLinePortion::InTextGrp(), SwMultiPortion::IsBidi(), SwLinePortion::IsDropPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsGrfNumPortion(), SwFieldPortion::IsHide(), SwLinePortion::IsKernPortion(), CharClass::isLetterNumeric(), SwLinePortion::IsMultiPortion(), SwTextSizeInfo::IsRuby(), SwTextGridItem::IsSnapToChars(), SwTextFormatInfo::IsStop(), SwLinePortion::IsTabLeftPortion(), SwTextFormatInfo::IsUnderflow(), IsUnderlineBreak(), SwRectFnSet::IsVert(), SwTextFormatInfo::LastKernPortion(), LINESTYLE_NONE, SwTextIter::m_pCurr, SwAttrIter::m_pFont, SwTextIter::m_pFrame, m_pMulti, SwAttrIter::m_pScriptInfo, MergeCharacterBorder(), min(), NewPortion(), SwScriptInfo::NextScriptChg(), Point, SwScriptInfo::ScriptType(), SwTextIter::SeekAndChg(), SwLineLayout::SetFly(), SetFlyInCntBase(), SwTextFormatInfo::SetFull(), SwTextFormatInfo::SetLast(), SwLinePortion::SetNextPortion(), SwTextFormatInfo::SetNumDone(), SwTextPaintInfo::SetPaintOfst(), SwTextFormatInfo::SetTabOverflow(), SwTextSizeInfo::SnapToGrid(), SwTextFrame::SwitchHorizontalToVertical(), SwScriptInfo::WhichFont(), SwTextFormatInfo::Width(), SwPosSize::Width(), SwTextPaintInfo::X(), SwTextPaintInfo::Y(), and SwTextIter::Y().
Referenced by BuildMultiPortion(), CalcFitToContent_(), and FormatLine().
|
private |
Definition at line 785 of file itrform2.cxx.
References SwTextAdjuster::CalcAdjLine(), SwTextMargin::GetAdjust(), SwTextIter::GetStart(), SwTextMargin::GetTopLeft(), IsFlyInCntBase(), m_pMulti, SwLineLayout::SetFormatAdj(), and UpdatePos().
Referenced by FormatLine(), and FormatQuoVadis().
|
private |
Definition at line 800 of file itrform2.cxx.
References Bookmark, SwLinePortion::GetAscent(), SwTextSizeInfo::GetAscent(), SwFont::GetBottomBorderSpace(), SwTextSizeInfo::GetFont(), SwFieldPortion::GetFont(), SwTextSizeInfo::GetHangingBaseline(), SwTextSizeInfo::GetIdx(), SwTextFormatInfo::GetLast(), SwLinePortion::GetLen(), SwTextFormatInfo::GetLineStart(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextHeight(), SwFont::GetTopBorderSpace(), SwLinePortion::GetWhichPor(), SwFieldPortion::HasFont(), SwPosSize::Height(), SwLinePortion::InFieldGrp(), SwLinePortion::InNumberGrp(), SwLinePortion::InTabGrp(), SwLinePortion::InTextGrp(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsQuoVadisPortion(), SwLineLayout::IsRest(), SwTextIter::m_pCurr, SwAttrIter::m_pFont, m_pMulti, SwTextIter::SeekAndChg(), SwTextIter::SeekAndChgBefore(), SwTextIter::SeekStartAndChg(), SwLinePortion::SetAscent(), and SwLinePortion::SetHangingBaseline().
Referenced by BuildPortions(), NewPortion(), and NewTextPortion().
SwTwips SwTextFormatter::CalcBottomLine | ( | ) | const |
Definition at line 2283 of file itrform2.cxx.
References SwTextIter::Bottom(), SwRect::Bottom(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), GetInfo(), SwTextIter::GetLineHeight(), SwTextFly::GetMinBottom(), SwTextInfo::GetParaPortion(), SwParaPortion::GetRepaint(), SwTextPaintInfo::GetTextFly(), HasTruncLines(), SwRect::Height(), SwTextIter::m_pFrame, SwRect::Top(), and SwTextIter::Y().
Referenced by SwTextFrame::FormatAdjust().
void SwTextFormatter::CalcDropHeight | ( | const sal_uInt16 | nLines | ) |
Definition at line 484 of file txtdrop.cxx.
References SwTextIter::CalcAscentAndHeight(), SwTextIter::GetCurr(), SwTextMargin::GetDropLines(), SwTextIter::GetNext(), SwTextIter::IsRegisterOn(), SwTextIter::m_bRegisterOn, SwTextIter::Next(), SwTextMargin::SetDropDescent(), SwTextMargin::SetDropHeight(), SwTextMargin::SetDropLines(), and SwTextIter::Top().
Referenced by CalcOnceMore(), SwTextFrame::FormatOnceMore(), and NewDropPortion().
SwTwips SwTextFormatter::CalcFitToContent_ | ( | ) |
Definition at line 2308 of file itrform2.cxx.
References BuildPortions(), SwLineLayout::CalcLine(), FormatReset(), GetInfo(), SwTextIter::m_pCurr, and SwPosSize::Width().
Referenced by SwTextFrame::CalcAdditionalFirstLineOffset(), and SwTextFrame::CalcFitToContent().
|
private |
Calculation of the emulated right side.
Determines the next object, that reaches into the rest of the line and constructs the appropriate FlyPortion. SwTextFly::GetFrame(const SwRect&, bool) will be needed for this.
The right edge can be shortened by flys
Definition at line 2640 of file itrform2.cxx.
References ADD_VERTICAL_FLY_OFFSETS, SwRect::Bottom(), CalcRealHeight(), SwFootnoteBossFrame::FindBodyCont(), SwFrame::FindPageFrame(), SwTextFormatInfo::ForcedLeftMargin(), sw::proofreadingiterator::get(), SwLinePortion::GetAscent(), SwTextFrame::GetDoc(), SwTextMargin::GetDropLeft(), SwFixPortion::GetFix(), SwTextFormatInfo::GetFly(), SwTextFly::GetFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), GetGridItem(), GetGridWidth(), SwTextSizeInfo::GetIdx(), SwTextFormatInfo::GetLast(), SwTextMargin::GetLeftMargin(), SwTextMargin::GetLeftMin(), SwTextFormatInfo::GetLineHeight(), SwTextFormatInfo::GetLineNetHeight(), GetMulti(), SwTextFly::GetNextTop(), SwRectFnSet::GetPrtLeft(), SwLineLayout::GetRealHeight(), SwTextSizeInfo::GetText(), SwTextPaintInfo::GetTextFly(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), SwRect::HasArea(), SwTextMargin::HasNegFirst(), Height, SwPosSize::Height(), SwRect::Height(), i, SwRect::Intersection(), SwRect::IsEmpty(), SwTextIter::IsFirstTextLine(), SwTextFormatInfo::IsIgnoreFly(), SwTextFly::IsOn(), SwFrame::IsRightToLeft(), SwRectFnSet::IsVert(), SwFrame::IsVertical(), SwTextMargin::Left(), SwRect::Left(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwRect::Overlaps(), Point, SwRect::Pos(), SwTextFormatInfo::RealWidth(), SwTextMargin::Right(), SwRect::Right(), SAL_MAX_UINT16, SwLinePortion::SetAscent(), SwLineLayout::SetDummy(), SwTextFormatInfo::SetFly(), SwLineLayout::SetForcedLeftMargin(), SwTextFormatInfo::SetNewLine(), SwRect::SubTop(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), SwTextFrame::SwitchRTLtoLTR(), SwTextFrame::SwitchVerticalToHorizontal(), SwRect::Top(), SwTextFormatInfo::Width(), SwRect::Width(), SwTextPaintInfo::X(), and SwTextIter::Y().
Referenced by BuildPortions(), NewPortion(), and Underflow().
bool SwTextFormatter::CalcOnceMore | ( | ) |
Definition at line 2270 of file itrform2.cxx.
References CalcDropHeight(), SwTextMargin::GetDropHeight(), SwFormatDrop::GetLines(), m_bOnceMore, and m_pDropFormat.
Referenced by SwTextFrame::Format_().
|
private |
Definition at line 2077 of file itrform2.cxx.
References SwFrame::FindPageFrame(), IDocumentSettingAccess::get(), SwLinePortion::GetAscent(), SwTextGridItem::GetBaseHeight(), SwTextFrame::GetDoc(), GetGridItem(), SwDoc::getIDocumentSettingAccess(), GetInfo(), SvxLineSpacingItem::GetInterLineSpace(), SvxLineSpacingItem::GetInterLineSpaceRule(), getLength(), SvxLineSpacingItem::GetLineHeight(), SwTextIter::GetLineHeight(), SvxLineSpacingItem::GetLineSpaceRule(), SwLineInfo::GetLineSpacing(), SwLineLayout::GetNext(), SwTextInfo::GetParaPortion(), SvxLineSpacingItem::GetPropLineSpace(), SwTextGridItem::GetRubyHeight(), SwTextGridItem::GetRubyTextBelow(), SwTextIter::GetStart(), SwTextIter::GetTextFrame(), SwLineLayout::GetTextHeight(), SwLineLayout::Height(), SwLineLayout::IsDummy(), SwTextIter::IsParaLine(), SwTextIter::IsRegisterOn(), SwRectFnSet::IsVert(), SwTextIter::m_aLineInf, SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwTextIter::m_pInf, PROP_LINE_SPACING_SHRINKS_FIRST_LINE, SwTextIter::RegDiff(), SwTextIter::RegStart(), SwLinePortion::SetAscent(), SwLineLayout::SetClipping(), SwParaPortion::SetFixLineHeight(), SwLineLayout::SetRealHeight(), sw::Justify::SnapToGrid(), SwTextFrame::SwitchHorizontalToVertical(), SwTextIter::Y(), and SwRectFnSet::YDiff().
Referenced by CalcFlyWidth(), FormatLine(), GuessDropHeight(), NewFootnotePortion(), and RecalcRealHeight().
Definition at line 2371 of file itrform2.cxx.
References SwLinePortion::GetAscent(), SwTextIter::GetCurr(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwLineLayout::MaxAscentDescent(), and SwTextIter::Y().
Referenced by SwTextFrame::FormatLine().
|
private |
This is called after the real height of the line has been calculated Therefore it is possible, that more flys from below intersect with the line, or that flys from above do not intersect with the line anymore.
We check this and return true, meaning that the line has to be formatted again.
Definition at line 2552 of file itrform2.cxx.
References SwTextIter::GetCurr(), SwLineLayout::GetFirstPortion(), SwGluePortion::GetFixWidth(), SwTextFly::GetFrame(), SwTextMargin::GetLeftMargin(), SwLinePortion::GetNextPortion(), SwLineLayout::GetRealHeight(), SwTextPaintInfo::GetTextFly(), SwRect::HasArea(), Height, SwLineLayout::Height(), SwRect::Height(), SwRect::Intersection_(), SwLinePortion::IsFlyPortion(), SwTextFly::IsOn(), SwFrame::IsVertical(), SwRect::Left(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwRect::Overlaps(), SwRect::Pos(), SwTextFormatInfo::RealWidth(), SwTextFormatInfo::SetLineHeight(), SwTextFormatInfo::SetLineNetHeight(), SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchVerticalToHorizontal(), SwPosSize::Width(), SwRect::Width(), and SwTextIter::Y().
Referenced by FormatLine().
|
inline |
Definition at line 197 of file itrform2.hxx.
References m_pDropFormat.
Referenced by NewDropPortion().
bool SwTextFormatter::ClearIfIsFirstOfBorderMerge | ( | SwLinePortion const * | pPortion | ) |
Definition at line 158 of file itrform2.cxx.
References m_pFirstOfBorderMerge.
Referenced by SwLineLayout::CalcLine(), and Underflow().
|
inline |
Definition at line 221 of file itrform2.hxx.
References m_nContentEndHyph.
|
inline |
Definition at line 219 of file itrform2.hxx.
References m_nContentEndHyph.
Referenced by BuildPortions(), FeedInf(), and SwTextFrame::Format_().
|
inline |
Definition at line 222 of file itrform2.hxx.
References m_nContentMidHyph.
|
inline |
Definition at line 220 of file itrform2.hxx.
References m_nContentMidHyph.
Referenced by BuildPortions(), FeedInf(), and SwTextFrame::Format_().
void SwTextFormatter::CtorInitTextFormatter | ( | SwTextFrame * | pFrame, |
SwTextFormatInfo * | pInf | ||
) |
Definition at line 93 of file itrform2.cxx.
References COMPLETE_STRING, SwTextPainter::CtorInitTextPainter(), SwTextFormatInfo::GetDropFormat(), GetInfo(), getLength(), m_bFlyInContentBase, m_bOnceMore, m_bTruncLines, m_nContentEndHyph, m_nContentMidHyph, m_nLeftScanIdx, m_nRightScanIdx, SwTextIter::m_nStart, m_pByEndIter, m_pDropFormat, m_pFirstOfBorderMerge, SwTextIter::m_pInf, and m_pMulti.
Referenced by SwTextFrame::FormatOnceMore(), and SwTextFormatter().
|
private |
Definition at line 2233 of file itrform2.cxx.
References SwTextFormatInfo::ChkNoHyph(), SwRedlineItr::Clear(), ClearFly(), CntEndHyph(), CntMidHyph(), SwTextFormatInfo::First(), SwTextMargin::FirstLeft(), SwAttrIter::GetFnt(), SwTextMargin::GetLeftMargin(), SwAttrIter::GetRedln(), SwTextFormatInfo::Init(), SwTextFormatInfo::Left(), SwTextMargin::Left(), SwTextFormatInfo::LeftMargin(), SwTextIter::m_nStart, SwTextIter::m_pCurr, SwTextFormatInfo::RealWidth(), SwRedlineItr::Reset(), SwTextFormatInfo::Right(), SwTextMargin::Right(), SwTextSizeInfo::SetIdx(), SwTextFormatInfo::SetLineStart(), SwTextFormatInfo::SetRoot(), and SwTextFormatInfo::Width().
Referenced by FormatQuoVadis(), FormatReset(), and Underflow().
TextFrameIndex SwTextFormatter::FormatLine | ( | TextFrameIndex | nStart | ) |
Definition at line 1856 of file itrform2.cxx.
References AlignFlyInCntBase(), AllowRepaintOpt(), BuildPortions(), CalcAdjustLine(), SwTextIter::CalcAscentAndHeight(), SwTextAdjuster::CalcKanaAdj(), SwLineLayout::CalcLine(), CalcRealHeight(), SwTextFormatInfo::CheckFootnotePortion(), ChkFlyUnderflow(), SwTextMargin::DropInit(), FormatReset(), sw::proofreadingiterator::get(), SwLinePortion::GetAscent(), SwLineLayout::GetFirstPortion(), GetFrameRstHeight(), GetInfo(), SwLinePortion::GetLen(), GetLen(), getLength(), SwTextIter::GetLineHeight(), SwLinePortion::GetNextPortion(), SwTextInfo::GetParaPortion(), SwLineLayout::GetRealHeight(), SwParaPortion::GetReformat(), SwTextFormatInfo::GetRest(), SwTextIter::GetStart(), SwTextPaintInfo::GetTextFly(), SwTextIter::GetTextFrame(), SwTextMargin::GetTopLeft(), SwTextFrame::HasNonLastSplitFlyDrawObj(), SwPosSize::Height(), SwLineLayout::Height(), SwLinePortion::InFieldGrp(), SwTextFormatInfo::IsArrowDone(), SwTextFormatInfo::IsErgoDone(), SwLineLayout::IsFly(), SwLinePortion::IsFlyCntPortion(), IsFlyInCntBase(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsFootnotePortion(), IsNewLine(), SwTextFormatInfo::IsNumDone(), SwTextFly::IsOn(), IsQuick(), IsStop(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), SwCharRange::LeftMove(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwTextSizeInfo::ResetMaxWidthDiff(), SwTextFormatInfo::SetArrowDone(), SwTextFormatInfo::SetDropInit(), SwLineLayout::SetEndHyph(), SwTextFormatInfo::SetErgoDone(), SetFlyInCntBase(), SwTextSizeInfo::SetFootnoteInside(), SwTextSizeInfo::SetLen(), SwLinePortion::SetLen(), SwTextFormatInfo::SetLineHeight(), SwTextFormatInfo::SetLineNetHeight(), SwLineLayout::SetMidHyph(), SwTextFormatInfo::SetNumDone(), SwTextSizeInfo::SetOtherThanFootnoteInside(), SwTextPaintInfo::SetPaintOfst(), SwLineLayout::SetRealHeight(), SwTextFormatInfo::SetRest(), SwTextFormatInfo::SetShift(), TAB_OVER_MARGIN, SwLinePortion::Truncate(), UpdatePos(), SwPosSize::Width(), and SwTextIter::Y().
Referenced by SwTextFrame::FormatLine(), SwTextFrame::FormatQuick(), FormatQuoVadis(), and Hyphenate().
TextFrameIndex SwTextFormatter::FormatQuoVadis | ( | TextFrameIndex | nStart | ) |
Definition at line 1072 of file txtftn.cxx.
References SwLinePortion::Append(), CalcAdjustLine(), CH_BREAK, FeedInf(), SwFrame::FindColFrame(), SwFrame::FindFootnoteFrame(), SwLinePortion::FindLastPortion(), SwFrame::FindPageFrame(), SwLinePortion::Format(), SwQuoVadisPortion::Format(), FormatLine(), SwTextMargin::GetAdjust(), SwLinePortion::GetAscent(), SwTextSizeInfo::GetAscent(), SwFootnoteFrame::GetAttr(), SwTextSizeInfo::GetChar(), SwTextFrame::GetDoc(), SwLineLayout::GetFirstPortion(), SwTextFrame::GetFollow(), SwFootnoteFrame::GetFollow(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), GetInfo(), SwLinePortion::GetLen(), SwFrame::GetNext(), SwLinePortion::GetNextPortion(), SwAttrIter::GetRedln(), SwTextFormatInfo::GetRest(), SwTextIter::GetTextFrame(), SwTextSizeInfo::GetTextHeight(), SwFrame::GetUpper(), SwLineLayout::HasRedline(), SwPosSize::Height(), SwFrame::ImplFindFootnoteFrame(), SwFormatFootnote::IsEndNote(), SwLinePortion::IsFlyPortion(), SwFrame::IsInFootnote(), SwLinePortion::IsMarginPortion(), SwLinePortion::IsQuoVadisPortion(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), lcl_GetPageNumber(), SwTextFormatInfo::Left(), SwFootnoteInfo::m_aQuoVadis, SwTextIter::m_nStart, SwTextIter::m_pCurr, SwAttrIter::m_pFont, SwTextIter::m_pFrame, sw::MapViewToModel(), SwLinePortion::Move(), pos, SwTextFormatInfo::RealWidth(), SwTextMargin::Right(), SwRedlineItr::Seek(), SwTextIter::SeekStartAndChg(), SwLinePortion::SetAscent(), SwGluePortion::SetFixWidth(), SwLinePortion::SetLen(), SwLinePortion::SetNextPortion(), SwTextFormatInfo::SetRest(), swap(), Width, and SwPosSize::Width().
Referenced by SwTextFrame::AdjustFollow_().
|
private |
Definition at line 2257 of file itrform2.cxx.
References FeedInf(), SwLineLayout::FinishKanaComp(), SwLineLayout::FinishSpaceAdd(), SwLineLayout::Init(), SwTextIter::m_pCurr, m_pFirstOfBorderMerge, SwLineLayout::ResetFlags(), and SwLinePortion::Truncate().
Referenced by BuildMultiPortion(), CalcFitToContent_(), and FormatLine().
|
inline |
Definition at line 196 of file itrform2.hxx.
References m_pDropFormat.
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatOnceMore(), SwTextFrame::FormatQuick(), and WhichFirstPortion().
sal_uInt16 SwTextFormatter::GetFrameRstHeight | ( | ) | const |
Definition at line 141 of file itrform2.cxx.
References SwFrame::FindPageFrame(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwLineLayout::Height(), SwRect::Height(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwRect::Top(), and SwTextIter::Y().
Referenced by FormatLine(), and MakeDummyLine().
|
inline |
Definition at line 213 of file itrform2.hxx.
References SwTextIter::GetInfo().
Referenced by AlignFlyInCntBase(), AllowRepaintOpt(), BuildMultiPortion(), CalcBottomLine(), CalcFitToContent_(), CalcRealHeight(), CtorInitTextFormatter(), SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatLine(), FormatLine(), SwTextFrame::FormatOnceMore(), FormatQuoVadis(), Hyphenate(), IsNewLine(), IsQuick(), IsStop(), MakeRestPortion(), NewFlyCntPortion(), UpdatePos(), and ~SwTextFormatter().
|
inline |
Definition at line 215 of file itrform2.hxx.
References SwTextIter::GetInfo().
|
inline |
Definition at line 199 of file itrform2.hxx.
References m_pMulti.
Referenced by AlignFlyInCntBase(), CalcFlyWidth(), NewFlyCntPortion(), and UpdatePos().
|
private |
We assume that the font height doesn't change and that at first there are at least as many lines, as the DropCap-setting claims.
Definition at line 546 of file txtdrop.cxx.
References SwTextIter::CalcAscentAndHeight(), CalcRealHeight(), SwTextMargin::GetDropDescent(), SwTextMargin::GetDropLines(), SwTextMargin::SetDropDescent(), SwTextMargin::SetDropHeight(), and SwTextMargin::SetDropLines().
Referenced by NewDropPortion().
|
inline |
Definition at line 204 of file itrform2.hxx.
References m_bTruncLines.
Referenced by CalcBottomLine().
bool SwTextFormatter::Hyphenate | ( | SwInterHyphInfoTextFrame & | rInf | ) |
! rHyphInf.SetHyphWord( ... ) must done here
Definition at line 126 of file txthyph.cxx.
References FormatLine(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwTextFrame::GetFollow(), SwTextSizeInfo::GetFont(), GetInfo(), SwFont::GetLanguage(), SwLinePortion::GetLen(), SwBreakIt::GetLocale(), SwTextIter::GetNext(), SwLinePortion::GetNextPortion(), SwTextSizeInfo::GetText(), SwTextPaintInfo::GetTextFly(), SwTextFormatInfo::HyphWord(), SwLinePortion::InHyphGrp(), InitCntHyph(), SwSoftHyphPortion::IsExpand(), SwTextFly::IsOn(), SwTextIter::IsParaLine(), SwLinePortion::IsParaPortion(), SwLinePortion::IsSoftHyphPortion(), SwInterHyphInfoTextFrame::m_nEnd, SwInterHyphInfoTextFrame::m_nStart, SwTextIter::m_nStart, SwInterHyphInfoTextFrame::m_nWordLen, SwInterHyphInfoTextFrame::m_nWordStart, SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwLinePortion::PrtWidth(), SwInterHyphInfoTextFrame::SetHyphWord(), and SetParaPortion().
Referenced by SwTextFrame::Hyphenate().
|
inline |
Definition at line 218 of file itrform2.hxx.
References SwTextIter::CntHyphens(), m_nContentEndHyph, and m_nContentMidHyph.
Referenced by SwTextFrame::Format_(), and Hyphenate().
void SwTextFormatter::Insert | ( | SwLineLayout * | pLine | ) |
Definition at line 129 of file itrform2.cxx.
References SwLineLayout::GetNext(), SwTextIter::m_pCurr, and SwLineLayout::SetNext().
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatQuick(), and MakeDummyLine().
|
private |
Definition at line 313 of file itrform2.cxx.
References sw::proofreadingiterator::get(), SwLinePortion::GetAscent(), SwLinePortion::GetHangingBaseline(), SwTextFormatInfo::GetLast(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwTextIter::GetTextFrame(), SwPosSize::Height(), SwLineLayout::Height(), SwLinePortion::Insert(), SwLinePortion::IsDropPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFootnotePortion(), SwTextSizeInfo::IsOtherThanFootnoteInside(), SwLinePortion::IsTextPortion(), SwTextIter::m_pCurr, MergeCharacterBorder(), SwLinePortion::Move(), MS_WORD_COMP_MIN_LINE_HEIGHT_BY_FLY, SwLinePortion::SetAscent(), SwLinePortion::SetHangingBaseline(), SwTextFormatInfo::SetLast(), and SwTextSizeInfo::SetOtherThanFootnoteInside().
Referenced by BuildPortions().
|
inline |
Definition at line 210 of file itrform2.hxx.
References m_bFlyInContentBase.
Referenced by CalcAdjustLine(), SwMultiPortion::CalcSize(), SwTextFrame::FormatLine(), and FormatLine().
|
inline |
Definition at line 177 of file itrform2.hxx.
References GetInfo(), and SwTextFormatInfo::IsNewLine().
Referenced by SwTextFrame::FormatLine(), and FormatLine().
|
inline |
Definition at line 201 of file itrform2.hxx.
References m_bOnceMore.
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatOnceMore(), and NewDropPortion().
|
inline |
Definition at line 180 of file itrform2.hxx.
References GetInfo(), and SwTextFormatInfo::IsQuick().
Referenced by FormatLine(), NewFlyCntPortion(), and UpdatePos().
|
inline |
Definition at line 174 of file itrform2.hxx.
References GetInfo(), and SwTextFormatInfo::IsStop().
Referenced by SwTextFrame::Format_(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatLine(), and FormatLine().
|
inline |
Definition at line 207 of file itrform2.hxx.
References m_bUnclipped.
Referenced by SwTextFrame::FormatLine().
void SwTextFormatter::MakeDummyLine | ( | ) |
This function creates a Line that reaches to the other Page Margin.
DummyLines or DummyPortions make sure, that oscillations stop, because there's no way to flow back. They are used for Footnotes in paragraph-bound Frames and for Footnote oscillations
Definition at line 1276 of file txtftn.cxx.
References GetFrameRstHeight(), SwLineLayout::Height(), Insert(), SwTextIter::m_pCurr, SwTextIter::Next(), and SwLinePortion::SetAscent().
Referenced by SwTextFrame::FormatAdjust().
SwLinePortion * SwTextFormatter::MakeRestPortion | ( | const SwLineLayout * | pLine, |
TextFrameIndex | nPos | ||
) |
Definition at line 2397 of file pormulti.cxx.
References COMPLETE_STRING, SwAttrIter::GetAttr(), SwMultiPortion::GetDirection(), SwTextFrame::GetDoc(), SwLineLayout::GetFirstPortion(), GetFont(), SwDoc::getIDocumentSettingAccess(), GetInfo(), SwLinePortion::GetLen(), SwTextSizeInfo::GetMultiCreator(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwMultiPortion::GetRoot(), SwRubyPortion::GetRubyOffset(), SwFieldPortion::HasFollow(), SwMultiPortion::HasRotation(), SwLinePortion::InFieldGrp(), SwMultiPortion::IsBidi(), SwMultiPortion::IsDouble(), SwLinePortion::IsMultiPortion(), SwMultiPortion::IsRuby(), SwTextIter::m_pFrame, NewFieldPortion(), SwMultiPortion::OnTop(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), SwMultiPortion::SetFollowField(), SwLineLayout::SetNext(), SwLinePortion::SetNextPortion(), and SwTextAttr::Which().
Referenced by SwTextFrame::Format_().
|
static |
Merge border of the drop portion with modifying the font of the portions' part.
Removing left or right border.
rPortion | drop portion for merge |
Definition at line 2969 of file itrform2.cxx.
References SwDropPortionPart::GetFollow(), SwDropPortionPart::GetFont(), SwDropPortion::GetLines(), SwDropPortion::GetPart(), SwDropPortionPart::SetJoinBorderWithNext(), and SwDropPortionPart::SetJoinBorderWithPrev().
Referenced by BuildPortions(), and InsertPortion().
void SwTextFormatter::MergeCharacterBorder | ( | SwLinePortion & | rPortion, |
SwLinePortion const * | pPrev, | ||
SwTextFormatInfo & | rInf | ||
) |
Merge border of the line portion with setting the portion's m_bJoinBorderWidthNext and m_bJoinBorderWidthPrev members and changing the size (width, height and ascent) of the portion to get a merged border.
rPortion | portion for merge |
pPrev | portion immediately before rPortion |
rInf | contain information |
Definition at line 2987 of file itrform2.cxx.
References SwLinePortion::GetAscent(), SwAttrIter::GetFnt(), SwTextSizeInfo::GetFont(), SwTextSizeInfo::GetIdx(), SwLinePortion::GetJoinBorderWithNext(), SwLinePortion::GetJoinBorderWithPrev(), SwFont::GetLeftBorderSpace(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwFont::GetRightBorderSpace(), SwTextSizeInfo::GetText(), SwFont::HasBorder(), Height, SwPosSize::Height(), SwLinePortion::InTextGrp(), SwTextFormatInfo::IsFull(), SwLinePortion::IsKernPortion(), m_pFirstOfBorderMerge, SwAttrIter::Seek(), SwLinePortion::SetAscent(), SwLinePortion::SetJoinBorderWithNext(), SwLinePortion::SetJoinBorderWithPrev(), and SwPosSize::Width().
|
private |
Definition at line 561 of file txtdrop.cxx.
References CalcDropHeight(), ClearDropFormat(), SwFormat::GetAttrSet(), SwFormatDrop::GetCharFormat(), SwFormatDrop::GetChars(), SwFormatDrop::GetDistance(), SwTextFrame::GetDoc(), SwTextMargin::GetDropDescent(), SwTextMargin::GetDropHeight(), SwTextFrame::GetDropLen(), SwTextMargin::GetDropLines(), SwTextSizeInfo::GetFont(), SwDoc::getIDocumentSettingAccess(), SwTextSizeInfo::GetIdx(), SwFormatDrop::GetLines(), SwTextIter::GetNext(), SwAttrIter::GetNextAttr(), SwTextSizeInfo::GetTextFrame(), SwFormatDrop::GetWholeWord(), GuessDropHeight(), IsOnceMore(), SwFrame::IsVertical(), m_pDropFormat, SwTextIter::m_pFrame, SwAttrIter::m_pScriptInfo, SwScriptInfo::NextScriptChg(), rSet, SwAttrIter::Seek(), SwFont::SetDiffFnt(), SwDropPortionPart::SetFollow(), SwLinePortion::SetLen(), SwTextPainter::SetPaintDrop(), SwDropPortion::SetPart(), and SwFont::SetVertical().
Referenced by WhichFirstPortion().
|
private |
Definition at line 1044 of file txtftn.cxx.
References SwFrame::FindPageFrame(), SwTextFrame::FindQuoVadisFrame(), SwFootnoteFrame::GetAttr(), SwTextFrame::GetDoc(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwTextSizeInfo::GetIdx(), SwTextFrame::GetOffset(), SwTextFrame::GetPara(), SwFrame::GetPrev(), SwFrame::ImplFindFootnoteFrame(), SwFormatFootnote::IsEndNote(), SwTextFormatInfo::IsErgoDone(), SwFrame::IsInFootnote(), lcl_GetPageNumber(), SwFootnoteInfo::m_aErgoSum, SwTextIter::m_pFrame, and SwParaPortion::SetErgoSumNum().
Referenced by WhichFirstPortion().
|
private |
Definition at line 360 of file txtfld.cxx.
References SwAttrIter::GetAttr(), SwTextSizeInfo::GetIdx(), lcl_NewMetaPortion(), NewFieldPortion(), NewFlyCntPortion(), NewFootnotePortion(), RES_TXTATR_ANNOTATION(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwTextSizeInfo::SetLen(), SwLinePortion::SetLen(), and SwTextAttr::Which().
Referenced by NewPortion().
|
private |
Definition at line 76 of file txtfld.cxx.
References aStr, ATTR_BOOKMARKFLD, ATTR_DATEFLD, ATTR_PAGECOUNTFLD, ATTR_PAGENUMBERFLD, ATTR_SETREFATTRFLD, ATTR_TIMEFLD, SwGetExpField::ChangeExpansion(), SwPageNumberFieldType::ChangeExpansion(), Chapter, SwDBField::ChgBodyTextFlag(), SwGetExpField::ChgBodyTextFlag(), CombinedChars, Database, DATEFLD, DateTime, DocStat, SwField::ExpandField(), SwFrame::FindPageFrame(), SwFormat::GetAttrSet(), SwTextFrame::GetDoc(), SwViewShell::GetDoc(), GetExp, SwFormatField::GetField(), SwField::GetFieldName(), SwAttrIter::GetFnt(), SwField::GetFormat(), SwTextAttr::GetFormatField(), SwDoc::getIDocumentSettingAccess(), SwField::GetLanguage(), SwFont::GetLanguage(), SwViewShell::GetLayout(), SvxNumberType::GetNumberingType(), SwPageDesc::GetNumType(), SwTextSizeInfo::GetOpt(), SwPageFrame::GetPageDesc(), SwRootFrame::GetPageNum(), GetRef, SwFrame::getRootFrame(), SwField::GetTyp(), SwFrame::GetVirtPageNum(), SwTextSizeInfo::GetVsh(), HiddenText, SwViewShell::Imp(), SwDoc::IsClipBoard(), SwViewOption::IsFieldName(), SwGetExpField::IsInBodyText(), SwViewShellImp::IsUpdateExpFields(), SwRootFrame::IsVirtPageNum(), JumpEdit, LANGUAGE, lcl_IsInBody(), SwAttrIter::m_pFont, SwTextIter::m_pFrame, PageNumber, Postit, REF_BOOKMARK, REF_SETREFATTR, RefPageGet, Script, SwTextIter::SeekAndChg(), SwField::SetLanguage(), SVX_NUM_PAGEDESC, TIMEFLD, and SwFieldType::Which().
Referenced by MakeRestPortion(), and NewExtraPortion().
|
private |
Sets a new portion for an object anchored as character.
Definition at line 2869 of file itrform2.cxx.
References abs(), sw::FlyContentPortion::Create(), sw::DrawFlyCntPortion::Create(), SwLinePortion::GetAscent(), GetInfo(), SwTextFormatInfo::GetLast(), SwTextMargin::GetLeftMargin(), GetMulti(), SwFlyInContentFrame::GetRefPoint(), SwFlyInContentFrame::GetRelPos(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), SwFrameAreaDefinition::isFrameAreaPositionValid(), IsQuick(), SwTextFormatInfo::IsTest(), SwFrame::IsVertical(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwLineLayout::MaxAscentDescent(), None, Point, Quick, RES_FLYFRMFMT(), Reverse, Rotate, SwTextSizeInfo::SelectFont(), SwFlyCntPortion::SetBase(), SwTextFrame::SwitchHorizontalToVertical(), UlSpace, SwFormat::Which(), SwTextPaintInfo::X(), and SwTextIter::Y().
Referenced by NewExtraPortion().
|
private |
The portion for the Footnote Numbering in the Footnote Area.
Definition at line 933 of file txtftn.cxx.
References CJK, CTL, SwRedlineTable::FindAtPosition(), SwFrame::FindFootnoteFrame(), SwFormatFootnote::getAnchor(), SwFootnoteFrame::GetAttr(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), SwRangeRedline::GetAuthor(), SwTextFormatInfo::GetCharAttr(), SwEndNoteInfo::GetCharFormat(), SwTextFrame::GetDoc(), SwDoc::GetEndNoteInfo(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentSettingAccess(), SwTextSizeInfo::GetIdx(), SwFrame::GetIndPrev(), IDocumentRedlineAccess::GetRedlineTable(), SwFrame::getRootFrame(), SwRangeRedline::GetStackCount(), SwTextInfo::GetTextStart(), SwRangeRedline::GetType(), SwFormatFootnote::GetViewNumStr(), SwFormatFootnote::IsEndNote(), SwTextFormatInfo::IsFootnoteDone(), SwFrame::IsInFootnote(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), ITALIC_NONE, Latin, LINESTYLE_NONE, SwTextIter::m_nStart, SwTextIter::m_pFrame, RES_CHRATR_BEGIN(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_END(), RES_CHRATR_UNDERLINE(), rSet, SwFieldPortion::SetLeft(), SwPaM::Start(), SW_MOD, WEIGHT_NORMAL, and sw::XTextRangeToSwPaM().
Referenced by WhichFirstPortion().
|
private |
The portion for the Footnote Reference in the Text.
Definition at line 793 of file txtftn.cxx.
References CalcRealHeight(), SwTextFrame::ConnectFootnote(), SwFootnoteBossFrame::FindFootnote(), SwFrame::FindFootnoteBossFrame(), SwFootnoteBossFrame::FindFootnoteCont(), SwTextFrame::FindFootnoteRef(), SwFrame::FindSctFrame(), FTNPOS_CHAPTER, SwLinePortion::GetAscent(), SwTextFrame::GetDoc(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetIndPrev(), SwTextIter::GetLineNr(), SwFrame::GetPrev(), SwLineLayout::GetRealHeight(), SwFrame::getRootFrame(), SwRectFnSet::GetTop(), SwFormatFootnote::GetViewNumStr(), SwLineLayout::Height(), SwFormatFootnote::IsEndNote(), SwFrame::IsFootnoteAllowed(), SwSectionFrame::IsFootnoteAtEnd(), SwFrame::IsInTab(), SwTextFormatInfo::IsQuick(), SwTextFrame::IsSwapped(), SwTextFormatInfo::IsTest(), SwFrame::IsVertical(), lcl_GetFootnoteLower(), SwLayoutFrame::Lower(), SwFootnoteInfo::m_ePos, SwTextIter::m_pCurr, SwTextIter::m_pFrame, SwLinePortion::SetAscent(), SwTextSizeInfo::SetFootnoteInside(), SwLineLayout::SetRealHeight(), SwTextFormatInfo::SetStop(), swap(), SwTextFrame::SwitchHorizontalToVertical(), SwTextIter::Y(), and SwRectFnSet::YDiff().
Referenced by NewExtraPortion().
|
private |
Definition at line 589 of file txtfld.cxx.
References checkApplyParagraphMarkFormatToNumbering(), CJK, CTL, DO_NOT_RESET_PARA_ATTRS_FOR_NUM_FONT, IDocumentSettingAccess::get(), SwNumRule::Get(), SwTextNode::GetActualListLevel(), SwLinePortion::GetAscent(), SwFormat::GetAttrSet(), SwTextAttr::GetAutoFormat(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SvxNumberFormat::GetBulletFont(), SwTextFormatInfo::GetCharAttr(), SwNumFormat::GetCharFormat(), SvxNumberFormat::GetCharTextDistance(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwNumFormat::GetGraphicOrientation(), SvxNumberFormat::GetGraphicSize(), SwDoc::getIDocumentRedlineAccess(), SwNode::getIDocumentSettingAccess(), SwTextSizeInfo::GetIdx(), SwTextNode::GetLabelFollowedBy(), SwTextFormatInfo::GetLast(), SwViewShell::GetLayout(), SvxNumberFormat::GetNumAdjust(), SvxNumberType::GetNumberingType(), SwTextNode::GetNumRule(), SwTextNode::GetNumString(), SvxNumberFormat::GetPositionAndSpaceMode(), SwTextNode::GetpSwpHints(), IDocumentRedlineAccess::GetRedlineTable(), SwFrame::getRootFrame(), SwTextAttr::GetStart(), SwFormatAutoFormat::GetStyleHandle(), SwTextNode::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), SwTextFrame::GetTextNodeForParaProps(), SwTextInfo::GetTextStart(), SwTextSizeInfo::GetVsh(), SwPosSize::Height(), HIDDEN, i, SwTextNode::IsCountedInList(), SwRootFrame::IsHideRedlines(), SwTextNode::IsNumbered(), SwTextFormatInfo::IsNumDone(), SwTextFormatInfo::IsTest(), SwFrame::IsVertical(), ITALIC_NONE, SvxNumberFormat::LABEL_ALIGNMENT, Latin, lcl_setRedlineAttr(), LINESTYLE_NONE, SwTextIter::m_nStart, SwTextIter::m_pFrame, MAXLEVEL, NO_NUMBERING_SHOW_FOLLOWBY, NON_PRINTING_CHARACTER_COLOR, ORIGTEXT, RES_TXTATR_AUTOFMT(), SwRedlineTable::size(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, WEIGHT_NORMAL, and SwTextAttr::Which().
Referenced by WhichFirstPortion().
|
private |
Definition at line 1545 of file itrform2.cxx.
References Bidi, CalcAscent(), CalcFlyWidth(), CH_BREAK, CH_TAB, CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, CHAR_HARDBLANK, CHAR_HARDHYPHEN, CHAR_SOFTHYPHEN, CHAR_WJ, CHAR_ZWSP, SwTextFormatInfo::ClearHookChar(), DIR_BOTTOM2TOP, DIR_TOP2BOTTOM, SwTabPortion::Format(), sw::proofreadingiterator::get(), SwEndNoteInfo::GetAnchorCharFormat(), SwLinePortion::GetAscent(), SwAttrIter::GetAttr(), SwTextSizeInfo::GetChar(), SwTextIter::GetCurr(), SwTextFrame::GetDoc(), SwDoc::GetEndNoteInfo(), SwFixPortion::GetFix(), SwTextFormatInfo::GetFly(), SwTextSizeInfo::GetFont(), GetFont(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwTextFormatInfo::GetHookChar(), SwTextSizeInfo::GetIdx(), SfxItemSet::GetItemIfSet(), SwTextFormatInfo::GetLast(), SwTextFormatInfo::GetLastTab(), SwLinePortion::GetLen(), SwTextSizeInfo::GetMultiCreator(), SwFont::GetOrientation(), SwTextFormatInfo::GetRest(), SwTextFormatInfo::GetTabDecimal(), SwTextSizeInfo::GetText(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), SwTextFormatInfo::GetUnderflow(), SwLinePortion::GetWhichPor(), SwTextSizeInfo::HasHint(), SwPosSize::Height(), SwLineLayout::Height(), SwLinePortion::InFieldGrp(), SwLinePortion::InNumberGrp(), SwMultiPortion::IsBidi(), SwLinePortion::IsBreakPortion(), SwLineLayout::IsDummy(), SwFormatFootnote::IsEndNote(), SwLinePortion::IsFootnotePortion(), SwTextFormatInfo::IsFull(), SwTextFormatInfo::IsNewLine(), SwLinePortion::IsPostItsPortion(), SwTextFormatInfo::IsStop(), SwFrame::IsVertical(), lcl_OldFieldRest(), SwTextIter::m_pCurr, m_pMulti, NewExtraPortion(), NewTabPortion(), NewTextPortion(), RES_CHRATR_ROTATE(), Rotate, rSet, Ruby, SAL_WARN_IF, SwLinePortion::SetAscent(), SwTextFormatInfo::SetFly(), SwTextFormatInfo::SetFootnoteDone(), SwTextFormatInfo::SetFull(), SwTextFrame::SetHasRotatedPortions(), SwTextSizeInfo::SetLen(), SwLinePortion::SetLen(), SwTextFormatInfo::SetNewLine(), SwTextFormatInfo::SetNumDone(), SwTextFormatInfo::SetRest(), SwTextFormatInfo::SetStop(), SwTextSizeInfo::SetStopUnderflow(), SwTextFormatInfo::SetTabDecimal(), TAB_COMPAT, TabDecimal, Underflow(), WhichFirstPortion(), SwTextFormatInfo::Width(), and SwTextPaintInfo::X().
Referenced by BuildPortions().
|
private |
Definition at line 70 of file txttab.cxx.
References SvxTabStopItem::Count(), sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), SvxTabStop::GetAdjustment(), SwFrame::GetAttrSet(), SvxTabStop::GetDecimal(), SfxItemPool::GetDefaultItem(), SwLineInfo::GetDefTabStop(), SwTextFrame::GetDoc(), SvxTabStop::GetFill(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentSettingAccess(), SwTextFormatInfo::GetLastTab(), SwTextMargin::GetLeftMargin(), SwLineInfo::GetListTabStopPosition(), SwLinePortion::GetNextPortion(), SwAttrSet::GetPool(), SwTextMargin::GetTabLeft(), SvxTabStop::GetTabPos(), SwTabPortion::GetTabPos(), SwLineInfo::GetTabStop(), SwTextSizeInfo::GetTextFrame(), SwLineLayout::HasForcedLeftMargin(), SwLinePortion::IsFlyPortion(), SwLineInfo::IsListTabStopIncluded(), SwFrame::IsRightToLeft(), SwLinePortion::IsTabCenterPortion(), SwLinePortion::IsTabDecimalPortion(), SwFrame::IsVertical(), SwFrame::IsVertLR(), SwTextMargin::Left(), SwRect::Left(), SwTextIter::m_aLineInf, SwTextIter::m_pCurr, SwTextIter::m_pFrame, nCount, SwLineInfo::NumberOfTabStops(), Point, SwTabPortion::PostFormat(), RES_PARATR_TABSTOP(), SwTextMargin::Right(), SwRect::Right(), SwLineInfo::SetDefTabStop(), SVX_TAB_DEFDIST, SwTextFrame::SwitchHorizontalToVertical(), SwTextFrame::SwitchLTRtoRTL(), TAB_AT_LEFT_INDENT_FOR_PARA_IN_LIST, TAB_COMPAT, TAB_OVER_SPACING, TABS_RELATIVE_TO_INDENT, SwRect::Top(), SwTextFormatInfo::Width(), SwPosSize::Width(), and SwTextPaintInfo::X().
Referenced by NewPortion(), and WhichFirstPortion().
|
private |
Definition at line 1294 of file itrform2.cxx.
References CalcAscent(), SwLinePortion::GetAscent(), SwTextSizeInfo::GetFont(), SwFont::GetHeight(), SwTextSizeInfo::GetIdx(), SwLinePortion::GetLen(), SwTextFormatInfo::GetLineWidth(), SwAttrIter::GetNextAttr(), SwTextSizeInfo::GetText(), m_nLeftScanIdx, m_nRightScanIdx, SwAttrIter::m_pScriptInfo, min(), SwScriptInfo::NextBookmark(), SwScriptInfo::NextDirChg(), SwScriptInfo::NextHiddenChg(), SwScriptInfo::NextScriptChg(), SwTextFormatInfo::ScanPortionEnd(), SwAttrIter::Seek(), SwTextSizeInfo::SetLen(), SwLinePortion::SetLen(), and WhichTextPor().
Referenced by NewPortion().
void SwTextFormatter::RecalcRealHeight | ( | ) |
Definition at line 2069 of file itrform2.cxx.
References CalcRealHeight(), and SwTextIter::Next().
Referenced by SwTextFrame::CalcLineSpace().
|
inline |
Definition at line 211 of file itrform2.hxx.
References m_bFlyInContentBase.
Referenced by BuildPortions(), SwLineLayout::CalcLine(), and FormatLine().
|
inline |
Definition at line 202 of file itrform2.hxx.
References m_bOnceMore.
Referenced by SwTextFrame::AdjustFollow_(), and SwTextFrame::FormatOnceMore().
|
inline |
Definition at line 205 of file itrform2.hxx.
References m_bTruncLines.
Referenced by SwTextFrame::Format_().
|
inline |
Definition at line 208 of file itrform2.hxx.
References m_bUnclipped.
Referenced by SwTextFrame::Format_(), and SwTextFrame::FormatLine().
|
private |
Try to create a new portion with zero length, for an end of a hint (where there is no CH_TXTATR).
Because there may be multiple hint ends at a given index, m_pByEndIter is used to keep track of the already created portions. But the portions created here may actually be deleted again, due to Underflow. In that case, m_pByEndIter must be decremented, so the portion will be created again on the next line.
Definition at line 321 of file txtfld.cxx.
References SwTextAttr::GetAnyEnd(), SwTextSizeInfo::GetIdx(), SwTextSizeInfo::GetTextFrame(), lcl_NewMetaPortion(), m_pByEndIter, SwTextFrame::MapModelToView(), RES_TXTATR_METAFIELD(), SwFieldPortion::SetNoLength(), and SwTextAttr::Which().
Referenced by WhichFirstPortion().
|
private |
Definition at line 168 of file itrform2.cxx.
References CalcFlyWidth(), ClearIfIsFirstOfBorderMerge(), FeedInf(), SwLineLayout::GetFirstPortion(), SwTextFormatInfo::GetFly(), SwTextFormatInfo::GetLast(), SwTextMargin::GetLeftMargin(), SwLinePortion::GetLen(), SwLinePortion::GetNextPortion(), SwTextFormatInfo::GetRest(), SwTextFormatInfo::GetSoftHyphPos(), SwTextFormatInfo::GetUnderflow(), SwTextFormatInfo::GetUnderScorePos(), SwLinePortion::GetWhichPor(), SwLinePortion::InExpGrp(), SwLinePortion::InFieldGrp(), SwLinePortion::InTextGrp(), SwLinePortion::IsDropPortion(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsFlyPortion(), SwLinePortion::IsKernPortion(), SwFieldPortion::IsNoLength(), SwLinePortion::IsSoftHyphPortion(), m_pByEndIter, SwTextIter::m_pCurr, SwLinePortion::Move(), SwTextIter::SeekAndChg(), SwTextFormatInfo::SetFly(), SwTextFormatInfo::SetFull(), SwTextFormatInfo::SetLast(), SwTextSizeInfo::SetLen(), SwLinePortion::SetNextPortion(), SwTextPaintInfo::SetPaintOfst(), SwTextFormatInfo::SetRest(), SwTextFormatInfo::SetSoftHyphPos(), SwTextSizeInfo::SetStopUnderflow(), SwTextFormatInfo::SetUnderflow(), SwTextFormatInfo::SetUnderScorePos(), SwLinePortion::SetWhichPor(), SwLinePortion::Truncate(), SwTextFormatInfo::Width(), SwPosSize::Width(), and SwTextPaintInfo::X().
Referenced by NewPortion().
|
private |
The position of the portions changes with the adjustment.
This method updates the reference point of the anchored as character objects, for example after adjustment change (right alignment, justified, etc.) Mainly to correct the X position.
Definition at line 2383 of file itrform2.cxx.
References Bidi, SwLinePortion::GetAscent(), GetDirection(), SwLineLayout::GetFirstPortion(), SwTextSizeInfo::GetIdx(), GetInfo(), SwLinePortion::GetLen(), GetMulti(), SwLineLayout::GetNext(), SwLinePortion::GetNextPortion(), SwLineLayout::GetpKanaComp(), SwLineLayout::GetpLLSpaceAdd(), SwTextPaintInfo::GetPos(), SwLineLayout::GetRealHeight(), SwMultiPortion::GetRoot(), SwTextSizeInfo::GetTextFrame(), SwTextIter::GetTextFrame(), Height, SwLineLayout::Height(), SwLinePortion::IsFlyCntPortion(), SwLinePortion::IsGrfNumPortion(), SwLinePortion::IsMultiPortion(), IsQuick(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), SwTextIter::m_pFrame, m_pMulti, SwLineLayout::MaxAscentDescent(), SwLinePortion::Move(), Point, SwTextSizeInfo::ResetKanaIdx(), SwTextPaintInfo::ResetSpaceIdx(), Reverse, Rotate, SwTextSizeInfo::SetDirection(), SwTextSizeInfo::SetIdx(), SwTextSizeInfo::SetKanaComp(), SwTextPaintInfo::SetPos(), SwTextPaintInfo::SetpSpaceAdd(), SwTextFrame::SwitchHorizontalToVertical(), UlSpace, UpdatePos(), Width, SwPosSize::Width(), SwTextPaintInfo::X(), and SwTextPaintInfo::Y().
Referenced by CalcAdjustLine(), FormatLine(), and UpdatePos().
|
private |
Definition at line 1368 of file itrform2.cxx.
References SwTextFormatInfo::CheckCurrentPosBookmark(), sw::proofreadingiterator::get(), SwScriptInfo::GetBookmarks(), GetDropFormat(), GetGridItem(), SwTextFormatInfo::GetHookChar(), SwTextSizeInfo::GetIdx(), SwFrame::GetIndPrev(), SwLinePortion::GetNextPortion(), TextFormatCollFunc::GetNumRule(), SwTextFrame::GetOffset(), SwTextInfo::GetParaPortion(), SwTextFormatInfo::GetRest(), SwTextIter::GetTextFrame(), SwMultiPortion::HasRotation(), SwLinePortion::InNumberGrp(), SwTextFormatInfo::IsArrowDone(), SwTextFormatInfo::IsErgoDone(), SwLinePortion::IsErgoSumPortion(), SwTextFormatInfo::IsFootnoteDone(), SwTextFrame::IsFootnoteNumFrame(), SwLinePortion::IsFootnoteNumPortion(), SwFrame::IsInFootnote(), SwTextSizeInfo::IsMulti(), SwTextFormatInfo::IsNumDone(), SwTextIter::m_pCurr, SwTextIter::m_pFrame, m_pMulti, SwAttrIter::m_pScriptInfo, NewDropPortion(), NewErgoSumPortion(), NewFootnoteNumPortion(), NewNumberPortion(), NewTabPortion(), SwTextFormatInfo::SetArrowDone(), SwTextFormatInfo::SetErgoDone(), SwTextFormatInfo::SetFootnoteDone(), SwParaPortion::SetFootnoteNum(), SwTextFormatInfo::SetNumDone(), SwLineLayout::SetRest(), SwTextFormatInfo::SetRest(), TAB_COMPAT, and TryNewNoLengthPortion().
Referenced by NewPortion().
|
private |
Definition at line 1130 of file itrform2.cxx.
References ch, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXT_ATR_INPUTFIELDEND, CH_TXT_ATR_INPUTFIELDSTART, sw::mark::ExpandFieldmark(), SfxObjectShell::GetBaseModel(), SwPosition::GetContentIndex(), SwTextFrame::GetDoc(), SwDoc::GetDocShell(), SwAttrIter::GetFnt(), SwDoc::getIDocumentMarkAccess(), SwTextSizeInfo::GetIdx(), IDocumentMarkAccess::getInnerFieldmarkFor(), SwLinePortion::GetLen(), SwUnoCursorHelper::GetNestedTextContent(), SwLinePortion::GetNextPortion(), SwPosition::GetNode(), SwTextSizeInfo::GetOpt(), SwPaM::GetPointNode(), SwTextSizeInfo::GetText(), SwTextNode::GetTextAttrAt(), SwTextSizeInfo::GetTextFrame(), SwNode::GetTextNode(), SwFieldType::GetTypeStr(), i, Input, SwViewOption::IsFieldName(), SwTextIter::m_pCurr, SwTextFrame::MapViewToModelPos(), nIndex, ODF_FORMCHECKBOX, ODF_FORMDATE, ODF_FORMDROPDOWN, ODF_FORMTEXT, sw::Parent, RES_TXTATR_CONTENTCONTROL(), SAL_INFO, Color::STRtoRGB(), and SwTextPaintInfo::X().
Referenced by NewTextPortion().
|
private |
Definition at line 42 of file itrform2.hxx.
Referenced by CtorInitTextFormatter(), IsFlyInCntBase(), and SetFlyInCntBase().
|
private |
Definition at line 41 of file itrform2.hxx.
Referenced by CalcOnceMore(), CtorInitTextFormatter(), IsOnceMore(), and SetOnceMore().
|
private |
Definition at line 43 of file itrform2.hxx.
Referenced by CtorInitTextFormatter(), HasTruncLines(), and SetTruncLines().
|
private |
Definition at line 44 of file itrform2.hxx.
Referenced by IsUnclipped(), and SetUnclipped().
|
private |
Definition at line 37 of file itrform2.hxx.
Referenced by CntEndHyph(), CtorInitTextFormatter(), and InitCntHyph().
|
private |
Definition at line 38 of file itrform2.hxx.
Referenced by CntMidHyph(), CtorInitTextFormatter(), and InitCntHyph().
|
private |
Definition at line 39 of file itrform2.hxx.
Referenced by CtorInitTextFormatter(), and NewTextPortion().
|
private |
Definition at line 40 of file itrform2.hxx.
Referenced by CtorInitTextFormatter(), and NewTextPortion().
|
private |
Definition at line 45 of file itrform2.hxx.
Referenced by CtorInitTextFormatter(), TryNewNoLengthPortion(), and Underflow().
|
private |
Definition at line 35 of file itrform2.hxx.
Referenced by CalcOnceMore(), ClearDropFormat(), CtorInitTextFormatter(), GetDropFormat(), and NewDropPortion().
|
private |
Definition at line 46 of file itrform2.hxx.
Referenced by ClearIfIsFirstOfBorderMerge(), CtorInitTextFormatter(), FormatReset(), and MergeCharacterBorder().
|
private |
Definition at line 36 of file itrform2.hxx.
Referenced by BuildMultiPortion(), BuildPortions(), CalcAdjustLine(), CalcAscent(), CtorInitTextFormatter(), GetMulti(), NewPortion(), UpdatePos(), and WhichFirstPortion().