LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
SwFlyFrame Class Reference

general base class for all free-flowing frames More...

#include <flyfrm.hxx>

Inheritance diagram for SwFlyFrame:
[legend]
Collaboration diagram for SwFlyFrame:
[legend]

Public Member Functions

virtual bool GetInfo (SfxPoolItem &) const override
 Gets information from the Modify. More...
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 
virtual Size ChgSize (const Size &aNewSize) override
 
virtual bool GetCursorOfst (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
 Searches the ContentFrame owning the PrtArea containing the point. More...
 
virtual void CheckDirection (bool bVert) override
 
virtual void Cut () override
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override
 
SwTwips Shrink_ (SwTwips, bool bTst)
 
SwTwips Grow_ (SwTwips, bool bTst)
 
void Invalidate_ (SwPageFrame const *pPage=nullptr)
 
bool FrameSizeChg (const SwFormatFrameSize &)
 
SwFlyFrameGetPrevLink () const
 
SwFlyFrameGetNextLink () const
 
SwFlyFrameFindChainNeighbour (SwFrameFormat const &rFormat, SwFrame *pAnch=nullptr)
 
const SwVirtFlyDrawObjGetVirtDrawObj () const
 
SwVirtFlyDrawObjGetVirtDrawObj ()
 
void NotifyDrawObj ()
 
void ChgRelPos (const Point &rAbsPos)
 Change the relative position. More...
 
bool IsInvalid () const
 
void Invalidate () const
 
void Validate () const
 
bool IsMinHeight () const
 
bool IsLocked () const
 
bool IsAutoPos () const
 
bool IsFlyInContentFrame () const
 
bool IsFlyFreeFrame () const
 
bool IsFlyLayFrame () const
 
bool IsFlyAtContentFrame () const
 
bool IsNotifyBack () const
 
void SetNotifyBack ()
 
void ResetNotifyBack ()
 
bool IsClipped () const
 
bool IsHeightClipped () const
 
bool IsLowerOf (const SwLayoutFrame *pUpper) const
 
bool IsUpperOf (const SwFlyFrame &_rLower) const
 
SwFrameFindLastLower ()
 
bool GetContour (tools::PolyPolygon &rContour, const bool _bForPaint=false) const
 OD 16.04.2003 #i13147# - If called for paint and the <SwNoTextFrame> contains a graphic, load of intrinsic graphic has to be avoided. More...
 
bool IsBackgroundTransparent () const
 SwFlyFrame::IsBackgroundTransparent. More...
 
void Chain (SwFrame *_pAnchor)
 
void Unchain ()
 
void InsertCnt ()
 
void DeleteCnt ()
 
void InsertColumns ()
 
virtual void MakeObjPos () override
 method to determine position for the object and set the position at the object More...
 
virtual void InvalidateObjPos () override
 method to invalidate position of the anchored object More...
 
virtual SwFrameFormatGetFrameFormat () override
 
virtual const SwFrameFormatGetFrameFormat () const override
 
virtual const SwRect GetObjRect () const override
 
virtual bool IsFormatPossible () const override
 method to determine if a format on the Writer fly frame is possible More...
 
virtual const SwFlyFrameFormatGetFormat () const override
 
virtual SwFlyFrameFormatGetFormat () override
 
virtual void dumpAsXml (xmlTextWriterPtr writer) const override
 Dump a bunch of useful data to an XML representation to ease layout understanding, debugging and testing. More...
 
virtual void Calc (vcl::RenderContext *pRenderContext) const override
 
const PointContentPos () const
 
PointContentPos ()
 
void InvalidateContentPos ()
 
void SelectionHasChanged (SwFEShell *pShell)
 
bool IsShowUnfloatButton (SwWrtShell *pWrtSh) const
 
void ActiveUnfloatButton (SwWrtShell *pWrtSh)
 
- Public Member Functions inherited from SwLayoutFrame
virtual void PaintSubsidiaryLines (const SwPageFrame *, const SwRect &) const
 
void RefreshLaySubsidiary (const SwPageFrame *, const SwRect &) const
 
void RefreshExtraData (const SwRect &) const
 
void ChgLowersProp (const Size &rOldSize)
 Change size of lowers proportionally. More...
 
void AdjustColumns (const SwFormatCol *pCol, bool bAdjustAttributes)
 
void ChgColumns (const SwFormatCol &rOld, const SwFormatCol &rNew, const bool bChgFootnote=false)
 add or remove columns from a layoutframe. More...
 
void PaintColLines (const SwRect &, const SwFormatCol &, const SwPageFrame *) const
 Paints the column separation line for the inner columns. More...
 
virtual bool FillSelection (SwSelectionList &rList, const SwRect &rRect) const override
 
const SwContentFrameGetContentPos (Point &rPoint, const bool bDontLeave, const bool bBodyOnly=false, SwCursorMoveState *pCMS=nullptr, const bool bDefaultExpand=true) const
 Finds the closest Content for the SPoint Is used for Pages, Flys and Cells if GetCursorOfst failed. More...
 
 SwLayoutFrame (SwFrameFormat *, SwFrame *)
 
const SwFrameLower () const
 
SwFrameLower ()
 
const SwContentFrameContainsContent () const
 Checks if the frame contains one or more ContentFrame's anywhere in his subsidiary structure; if so the first found ContentFrame is returned. More...
 
SwContentFrameContainsContent ()
 In order to save us from duplicating implementations, we cast here a little. More...
 
const SwCellFrameFirstCell () const
 Calls ContainsAny first to reach the innermost cell. More...
 
SwCellFrameFirstCell ()
 
const SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false) const
 Method <ContainsAny()> doesn't investigate content of footnotes by default. More...
 
SwFrameContainsAny (const bool _bInvestigateFootnoteForSections=false)
 
bool IsAnLower (const SwFrame *) const
 
void SetFrameFormat (SwFrameFormat *)
 
bool MoveLowerFootnotes (SwContentFrame *pStart, SwFootnoteBossFrame *pOldBoss, SwFootnoteBossFrame *pNewBoss, const bool bFootnoteNums)
 Moving the Footnotes of all Lowers - starting from StartContent. More...
 
void NotifyLowerObjs (const bool _bUnlockPosOfObjs=false)
 force an unlockposition call for the lower objects. More...
 
void InvaPercentLowers (SwTwips nDiff=0)
 Invalidates the inner Frames, whose width and/or height are calculated using percentages. More...
 
void FormatWidthCols (const SwBorderAttrs &, const SwTwips nBorder, const SwTwips nMinHeight)
 Called by Format for Frames and Areas with columns. More...
 
SwTwips InnerHeight () const
 InnerHeight returns the height of the content and may be bigger or less than the PrtArea-Height of the layoutframe himself. More...
 
bool IsBefore (const SwLayoutFrame *_pCheckRefLayFrame) const
 method to check relative position of layout frame to a given layout frame. More...
 
SwFrameGetLastLower ()
 
virtual void PaintBreak () const
 
void SetVertPosOrientFrameFor (SwAnchoredObject *pObj)
 
void ClearVertPosOrientFrameFor (SwAnchoredObject *pObj)
 
const SwFrameGetLastLower () const
 
- Public Member Functions inherited from SwFrame
virtual css::uno::Sequence< css::style::TabStop > GetTabStopInfo (SwTwips)
 
SwFrameType GetType () const
 
SwTwips Shrink (SwTwips, bool bTst=false, bool bInfo=false)
 
SwTwips Grow (SwTwips, bool bTst=false, bool bInfo=false)
 
void InsertBefore (SwLayoutFrame *pParent, SwFrame *pBehind)
 Insert SwFrame into existing structure. More...
 
void InsertBehind (SwLayoutFrame *pParent, SwFrame *pBefore)
 Insert SwFrame into existing structure. More...
 
bool InsertGroupBefore (SwFrame *pParent, SwFrame *pWhere, SwFrame *pSct)
 Insert a chain of SwFrames into an existing structure. More...
 
void RemoveFromLayout ()
 
SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd)
 
SwLayoutFrameGetNextLeaf (MakePageType eMakePage)
 Returns the next layout leaf in which we can move the frame. More...
 
SwLayoutFrameGetNextFootnoteLeaf (MakePageType eMakePage)
 Return the next layout leaf in that the frame can be moved. More...
 
SwLayoutFrameGetNextSctLeaf (MakePageType eMakePage)
 Returns the next layout sheet where the frame can be moved in. More...
 
SwLayoutFrameGetPrevLeaf ()
 Returns the previous layout leaf where we can move the frame. More...
 
SwLayoutFrameGetPrevFootnoteLeaf (MakePageType eMakeFootnote)
 Get the preceding layout leaf in that the frame can be moved. More...
 
SwLayoutFrameGetPrevSctLeaf ()
 Returns the preceding layout sheet where the frame can be moved into. More...
 
const SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd, const SwFrame *pAnch) const
 Returns the next/previous Layout leaf that's NOT below this (or even is this itself). More...
 
bool WrongPageDesc (SwPageFrame *pNew)
 
void AppendDrawObj (SwAnchoredObject &_rNewObj)
 
void RemoveDrawObj (SwAnchoredObject &_rToRemoveObj)
 
void AppendFly (SwFlyFrame *pNew)
 
void RemoveFly (SwFlyFrame *pToRemove)
 
const SwSortedObjsGetDrawObjs () const
 
SwSortedObjsGetDrawObjs ()
 
void InvalidateObjs (const bool _bNoInvaOfAsCharAnchoredObjs=true)
 
virtual void PaintSwFrameShadowAndBorder (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &) const
 Paints shadows and borders. More...
 
void PaintBaBo (const SwRect &, const SwPageFrame *pPage, const bool bOnlyTextBackground=false) const
 
void PaintSwFrameBackground (const SwRect &, const SwPageFrame *pPage, const SwBorderAttrs &, const bool bLowerMode=false, const bool bLowerBorder=false, const bool bOnlyTextBackground=false) const
 OD 05.09.2002 #102912# Do not paint background for fly frames without a background brush by calling <PaintBaBo> at the page or at the fly frame its anchored. More...
 
void PaintBorderLine (const SwRect &, const SwRect &, const SwPageFrame *, const Color *pColor, const SvxBorderLineStyle=SvxBorderLineStyle::SOLID) const
 
std::unique_ptr< drawinglayer::processor2d::BaseProcessor2DCreateProcessor2D () const
 
void ProcessPrimitives (const drawinglayer::primitive2d::Primitive2DContainer &rSequence) const
 
void Retouch (const SwPageFrame *pPage, const SwRect &rRect) const
 Retouch for a section. More...
 
bool GetBackgroundBrush (drawinglayer::attribute::SdrAllFillAttributesHelperPtr &rFillAttributes, const SvxBrushItem *&rpBrush, const Color *&rpColor, SwRect &rOrigRect, bool bLowerMode, bool bConsiderTextBox) const
 Determine the background brush for the frame: the background brush is taken from it-self or from its parent (anchor/upper). More...
 
void SetCompletePaint () const
 
void ResetCompletePaint () const
 
bool IsCompletePaint () const
 
void SetRetouche () const
 
void ResetRetouche () const
 
bool IsRetouche () const
 
void InvalidateInfFlags ()
 
bool IsInDocBody () const
 
bool IsInFootnote () const
 
bool IsInTab () const
 
bool IsInFly () const
 
bool IsInSct () const
 
bool IsVertical () const
 
bool IsVertLR () const
 
bool IsVertLRBT () const
 
void SetDerivedVert (bool bNew)
 
void SetInvalidVert (bool bNew)
 
bool IsRightToLeft () const
 
void SetDerivedR2L (bool bNew)
 
void CheckDirChange ()
 checks the layout direction and invalidates the lower frames recursively, if necessary. More...
 
Point GetFrameAnchorPos (bool bIgnoreFlysAnchoredAtThisFrame) const
 returns the position for anchors based on frame direction More...
 
bool IsFootnoteAllowed () const
 
void ReinitializeFrameSizeAttrFlags ()
 
bool HasFixSize () const
 
SwFrameGetNext ()
 
SwFrameGetPrev ()
 
SwLayoutFrameGetUpper ()
 
SwRootFramegetRootFrame ()
 
SwPageFrameFindPageFrame ()
 
SwFrameGetLower ()
 
const SwFrameGetNext () const
 
const SwFrameGetPrev () const
 
const SwLayoutFrameGetUpper () const
 
const SwRootFramegetRootFrame () const
 
SwTabFrameFindTabFrame ()
 
SwFootnoteFrameFindFootnoteFrame ()
 
SwFlyFrameFindFlyFrame ()
 
SwSectionFrameFindSctFrame ()
 
SwFrameFindNext ()
 
SwContentFrameFindNextCnt (const bool _bInSameFootnote=false)
 
SwFrameFindPrev ()
 
const SwPageFrameFindPageFrame () const
 
const SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnote=false) const
 
const SwFrameFindColFrame () const
 
const SwFrameFindFooterOrHeader () const
 
const SwTabFrameFindTabFrame () const
 
const SwFootnoteFrameFindFootnoteFrame () const
 
const SwFlyFrameFindFlyFrame () const
 
const SwSectionFrameFindSctFrame () const
 
const SwBodyFrameFindBodyFrame () const
 
const SwFrameFindNext () const
 
const SwContentFrameFindNextCnt (const bool _bInSameFootnote=false) const
 
const SwFrameFindPrev () const
 
const SwFrameGetLower () const
 
SwContentFrameFindPrevCnt ()
 
const SwContentFrameFindPrevCnt () const
 
SwFrameGetIndPrev_ () const
 Called for a frame inside a section with no direct previous frame (or only previous empty section frames) the previous frame of the outer section is returned, if the frame is the first flowing content of this section. More...
 
SwFrameGetIndPrev () const
 
SwFrameGetIndNext ()
 
const SwFrameGetIndNext () const
 
sal_uInt16 GetPhyPageNum () const
 
sal_uInt16 GetVirtPageNum () const
 
bool OnRightPage () const
 
bool WannaRightPage () const
 Decides if the page want to be a rightpage or not. More...
 
bool OnFirstPage () const
 
const SwLayoutFrameGetPrevLayoutLeaf () const
 
const SwLayoutFrameGetNextLayoutLeaf () const
 
SwLayoutFrameGetPrevLayoutLeaf ()
 
SwLayoutFrameGetNextLayoutLeaf ()
 
void OptCalc () const
 
Point GetRelPos () const
 
const SwRect GetPaintArea () const
 |* The paintarea is the area, in which the content of a frame is allowed |* to be displayed. More...
 
const SwRect UnionFrame (bool bBorder=false) const
 |* The unionframe is the framearea (getFrameArea()) of a frame expanded by the |* printarea, if there's a negative margin at the left or right side. More...
 
void ValidateLineNum ()
 
bool GetValidLineNumFlag () const
 
void InvalidateSize_ ()
 
void InvalidatePrt_ ()
 
void InvalidatePos_ ()
 
void InvalidateLineNum_ ()
 
void InvalidateAll_ ()
 
void InvalidateSize ()
 
void InvalidatePrt ()
 
void InvalidatePos ()
 
void InvalidateLineNum ()
 
void InvalidateAll ()
 
void ImplInvalidateSize ()
 
void ImplInvalidatePrt ()
 
void ImplInvalidatePos ()
 
void ImplInvalidateLineNum ()
 
void InvalidateNextPos (bool bNoFootnote=false)
 
void InvalidatePage (const SwPageFrame *pPage=nullptr) const
 Invalidates the page in which the Frame is currently placed. More...
 
virtual bool GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const
 
virtual bool Prepare (const PrepareHint ePrep=PREP_CLEAR, const void *pVoid=nullptr, bool bNotify=true)
 
bool IsLayoutFrame () const
 
bool IsRootFrame () const
 
bool IsPageFrame () const
 
bool IsColumnFrame () const
 
bool IsFootnoteBossFrame () const
 
bool IsHeaderFrame () const
 
bool IsFooterFrame () const
 
bool IsFootnoteContFrame () const
 
bool IsFootnoteFrame () const
 
bool IsBodyFrame () const
 
bool IsColBodyFrame () const
 These SwFrame inlines are here, so that frame.hxx does not need to include layfrm.hxx. More...
 
bool IsPageBodyFrame () const
 
bool IsFlyFrame () const
 
bool IsSctFrame () const
 
bool IsTabFrame () const
 
bool IsRowFrame () const
 
bool IsCellFrame () const
 
bool IsContentFrame () const
 
bool IsTextFrame () const
 
bool IsNoTextFrame () const
 
bool IsFlowFrame () const
 
bool IsRetoucheFrame () const
 
bool IsAccessibleFrame () const
 
void PrepareCursor ()
 
bool IsProtected () const
 Is the Frame or rather the Section in which it lies protected? More...
 
bool IsColLocked () const
 
virtual bool IsDeleteForbidden () const
 
bool IsInDtor () const
 
long GetTopMargin () const
 
long GetBottomMargin () const
 
long GetLeftMargin () const
 
long GetRightMargin () const
 
void SetTopBottomMargins (long, long)
 
void SetLeftRightMargins (long, long)
 
void SetRightLeftMargins (long, long)
 
long GetPrtLeft () const
 
long GetPrtBottom () const
 
long GetPrtRight () const
 
long GetPrtTop () const
 
bool SetMinLeft (long)
 
bool SetMaxBottom (long)
 
bool SetMaxRight (long)
 
void MakeBelowPos (const SwFrame *, const SwFrame *, bool)
 
void MakeLeftPos (const SwFrame *, const SwFrame *, bool)
 
void MakeRightPos (const SwFrame *, const SwFrame *, bool)
 
bool IsNeighbourFrame () const
 
bool IsLeaveUpperAllowed () const
 
bool IsCoveredCell () const
 
bool IsInCoveredCell () const
 
bool KnowsFormat (const SwFormat &rFormat) const
 
void RegisterToFormat (SwFormat &rFormat)
 
void ValidateThisAndAllLowers (const sal_uInt16 nStage)
 
void ForbidDelete ()
 
void AllowDelete ()
 
void dumpTopMostAsXml (xmlTextWriterPtr writer=nullptr) const
 
void dumpInfosAsXml (xmlTextWriterPtr writer) const
 
virtual void dumpAsXmlAttributes (xmlTextWriterPtr writer) const
 
void dumpChildrenAsXml (xmlTextWriterPtr writer) const
 
bool IsCollapse () const
 
SwLayoutFrameGetNextCellLeaf ()
 
SwLayoutFrameGetPrevCellLeaf ()
 
void SetInfFlags ()
 
const SwRowFrameIsInSplitTableRow () const
 
const SwRowFrameIsInFollowFlowRow () const
 
bool IsInBalancedSection () const
 
bool IsMoveable (const SwLayoutFrame *_pLayoutFrame=nullptr) const
 determine, if frame is moveable in given environment More...
 
const SwAttrSetGetAttrSet () const
 WARNING: this may not return correct RES_PAGEDESC/RES_BREAK items for SwTextFrame, use GetBreakItem()/GetPageDescItem() instead. More...
 
virtual const SvxFormatBreakItemGetBreakItem () const
 
virtual const SwFormatPageDescGetPageDescItem () const
 
SwFrameFindColFrame ()
 
SwRowFrameFindRowFrame ()
 
SwFootnoteBossFrameFindFootnoteBossFrame (bool bFootnotes=false)
 
SwTabFrameImplFindTabFrame ()
 
SwFootnoteFrameImplFindFootnoteFrame ()
 
SwFlyFrameImplFindFlyFrame ()
 
SwSectionFrameImplFindSctFrame ()
 
const SwBodyFrameImplFindBodyFrame () const
 
SwFrameFindFooterOrHeader ()
 
void ImplInvalidateNextPos (bool bNoFootnote)
 
void InvalidateNextPrtArea ()
 method to invalidate printing area of next frame #i11859# More...
 
drawinglayer::attribute::SdrAllFillAttributesHelperPtr getSdrAllFillAttributesHelper () const
 
bool supportsFullDrawingLayerFillAttributeSet () const
 
- Public Member Functions inherited from SwFrameAreaDefinition
 SwFrameAreaDefinition ()
 
virtual ~SwFrameAreaDefinition ()
 
bool isFrameAreaPositionValid () const
 
bool isFrameAreaSizeValid () const
 
bool isFramePrintAreaValid () const
 
bool isFrameAreaDefinitionValid () const
 
sal_uInt32 GetFrameId () const
 
const SwRectgetFrameArea () const
 
const SwRectgetFramePrintArea () const
 
virtual basegfx::B2DHomMatrix getFrameAreaTransformation () const
 
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation () const
 
virtual void transform_translate (const Point &rOffset)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
- Public Member Functions inherited from SfxBroadcaster
 SfxBroadcaster ()
 
 SfxBroadcaster (const SfxBroadcaster &rBC)
 
virtual ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE
 
void Broadcast (const SfxHint &rHint)
 
bool HasListeners () const
 
size_t GetListenerCount () const
 
size_t GetSizeOfVector () const
 
SfxListenerGetListener (size_t nNo) const
 
- Public Member Functions inherited from SwAnchoredObject
virtual ~SwAnchoredObject ()
 
void SetDrawObj (SdrObject &_rDrawObj)
 
const SdrObjectGetDrawObj () const
 
SdrObjectDrawObj ()
 
const SwFrameGetAnchorFrame () const
 
SwFrameAnchorFrame ()
 
void ChgAnchorFrame (SwFrame *_pNewAnchorFrame)
 
SwFrameGetAnchorFrameContainingAnchPos ()
 determine anchor frame containing the anchor position More...
 
SwPageFrameGetPageFrame ()
 
const SwPageFrameGetPageFrame () const
 
void SetPageFrame (SwPageFrame *_pNewPageFrame)
 
SwPageFrameFindPageFrameOfAnchor ()
 method to determine the page frame, on which the 'anchor' of the given anchored object is. More...
 
SwTextFrameFindAnchorCharFrame ()
 get frame, which contains the anchor character, if the object is anchored at-character or as-character. More...
 
const SwLayoutFrameGetVertPosOrientFrame () const
 
void ClearVertPosOrientFrame ()
 
void CheckCharRectAndTopOfLine (const bool _bCheckForParaPorInf)
 check anchor character rectangle and top of line More...
 
const SwRectGetLastCharRect () const
 
SwTwips GetRelCharX (const SwFrame *pFrame) const
 
SwTwips GetRelCharY (const SwFrame *pFrame) const
 
void AddLastCharY (long nDiff)
 
void ResetLastCharRectHeight ()
 
SwTwips GetLastTopOfLine () const
 
void AddLastTopOfLineY (SwTwips _nDiff)
 
void ClearCharRectAndTopOfLine ()
 reset members <maLastCharRect> and <mnLastTopOfLine> More...
 
bool IsPositioningInProgress () const
 is positioning of anchored object in progress More...
 
bool InvalidationOfPosAllowed () const
 method to determine, if invalidation of position is allowed More...
 
void InvalidateObjPosForConsiderWrapInfluence ()
 method to perform necessary invalidations for the positioning of objects, for whose the wrapping style influence has to be considered on the object positioning. More...
 
virtual void NotifyBackground (SwPageFrame *_pPageFrame, const SwRect &_rRect, PrepareHint _eHint)=0
 method to trigger notification of 'background' More...
 
const PointGetCurrRelPos () const
 
void SetCurrRelPos (Point _aRelPos)
 
void SetObjTop (const SwTwips _nTop)
 
void SetObjLeft (const SwTwips _nLeft)
 
virtual void UpdateLayoutDir ()
 method update layout direction the layout direction, the anchored object is assigned to More...
 
const SwRectGetObjRectWithSpaces () const
 method to determine object area inclusive its spacing More...
 
void InvalidateObjRectWithSpaces () const
 
bool ConsiderObjWrapInfluenceOnObjPos () const
 method to determine, if wrapping style influence of the anchored object has to be considered on the object positioning More...
 
bool ConsiderForTextWrap () const
 
void SetConsiderForTextWrap (const bool _bConsiderForTextWrap)
 
bool PositionLocked () const
 
void LockPosition ()
 
void UnlockPosition ()
 
void SetKeepPosLocked (const bool _bKeepPosLocked)
 
bool RestartLayoutProcess () const
 
void SetRestartLayoutProcess (const bool _bRestartLayoutProcess)
 
bool ClearedEnvironment () const
 
void SetClearedEnvironment (const bool _bClearedEnvironment)
 
void ResetLayoutProcessBools ()
 
bool HasClearedEnvironment () const
 method to determine, if due to anchored object size and wrapping style, its layout environment is cleared. More...
 
void UpdateObjInSortedList ()
 method to update anchored object in the <SwSortedObjs> lists More...
 
void SetTmpConsiderWrapInfluence (const bool _bTmpConsiderWrapInfluence)
 
bool IsTmpConsiderWrapInfluence () const
 
void ClearTmpConsiderWrapInfluence ()
 
bool OverlapsPrevColumn () const
 method to determine, if the anchored object is overlapping with a previous column More...
 
Point GetRelPosToAnchorFrame () const
 method to determine position of anchored object relative to anchor frame More...
 
Point GetRelPosToPageFrame (const bool _bFollowTextFlow, bool &_obRelToTableCell) const
 method to determine position of anchored object relative to page frame More...
 
Point GetRelPosToChar () const
 method to determine position of anchored object relative to anchor character More...
 
Point GetRelPosToLine () const
 method to determine position of anchored object relative to top of line More...
 
virtual const char * getElementName () const
 The element name to show in the XML dump. More...
 

Static Public Member Functions

static void ChainFrames (SwFlyFrame *pMaster, SwFlyFrame *pFollow)
 
static void UnchainFrames (SwFlyFrame *pMaster, SwFlyFrame *pFollow)
 
static bool IsPaint (SdrObject *pObj, const SwViewShell *pSh)
 
static void GetAnchoredObjects (std::vector< SwAnchoredObject * > &, const SwFormat &rFormat)
 
- Static Public Member Functions inherited from SwFrame
static SwCacheGetCache ()
 
static SwCacheGetCachePtr ()
 
static void SetCache (SwCache *pNew)
 
static void CheckPageDescs (SwPageFrame *pStart, bool bNotifyFields=true, SwPageFrame **ppPrev=nullptr)
 Check all pages (starting from the given one) if they use the right frame format. More...
 
static void DestroyFrame (SwFrame *const pFrame)
 this is the only way to delete a SwFrame instance More...
 

Protected Member Functions

virtual void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 "Formats" the Frame; Frame and PrtArea. More...
 
void MakePrtArea (const SwBorderAttrs &rAttrs)
 
void MakeContentPos (const SwBorderAttrs &rAttrs)
 
void Lock ()
 
void Unlock ()
 
Size CalcRel (const SwFormatFrameSize &rSz) const
 
 SwFlyFrame (SwFlyFrameFormat *, SwFrame *, SwFrame *pAnchor)
 
virtual void DestroyImpl () override
 
virtual ~SwFlyFrame () override
 
virtual void RegisterAtCorrectPage () override
 method to assure that anchored object is registered at the correct page frame More...
 
virtual bool SetObjTop_ (const SwTwips _nTop) override
 
virtual bool SetObjLeft_ (const SwTwips _nLeft) override
 
virtual const SwRect GetObjBoundRect () const override
 
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
 
virtual void SwClientNotify (const SwModify &rMod, const SfxHint &rHint) override
 
virtual const IDocumentDrawModelAccessgetIDocumentDrawModelAccess () override
 
SwTwips CalcContentHeight (const SwBorderAttrs *pAttrs, const SwTwips nMinHeight, const SwTwips nUL)
 
- Protected Member Functions inherited from SwLayoutFrame
virtual ~SwLayoutFrame () override
 
virtual void MakeAll (vcl::RenderContext *pRenderContext) override
 
virtual SwTwips ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
long CalcRel (const SwFormatFrameSize &rSz) const
 
- Protected Member Functions inherited from SwFrame
void ColLock ()
 
void ColUnlock ()
 
virtual ~SwFrame () override
 
void setRootFrame (SwRootFrame *pRoot)
 
SwPageFrameInsertPage (SwPageFrame *pSibling, bool bFootnote)
 
void PrepareMake (vcl::RenderContext *pRenderContext)
 Prepares the Frame for "formatting" (MakeAll()). More...
 
void OptPrepareMake ()
 
virtual void MakePos ()
 
SwTwips AdjustNeighbourhood (SwTwips nDiff, bool bTst=false)
 Adjust surrounding neighbourhood after insertion. More...
 
SwModifyGetDep ()
 use these so we can grep for SwFrame's GetRegisteredIn accesses beware that SwTextFrame may return sw::WriterMultiListener More...
 
const SwModifyGetDep () const
 
 SwFrame (SwModify *, SwFrame *)
 
void CheckDir (SvxFrameDirection nDir, bool bVert, bool bOnlyBiDi, bool bBrowse)
 
virtual bool InvalidationAllowed (const InvalidationType _nInvalid) const
 method to determine, if an invalidation is allowed. More...
 
virtual void ActionOnInvalidation (const InvalidationType _nInvalid)
 method to perform additional actions on an invalidation More...
 
void PaintShadow (const SwRect &, SwRect &, const SwBorderAttrs &) const
 Paints a shadow if the format requests so. More...
 
- Protected Member Functions inherited from SwFrameAreaDefinition
void setFrameAreaPositionValid (bool bNew)
 
void setFrameAreaSizeValid (bool bNew)
 
void setFramePrintAreaValid (bool bNew)
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 
- Protected Member Functions inherited from SwAnchoredObject
 SwAnchoredObject ()
 
void SetVertPosOrientFrame (const SwLayoutFrame &_rVertPosOrientFrame)
 
virtual void ObjectAttachedToAnchorFrame ()
 method to indicate, that anchored object is attached to a anchor frame More...
 
bool ConsiderObjWrapInfluenceOfOtherObjs () const
 method to determine, if other anchored objects, also attached at to the anchor frame, have to consider its wrap influence. More...
 
void SetTmpConsiderWrapInfluenceOfOtherObjs ()
 method to apply temporary consideration of wrapping style influence to the anchored objects, which are anchored at the same anchor frame More...
 

Protected Attributes

SwFlyFramem_pPrevLink
 
SwFlyFramem_pNextLink
 
bool m_bInvalid:1
 
bool m_bMinHeight:1
 
bool m_bHeightClipped:1
 
bool m_bWidthClipped:1
 
bool m_bFormatHeightOnly:1
 
bool m_bInCnt:1
 RndStdIds::FLY_AS_CHAR, anchored as character. More...
 
bool m_bAtCnt:1
 RndStdIds::FLY_AT_PARA, anchored at paragraph. More...
 
bool m_bLayout:1
 RndStdIds::FLY_AT_PAGE, RndStdIds::FLY_AT_FLY, at page or at frame. More...
 
bool m_bAutoPosition:1
 RndStdIds::FLY_AT_CHAR, anchored at character. More...
 
Point m_aContentPos
 
bool m_bValidContentPos
 
- Protected Attributes inherited from SwLayoutFrame
SwFramem_pLower
 
std::vector< SwAnchoredObject * > m_VertPosOrientFramesFor
 
- Protected Attributes inherited from SwFrame
std::unique_ptr< SwSortedObjsm_pDrawObjs
 
SwFrameType mnFrameType
 
bool mbInDtor: 1
 
bool mbInvalidR2L: 1
 
bool mbDerivedR2L: 1
 
bool mbRightToLeft: 1
 
bool mbInvalidVert: 1
 
bool mbDerivedVert: 1
 
bool mbVertical: 1
 
bool mbVertLR: 1
 
bool mbVertLRBT: 1
 
bool mbValidLineNum: 1
 
bool mbFixSize: 1
 
bool mbCompletePaint: 1
 
bool mbRetouche: 1
 
bool mbInfInvalid: 1
 
bool mbInfBody: 1
 
bool mbInfTab: 1
 
bool mbInfFly: 1
 
bool mbInfFootnote: 1
 
bool mbInfSct: 1
 
bool mbColLocked: 1
 
bool m_isInDestroy: 1
 
bool mbForbidDelete: 1
 

Private Member Functions

void InitDrawObj ()
 
void FinitDrawObj ()
 
void UpdateAttr_ (const SfxPoolItem *, const SfxPoolItem *, sal_uInt8 &, SwAttrSetChg *pa=nullptr, SwAttrSetChg *pb=nullptr)
 
void UpdateUnfloatButton (SwWrtShell *pWrtSh, bool bShow) const
 
void PaintDecorators () const
 

Private Attributes

bool m_bLocked:1
 
bool m_bNotifyBack:1
 

Friends

class SwNoTextFrame
 
void AppendObj (SwFrame *const pFrame, SwPageFrame *const pPage, SwFrameFormat *const pFormat, const SwFormatAnchor &rAnch)
 
void Notify (SwFlyFrame *, SwPageFrame *pOld, const SwRect &rOld, const SwRect *pOldPrt)
 Notify the background based on the difference between old and new rectangle. More...
 

Additional Inherited Members

- Protected Types inherited from SwFrame
enum  InvalidationType {
  INVALID_SIZE,
  INVALID_PRTAREA,
  INVALID_POS,
  INVALID_LINENUM,
  INVALID_ALL
}
 enumeration for the different invalidations #i28701# More...
 

Detailed Description

general base class for all free-flowing frames

#i26791# - inherit also from <SwAnchoredFlyFrame>

Definition at line 60 of file flyfrm.hxx.

Constructor & Destructor Documentation

SwFlyFrame::SwFlyFrame ( SwFlyFrameFormat pFormat,
SwFrame pSib,
SwFrame pAnchor 
)
protected
SwFlyFrame::~SwFlyFrame ( )
overrideprotectedvirtual

Definition at line 301 of file fly.cxx.

Member Function Documentation

void SwFlyFrame::ActiveUnfloatButton ( SwWrtShell pWrtSh)
void SwFlyFrame::Calc ( vcl::RenderContext pRenderContext) const
overridevirtual
SwTwips SwFlyFrame::CalcContentHeight ( const SwBorderAttrs pAttrs,
const SwTwips  nMinHeight,
const SwTwips  nUL 
)
protected
Size SwFlyFrame::CalcRel ( const SwFormatFrameSize rSz) const
protected
void SwFlyFrame::Chain ( SwFrame _pAnchor)
void SwFlyFrame::ChainFrames ( SwFlyFrame pMaster,
SwFlyFrame pFollow 
)
static
void SwFlyFrame::CheckDirection ( bool  bVert)
overridevirtual
void SwFlyFrame::ChgRelPos ( const Point rNewPos)
Size SwFlyFrame::ChgSize ( const Size aNewSize)
overridevirtual
const Point& SwFlyFrame::ContentPos ( ) const
inline

Definition at line 267 of file flyfrm.hxx.

Referenced by MakeContentPos().

Point& SwFlyFrame::ContentPos ( )
inline

Definition at line 268 of file flyfrm.hxx.

void SwFlyFrame::Cut ( )
overridevirtual

Reimplemented from SwLayoutFrame.

Definition at line 2128 of file fly.cxx.

void SwFlyFrame::DeleteCnt ( )
void SwFlyFrame::DestroyImpl ( )
overrideprotectedvirtual
virtual void SwFlyFrame::dumpAsXml ( xmlTextWriterPtr  pWriter) const
inlineoverridevirtual

Dump a bunch of useful data to an XML representation to ease layout understanding, debugging and testing.

Reimplemented from SwAnchoredObject.

Definition at line 263 of file flyfrm.hxx.

References SwFrame::dumpAsXml().

SwFlyFrame * SwFlyFrame::FindChainNeighbour ( SwFrameFormat const &  rFormat,
SwFrame pAnch = nullptr 
)
SwFrame * SwFlyFrame::FindLastLower ( )
void SwFlyFrame::FinitDrawObj ( )
private
void SwFlyFrame::Format ( vcl::RenderContext pRenderContext,
const SwBorderAttrs pAttrs = nullptr 
)
overrideprotectedvirtual
bool SwFlyFrame::FrameSizeChg ( const SwFormatFrameSize rFrameSize)
void SwFlyFrame::GetAnchoredObjects ( std::vector< SwAnchoredObject * > &  aVector,
const SwFormat rFormat 
)
static
bool SwFlyFrame::GetContour ( tools::PolyPolygon rContour,
const bool  _bForPaint = false 
) const
bool SwFlyFrame::GetCursorOfst ( SwPosition pPos,
Point rPoint,
SwCursorMoveState pCMS = nullptr,
bool  bTestBackground = false 
) const
overridevirtual
const SwFlyFrameFormat * SwFlyFrame::GetFormat ( ) const
overridevirtual

Reimplemented from SwLayoutFrame.

Definition at line 2814 of file fly.cxx.

References SwFrame::GetDep().

Referenced by objectpositioning::SwAnchoredObjectPosition::AdjustHoriRelPosForDrawAside(), SwFrame::AdjustNeighbourhood(), SwFEShell::AlignFormulaToBaseline(), SwFEShell::CalcBoundRect(), CalcClipRect(), CalcContentHeight(), SwTabFrame::CalcFlyOffsets(), SwRootFrame::CalcFrameRects(), Chain(), SwFEShell::Chain(), SwFEShell::Chainable(), SwFlyFreeFrame::CheckClip(), CheckDirection(), SwVirtFlyDrawObj::CheckMacroHit(), SwDrawView::CheckPossibilities(), ChgRelPos(), ChgSize(), SwEditShell::ClearAutomaticContour(), SwNoTextFrame::ClearCache(), SwFEShell::Copy(), SwFlyFreeFrame::DestroyImpl(), DestroyImpl(), SwFlyInContentFrame::DestroyImpl(), objectpositioning::SwAnchoredObjectPosition::DrawAsideFly(), SwTextFly::DrawTextOpaque(), FinitDrawObj(), Format(), SwFrame::GetBackgroundBrush(), GetContour(), SwAccessibleDocument::getExtendedAttributes(), SwNode::GetFlyFormat(), SwFEShell::GetFlyFrameAttr(), SwFEShell::GetFlyFrameFormat(), SwVirtFlyDrawObj::GetFormat(), GetFrameFormat(), SwFEShell::GetGraphicDefaultSize(), SwFEShell::GetGrfAtPos(), getIDocumentDrawModelAccess(), SwEditShell::GetIMapGraphic(), SwFrameFormat::GetIMapObject(), SwAccessibleFrameBase::GetNodeType(), SwAccessibleSelectionHelper::getSelectedAccessibleChild(), SwAccessibleFrameBase::GetSelectedState(), Grow_(), SwVirtFlyDrawObj::HasMacro(), SwFEShell::ImpEndCreate(), InitDrawObj(), InsertCnt(), InsertColumns(), SwFEShell::InsertLabel(), SwAccessibleMap::InvalidateShapeInParaSelection(), InvaPercentFlys(), IsBackgroundTransparent(), SwFEShell::IsFlyInFly(), IsPaint(), SwFEShell::IsSelObjProtected(), SwFEShell::IsURLGrfAtPos(), lcl_GrabCursor(), lcl_NotifyNeighbours(), lcl_PaintReplacement(), lcl_RefreshLine(), lcl_SetAnchor(), lcl_SubtractFlys(), SwFlyFreeFrame::MakeAll(), SwFlyAtContentFrame::MakeAll(), SwFlyInContentFrame::MakeAll(), MakeContentPos(), SwFlyFrameFormat::MakeFrames(), SwFlyInContentFrame::MakeObjPos(), SwAccessibleTextFrame::Modify(), SwAccessibleFrameBase::Modify(), SwFlyLayFrame::Modify(), SwFlyAtContentFrame::Modify(), SwFlyInContentFrame::Modify(), UnfloatTableButton::MouseButtonDown(), SwFEShell::MoveAnchor(), SwVirtFlyDrawObj::NbcMove(), Notify(), Notify_Background(), NotifyDrawObj(), SwNoTextFrame::PaintSwFrame(), PaintSwFrame(), SwLayAction::PaintWithoutFlys(), SwFrame::RemoveFly(), SwUndoInsertLabel::RepeatImpl(), SwDPage::RequestHelp(), SwFEShell::RequestObjectResize(), SwFEShell::ResetFlyFrameAttr(), SwFEShell::SelectObj(), SwFEShell::SelFlyGrabCursor(), SwFlyAtContentFrame::SetAbsPos(), SwFEShell::SetFlyFrameAttr(), SwFEShell::SetFrameFormat(), SwEditShell::SetGraphicPolygon(), Shrink_(), SwFlyFreeFrame::supportsAutoContour(), sw_ChkAndSetNewAnchor(), SwAccessibleFrameBase::SwAccessibleFrameBase(), SwAccessibleTextFrame::SwAccessibleTextFrame(), SwVirtFlyDrawObj::SwVirtFlyDrawObj(), UnchainFrames(), UpdateAttr_(), SwCallLink::~SwCallLink(), and SwFrameNotify::~SwFrameNotify().

SwFlyFrameFormat * SwFlyFrame::GetFormat ( )
overridevirtual

Reimplemented from SwLayoutFrame.

Definition at line 2819 of file fly.cxx.

References SwFrame::GetDep().

SwFrameFormat & SwFlyFrame::GetFrameFormat ( )
overridevirtual
const SwFrameFormat & SwFlyFrame::GetFrameFormat ( ) const
overridevirtual

Implements SwAnchoredObject.

Definition at line 2750 of file fly.cxx.

References GetFormat().

const IDocumentDrawModelAccess & SwFlyFrame::getIDocumentDrawModelAccess ( )
overrideprotectedvirtual
bool SwFlyFrame::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

Gets information from the Modify.

Reimplemented from SwClient.

Definition at line 1032 of file fly.cxx.

References RES_AUTOFMT_DOCNODE, and SfxPoolItem::Which().

SwFlyFrame* SwFlyFrame::GetNextLink ( ) const
inline
const SwRect SwFlyFrame::GetObjBoundRect ( ) const
overrideprotectedvirtual

Implements SwAnchoredObject.

Definition at line 2764 of file fly.cxx.

References GetObjRect().

const SwRect SwFlyFrame::GetObjRect ( ) const
overridevirtual

Implements SwAnchoredObject.

Definition at line 2757 of file fly.cxx.

References SwFrameAreaDefinition::getFrameArea().

Referenced by SwOszControl::ChkOsz(), and GetObjBoundRect().

SwFlyFrame* SwFlyFrame::GetPrevLink ( ) const
inline
const SwVirtFlyDrawObj * SwFlyFrame::GetVirtDrawObj ( ) const
SwVirtFlyDrawObj * SwFlyFrame::GetVirtDrawObj ( )

Definition at line 2729 of file fly.cxx.

References SwAnchoredObject::DrawObj().

SwTwips SwFlyFrame::Grow_ ( SwTwips  nDist,
bool  bTst 
)
void SwFlyFrame::InitDrawObj ( )
private
void SwFlyFrame::InsertCnt ( )
void SwFlyFrame::InsertColumns ( )
void SwFlyFrame::Invalidate ( ) const
inline

Definition at line 187 of file flyfrm.hxx.

Referenced by SwLayAction::FormatLayoutFly().

void SwFlyFrame::Invalidate_ ( SwPageFrame const *  pPage = nullptr)
void SwFlyFrame::InvalidateContentPos ( )

Definition at line 1778 of file fly.cxx.

References Invalidate_(), and m_bValidContentPos.

Referenced by UpdateAttr_().

void SwFlyFrame::InvalidateObjPos ( )
overridevirtual

method to invalidate position of the anchored object

Implements SwAnchoredObject.

Definition at line 2737 of file fly.cxx.

References SwAnchoredObject::InvalidateObjRectWithSpaces(), and SwFrame::InvalidatePos().

bool SwFlyFrame::IsAutoPos ( ) const
inline
bool SwFlyFrame::IsBackgroundTransparent ( ) const

SwFlyFrame::IsBackgroundTransparent.

For feature #99657#.

determines if background of fly frame has to be drawn transparently

definition found in /core/layout/paintfrm.cxx

Returns
true, if background color is transparent or a existing background graphic is transparent.

OD 12.08.2002 determines, if background of fly frame has to be drawn transparent declaration found in /core/inc/flyfrm.cxx

OD 08.10.2002 #103898# - If the background of the fly frame itself is not transparent and the background is inherited from its parent/grandparent, the background brush, used for drawing, has to be investigated for transparency.

Returns
true, if background is transparent drawn

Definition at line 3699 of file paintfrm.cxx.

References COL_TRANSPARENT(), GraphicObject::GetAttr(), SwFrame::GetBackgroundBrush(), SvxBrushItem::GetColor(), GetFormat(), SvxBrushItem::GetGraphicObject(), GraphicAttr::GetTransparency(), Color::GetTransparency(), and SwFlyFrameFormat::IsBackgroundTransparent().

Referenced by SwTextFly::DrawFlyRect(), SwTextFly::DrawTextOpaque(), lcl_RefreshLine(), lcl_SubtractFlys(), and SwLayAction::PaintWithoutFlys().

bool SwFlyFrame::IsClipped ( ) const
inline
bool SwFlyFrame::IsFlyAtContentFrame ( ) const
inline
bool SwFlyFrame::IsFlyFreeFrame ( ) const
inline
bool SwFlyFrame::IsFlyInContentFrame ( ) const
inline
bool SwFlyFrame::IsFlyLayFrame ( ) const
inline
bool SwFlyFrame::IsFormatPossible ( ) const
overridevirtual

method to determine if a format on the Writer fly frame is possible

method to determine, if a <MakeAll()> on the Writer fly frame is possible

#i28701# refine 'IsFormatPossible'-conditions of method <SwAnchoredObject::IsFormatPossible()> by: format isn't possible, if Writer fly frame is locked resp. col-locked.

OD 2004-05-11 #i28701#

Reimplemented from SwAnchoredObject.

Reimplemented in SwFlyAtContentFrame, and SwFlyFreeFrame.

Definition at line 2801 of file fly.cxx.

References SwFrame::IsColLocked(), SwAnchoredObject::IsFormatPossible(), and IsLocked().

Referenced by SwFlyFreeFrame::IsFormatPossible().

bool SwFlyFrame::IsHeightClipped ( ) const
inline

Definition at line 203 of file flyfrm.hxx.

Referenced by lcl_IsFlyHeightClipped().

bool SwFlyFrame::IsInvalid ( ) const
inline

Definition at line 186 of file flyfrm.hxx.

Referenced by SwLayAction::FormatLayoutFly().

bool SwFlyFrame::IsLocked ( ) const
inline
bool SwFlyFrame::IsLowerOf ( const SwLayoutFrame pUpper) const
bool SwFlyFrame::IsMinHeight ( ) const
inline

Definition at line 190 of file flyfrm.hxx.

Referenced by Format(), MakeContentPos(), and Shrink_().

bool SwFlyFrame::IsNotifyBack ( ) const
inline

Definition at line 198 of file flyfrm.hxx.

Referenced by SwFlyNotify::~SwFlyNotify().

bool SwFlyFrame::IsPaint ( SdrObject pObj,
const SwViewShell pSh 
)
static
bool SwFlyFrame::IsShowUnfloatButton ( SwWrtShell pWrtSh) const
bool SwFlyFrame::IsUpperOf ( const SwFlyFrame _rLower) const
inline

Definition at line 206 of file flyfrm.hxx.

References IsLowerOf().

Referenced by lcl_SetAnchor(), and SwDrawView::ObjOrderChanged().

void SwFlyFrame::Lock ( )
inlineprotected
void SwFlyFrame::MakeContentPos ( const SwBorderAttrs rAttrs)
protected
void SwFlyFrame::MakeObjPos ( )
overridevirtual
void SwFlyFrame::MakePrtArea ( const SwBorderAttrs rAttrs)
protected
void SwFlyFrame::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual
void SwFlyFrame::NotifyDrawObj ( )
void SwFlyFrame::PaintDecorators ( ) const
private
void SwFlyFrame::PaintSwFrame ( vcl::RenderContext rRenderContext,
SwRect const &  rRect,
SwPrintData const *const  pPrintData = nullptr 
) const
overridevirtual

Reimplemented from SwLayoutFrame.

Definition at line 3851 of file paintfrm.cxx.

References COL_TRANSPARENT(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), SwBorderAttrAccess::Get(), SwAnchoredObject::GetAnchorFrame(), SwFrame::GetCache(), OutputDevice::GetConnectMetaFile(), GetContour(), SwRootFrame::GetCurrShell(), SwViewShell::GetDoc(), SwDoc::GetDocShell(), SwAnchoredObject::GetDrawObj(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), IDocumentDrawModelAccess::GetHellId(), SwFormat::getIDocumentDrawModelAccess(), SdrObject::GetLayer(), SwNoTextFrame::GetNode(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwFrame::getRootFrame(), SwFrameFormat::getSdrAllFillAttributesHelper(), SwFormat::GetSurround(), GetVirtDrawObj(), SwViewShell::GetWin(), GPOS_NONE, gProp, i, SwRect::Intersection_(), svt::EmbeddedObjectRef::IsChart(), SwFormatSurround::IsContour(), SfxObjectShell::IsInGenerateAndStoreThumbnail(), SwFrame::IsNoTextFrame(), SwRect::IsOver(), SwNoTextFrame::IsTransparent(), SwLayoutFrame::Lower(), SwFormat::makeBackgroundBrushItem(), PaintDecorators(), SwLayoutFrame::PaintSwFrame(), SwFrame::PaintSwFrameBackground(), SwFrame::PaintSwFrameShadowAndBorder(), SwPaintProperties::pBLines, OutputDevice::Pop(), SwRect::Pos(), SwFrame::ProcessPrimitives(), SwPaintProperties::pSGlobalShell, SwPaintProperties::pSLines, SwPaintProperties::pSProgress, SwPaintProperties::pSRetoucheFly2, SwPaintProperties::pSSpecSubsLines, SwPaintProperties::pSSubsLines, OutputDevice::Push(), SwLayoutFrame::RefreshLaySubsidiary(), SfxProgress::Reschedule(), OutputDevice::SetClipRegion(), OutputDevice::SetLineColor(), SSize, SUBTRACT_FLYS, SwFrameFormat::supportsFullDrawingLayerFillAttributeSet(), Validate(), and SwViewShell::VisArea().

Referenced by SwFlyFrameFormat::MakeGraphic(), sw::FlyContentPortion::Paint(), and SwVirtFlyDrawObj::wrap_DoPaintObject().

void SwFlyFrame::Paste ( SwFrame pParent,
SwFrame pSibling = nullptr 
)
overridevirtual

Reimplemented from SwLayoutFrame.

Definition at line 64 of file unusedf.cxx.

void SwFlyFrame::RegisterAtCorrectPage ( )
overrideprotectedvirtual

method to assure that anchored object is registered at the correct page frame

OD 2004-07-02 #i28701#

Implements SwAnchoredObject.

Reimplemented in SwFlyAtContentFrame.

Definition at line 2792 of file fly.cxx.

void SwFlyFrame::ResetNotifyBack ( )
inline

Definition at line 200 of file flyfrm.hxx.

Referenced by SwFlyNotify::~SwFlyNotify().

void SwFlyFrame::SelectionHasChanged ( SwFEShell pShell)

Definition at line 1784 of file fly.cxx.

References IsShowUnfloatButton(), and UpdateUnfloatButton().

Referenced by SwFEShell::SelectFlyFrame(), and SwFEShell::SelectObj().

void SwFlyFrame::SetNotifyBack ( )
inline
bool SwFlyFrame::SetObjLeft_ ( const SwTwips  _nLeft)
overrideprotectedvirtual

Implements SwAnchoredObject.

Definition at line 2778 of file fly.cxx.

References SwFrameAreaDefinition::getFrameArea(), Pos, and SwRect::Pos().

bool SwFlyFrame::SetObjTop_ ( const SwTwips  _nTop)
overrideprotectedvirtual

Implements SwAnchoredObject.

Definition at line 2770 of file fly.cxx.

References SwFrameAreaDefinition::getFrameArea(), Pos, and SwRect::Pos().

SwTwips SwFlyFrame::Shrink_ ( SwTwips  nDist,
bool  bTst 
)
void SwFlyFrame::SwClientNotify ( const SwModify rMod,
const SfxHint rHint 
)
overrideprotectedvirtual
void SwFlyFrame::Unchain ( )

Definition at line 311 of file fly.cxx.

References GetNextLink(), GetPrevLink(), and UnchainFrames().

Referenced by DestroyImpl(), and SwFlyDrawContact::MoveObjToInvisibleLayer().

void SwFlyFrame::UnchainFrames ( SwFlyFrame pMaster,
SwFlyFrame pFollow 
)
static
void SwFlyFrame::Unlock ( )
inlineprotected
void SwFlyFrame::UpdateAttr_ ( const SfxPoolItem pOld,
const SfxPoolItem pNew,
sal_uInt8 rInvFlags,
SwAttrSetChg pa = nullptr,
SwAttrSetChg pb = nullptr 
)
private

Definition at line 701 of file fly.cxx.

References SwViewShellImp::AddAccessibleFrame(), ChainFrames(), SwFrame::CheckDirChange(), SwLayoutFrame::ChgColumns(), SwAttrSetChg::ClearItem(), SwViewShellImp::DisposeAccessibleFrame(), FindChainNeighbour(), SwFrame::FindPageFrame(), FrameSizeChg(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), IDocumentDrawModelAccess::GetHeavenId(), SvxSizeItem::GetHeight(), IDocumentDrawModelAccess::GetHellId(), SwFormat::getIDocumentDrawModelAccess(), SwLayoutFrame::GetLastLower(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwFormatURL::GetMap(), SwFormatChain::GetNext(), SwFrame::GetNext(), GetNextLink(), GetNode(), SwAnchoredObject::GetObjRectWithSpaces(), SwFormat::GetOpaque(), SwFormatChain::GetPrev(), GetPrevLink(), SwFormat::GetProtect(), SvxLRSpaceItem::GetRight(), SwFrame::getRootFrame(), SvxULSpaceItem::GetUpper(), GetValue, SwViewShell::GetViewOptions(), GetVirtDrawObj(), SvxSizeItem::GetWidth(), SwNoTextNode::HasContour(), Height, SwRect::Height(), SwViewShell::Imp(), SwFormatCol::Init(), SwViewShellImp::InvalidateAccessibleEditableState(), SwRootFrame::InvalidateBrowseWidth(), InvalidateContentPos(), SwViewShell::InvalidateWindows(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsColumnFrame(), SwFrame::IsNoTextFrame(), SvxProtectItem::IsPosProtected(), SvxProtectItem::IsSizeProtected(), SwFrame::IsTextFrame(), SwRect::Left(), SwModify::LockModify(), SwLayoutFrame::Lower(), SwFrame::Modify(), nId, SwAnchoredObject::NotifyBackground(), NotifyDrawObj(), SwFormatChg::pChangedFormat, PREP_ADJUST_FRM, PREP_CLEAR, PREP_FLY_ATTR_CHG, SwFrame::Prepare(), RES_BOX, RES_CHAIN, RES_COL, RES_FMT_CHG, RES_FOLLOW_TEXT_FLOW, RES_FRAMEDIR, RES_FRM_SIZE, RES_HORI_ORIENT, RES_LR_SPACE, RES_OPAQUE, RES_PROTECT, RES_SHADOW, RES_SURROUND, RES_TEXT_VERT_ADJUST, RES_UL_SPACE, RES_URL, RES_VERT_ORIENT, RES_WRAP_INFLUENCE_ON_OBJPOS, ImageMap::Scale(), SwNoTextNode::SetContour(), SwFrame::SetDerivedR2L(), SwFrame::SetDerivedVert(), SwFormat::SetFormatAttr(), SdrObject::SetLayer(), SdrObject::SetMoveProtect(), SdrObject::SetResizeProtect(), SwRect::SSize(), SwRect::Top(), UnchainFrames(), SwRect::Union(), SwModify::UnlockModify(), SfxPoolItem::Which(), Width, and SwRect::Width().

Referenced by Modify().

void SwFlyFrame::UpdateUnfloatButton ( SwWrtShell pWrtSh,
bool  bShow 
) const
private
void SwFlyFrame::Validate ( ) const
inline

Definition at line 188 of file flyfrm.hxx.

Referenced by SwLayAction::FormatLayoutFly(), and PaintSwFrame().

Friends And Related Function Documentation

void AppendObj ( SwFrame *const  pFrame,
SwPageFrame *const  pPage,
SwFrameFormat *const  pFormat,
const SwFormatAnchor rAnch 
)
friend

Definition at line 977 of file frmtool.cxx.

void Notify ( SwFlyFrame pFly,
SwPageFrame pOld,
const SwRect rOld,
const SwRect pOldPrt = nullptr 
)
friend

Notify the background based on the difference between old and new rectangle.

Definition at line 2924 of file frmtool.cxx.

Referenced by FrameSizeChg(), Grow_(), and Shrink_().

friend class SwNoTextFrame
friend

Definition at line 114 of file flyfrm.hxx.

Member Data Documentation

Point SwFlyFrame::m_aContentPos
protected

Definition at line 116 of file flyfrm.hxx.

bool SwFlyFrame::m_bAtCnt
protected

RndStdIds::FLY_AT_PARA, anchored at paragraph.

Definition at line 110 of file flyfrm.hxx.

Referenced by SwFlyAtContentFrame::SwFlyAtContentFrame().

bool SwFlyFrame::m_bAutoPosition
protected

RndStdIds::FLY_AT_CHAR, anchored at character.

Definition at line 112 of file flyfrm.hxx.

Referenced by SwFlyAtContentFrame::SwFlyAtContentFrame().

bool SwFlyFrame::m_bFormatHeightOnly
protected
bool SwFlyFrame::m_bHeightClipped
protected
bool SwFlyFrame::m_bInCnt
protected

RndStdIds::FLY_AS_CHAR, anchored as character.

Definition at line 109 of file flyfrm.hxx.

Referenced by SwFlyInContentFrame::SwFlyInContentFrame().

bool SwFlyFrame::m_bInvalid
protected

Definition at line 96 of file flyfrm.hxx.

Referenced by Invalidate_(), SwFlyInContentFrame::SetRefPoint(), and SwFlyFrame().

bool SwFlyFrame::m_bLayout
protected

RndStdIds::FLY_AT_PAGE, RndStdIds::FLY_AT_FLY, at page or at frame.

Definition at line 111 of file flyfrm.hxx.

Referenced by SwFlyLayFrame::SwFlyLayFrame().

bool SwFlyFrame::m_bLocked
private

Definition at line 86 of file flyfrm.hxx.

Referenced by Grow_(), Shrink_(), and SwFlyFrame().

bool SwFlyFrame::m_bMinHeight
protected

Definition at line 100 of file flyfrm.hxx.

Referenced by FrameSizeChg(), InsertCnt(), and SwFlyFrame().

bool SwFlyFrame::m_bNotifyBack
private

Definition at line 89 of file flyfrm.hxx.

Referenced by Invalidate_(), and SwFlyFrame().

bool SwFlyFrame::m_bValidContentPos
protected
bool SwFlyFrame::m_bWidthClipped
protected
SwFlyFrame * SwFlyFrame::m_pNextLink
protected

Definition at line 77 of file flyfrm.hxx.

Referenced by ChainFrames(), and UnchainFrames().

SwFlyFrame* SwFlyFrame::m_pPrevLink
protected

Definition at line 77 of file flyfrm.hxx.

Referenced by ChainFrames(), and UnchainFrames().


The documentation for this class was generated from the following files: