LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwTabFrame Class Referencefinal

SwTabFrame is one table in the document layout, containing rows (which contain cells). More...

#include <tabfrm.hxx>

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

Public Member Functions

 SwTabFrame (SwTable &, SwFrame *)
 
 SwTabFrame (SwTabFrame &)
 
void JoinAndDelFollows ()
 
void RegistFlys ()
 
const SwTabFrameGetFollow () const
 
SwTabFrameGetFollow ()
 
SwTabFrameFindMaster (bool bFirstMaster=false) const
 
virtual bool GetInfo (SfxPoolItem &rHint) const override
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 
virtual void CheckDirection (bool bVert) override
 
virtual void Cut () override
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override
 
virtual bool Prepare (const PrepareHint ePrep=PrepareHint::Clear, const void *pVoid=nullptr, bool bNotify=true) override
 
SwFrameFindLastContentOrTable ()
 
const SwFrameFindLastContentOrTable () const
 
SwContentFrameFindLastContent ()
 
const SwContentFrameFindLastContent () const
 
const SwTableGetTable () const
 
SwTableGetTable ()
 
bool IsComplete () const
 
void SetComplete ()
 
void ResetComplete ()
 
bool IsLowersFormatted () const
 
void SetLowersFormatted (bool b)
 
void SetCalcLowers ()
 
void SetResizeHTMLTable ()
 
void SetONECalcLowers ()
 
bool HasFollowFlowLine () const
 
void SetFollowFlowLine (bool bNew)
 
bool IsRebuildLastLine () const
 
void SetRebuildLastLine (bool bNew)
 
bool IsRestrictTableGrowth () const
 
void SetRestrictTableGrowth (bool bNew)
 
bool IsRemoveFollowFlowLinePending () const
 
void SetRemoveFollowFlowLinePending (bool bNew)
 
bool IsInRecalcLowerRow () const
 
void SetInRecalcLowerRow (bool bNew)
 
bool IsConsiderObjsForMinCellHeight () const
 
void SetConsiderObjsForMinCellHeight (bool const bConsiderObjsForMinCellHeight)
 
bool DoesObjsFit () const
 
void SetDoesObjsFit (bool const bObjsDoesFit)
 
bool RemoveFollowFlowLine ()
 
bool CalcFlyOffsets (SwTwips &rUpper, tools::Long &rLeftOffset, tools::Long &rRightOffset, SwTwips *pSpaceBelowBottom) const
 Calculate the offsets arising because of FlyFrames. More...
 
SwTwips CalcHeightOfFirstContentLine () const
 Function to calculate height of first text row. More...
 
bool IsInHeadline (const SwFrame &rFrame) const
 
SwRowFrameGetFirstNonHeadlineRow () const
 
bool IsLayoutSplitAllowed () const
 
bool IsCollapsingBorders () const
 
sal_uInt16 GetBottomLineSize () const
 
virtual void dumpAsXmlAttributes (xmlTextWriterPtr writer) const override
 
void dumpAsXml (xmlTextWriterPtr writer=nullptr) const override
 
- 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
 
virtual bool GetModelPositionForViewPoint (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override
 Searches the ContentFrame owning the PrtArea containing the point. More...
 
virtual void Cut () override
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) 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 GetModelPositionForViewPoint failed. More...
 
 SwLayoutFrame (SwFrameFormat *, SwFrame *)
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override
 
const SwFrameLower () const
 
SwFrameLower ()
 
bool ContainsDeleteForbiddenLayFrame () const
 
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
 
virtual const SwFrameFormatGetFormat () const
 
virtual SwFrameFormatGetFormat ()
 
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...
 
SwLayoutFrameGetNextFlyLeaf (MakePageType eMakePage)
 
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...
 
SwLayoutFrameGetPrevFlyLeaf ()
 
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 SetDrawObjsAsDeleted (bool bDeleted)
 
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
 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, std::optional< Color > &rxColor, 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 Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr)
 Calculates the frame area size and the print area, in case they are invalid. More...
 
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 right page 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)
 
virtual void Cut ()=0
 
virtual void Paste (SwFrame *pParent, SwFrame *pSibling=nullptr)=0
 
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 GetModelPositionForViewPoint (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const
 
virtual bool GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const
 
virtual void PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const
 
virtual bool Prepare (const PrepareHint ePrep=PrepareHint::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
 
tools::Long GetTopMargin () const
 
tools::Long GetBottomMargin () const
 
tools::Long GetLeftMargin () const
 
tools::Long GetRightMargin () const
 
void SetTopBottomMargins (tools::Long, tools::Long)
 
void SetLeftRightMargins (tools::Long, tools::Long)
 
void SetRightLeftMargins (tools::Long, tools::Long)
 
tools::Long GetPrtLeft () const
 
tools::Long GetPrtBottom () const
 
tools::Long GetPrtRight () const
 
tools::Long GetPrtTop () const
 
bool SetMinLeft (tools::Long)
 
bool SetMaxBottom (tools::Long)
 
bool SetMaxRight (tools::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 =0
 
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...
 
SwTextFrameDynCastTextFrame ()
 
const SwTextFrameDynCastTextFrame () const
 
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::optional< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
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
 
virtual const SwCellFrameDynCastCellFrame () const
 
virtual const SwTabFrameDynCastTabFrame () const
 
virtual const SwRowFrameDynCastRowFrame () const
 
virtual const SwTableDynCastTable () 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
 
void ForAllListeners (std::function< bool(SfxListener *)> f) const
 

Private Member Functions

bool Split (const SwTwips nCutPos, bool bTryToSplit, bool bTableRowKeep)
 Split() splits the Frame at the specified position: a Follow is created and constructed and inserted directly after this. More...
 
void Join ()
 
void UpdateAttr_ (const SfxPoolItem *, const SfxPoolItem *, SwTabFrameInvFlags &, SwAttrSetChg *pa=nullptr, SwAttrSetChg *pb=nullptr)
 
void Invalidate (SwTabFrameInvFlags)
 
void HandleTableHeadlineChange ()
 
virtual bool ShouldBwdMoved (SwLayoutFrame *pNewUpper, bool &rReformat) override
 Return value defines if the frm needs to be relocated. More...
 
virtual void DestroyImpl () override
 
virtual ~SwTabFrame () override
 
virtual void MakeAll (vcl::RenderContext *pRenderContext) override
 
virtual void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 "Formats" the frame; Frame and PrtArea. More...
 
virtual void SwClientNotify (const SwModify &, const SfxHint &) override
 
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false) override
 
virtual const SwTabFrameDynCastTabFrame () const override
 
SwLayoutFrameGetLeaf (MakePageType eMakePage, bool bFwd)
 
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...
 

Private Attributes

SwTablem_pTable
 
bool m_bComplete:1
 
bool m_bCalcLowers:1
 Set entries for Repaint without needing to set the base class' CompletePaint With that we would want to avoid unnecessary table repaints. More...
 
bool m_bLowersFormatted:1
 For stability of the content in MakeAll. More...
 
bool m_bLockBackMove:1
 Communication between MakeAll and Layact. More...
 
bool m_bResizeHTMLTable:1
 The Master took care of the BackMove test. More...
 
bool m_bONECalcLowers:1
 Call the Resize of the HTMLTableLayout in the MakeAll This is an optimization, so that we don't have to call it in ContentFrame::Grow; there it might be called for every Cell. More...
 
bool m_bHasFollowFlowLine:1
 Primarily for the StarONE SS The Contents are formatted via Calc() on MakeAll in any case. More...
 
bool m_bIsRebuildLastLine:1
 Means that the first line in the follow. More...
 
bool m_bRestrictTableGrowth:1
 Means that currently the last line of the. More...
 
bool m_bRemoveFollowFlowLinePending:1
 
bool m_bConsiderObjsForMinCellHeight:1
 
bool m_bObjsDoesFit:1
 
bool m_bInRecalcLowerRow: 1
 

Friends

void CalcContent (SwLayoutFrame *pLay, bool bNoColl)
 

Additional Inherited Members

- 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 appropriate frame format. More...
 
static void DestroyFrame (SwFrame *const pFrame)
 this is the only way to delete a SwFrame instance More...
 
- 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 Member Functions inherited from SwLayoutFrame
virtual void DestroyImpl () override
 
virtual ~SwLayoutFrame () override
 
virtual void Format (vcl::RenderContext *pRenderContext, const SwBorderAttrs *pAttrs=nullptr) override
 "Formats" the Frame; Frame and PrtArea. More...
 
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
 
tools::Long CalcRel (const SwFormatFrameSize &rSz) const
 
- Protected Member Functions inherited from SwFrame
void ColLock ()
 
void ColUnlock ()
 
virtual void DestroyImpl ()
 
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 ()
 Calculates the frame area position, in case it's invalid. More...
 
virtual void MakeAll (vcl::RenderContext *pRenderContext)=0
 
SwTwips AdjustNeighbourhood (SwTwips nDiff, bool bTst=false)
 Adjust surrounding neighbourhood after insertion. More...
 
virtual SwTwips ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false)=0
 
virtual SwTwips GrowFrame (SwTwips, bool bTst=false, bool bInfo=false)=0
 
sw::BroadcastingModify * GetDep ()
 use these so we can grep for SwFrame's GetRegisteredIn accesses beware that SwTextFrame may return sw::WriterMultiListener More...
 
const sw::BroadcastingModify * GetDep () const
 
 SwFrame (sw::BroadcastingModify *, 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 void SwClientNotify (const SwModify &, const SfxHint &) override
 
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
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint)=0
 
- Protected Member Functions inherited from SfxBroadcaster
void Forward (SfxBroadcaster &rBC, const SfxHint &rHint)
 
- 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
 
int mnForbidDelete
 

Detailed Description

SwTabFrame is one table in the document layout, containing rows (which contain cells).

Definition at line 48 of file tabfrm.hxx.

Constructor & Destructor Documentation

◆ ~SwTabFrame()

SwTabFrame::~SwTabFrame ( )
overrideprivatevirtual

Definition at line 153 of file tabfrm.cxx.

◆ SwTabFrame() [1/2]

SwTabFrame::SwTabFrame ( SwTable rTab,
SwFrame pSib 
)

◆ SwTabFrame() [2/2]

SwTabFrame::SwTabFrame ( SwTabFrame rTab)

Definition at line 119 of file tabfrm.cxx.

References GetFollow(), GetFormat(), SwFrame::mbFixSize, SwFrame::mnFrameType, and Tab.

Member Function Documentation

◆ CalcFlyOffsets()

bool SwTabFrame::CalcFlyOffsets ( SwTwips rUpper,
tools::Long rLeftOffset,
tools::Long rRightOffset,
SwTwips pSpaceBelowBottom 
) const

◆ CalcHeightOfFirstContentLine()

SwTwips SwTabFrame::CalcHeightOfFirstContentLine ( ) const

◆ CheckDirection()

void SwTabFrame::CheckDirection ( bool  bVert)
overridevirtual

◆ Cut()

void SwTabFrame::Cut ( )
overridevirtual

◆ DestroyImpl()

void SwTabFrame::DestroyImpl ( )
overrideprivatevirtual

Reimplemented from SwLayoutFrame.

Definition at line 144 of file tabfrm.cxx.

References ClearFEShellTabCols(), SwLayoutFrame::DestroyImpl(), and SwLayoutFrame::GetFormat().

◆ DoesObjsFit()

bool SwTabFrame::DoesObjsFit ( ) const
inline

Definition at line 210 of file tabfrm.hxx.

Referenced by lcl_RecalcSplitLine().

◆ dumpAsXml()

void SwTabFrame::dumpAsXml ( xmlTextWriterPtr  writer = nullptr) const
overridevirtual

Implements SwFrame.

Definition at line 6045 of file tabfrm.cxx.

References dumpAsXmlAttributes(), SwFrame::dumpChildrenAsXml(), and SwFrame::dumpInfosAsXml().

◆ dumpAsXmlAttributes()

void SwTabFrame::dumpAsXmlAttributes ( xmlTextWriterPtr  writer) const
overridevirtual

Reimplemented from SwFrame.

Definition at line 337 of file xmldump.cxx.

References SwFrame::dumpAsXmlAttributes(), GetFollow(), and SwFrameAreaDefinition::GetFrameId().

Referenced by dumpAsXml().

◆ DynCastTabFrame()

virtual const SwTabFrame * SwTabFrame::DynCastTabFrame ( ) const
inlineoverrideprivatevirtual

Reimplemented from sw::WriterListener.

Definition at line 131 of file tabfrm.hxx.

◆ FindLastContent() [1/2]

SwContentFrame * SwTabFrame::FindLastContent ( )

◆ FindLastContent() [2/2]

const SwContentFrame * SwTabFrame::FindLastContent ( ) const
inline

Definition at line 250 of file tabfrm.hxx.

References FindLastContent().

◆ FindLastContentOrTable() [1/2]

SwFrame * SwTabFrame::FindLastContentOrTable ( )

◆ FindLastContentOrTable() [2/2]

const SwFrame * SwTabFrame::FindLastContentOrTable ( ) const
inline

Definition at line 245 of file tabfrm.hxx.

References FindLastContentOrTable().

◆ FindMaster()

SwTabFrame * SwTabFrame::FindMaster ( bool  bFirstMaster = false) const

◆ Format()

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

◆ GetBottomLineSize()

sal_uInt16 SwTabFrame::GetBottomLineSize ( ) const

◆ GetFirstNonHeadlineRow()

SwRowFrame * SwTabFrame::GetFirstNonHeadlineRow ( ) const

◆ GetFollow() [1/2]

SwTabFrame * SwTabFrame::GetFollow ( )
inline

Definition at line 259 of file tabfrm.hxx.

◆ GetFollow() [2/2]

const SwTabFrame * SwTabFrame::GetFollow ( ) const
inline

◆ GetInfo()

bool SwTabFrame::GetInfo ( SfxPoolItem rHint) const
overridevirtual

Reimplemented from SwClient.

Definition at line 3641 of file tabfrm.cxx.

References SwFrame::FindPageFrame(), SwFrame::IsInDocBody(), RES_VIRTPAGENUM_INFO(), and SfxPoolItem::Which().

◆ GetLeaf() [1/2]

SwLayoutFrame * SwFrame::GetLeaf ( MakePageType  eMakePage,
bool  bFwd 
)
private

Definition at line 545 of file flowfrm.cxx.

◆ GetLeaf() [2/2]

const SwLayoutFrame * SwFrame::GetLeaf ( MakePageType  eMakePage,
bool  bFwd,
const SwFrame pAnch 
) const
private

Returns the next/previous Layout leaf that's NOT below this (or even is this itself).

Also, that leaf must be in the same text flow as the pAnch origin frame (Body, Footnote)

Definition at line 556 of file flowfrm.cxx.

References SwLayoutFrame::m_pLower, SwFrame::mpNext, and SwFrame::mpPrev.

◆ GetTable() [1/2]

SwTable * SwTabFrame::GetTable ( )
inline

Definition at line 163 of file tabfrm.hxx.

◆ GetTable() [2/2]

const SwTable * SwTabFrame::GetTable ( ) const
inline

Definition at line 162 of file tabfrm.hxx.

Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwRootFrame::CalcFrameRects(), CalcHeightOfFirstContentLine(), SwLayHelper::CheckInsert(), CheckSplitCells(), ChkChartSel(), SwLayoutCache::CompareLayout(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), FindMaster(), SwCellFrame::FindStartEndOfRowSpanCell(), SwCellFrame::Format(), SwRowFrame::Format(), SwFEShell::GetAutoSum(), GetBodyTextNode(), SwTableFormula::GetBoxes(), GetFirstNonHeadlineRow(), GetMergeSel(), SwFEShell::GetRowsToRepeat(), SwDoc::GetTabCols(), SwFEShell::GetTabCols_(), GetTableSel(), SwFEShell::GetTabRows_(), SwContentFrame::GrowFrame(), HandleTableHeadlineChange(), SwFEShell::InsertCol(), SwFEShell::InsertLabel(), SwFEShell::InsertRow(), IsInHeadline(), SwFrame::IsInSplitTableRow(), SwRowFrame::IsRowSplitAllowed(), lcl_FindStartEndCol(), lcl_GetCellFrameForBorderAttrs(), lcl_GetRowNumber(), lcl_IsFirstRowInFollowTableWithoutRepeatedHeadlines(), lcl_TableInfo(), lcl_UpdateRepeatedHeadlines(), MakeAll(), SwRootFrame::MakeTableCursors(), UnfloatTableButton::MouseButtonDown(), SwLayoutFrame::PaintSubsidiaryLines(), SwFrame::PaintSwFrameShadowAndBorder(), SwCursorShell::SelTable(), SwCursorShell::SelTableRowOrCol(), SwTaggedPDFHelper::SetAttributes(), SwFEShell::SetColRowWidthHeight(), SwFEShell::SetRowsToRepeat(), SwDoc::SetTabCols(), SwFEShell::SetTableAttr(), SwDoc::SetTabRows(), SwContentFrame::ShrinkFrame(), Split(), SwFEShell::SplitTab(), SwCursorShell::UpdateCursor(), and SwLayoutCache::Write().

◆ GrowFrame()

SwTwips SwTabFrame::GrowFrame ( SwTwips  nDist,
bool  bTst = false,
bool  bInfo = false 
)
overrideprivatevirtual

◆ HandleTableHeadlineChange()

void SwTabFrame::HandleTableHeadlineChange ( )
private

◆ HasFollowFlowLine()

bool SwTabFrame::HasFollowFlowLine ( ) const
inline

◆ Invalidate()

void SwTabFrame::Invalidate ( SwTabFrameInvFlags  eInvFlags)
private

◆ IsCollapsingBorders()

bool SwTabFrame::IsCollapsingBorders ( ) const

◆ IsComplete()

bool SwTabFrame::IsComplete ( ) const
inline

Definition at line 165 of file tabfrm.hxx.

Referenced by SwLayAction::FormatLayoutTab().

◆ IsConsiderObjsForMinCellHeight()

bool SwTabFrame::IsConsiderObjsForMinCellHeight ( ) const
inline

Definition at line 200 of file tabfrm.hxx.

Referenced by SwCellFrame::Format(), and lcl_PreprocessRowsInCells().

◆ IsInHeadline()

bool SwTabFrame::IsInHeadline ( const SwFrame rFrame) const

◆ IsInRecalcLowerRow()

bool SwTabFrame::IsInRecalcLowerRow ( ) const
inline

Definition at line 190 of file tabfrm.hxx.

Referenced by SwRowFrame::ShrinkFrame().

◆ IsLayoutSplitAllowed()

bool SwTabFrame::IsLayoutSplitAllowed ( ) const

◆ IsLowersFormatted()

bool SwTabFrame::IsLowersFormatted ( ) const
inline

Definition at line 169 of file tabfrm.hxx.

Referenced by SwLayAction::FormatLayoutTab().

◆ IsRebuildLastLine()

bool SwTabFrame::IsRebuildLastLine ( ) const
inline

Definition at line 181 of file tabfrm.hxx.

Referenced by lcl_ArrangeLowers(), MakeAll(), and SwRowFrame::ShrinkFrame().

◆ IsRemoveFollowFlowLinePending()

bool SwTabFrame::IsRemoveFollowFlowLinePending ( ) const
inline

Definition at line 187 of file tabfrm.hxx.

Referenced by MakeAll().

◆ IsRestrictTableGrowth()

bool SwTabFrame::IsRestrictTableGrowth ( ) const
inline

Definition at line 184 of file tabfrm.hxx.

Referenced by GrowFrame().

◆ Join()

void SwTabFrame::Join ( )
private

◆ JoinAndDelFollows()

void SwTabFrame::JoinAndDelFollows ( )

Definition at line 157 of file tabfrm.cxx.

References Cut(), SwFrame::DestroyFrame(), GetFollow(), and JoinAndDelFollows().

Referenced by SwTableNode::DelFrames(), and JoinAndDelFollows().

◆ MakeAll()

void SwTabFrame::MakeAll ( vcl::RenderContext pRenderContext)
overrideprivatevirtual

In online layout try to grow upper of table frame, if table frame doesn't fit in its upper.

Reimplemented from SwLayoutFrame.

Definition at line 1908 of file tabfrm.cxx.

References SwRectFnSet::BottomDist(), SwFrame::Calc(), StackHack::Count(), SwFrame::Cut(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwAnchoredObject::FindAnchorCharFrame(), SwFrame::FindFlyFrame(), SwFrame::FindFootnoteBossFrame(), FindMaster(), SwFrame::FindNext(), SwFrame::FindPrev(), SwFrame::FindSctFrame(), Format(), SwFrameAreaDefinition::FriendHackInvalidateRowFrame, sw::DocumentSettingManager::get(), SwFrame::GetAttrSet(), SwBorderAttrs::GetAttrSet(), SwRectFnSet::GetBottom(), SwFrame::GetBreakItem(), SwViewOption::getBrowseMode(), SwHTMLTableLayout::GetBrowseWidthByTabFrame(), SwFrame::GetCache(), SwRootFrame::GetCurrShell(), SwFormat::GetDoc(), SwDoc::GetDocumentSettingManager(), GetFirstNonHeadlineRow(), SwSectionFrame::GetFollow(), GetFollow(), SwDoc::GetFootnoteIdxs(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwTable::GetHTMLTableLayout(), SwFrame::GetIndPrev(), SwAttrSet::GetKeep(), SwLayoutFrame::GetLastLower(), SwFormat::GetLayoutSplit(), SwFrame::GetLower(), SwFrame::GetNext(), SwRectFnSet::GetPos(), SwFrame::GetPrev(), SwRectFnSet::GetPrtBottom(), SwFrame::getRootFrame(), SwTable::GetRowsToRepeat(), GetTable(), SwTable::GetTabLines(), SwRectFnSet::GetTop(), SwRectFnSet::GetTopMargin(), SwFrame::GetUpper(), SfxBoolItem::GetValue(), SwViewShell::GetViewOptions(), SwRectFnSet::GetWidth(), SwFrame::Grow(), HasFollowFlowLine(), InvalidateFramePositions(), SwFrame::InvalidatePos(), SwFrame::IsColBodyFrame(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsFlyFrame(), SwFlyFrame::IsFlySplitAllowed(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFrame::IsInSct(), SwFrame::IsInTab(), StackHack::IsLocked(), SwFrame::IsMoveable(), IsRebuildLastLine(), IsRemoveFollowFlowLinePending(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), Join(), KEEPTAB, lcl_GetHeightOfRows(), lcl_GetMaximumLayoutRowSpan(), lcl_NoPrev(), lcl_RecalcRow(), lcl_RecalcTable(), LONG_MAX, SwLayoutFrame::Lower(), m_bCalcLowers, m_bLowersFormatted, m_bONECalcLowers, m_bResizeHTMLTable, m_pTable, MakeAll, MakeAll(), SwFrame::MakePos(), MoveFwd, SwLayoutFrame::MoveLowerFootnotes(), NONE, SwFrame::Paste(), PROTOCOL_ENTER, SwRectFnSet::Refresh(), RemoveFollowFlowLine(), SwFrame::ResetCompletePaint(), SwHTMLTableLayout::Resize(), SAL_WARN_IF, SwFrameAreaDefinition::setFrameAreaPositionValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), SetInRecalcLowerRow(), SwFrameNotify::SetInvaKeep(), SwLayNotify::SetLowersComplete(), SetLowersFormatted(), SetRebuildLastLine(), SetRemoveFollowFlowLinePending(), SwTable::SetRowsToRepeat(), ShouldBwdMoved(), SwRowFrame::ShouldRowKeepWithNext(), SwTableLines::size(), Split(), SwFrame::sw_FormatNextContentForKeep, SwInvalidateAll(), TABLE_ROW_KEEP, Top, Point::Y(), SwRectFnSet::YDiff(), and SwRectFnSet::YInc().

Referenced by MakeAll().

◆ PaintSwFrame()

void SwTabFrame::PaintSwFrame ( vcl::RenderContext rRenderContext,
SwRect const &  rRect,
SwPrintData const *const  pPrintData = nullptr 
) const
overridevirtual

◆ Paste()

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

◆ Prepare()

bool SwTabFrame::Prepare ( const PrepareHint  ePrep = PrepareHint::Clear,
const void *  pVoid = nullptr,
bool  bNotify = true 
)
overridevirtual

Reimplemented from SwFrame.

Definition at line 4033 of file tabfrm.cxx.

References BossChanged, and SwFrame::CheckDirChange().

Referenced by Paste().

◆ RegistFlys()

void SwTabFrame::RegistFlys ( )

◆ RemoveFollowFlowLine()

bool SwTabFrame::RemoveFollowFlowLine ( )

◆ ResetComplete()

void SwTabFrame::ResetComplete ( )
inline

Definition at line 167 of file tabfrm.hxx.

Referenced by PaintSwFrame().

◆ SetCalcLowers()

void SwTabFrame::SetCalcLowers ( )
inline

Definition at line 172 of file tabfrm.hxx.

Referenced by lcl_UpdateRepeatedHeadlines(), and FndBox_::MakeNewFrames().

◆ SetComplete()

void SwTabFrame::SetComplete ( )
inline

Definition at line 166 of file tabfrm.hxx.

Referenced by GrowFrame(), and SwLayNotify::ImplDestroy().

◆ SetConsiderObjsForMinCellHeight()

void SwTabFrame::SetConsiderObjsForMinCellHeight ( bool const  bConsiderObjsForMinCellHeight)
inline

Definition at line 204 of file tabfrm.hxx.

Referenced by lcl_RecalcSplitLine().

◆ SetDoesObjsFit()

void SwTabFrame::SetDoesObjsFit ( bool const  bObjsDoesFit)
inline

Definition at line 214 of file tabfrm.hxx.

Referenced by lcl_RecalcSplitLine().

◆ SetFollowFlowLine()

void SwTabFrame::SetFollowFlowLine ( bool  bNew)
inline

◆ SetInRecalcLowerRow()

void SwTabFrame::SetInRecalcLowerRow ( bool  bNew)
inline

Definition at line 194 of file tabfrm.hxx.

Referenced by MakeAll().

◆ SetLowersFormatted()

void SwTabFrame::SetLowersFormatted ( bool  b)
inline

Definition at line 170 of file tabfrm.hxx.

Referenced by SwLayAction::FormatLayoutTab(), and MakeAll().

◆ SetONECalcLowers()

void SwTabFrame::SetONECalcLowers ( )
inline

Definition at line 174 of file tabfrm.hxx.

Referenced by ChkChartSel(), GetTableSel(), and lcl_FormatTable().

◆ SetRebuildLastLine()

void SwTabFrame::SetRebuildLastLine ( bool  bNew)
inline

Definition at line 182 of file tabfrm.hxx.

Referenced by lcl_RecalcSplitLine(), and MakeAll().

◆ SetRemoveFollowFlowLinePending()

void SwTabFrame::SetRemoveFollowFlowLinePending ( bool  bNew)
inline

◆ SetResizeHTMLTable()

void SwTabFrame::SetResizeHTMLTable ( )
inline

Definition at line 173 of file tabfrm.hxx.

Referenced by SwContentFrame::GrowFrame(), and SwContentFrame::ShrinkFrame().

◆ SetRestrictTableGrowth()

void SwTabFrame::SetRestrictTableGrowth ( bool  bNew)
inline

Definition at line 185 of file tabfrm.hxx.

Referenced by SwRowFrame::GrowFrame().

◆ ShouldBwdMoved()

bool SwTabFrame::ShouldBwdMoved ( SwLayoutFrame pNewUpper,
bool &  rReformat 
)
overrideprivatevirtual

◆ Split()

bool SwTabFrame::Split ( const SwTwips  nCutPos,
bool  bTryToSplit,
bool  bTableRowKeep 
)
private

Split() splits the Frame at the specified position: a Follow is created and constructed and inserted directly after this.

Join() gets the Follow's content and destroys it.

Definition at line 1021 of file tabfrm.cxx.

References SwRectFnSet::AddWidth(), AppendObjs(), SwFrame::CheckDirChange(), SwLayoutFrame::ContainsContent(), sw::FrameFormats< value_type >::empty(), SwFrame::FindFlyFrame(), SwFrame::FindPageFrame(), SwRowFrame::GetBottomLineSize(), SwFormat::GetDoc(), GetFirstNonHeadlineRow(), GetFollow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SvxSizeItem::GetHeight(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), SwNode::GetIndex(), SwFrame::GetIndPrev(), SwLayoutFrame::GetLastLower(), SwRectFnSet::GetLeft(), SwFrame::GetLower(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), GetNode(), SwFrame::GetPrev(), SwTableBox::getRowSpan(), SwTable::GetRowsToRepeat(), SwDoc::GetSpzFrameFormats(), SwCellFrame::GetTabBox(), GetTable(), SwTable::GetTabLines(), SwRectFnSet::GetTop(), SwRectFnSet::GetTopMargin(), SwFrame::GetUpper(), SwRectFnSet::GetWidth(), HasFollowFlowLine(), SwRect::Height(), SwFrame::InsertBefore(), SwFrame::InsertBehind(), SwFrame::InvalidateAll_(), SwFrame::InvalidatePos_(), SwLayoutFrame::IsAnLower(), IsCollapsingBorders(), SwFlyFrame::IsFlySplitAllowed(), SwFrame::IsInSct(), SwFrame::IsRowFrame(), SwRowFrame::IsRowSpanLine(), SwRowFrame::IsRowSplitAllowed(), SwFrame::IsTextFrame(), lcl_AdjustRowSpanCells(), lcl_FindSectionsInRow(), lcl_InnerCalcLayout(), lcl_InsertNewFollowFlowLine(), lcl_MoveFootnotes(), lcl_RecalcSplitLine(), LONG_MAX, SwLayoutFrame::Lower(), m_pTable, Minimum, nIndex, SwLayoutFrame::Paste(), SwFrame::RemoveFromLayout(), SwRowFrame::SetForceRowSplitAllowed(), SwRectFnSet::SetLeft(), SwRowFrame::SetRepeatedHeadline(), SwTable::SetRowsToRepeat(), SwRowFrame::ShouldRowKeepWithNext(), SwFrame::Shrink(), SwTabFrame(), and SwRectFnSet::YDiff().

Referenced by MakeAll().

◆ SwClientNotify()

void SwTabFrame::SwClientNotify ( const SwModify rMod,
const SfxHint rHint 
)
overrideprivatevirtual

◆ UpdateAttr_()

void SwTabFrame::UpdateAttr_ ( const SfxPoolItem pOld,
const SfxPoolItem pNew,
SwTabFrameInvFlags rInvFlags,
SwAttrSetChg pa = nullptr,
SwAttrSetChg pb = nullptr 
)
private

Friends And Related Function Documentation

◆ CalcContent

void CalcContent ( SwLayoutFrame pLay,
bool  bNoColl = false 
)
friend

Definition at line 1550 of file fly.cxx.

Member Data Documentation

◆ m_bCalcLowers

bool SwTabFrame::m_bCalcLowers
private

Set entries for Repaint without needing to set the base class' CompletePaint With that we would want to avoid unnecessary table repaints.

Definition at line 61 of file tabfrm.hxx.

Referenced by MakeAll().

◆ m_bComplete

bool SwTabFrame::m_bComplete
private

Definition at line 57 of file tabfrm.hxx.

◆ m_bConsiderObjsForMinCellHeight

bool SwTabFrame::m_bConsiderObjsForMinCellHeight
private

Definition at line 91 of file tabfrm.hxx.

◆ m_bHasFollowFlowLine

bool SwTabFrame::m_bHasFollowFlowLine
private

Primarily for the StarONE SS The Contents are formatted via Calc() on MakeAll in any case.

There are no further invalidations and that path can hardly give any guarantees

Definition at line 74 of file tabfrm.hxx.

◆ m_bInRecalcLowerRow

bool SwTabFrame::m_bInRecalcLowerRow
private

Definition at line 103 of file tabfrm.hxx.

◆ m_bIsRebuildLastLine

bool SwTabFrame::m_bIsRebuildLastLine
private

Means that the first line in the follow.

is indented to contain content from a broken cell

Definition at line 77 of file tabfrm.hxx.

◆ m_bLockBackMove

bool SwTabFrame::m_bLockBackMove
private

Communication between MakeAll and Layact.

Definition at line 63 of file tabfrm.hxx.

Referenced by ShouldBwdMoved().

◆ m_bLowersFormatted

bool SwTabFrame::m_bLowersFormatted
private

For stability of the content in MakeAll.

Definition at line 62 of file tabfrm.hxx.

Referenced by MakeAll().

◆ m_bObjsDoesFit

bool SwTabFrame::m_bObjsDoesFit
private

Definition at line 100 of file tabfrm.hxx.

◆ m_bONECalcLowers

bool SwTabFrame::m_bONECalcLowers
private

Call the Resize of the HTMLTableLayout in the MakeAll This is an optimization, so that we don't have to call it in ContentFrame::Grow; there it might be called for every Cell.

Definition at line 69 of file tabfrm.hxx.

Referenced by MakeAll().

◆ m_bRemoveFollowFlowLinePending

bool SwTabFrame::m_bRemoveFollowFlowLinePending
private

Definition at line 88 of file tabfrm.hxx.

◆ m_bResizeHTMLTable

bool SwTabFrame::m_bResizeHTMLTable
private

The Master took care of the BackMove test.

Definition at line 64 of file tabfrm.hxx.

Referenced by MakeAll().

◆ m_bRestrictTableGrowth

bool SwTabFrame::m_bRestrictTableGrowth
private

Means that currently the last line of the.

TabFrame is rebuilt. In this case we do not

Definition at line 81 of file tabfrm.hxx.

◆ m_pTable

SwTable* SwTabFrame::m_pTable
private

Definition at line 55 of file tabfrm.hxx.

Referenced by MakeAll(), and Split().


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