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

#include <notxtfrm.hxx>

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

Public Member Functions

 SwNoTextFrame (SwNoTextNode *const, SwFrame *)
 
const SwContentNodeGetNode () const
 
SwContentNodeGetNode ()
 
virtual bool LeftMargin (SwPaM *) const override
 Layout dependent cursor travelling. More...
 
virtual bool RightMargin (SwPaM *, bool bAPI=false) const override
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 
virtual bool GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const override
 
virtual bool GetCursorOfst (SwPosition *pPos, Point &aPoint, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
 
void GetGrfArea (SwRect &rRect, SwRect *) const
 Calculate the Bitmap's position and the size within the passed rectangle. More...
 
bool IsTransparent () const
 
void StopAnimation (OutputDevice *=nullptr) const
 
bool HasAnimation () const
 
bool isTransformableSwFrame () const
 
TransformableSwFramegetTransformableSwFrame ()
 
const TransformableSwFramegetTransformableSwFrame () const
 
virtual basegfx::B2DHomMatrix getFrameAreaTransformation () const override
 
virtual basegfx::B2DHomMatrix getFramePrintAreaTransformation () const override
 
virtual void transform_translate (const Point &rOffset) override
 
- Public Member Functions inherited from SwContentFrame
virtual void Cut () override
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override
 
const SwContentFrameGetFollow () const
 
SwContentFrameGetFollow ()
 
SwTextFrameFindMaster () const
 
virtual bool UnitUp (SwPaM *, const SwTwips nOffset, bool bSetInReadOnly) const
 
virtual bool UnitDown (SwPaM *, const SwTwips nOffset, bool bSetInReadOnly) const
 
virtual bool WouldFit (SwTwips &nMaxHeight, bool &bSplit, bool bTst)
 
bool MoveFootnoteCntFwd (bool, SwFootnoteBossFrame *)
 
SwContentFrameGetNextContentFrame () const
 
SwContentFrameGetPrevContentFrame () 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
 
virtual void CheckDirection (bool bVert)
 
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 ()
 
virtual void Calc (vcl::RenderContext *pRenderContext) const
 
void OptCalc () const
 
Point GetRelPos () const
 
SwRect GetPaintArea () const
 |* The paintarea is the area, in which the content of a frame is allowed |* to be displayed. More...
 
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...
 
virtual Size ChgSize (const Size &aNewSize)
 
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 FillSelection (SwSelectionList &rList, const SwRect &rRect) 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
 
virtual bool IsLeaveUpperAllowed () const
 
virtual 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 ()
 
virtual void dumpAsXml (xmlTextWriterPtr writer=nullptr) const
 
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
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) 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 &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- 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 SwFlowFrame
 SwFlowFrame (SwFrame &rFrame)
 
virtual ~SwFlowFrame ()
 
const SwFrameGetFrame () const
 
SwFrameGetFrame ()
 
void SetUndersized (const bool bNew)
 
bool IsUndersized () const
 
bool IsPrevObjMove () const
 
void MoveSubTree (SwLayoutFrame *pParent, SwFrame *pSibling=nullptr)
 hook tree onto new parent with minimal operations and notifications More...
 
bool HasFollow () const
 
bool IsFollow () const
 
bool IsAnFollow (const SwFlowFrame *pFlow) const
 
const SwFlowFrameGetFollow () const
 
SwFlowFrameGetFollow ()
 
void SetFollow (SwFlowFrame *const pFollow)
 
const SwFlowFrameGetPrecede () const
 
SwFlowFrameGetPrecede ()
 
bool IsJoinLocked () const
 
bool IsAnyJoinLocked () const
 
bool IsPageBreak (bool bAct) const
 |* If there's a hard page break before the Frame AND there's a |* predecessor on the same page, true is returned (we need to create a |* new PageBreak). More...
 
bool IsColBreak (bool bAct) const
 |* If there's a hard column break before the Frame AND there is |* a predecessor in the same column, we return true (we need to create |* a ColBreak). More...
 
bool IsKeep (SvxFormatKeepItem const &rKeep, SvxFormatBreakItem const &rBreak, bool bBreakCheck=false) const
 method to determine if a Keep needs to be considered (Breaks!) More...
 
bool HasLockedFollow () const
 
bool HasParaSpaceAtPages (bool bSct) const
 
SwTwips CalcUpperSpace (const SwBorderAttrs *pAttrs=nullptr, const SwFrame *pPr=nullptr, const bool _bConsiderGrid=true) const
 method to determine the upper space hold by the frame More...
 
SwTwips GetUpperSpaceAmountConsideredForPrevFrameAndPageGrid () const
 method to determine the upper space amount, which is considered for the previous frame and the page grid, if option 'Use former object positioning' is OFF More...
 
SwTwips CalcLowerSpace (const SwBorderAttrs *_pAttrs=nullptr) const
 calculation of lower space More...
 
SwTwips CalcAddLowerSpaceAsLastInTableCell (const SwBorderAttrs *_pAttrs=nullptr) const
 calculation of the additional space to be considered, if flow frame is the last inside a table cell More...
 
void CheckKeep ()
 
void SetFlyLock (bool bNew)
 
bool IsFlyLock () const
 
bool ForbiddenForFootnoteCntFwd () const
 

Protected Member Functions

virtual void MakeAll (vcl::RenderContext *pRenderContext) override
 
virtual void Modify (const SfxPoolItem *, const SfxPoolItem *) override
 
- Protected Member Functions inherited from SwContentFrame
void MakePrtArea (const SwBorderAttrs &)
 
virtual SwTwips ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
 SwContentFrame (SwContentNode *const, SwFrame *)
 
virtual ~SwContentFrame () override
 
- 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...
 
virtual const IDocumentDrawModelAccessgetIDocumentDrawModelAccess ()
 
- 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 SwFlowFrame
bool IsFwdMoveAllowed () const
 
bool IsKeepFwdMoveAllowed (bool bIgnoreMyOwnKeepValue=false)
 
sal_uInt8 BwdMoveNecessary (const SwPageFrame *pPage, const SwRect &rRect)
 method to determine overlapping of an object that requests floating More...
 
void LockJoin ()
 
void UnlockJoin ()
 
bool CheckMoveFwd (bool &rbMakePage, bool bKeep, bool bIgnoreMyOwnKeepValue)
 Moves the Frame forward if it seems necessary regarding the current conditions and attributes. More...
 
bool MoveFwd (bool bMakePage, bool bPageBreak, bool bMoveAlways=false)
 Return value tells us whether the Frame has changed the page. More...
 
bool MoveBwd (bool &rbReformat)
 Return value tells whether the Frame should change the page. More...
 

Private Member Functions

const SizeGetSize () const
 By returning the surrounding Fly's size which equals the graphic's size. More...
 
void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 Calculate the Bitmap's site, if needed. More...
 
void PaintPicture (vcl::RenderContext *, const SwRect &) const
 Paint the graphic. More...
 
virtual void DestroyImpl () override
 
virtual ~SwNoTextFrame () override
 
double getLocalFrameRotation () const
 
void ClearCache ()
 

Private Attributes

std::unique_ptr< TransformableSwFramempTransformableSwFrame
 

Friends

void FrameFinit ()
 
double getLocalFrameRotation_from_SwNoTextFrame (const SwNoTextFrame &rNoTextFrame)
 

Additional Inherited Members

- Static Public Member Functions inherited from SwContentFrame
static bool CalcLowers (SwLayoutFrame &rLay, SwLayoutFrame const &rDontLeave, long nBottom, bool bSkipRowSpanCells)
 
- 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...
 
- Static Public Member Functions inherited from SwFlowFrame
static bool IsMoveBwdJump ()
 
static void SetMoveBwdJump (bool bNew)
 
static SwFlowFrameCastFlowFrame (SwFrame *pFrame)
 
static const SwFlowFrameCastFlowFrame (const SwFrame *pFrame)
 
- Protected Types inherited from SwFrame
enum  InvalidationType {
  INVALID_SIZE,
  INVALID_PRTAREA,
  INVALID_POS,
  INVALID_LINENUM,
  INVALID_ALL
}
 enumeration for the different invalidations #i28701# More...
 
- 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
 
- Protected Attributes inherited from SwFlowFrame
SwFlowFramem_pFollow
 
SwFlowFramem_pPrecede
 
bool m_bLockJoin:1
 
bool m_bUndersized:1
 
bool m_bFlyLock:1
 

Detailed Description

Definition at line 30 of file notxtfrm.hxx.

Constructor & Destructor Documentation

SwNoTextFrame::~SwNoTextFrame ( )
overrideprivatevirtual

Definition at line 160 of file notxtfrm.cxx.

SwNoTextFrame::SwNoTextFrame ( SwNoTextNode * const  pNode,
SwFrame pSib 
)

Definition at line 140 of file notxtfrm.cxx.

References SwFrame::mnFrameType, and NoTxt.

Member Function Documentation

void SwNoTextFrame::ClearCache ( )
private
void SwNoTextFrame::DestroyImpl ( )
overrideprivatevirtual

Reimplemented from SwContentFrame.

Definition at line 153 of file notxtfrm.cxx.

References SwContentFrame::DestroyImpl(), and StopAnimation().

void SwNoTextFrame::Format ( vcl::RenderContext pRenderContext,
const SwBorderAttrs pAttrs = nullptr 
)
overrideprivatevirtual

Calculate the Bitmap's site, if needed.

Reimplemented from SwFrame.

Definition at line 647 of file notxtfrm.cxx.

References SwFrameAreaDefinition::getFramePrintArea(), GetSize(), SwFrame::Grow(), Height, Size::Height(), SwRect::Height(), SwFrame::IsVertical(), SwFrame::Shrink(), Size::Width(), and SwRect::Width().

Referenced by MakeAll().

bool SwNoTextFrame::GetCharRect ( SwRect rRect,
const SwPosition rPos,
SwCursorMoveState pCMS = nullptr,
bool  bAllowFarAway = true 
) const
overridevirtual
bool SwNoTextFrame::GetCursorOfst ( SwPosition pPos,
Point aPoint,
SwCursorMoveState = nullptr,
bool  bTestBackground = false 
) const
overridevirtual

Reimplemented from SwFrame.

Definition at line 694 of file notxtfrm.cxx.

References SwIndex::Assign(), GetNode(), SwPosition::nContent, and SwPosition::nNode.

basegfx::B2DHomMatrix SwNoTextFrame::getFrameAreaTransformation ( ) const
overridevirtual
basegfx::B2DHomMatrix SwNoTextFrame::getFramePrintAreaTransformation ( ) const
overridevirtual
void SwNoTextFrame::GetGrfArea ( SwRect rRect,
SwRect pOrigRect 
) const
double SwNoTextFrame::getLocalFrameRotation ( ) const
private
const SwContentNode* SwNoTextFrame::GetNode ( ) const
inline
SwContentNode* SwNoTextFrame::GetNode ( )
inline

Definition at line 62 of file notxtfrm.hxx.

References SwFrame::GetDep().

const Size & SwNoTextFrame::GetSize ( ) const
private

By returning the surrounding Fly's size which equals the graphic's size.

Definition at line 464 of file notxtfrm.cxx.

References SwFrame::FindFlyFrame(), SwFrameAreaDefinition::getFramePrintArea(), and SwRect::SSize().

Referenced by Format().

TransformableSwFrame* SwNoTextFrame::getTransformableSwFrame ( )
inline
const TransformableSwFrame* SwNoTextFrame::getTransformableSwFrame ( ) const
inline

Definition at line 85 of file notxtfrm.hxx.

bool SwNoTextFrame::HasAnimation ( ) const

Definition at line 1343 of file notxtfrm.cxx.

References SwNode::GetGrfNode(), GetNode(), and SwGrfNode::IsAnimated().

Referenced by PaintSwFrame().

bool SwNoTextFrame::isTransformableSwFrame ( ) const
inline
bool SwNoTextFrame::IsTransparent ( ) const
bool SwNoTextFrame::LeftMargin ( SwPaM pPam) const
overridevirtual

Layout dependent cursor travelling.

Implements SwContentFrame.

Definition at line 615 of file trvlfrm.cxx.

References GetNode(), SwPaM::GetNode(), SwPaM::GetPoint(), and SwPosition::nContent.

void SwNoTextFrame::MakeAll ( vcl::RenderContext pRenderContext)
overrideprotectedvirtual
void SwNoTextFrame::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual
void SwNoTextFrame::PaintPicture ( vcl::RenderContext pOut,
const SwRect rGrfArea 
) const
private

Paint the graphic.

We require either a QuickDraw-Bitmap or a graphic here. If we do not have either, we return a replacement.

Definition at line 1040 of file notxtfrm.cxx.

References SwRect::Bottom(), Graphic::Draw(), svt::EmbeddedObjectRef::DrawPaintReplacement(), svt::EmbeddedObjectRef::DrawShading(), SwFrame::FindFlyFrame(), SwRootFrame::FlushVout(), SwViewShell::GetAccessibilityOptions(), OutputDevice::GetAntialiasing(), SwOLENode::GetAspect(), OutputDevice::GetConnectMetaFile(), SwOLEObj::GetCurrentPersistName(), SwRootFrame::GetCurrShell(), SwNoTextNode::GetDescription(), SwViewShellImp::GetDrawView(), SwNode::GetFlyFormat(), GetFlyFromMarked(), SwFrameAreaDefinition::getFrameArea(), getFrameAreaTransformation(), SwFrameAreaDefinition::getFramePrintArea(), GraphicObject::GetGraphic(), SwOLENode::GetGraphic(), SwGrfNode::GetGraphicAttr(), SwNode::GetGrfNode(), SwGrfNode::GetGrfObj(), SwNode::getIDocumentDeviceAccess(), SwGrfNode::GetLink(), SwFormat::GetName(), GetNode(), sfx2::SvBaseLink::GetObj(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwViewShell::GetOut(), IDocumentDeviceAccess::getPrinter(), GetRealURL(), SwFrame::getRootFrame(), SwNoTextNode::GetTitle(), SwGrfNode::GetTwipSize(), GraphicObject::GetType(), Graphic::GetType(), SwViewShell::GetViewOptions(), SwViewShell::GetWin(), Size::Height(), SwViewShell::Imp(), GraphicObject::IsAnimated(), SwDrawView::IsAntiAliasing(), SwGrfNode::IsAsyncRetrieveInputStreamPossible(), svt::EmbeddedObjectRef::IsChart(), SwOLENode::IsChart(), sfx2::SvLinkSource::IsDataComplete(), basegfx::B2DRange::isEmpty(), SwGrfNode::IsLinkedFile(), SwGrfNode::IsLinkedInputStreamReady(), SwViewShell::isOutputToWindow(), SwViewOption::IsPDFExport(), SwViewShell::IsPreview(), SwAccessibilityOptions::IsStopAnimatedGraphics(), Graphic::IsSupportedGraphic(), OutputDevice::IsVirtual(), lcl_correctlyAlignRect(), lcl_PaintReplacement(), SwRect::Left(), paintGraphicUsingPrimitivesHelper(), paintUsingPrimitivesHelper(), SwRect::Pos(), SwRect::Right(), OutputDevice::SetAntialiasing(), SwRect::SSize(), SwGrfNode::StartGraphicAnimation(), SwAlignGrfRect(), SwAlignRect(), SwResId(), SwRect::Top(), SwGrfNode::TriggerAsyncRetrieveInputStream(), SwOLEObj::tryToGetChartContentAsPrimitive2DSequence(), SwGrfNode::UpdateLinkWithInputStream(), and Width.

Referenced by PaintSwFrame().

void SwNoTextFrame::PaintSwFrame ( vcl::RenderContext rRenderContext,
SwRect const &  rRect,
SwPrintData const *const  pPrintData = nullptr 
) const
overridevirtual
bool SwNoTextFrame::RightMargin ( SwPaM pPam,
bool  bAPI = false 
) const
overridevirtual

Implements SwContentFrame.

Definition at line 624 of file trvlfrm.cxx.

References GetNode(), SwPaM::GetNode(), SwPaM::GetPoint(), and SwPosition::nContent.

void SwNoTextFrame::StopAnimation ( OutputDevice pOut = nullptr) const

Definition at line 1332 of file notxtfrm.cxx.

References SwNode::GetGrfNode(), GetNode(), and SwGrfNode::IsAnimated().

Referenced by DestroyImpl(), and PaintSwFrame().

void SwNoTextFrame::transform_translate ( const Point rOffset)
overridevirtual

Friends And Related Function Documentation

void FrameFinit ( )
friend

Definition at line 306 of file newfrm.cxx.

double getLocalFrameRotation_from_SwNoTextFrame ( const SwNoTextFrame rNoTextFrame)
friend

Definition at line 418 of file flylay.cxx.

Member Data Documentation

std::unique_ptr< TransformableSwFrame > SwNoTextFrame::mpTransformableSwFrame
private

Definition at line 43 of file notxtfrm.hxx.

Referenced by MakeAll().


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