LibreOffice Module sw (master) 1
|
The purpose of this class is to be the universal interface between formatting/text output and the possibly overlapping free-flying frames. More...
#include <txtfly.hxx>
Public Member Functions | |
SwAnchoredObjList * | GetAnchoredObjList () const |
SwTextFly () | |
SwTextFly (const SwTextFrame *pFrame) | |
SwTextFly (const SwTextFly &rTextFly) | |
~SwTextFly () | |
void | CtorInitTextFly (const SwTextFrame *pFrame) |
void | SetTopRule () |
SwRect | GetFrame (const SwRect &rPortion) const |
bool | IsOn () const |
bool | Relax (const SwRect &rRect) |
If there is no flying object frame standing in rRect (usually the current row), then we are turning ourself off. More... | |
bool | Relax () |
SwTwips | GetMinBottom () const |
SwTwips | GetMaxBottom (const SwBreakPortion &rPortion, const SwTextFormatInfo &rInfo) const |
Gets the maximum of the fly frame bottoms. More... | |
const SwTextFrame * | GetMaster () const |
tools::Long | GetNextTop () const |
void | SetNextTop (tools::Long nNew) const |
SwRect | AnchoredObjToRect (const SwAnchoredObject *pAnchoredObj, const SwRect &rRect) const |
Determines the demanded rectangle for an anchored object, considering its surround for text wrapping. More... | |
void | DrawTextOpaque (SwDrawTextInfo &rInf) |
This method is called by DrawText(). More... | |
void | DrawFlyRect (OutputDevice *pOut, const SwRect &rRect) |
Two subtleties needs to be mentioned: More... | |
bool | IsAnyFrame (const SwRect &rLine) const |
Used to switch off the SwTextFly when there is no overlapping object (Relax). More... | |
bool | IsAnyFrame () const |
Same as IsAnyFrame(const SwRect&), but uses the current frame print area. More... | |
bool | IsAnyObj (const SwRect &rRect) const |
true when a frame or DrawObj must be taken in account. More... | |
void | SetIgnoreCurrentFrame (bool bNew) |
void | SetIgnoreContour (bool bNew) |
void | SetIgnoreObjsInHeaderFooter (const bool bNew) |
SwRect | GetFrameArea () const |
Private Member Functions | |
SwRect | GetFrame_ (const SwRect &rPortion) const |
This method will be called during the LineIter formatting. More... | |
SwAnchoredObjList * | InitAnchoredObjList () |
bool | ForEach (const SwRect &rRect, SwRect *pRect, bool bAvoid) const |
Look for the first object which overlaps with the rectangle. More... | |
css::text::WrapTextMode | GetSurroundForTextWrap (const SwAnchoredObject *pAnchoredObj) const |
void | CalcRightMargin (SwRect &rFly, SwAnchoredObjList::size_type nPos, const SwRect &rLine) const |
The right margin is the right margin or it is determined by the next object standing on the line. More... | |
void | CalcLeftMargin (SwRect &rFly, SwAnchoredObjList::size_type nPos, const SwRect &rLine) const |
The left margin is the left margin of the current PrintArea or it is determined by the last FlyFrame, which stands on the line. More... | |
SwAnchoredObjList::size_type | GetPos (const SwAnchoredObject *pAnchoredObj) const |
bool | GetTop (const SwAnchoredObject *_pAnchoredObj, const bool bInFootnote, const bool bInFooterOrHeader) |
#i26945# - change first parameter Now it's the <SwAnchoredObject> instance of the floating screen object More... | |
SwTwips | CalcMinBottom () const |
const SwTextFrame * | GetMaster_ () |
Private Attributes | |
const SwPageFrame * | m_pPage |
const SwAnchoredObject * | mpCurrAnchoredObj |
const SwTextFrame * | m_pCurrFrame |
const SwTextFrame * | m_pMaster |
std::unique_ptr< SwAnchoredObjList > | mpAnchoredObjList |
tools::Long | m_nMinBottom |
tools::Long | m_nNextTop |
SwNodeOffset | m_nCurrFrameNodeIndex |
Stores the upper edge of the "next" frame. More... | |
bool | m_bOn: 1 |
bool | m_bTopRule: 1 |
bool | mbIgnoreCurrentFrame: 1 |
bool | mbIgnoreContour: 1 |
bool | mbIgnoreObjsInHeaderFooter: 1 |
boolean, indicating if objects in page header|footer are considered for text frames not in page header|footer. More... | |
The purpose of this class is to be the universal interface between formatting/text output and the possibly overlapping free-flying frames.
During formatting the formatter gets the information from SwTextFly, whether a certain area is present by the attributes of an overlapping frame. Such areas are represented by dummy portions.
The whole text output and touch-up is, again, forwarded to a SwTextFly. This one decides, whether parts of the text need to be clipped and splits the areas for e.g. a DrawRect.
Please note that all free-flying frames are located in a PtrArray, sorted by TopLeft.
Internally we always use document-global values. The IN and OUT parameters are, however, adjusted to the needs of the LineIter most of the time. That is: they are converted to frame- and window-local coordinates. If multiple frames with wrap attributes are located on the same line, we get the following settings for the text flow:
L/R P L R N P -P-P- -P-L -P R- -P N L -L P- -L L -L R- -L N R R-P- R-L R R- R N N N P- N L N R- N N
(P=parallel, L=left, R=right, N=no wrap)
We can describe the behaviour as follows: Every frame can push away text, with the restriction that it only has influence until the next frame.
Definition at line 124 of file txtfly.hxx.
SwTextFly::SwTextFly | ( | ) |
Definition at line 309 of file txtfly.cxx.
SwTextFly::SwTextFly | ( | const SwTextFrame * | pFrame | ) |
Definition at line 326 of file txtfly.cxx.
References CtorInitTextFly().
SwTextFly::SwTextFly | ( | const SwTextFly & | rTextFly | ) |
Definition at line 331 of file txtfly.cxx.
References m_bOn, m_bTopRule, m_nCurrFrameNodeIndex, m_nMinBottom, m_nNextTop, m_pCurrFrame, m_pMaster, m_pPage, mbIgnoreContour, mbIgnoreCurrentFrame, mbIgnoreObjsInHeaderFooter, mpAnchoredObjList, and mpCurrAnchoredObj.
SwTextFly::~SwTextFly | ( | ) |
Definition at line 352 of file txtfly.cxx.
SwRect SwTextFly::AnchoredObjToRect | ( | const SwAnchoredObject * | pAnchoredObj, |
const SwRect & | rRect | ||
) | const |
Determines the demanded rectangle for an anchored object, considering its surround for text wrapping.
pAnchoredObj | the object for which to get the bounds |
rLine | the bounds of the line to format |
Definition at line 1332 of file txtfly.cxx.
References SwContourCache::CalcBoundRect(), CalcLeftMargin(), CalcRightMargin(), SwRectFnSet::GetBottom(), SwRectFnSet::GetLeft(), SwAnchoredObject::GetObjRectWithSpaces(), GetPos(), GetSurroundForTextWrap(), SwFrame::IsRightToLeft(), m_pCurrFrame, mbIgnoreContour, SwRect::Right(), SetNextTop(), and SwRect::Width().
Referenced by ForEach(), and SwTextFrame::FormatImpl().
|
private |
The left margin is the left margin of the current PrintArea or it is determined by the last FlyFrame, which stands on the line.
Definition at line 1268 of file txtfly.cxx.
References SwContourCache::CalcBoundRect(), SwRectFnSet::GetLeft(), SwAnchoredObject::GetObjRectWithSpaces(), SwRectFnSet::GetPrtLeft(), SwRectFnSet::GetRight(), GetSurroundForTextWrap(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), SwRect::Left(), m_pCurrFrame, mpCurrAnchoredObj, SwRect::Overlaps(), SwRectFnSet::SetLeft(), and size.
Referenced by AnchoredObjToRect().
|
private |
Definition at line 976 of file txtfly.cxx.
References SwRect::Bottom(), SwFrame::GetDrawObjs(), SwFrameAreaDefinition::getFrameArea(), SwAnchoredObject::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SwFormat::GetSurround(), SwFrame::GetUpper(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), i, SwFormatSurround::IsAnchorOnly(), m_pCurrFrame, nCount, SwSortedObjs::size(), and SwRect::Top().
Referenced by GetMinBottom().
|
private |
The right margin is the right margin or it is determined by the next object standing on the line.
Definition at line 1179 of file txtfly.cxx.
References SwContourCache::CalcBoundRect(), SwRectFnSet::GetBottom(), SwRectFnSet::GetHeight(), SwRectFnSet::GetLeft(), SwRectFnSet::GetPrtRight(), SwRectFnSet::GetRight(), GetSurroundForTextWrap(), SwRectFnSet::GetTop(), SwRectFnSet::GetWidth(), SwTextFrame::IsSwapped(), SwFrame::IsVertical(), m_nNextTop, m_pCurrFrame, mpCurrAnchoredObj, nPos, SwRect::Overlaps(), SwRectFnSet::SetLeft(), SetNextTop(), SwRectFnSet::SetRight(), size, and SwRectFnSet::YDiff().
Referenced by AnchoredObjToRect().
void SwTextFly::CtorInitTextFly | ( | const SwTextFrame * | pFrame | ) |
Definition at line 356 of file txtfly.cxx.
References SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), SwPageFrame::GetSortedObjs(), m_bOn, m_bTopRule, m_nCurrFrameNodeIndex, m_nMinBottom, m_nNextTop, m_pCurrFrame, m_pMaster, m_pPage, mbIgnoreContour, mbIgnoreCurrentFrame, mbIgnoreObjsInHeaderFooter, mpCurrAnchoredObj, and NODE_OFFSET_MAX().
Referenced by SwTextPaintInfo::CtorInitTextPaintInfo(), and SwTextFly().
void SwTextFly::DrawFlyRect | ( | OutputDevice * | pOut, |
const SwRect & | rRect | ||
) |
Two subtleties needs to be mentioned:
Ensure that the overlapping frames (except the transparent frames) won't be scribbled
Definition at line 576 of file txtfly.cxx.
References SwAnchoredObject::DynCastFlyFrame(), GetAnchoredObjList(), SwRootFrame::GetCurrShell(), SwAnchoredObject::GetDrawObj(), SwAnchoredObject::GetFrameFormat(), IDocumentDrawModelAccess::GetHellId(), SwViewShell::getIDocumentDrawModelAccess(), SdrObject::GetLayer(), SwAnchoredObject::GetObjRect(), SwFrame::getRootFrame(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), i, SwFlyFrame::IsBackgroundTransparent(), SwFormatSurround::IsContour(), SwRect::IsEmpty(), SwFrame::IsNoTextFrame(), SwLayoutFrame::Lower(), m_bOn, m_bTopRule, m_pPage, mpCurrAnchoredObj, nCount, pOut, size, and SwAlignRect().
void SwTextFly::DrawTextOpaque | ( | SwDrawTextInfo & | rInf | ) |
This method is called by DrawText().
Ensures that the overlapping frames (except the transparent frames) won't be scribbled by setting clip regions so that only the portions that are not in the area of FlyFrames that are opaque and above the current frame will be output.
DrawText() takes over the on optimization!
Definition at line 455 of file txtfly.cxx.
References CH_BLANK, SwSaveClip::ChgClip(), COMPLETE_STRING, SwFont::DrawStretchText_(), SwFont::DrawText_(), SwAnchoredObject::DynCastFlyFrame(), SwFormat::GetAnchor(), GetAnchoredObjList(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwDrawTextInfo::GetAscent(), vcl::Region::GetBoundRect(), OutputDevice::GetClipRegion(), SwRootFrame::GetCurrShell(), SwAnchoredObject::GetDrawObj(), SwDrawTextInfo::GetFont(), SwFlyFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), IDocumentDrawModelAccess::GetHellId(), SwViewShell::getIDocumentDrawModelAccess(), SwDrawTextInfo::GetIdx(), SwDrawTextInfo::GetKern(), SdrObject::GetLayer(), SwDrawTextInfo::GetLen(), GetMaster(), SdrObject::GetOrdNum(), SwRegionRects::GetOrigin(), SwDrawTextInfo::GetOut(), SwDrawTextInfo::GetPos(), SwDrawTextInfo::GetpOut(), SwFrame::getRootFrame(), SwDrawTextInfo::GetSize(), SwDrawTextInfo::GetSpace(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwDrawTextInfo::GetText(), i, SwRect::Intersection(), SwFormatSurround::IsAnchorOnly(), SwFlyFrame::IsBackgroundTransparent(), OutputDevice::IsClipRegion(), SwFormatSurround::IsContour(), SwFrame::IsNoTextFrame(), SwSaveClip::IsOn(), SwNoTextFrame::IsTransparent(), SwLayoutFrame::Lower(), m_bOn, m_bTopRule, m_pPage, mpCurrAnchoredObj, nCount, nPos, SwRect::Overlaps(), SAL_MAX_UINT32, SwDrawTextInfo::SetPos(), size, SwRect::Width(), Point::X(), and Point::Y().
Referenced by SwTextPaintInfo::DrawText_().
Look for the first object which overlaps with the rectangle.
Iterates over the anchored object list mpAnchoredObjList.
Definition at line 1068 of file txtfly.cxx.
References AnchoredObjToRect(), FAR_AWAY, SwFormat::GetAnchor(), GetAnchoredObjList(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwPageDesc::GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwAnchoredObject::GetFrameFormat(), SwRectFnSet::GetHeight(), SwRectFnSet::GetLeft(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SwPageFrame::GetPageDesc(), SwRectFnSet::GetRight(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), i, SwFormatSurround::IsAnchorOnly(), SwFormatSurround::IsContour(), SwRect::IsEmpty(), SwFrame::IsRightToLeft(), m_bOn, m_pCurrFrame, m_pPage, mbIgnoreCurrentFrame, mpCurrAnchoredObj, nCount, SwRect::Overlaps(), size, swap(), and SwRect::Top().
Referenced by GetFrame_(), and IsAnyFrame().
|
inline |
Definition at line 314 of file txtfly.hxx.
References InitAnchoredObjList(), and mpAnchoredObjList.
Referenced by DrawFlyRect(), DrawTextOpaque(), ForEach(), SwTextFrame::FormatImpl(), GetMaxBottom(), and GetPos().
Definition at line 369 of file txtfly.hxx.
References GetFrame_(), and m_bOn.
Referenced by SwTextAdjuster::CalcFlyPortion(), SwTextFormatter::CalcFlyWidth(), SwTextFormatter::ChkFlyUnderflow(), lcl_CalcFlyBasePos(), and lcl_IsDropFlyInter().
This method will be called during the LineIter formatting.
FlyPortion
[in] | rPortion | Scope: document global. |
Definition at line 379 of file txtfly.cxx.
References ForEach(), SwRectFnSet::GetBottom(), SwRectFnSet::GetHeight(), SwRectFnSet::GetTop(), m_pCurrFrame, SwRectFnSet::SetBottom(), SwRectFnSet::SetTop(), and SwRectFnSet::YDiff().
Referenced by GetFrame().
SwRect SwTextFly::GetFrameArea | ( | ) | const |
Definition at line 832 of file txtfly.cxx.
References IDocumentSettingAccess::get(), SwTextFrame::GetDoc(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwDoc::getIDocumentSettingAccess(), m_pCurrFrame, SwRect::Pos(), and USE_FORMER_TEXT_WRAPPING.
Referenced by SwTextFrame::FormatImpl(), and InitAnchoredObjList().
|
inline |
Definition at line 354 of file txtfly.hxx.
References GetMaster_(), and m_pMaster.
Referenced by CalcMinBottom(), DrawTextOpaque(), ForEach(), GetSurroundForTextWrap(), and InitAnchoredObjList().
|
private |
Definition at line 447 of file txtfly.cxx.
References SwContentFrame::FindMaster(), m_pCurrFrame, and m_pMaster.
Referenced by GetMaster().
SwTwips SwTextFly::GetMaxBottom | ( | const SwBreakPortion & | rPortion, |
const SwTextFormatInfo & | rInfo | ||
) | const |
Gets the maximum of the fly frame bottoms.
Definition at line 1010 of file txtfly.cxx.
References SwFrame::FindFooterOrHeader(), GetAnchoredObjList(), SwAnchoredObject::GetAnchorFrame(), SwBreakPortion::GetClear(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwAnchoredObject::GetObjRectWithSpaces(), SwRect::Height(), i, SwFrame::IsVertical(), LEFT, SwRect::Left(), m_bOn, m_pCurrFrame, nCount, RIGHT, SwRect::Right(), size, SwTextFrame::SwitchVerticalToHorizontal(), SwRect::Top(), and SwTextPaintInfo::X().
Referenced by SwBreakPortion::Format().
|
inline |
Definition at line 349 of file txtfly.hxx.
References CalcMinBottom(), m_nMinBottom, and mpAnchoredObjList.
Referenced by SwTextFormatter::CalcBottomLine().
|
inline |
Definition at line 359 of file txtfly.hxx.
References m_nNextTop.
Referenced by SwTextFormatter::CalcFlyWidth().
|
private |
Definition at line 1169 of file txtfly.cxx.
References GetAnchoredObjList(), mpAnchoredObjList, and nCount.
Referenced by AnchoredObjToRect().
|
private |
Definition at line 1394 of file txtfly.cxx.
References FRAME_MAX, IDocumentSettingAccess::get(), SwFormat::GetAnchor(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwTextFrame::GetDoc(), SwAnchoredObject::GetFrameFormat(), SwDoc::getIDocumentSettingAccess(), SwRectFnSet::GetLeft(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SwRectFnSet::GetPrtLeft(), SwRectFnSet::GetPrtRight(), SwRectFnSet::GetRight(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwFormatSurround::IsAnchorOnly(), SwFrame::IsRightToLeft(), m_pCurrFrame, SURROUND_TEXT_WRAP_SMALL, TEXT_MIN, and TEXT_MIN_SMALL.
Referenced by AnchoredObjToRect(), CalcLeftMargin(), and CalcRightMargin().
|
private |
#i26945# - change first parameter Now it's the <SwAnchoredObject> instance of the floating screen object
Definition at line 636 of file txtfly.cxx.
References CONSIDER_WRAP_ON_OBJECT_POSITION, SwAnchoredObject::DynCastFlyFrame(), FindContext(), SwFrame::FindFooterOrHeader(), sw::FrameContainsNode(), IDocumentSettingAccess::get(), SwFormat::GetAnchor(), SwAnchoredObject::GetAnchorFrame(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormat::GetChain(), SwTextFrame::GetDoc(), SwAnchoredObject::GetDrawObj(), SwAnchoredObject::GetFrameFormat(), SwDoc::getIDocumentSettingAccess(), SwNode::GetIndex(), SwFrame::GetNext(), SwFormatChain::GetNext(), SwAnchoredObject::GetObjRect(), SwAnchoredObject::GetObjRectWithSpaces(), SdrObject::GetOrdNum(), SwFormatChain::GetPrev(), SwFormatVertOrient::GetRelationOrient(), SwTextFrame::GetTextNodeFirst(), SwFormat::GetVertOrient(), GetVirtualUpper(), Is_Lower_Of(), IsFrameInSameContext(), SwFrame::IsInDocBody(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFrame::IsInTab(), SwFrame::IsTextFrame(), m_bTopRule, m_nCurrFrameNodeIndex, m_pCurrFrame, mpCurrAnchoredObj, NODE_OFFSET_MAX(), None, SwRect::Overlaps(), SwRect::Pos(), and USE_FORMER_TEXT_WRAPPING.
Referenced by InitAnchoredObjList().
|
private |
Definition at line 849 of file txtfly.cxx.
References SwAnchoredObject::ConsiderForTextWrap(), SwFrame::FindFooterOrHeader(), SwRectFnSet::FnRect(), IDocumentSettingAccess::get(), SwAnchoredObject::GetAnchorFrame(), SwRectFnSet::GetBottom(), SwTextFrame::GetDoc(), SwAnchoredObject::GetDrawObj(), SwFormat::GetFollowTextFlow(), SwFrameAreaDefinition::getFrameArea(), GetFrameArea(), SwAnchoredObject::GetFrameFormat(), SwRectFnSet::GetHeight(), SwDoc::getIDocumentDrawModelAccess(), SwDoc::getIDocumentSettingAccess(), SdrObject::GetLayer(), SwRectFnSet::GetLeft(), GetMaster(), SwAnchoredObject::GetObjRectWithSpaces(), SwRectFnSet::GetPrtBottom(), SwRectFnSet::GetRight(), SwPageFrame::GetSortedObjs(), SwFormat::GetSurround(), GetTop(), SwRectFnSet::GetTop(), SwFrame::GetUpper(), SfxBoolItem::GetValue(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), i, SwFormatSurround::IsAnchorOnly(), SwFrame::IsInFootnote(), SwFrame::IsInTab(), SwFrame::IsRightToLeft(), SwRectFnSet::IsVert(), IDocumentDrawModelAccess::IsVisibleLayerId(), SwRect::Left(), m_bOn, m_nMinBottom, m_pCurrFrame, m_pPage, mbIgnoreObjsInHeaderFooter, min(), mpAnchoredObjList, nCount, SwSortedObjs::size(), swap(), USE_FORMER_TEXT_WRAPPING, and SwRectFnSet::YDiff().
Referenced by GetAnchoredObjList().
bool SwTextFly::IsAnyFrame | ( | ) | const |
Same as IsAnyFrame(const SwRect&), but uses the current frame print area.
Definition at line 397 of file txtfly.cxx.
References ForEach(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), m_bOn, m_pCurrFrame, SwRect::Pos(), SwRect::SSize(), and swap().
Referenced by Relax().
bool SwTextFly::IsAnyFrame | ( | const SwRect & | rLine | ) | const |
Used to switch off the SwTextFly when there is no overlapping object (Relax).
[in] | the | line area |
Definition at line 1471 of file txtfly.cxx.
References ForEach(), m_bOn, m_pCurrFrame, and swap().
bool SwTextFly::IsAnyObj | ( | const SwRect & | rRect | ) | const |
true when a frame or DrawObj must be taken in account.
The optimizations like Paint/FormatEmpty for empty sentences or the virtual OutputDevice can be used only when false is returned.
rRect | The rectangle can be empty, the current frame is then used. The value is global to the document. |
Definition at line 408 of file txtfly.cxx.
References SwRect::AddBottom(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwTextFrame::GetLowerMarginForFlyIntersect(), SwAnchoredObject::GetObjRect(), SwAnchoredObject::GetObjRectWithSpaces(), SwPageFrame::GetSortedObjs(), i, SwRect::IsEmpty(), SwRect::Left(), m_bOn, m_pCurrFrame, m_pPage, mpCurrAnchoredObj, SwRect::Overlaps(), SwRect::Pos(), SwRect::Right(), SwSortedObjs::size(), and SwRect::SSize().
Referenced by SwTextFrame::FormatEmpty(), and SwTextFrame::PaintEmpty().
|
inline |
Definition at line 326 of file txtfly.hxx.
References m_bOn.
Referenced by SwTextFormatter::CalcFlyWidth(), SwTextFrame::CalcLineSpace(), SwTextFormatter::ChkFlyUnderflow(), SwTextPaintInfo::DrawRect(), SwBreakPortion::Format(), SwTextFrame::FormatAdjust(), SwTextFrame::FormatEmpty(), SwTextFrame::FormatImpl(), SwTextFormatter::FormatLine(), SwTextFormatter::Hyphenate(), lcl_IsDropFlyInter(), SwTextFrame::PaintEmpty(), and SwTextFrame::Prepare().
|
inline |
Definition at line 340 of file txtfly.hxx.
References IsAnyFrame(), and m_bOn.
|
inline |
If there is no flying object frame standing in rRect (usually the current row), then we are turning ourself off.
rRect | is global to the document! |
Definition at line 331 of file txtfly.hxx.
References IsAnyFrame(), and m_bOn.
Referenced by SwTextFrame::CalcLineSpace(), SwTextFrame::PaintSwFrame(), and SwTextFrame::Prepare().
|
inline |
Definition at line 379 of file txtfly.hxx.
References mbIgnoreContour.
Referenced by SwTextFrame::CalcBaseOfstForFly().
|
inline |
Definition at line 374 of file txtfly.hxx.
References mbIgnoreCurrentFrame.
Referenced by SwTextFrame::CalcBaseOfstForFly().
|
inline |
Definition at line 384 of file txtfly.hxx.
References mbIgnoreObjsInHeaderFooter.
Referenced by SwTextFrame::CalcBaseOfstForFly().
|
inline |
Definition at line 364 of file txtfly.hxx.
References m_nNextTop.
Referenced by AnchoredObjToRect(), and CalcRightMargin().
|
inline |
Definition at line 321 of file txtfly.hxx.
References m_bTopRule.
Referenced by SwTextFrame::PaintEmpty(), and SwTextFrame::PaintSwFrame().
|
private |
Definition at line 136 of file txtfly.hxx.
Referenced by CtorInitTextFly(), DrawFlyRect(), DrawTextOpaque(), ForEach(), GetFrame(), GetMaxBottom(), InitAnchoredObjList(), IsAnyFrame(), IsAnyObj(), IsOn(), Relax(), and SwTextFly().
|
private |
Definition at line 137 of file txtfly.hxx.
Referenced by CtorInitTextFly(), DrawFlyRect(), DrawTextOpaque(), GetTop(), SetTopRule(), and SwTextFly().
|
private |
Stores the upper edge of the "next" frame.
Definition at line 134 of file txtfly.hxx.
Referenced by CtorInitTextFly(), GetTop(), and SwTextFly().
|
private |
Definition at line 132 of file txtfly.hxx.
Referenced by CtorInitTextFly(), GetMinBottom(), InitAnchoredObjList(), and SwTextFly().
|
private |
Definition at line 133 of file txtfly.hxx.
Referenced by CalcRightMargin(), CtorInitTextFly(), GetNextTop(), SetNextTop(), and SwTextFly().
|
private |
Definition at line 128 of file txtfly.hxx.
Referenced by AnchoredObjToRect(), CalcLeftMargin(), CalcMinBottom(), CalcRightMargin(), CtorInitTextFly(), ForEach(), GetFrame_(), GetFrameArea(), GetMaster_(), GetMaxBottom(), GetSurroundForTextWrap(), GetTop(), InitAnchoredObjList(), IsAnyFrame(), IsAnyObj(), and SwTextFly().
|
private |
Definition at line 129 of file txtfly.hxx.
Referenced by CtorInitTextFly(), GetMaster(), GetMaster_(), and SwTextFly().
|
private |
Definition at line 126 of file txtfly.hxx.
Referenced by CtorInitTextFly(), DrawFlyRect(), DrawTextOpaque(), ForEach(), InitAnchoredObjList(), IsAnyObj(), and SwTextFly().
|
private |
Definition at line 139 of file txtfly.hxx.
Referenced by AnchoredObjToRect(), CtorInitTextFly(), SetIgnoreContour(), and SwTextFly().
|
private |
Definition at line 138 of file txtfly.hxx.
Referenced by CtorInitTextFly(), ForEach(), SetIgnoreCurrentFrame(), and SwTextFly().
|
private |
boolean, indicating if objects in page header|footer are considered for text frames not in page header|footer.
Definition at line 144 of file txtfly.hxx.
Referenced by CtorInitTextFly(), InitAnchoredObjList(), SetIgnoreObjsInHeaderFooter(), and SwTextFly().
|
private |
Definition at line 130 of file txtfly.hxx.
Referenced by GetAnchoredObjList(), GetMinBottom(), GetPos(), InitAnchoredObjList(), and SwTextFly().
|
private |
Definition at line 127 of file txtfly.hxx.
Referenced by CalcLeftMargin(), CalcRightMargin(), CtorInitTextFly(), DrawFlyRect(), DrawTextOpaque(), ForEach(), GetTop(), IsAnyObj(), and SwTextFly().