LibreOffice Module sw (master)
1
|
SwTabFrame is one table in the document layout, containing rows (which contain cells). More...
#include <tabfrm.hxx>
Public Member Functions | |
SwTabFrame (SwTable &, SwFrame *) | |
SwTabFrame (SwTabFrame &) | |
void | JoinAndDelFollows () |
void | RegistFlys () |
const SwTabFrame * | GetFollow () const |
SwTabFrame * | GetFollow () |
SwTabFrame * | FindMaster (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 |
SwFrame * | FindLastContentOrTable () |
const SwFrame * | FindLastContentOrTable () const |
SwContentFrame * | FindLastContent () |
const SwContentFrame * | FindLastContent () const |
const SwTable * | GetTable () const |
SwTable * | GetTable () |
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 | IsSplitRowDisabled () const |
void | SetSplitRowDisabled () |
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) 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 |
SwRowFrame * | GetFirstNonHeadlineRow () const |
bool | IsLayoutSplitAllowed () const |
bool | IsCollapsingBorders () const |
sal_uInt16 | GetBottomLineSize () const |
virtual void | dumpAsXmlAttributes (xmlTextWriterPtr writer) const override |
![]() | |
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... | |
const SwContentFrame * | GetContentPos (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 *) | |
const SwFrame * | Lower () const |
SwFrame * | Lower () |
const SwContentFrame * | ContainsContent () 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... | |
SwContentFrame * | ContainsContent () |
In order to save us from duplicating implementations, we cast here a little. More... | |
const SwCellFrame * | FirstCell () const |
Calls ContainsAny first to reach the innermost cell. More... | |
SwCellFrame * | FirstCell () |
const SwFrame * | ContainsAny (const bool _bInvestigateFootnoteForSections=false) const |
Method <ContainsAny()> doesn't investigate content of footnotes by default. More... | |
SwFrame * | ContainsAny (const bool _bInvestigateFootnoteForSections=false) |
bool | IsAnLower (const SwFrame *) const |
virtual const SwFrameFormat * | GetFormat () const |
virtual SwFrameFormat * | GetFormat () |
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... | |
SwFrame * | GetLastLower () |
virtual void | PaintBreak () const |
void | SetVertPosOrientFrameFor (SwAnchoredObject *pObj) |
void | ClearVertPosOrientFrameFor (SwAnchoredObject *pObj) |
const SwFrame * | GetLastLower () const |
![]() | |
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 () |
SwLayoutFrame * | GetLeaf (MakePageType eMakePage, bool bFwd) |
SwLayoutFrame * | GetNextLeaf (MakePageType eMakePage) |
Returns the next layout leaf in which we can move the frame. More... | |
SwLayoutFrame * | GetNextFootnoteLeaf (MakePageType eMakePage) |
Return the next layout leaf in that the frame can be moved. More... | |
SwLayoutFrame * | GetNextSctLeaf (MakePageType eMakePage) |
Returns the next layout sheet where the frame can be moved in. More... | |
SwLayoutFrame * | GetPrevLeaf () |
Returns the previous layout leaf where we can move the frame. More... | |
SwLayoutFrame * | GetPrevFootnoteLeaf (MakePageType eMakeFootnote) |
Get the preceding layout leaf in that the frame can be moved. More... | |
SwLayoutFrame * | GetPrevSctLeaf () |
Returns the preceding layout sheet where the frame can be moved into. More... | |
const SwLayoutFrame * | GetLeaf (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 SwSortedObjs * | GetDrawObjs () const |
SwSortedObjs * | GetDrawObjs () |
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::BaseProcessor2D > | CreateProcessor2D () 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 |
void | ReinitializeFrameSizeAttrFlags () |
bool | HasFixSize () const |
SwFrame * | GetNext () |
SwFrame * | GetPrev () |
SwLayoutFrame * | GetUpper () |
SwRootFrame * | getRootFrame () |
SwPageFrame * | FindPageFrame () |
SwFrame * | GetLower () |
const SwFrame * | GetNext () const |
const SwFrame * | GetPrev () const |
const SwLayoutFrame * | GetUpper () const |
const SwRootFrame * | getRootFrame () const |
SwTabFrame * | FindTabFrame () |
SwFootnoteFrame * | FindFootnoteFrame () |
SwFlyFrame * | FindFlyFrame () |
SwSectionFrame * | FindSctFrame () |
SwFrame * | FindNext () |
SwContentFrame * | FindNextCnt (const bool _bInSameFootnote=false) |
SwFrame * | FindPrev () |
const SwPageFrame * | FindPageFrame () const |
const SwFootnoteBossFrame * | FindFootnoteBossFrame (bool bFootnote=false) const |
const SwFrame * | FindColFrame () const |
const SwFrame * | FindFooterOrHeader () const |
const SwTabFrame * | FindTabFrame () const |
const SwFootnoteFrame * | FindFootnoteFrame () const |
const SwFlyFrame * | FindFlyFrame () const |
const SwSectionFrame * | FindSctFrame () const |
const SwBodyFrame * | FindBodyFrame () const |
const SwFrame * | FindNext () const |
const SwContentFrame * | FindNextCnt (const bool _bInSameFootnote=false) const |
const SwFrame * | FindPrev () const |
const SwFrame * | GetLower () const |
SwContentFrame * | FindPrevCnt () |
const SwContentFrame * | FindPrevCnt () const |
SwFrame * | GetIndPrev_ () 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... | |
SwFrame * | GetIndPrev () const |
SwFrame * | GetIndNext () |
const SwFrame * | GetIndNext () 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 SwLayoutFrame * | GetPrevLayoutLeaf () const |
const SwLayoutFrame * | GetNextLayoutLeaf () const |
SwLayoutFrame * | GetPrevLayoutLeaf () |
SwLayoutFrame * | GetNextLayoutLeaf () |
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 | GetCharRect (SwRect &, const SwPosition &, SwCursorMoveState *=nullptr, bool bAllowFarAway=true) const |
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 |
void | dumpTopMostAsXml (xmlTextWriterPtr writer=nullptr) const |
void | dumpInfosAsXml (xmlTextWriterPtr writer) const |
void | dumpChildrenAsXml (xmlTextWriterPtr writer) const |
bool | IsCollapse () const |
SwLayoutFrame * | GetNextCellLeaf () |
SwLayoutFrame * | GetPrevCellLeaf () |
void | SetInfFlags () |
const SwRowFrame * | IsInSplitTableRow () const |
const SwRowFrame * | IsInFollowFlowRow () const |
bool | IsInBalancedSection () const |
bool | IsMoveable (const SwLayoutFrame *_pLayoutFrame=nullptr) const |
determine, if frame is moveable in given environment More... | |
const SwAttrSet * | GetAttrSet () const |
WARNING: this may not return correct RES_PAGEDESC/RES_BREAK items for SwTextFrame, use GetBreakItem()/GetPageDescItem() instead. More... | |
virtual const SvxFormatBreakItem & | GetBreakItem () const |
virtual const SwFormatPageDesc & | GetPageDescItem () const |
SwFrame * | FindColFrame () |
SwRowFrame * | FindRowFrame () |
SwFootnoteBossFrame * | FindFootnoteBossFrame (bool bFootnotes=false) |
SwTabFrame * | ImplFindTabFrame () |
SwFootnoteFrame * | ImplFindFootnoteFrame () |
SwFlyFrame * | ImplFindFlyFrame () |
SwSectionFrame * | ImplFindSctFrame () |
const SwBodyFrame * | ImplFindBodyFrame () const |
SwFrame * | FindFooterOrHeader () |
void | ImplInvalidateNextPos (bool bNoFootnote) |
void | InvalidateNextPrtArea () |
method to invalidate printing area of next frame #i11859# More... | |
drawinglayer::attribute::SdrAllFillAttributesHelperPtr | getSdrAllFillAttributesHelper () const |
bool | supportsFullDrawingLayerFillAttributeSet () const |
![]() | |
SwFrameAreaDefinition () | |
virtual | ~SwFrameAreaDefinition () |
bool | isFrameAreaPositionValid () const |
bool | isFrameAreaSizeValid () const |
bool | isFramePrintAreaValid () const |
bool | isFrameAreaDefinitionValid () const |
sal_uInt32 | GetFrameId () const |
const SwRect & | getFrameArea () const |
const SwRect & | getFramePrintArea () const |
virtual basegfx::B2DHomMatrix | getFrameAreaTransformation () const |
virtual basegfx::B2DHomMatrix | getFramePrintAreaTransformation () const |
virtual void | transform_translate (const Point &rOffset) |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
![]() | |
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 |
SfxListener * | GetListener (size_t nNo) const |
![]() | |
SwFlowFrame (SwFrame &rFrame) | |
virtual | ~SwFlowFrame () |
const SwFrame & | GetFrame () const |
SwFrame & | GetFrame () |
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 SwFlowFrame * | GetFollow () const |
SwFlowFrame * | GetFollow () |
void | SetFollow (SwFlowFrame *const pFollow) |
const SwFlowFrame * | GetPrecede () const |
SwFlowFrame * | GetPrecede () |
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 |
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 *, sal_uInt8 &, SwAttrSetChg *pa=nullptr, SwAttrSetChg *pb=nullptr) |
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 |
Private Attributes | |
SwTable * | m_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 |
bool | m_bSplitRowDisabled: 1 |
Friends | |
void | CalcContent (SwLayoutFrame *pLay, bool bNoColl) |
Additional Inherited Members | |
![]() | |
static SwCache & | GetCache () |
static SwCache * | GetCachePtr () |
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... | |
![]() | |
static bool | IsMoveBwdJump () |
static void | SetMoveBwdJump (bool bNew) |
static SwFlowFrame * | CastFlowFrame (SwFrame *pFrame) |
static const SwFlowFrame * | CastFlowFrame (const SwFrame *pFrame) |
![]() | |
enum | InvalidationType { INVALID_SIZE, INVALID_PRTAREA, INVALID_POS, INVALID_LINENUM, INVALID_ALL } |
enumeration for the different invalidations #i28701# More... | |
![]() | |
virtual | ~SwLayoutFrame () override |
virtual SwTwips | ShrinkFrame (SwTwips, bool bTst=false, bool bInfo=false) override |
tools::Long | CalcRel (const SwFormatFrameSize &rSz) const |
![]() | |
void | ColLock () |
void | ColUnlock () |
virtual | ~SwFrame () override |
void | setRootFrame (SwRootFrame *pRoot) |
SwPageFrame * | InsertPage (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... | |
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 const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
![]() | |
void | setFrameAreaPositionValid (bool bNew) |
void | setFrameAreaSizeValid (bool bNew) |
void | setFramePrintAreaValid (bool bNew) |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
![]() | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
![]() | |
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 guarantees that a new page was not created, although false does not NECESSARILY indicate that a new page was created. More... | |
bool | MoveBwd (bool &rbReformat) |
Return value tells whether any changes have been made. More... | |
![]() | |
SwFrame * | m_pLower |
std::vector< SwAnchoredObject * > | m_VertPosOrientFramesFor |
![]() | |
std::unique_ptr< SwSortedObjs > | m_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 |
![]() | |
SwFlowFrame * | m_pFollow |
SwFlowFrame * | m_pPrecede |
bool | m_bLockJoin:1 |
bool | m_bUndersized:1 |
bool | m_bFlyLock:1 |
SwTabFrame is one table in the document layout, containing rows (which contain cells).
Definition at line 30 of file tabfrm.hxx.
|
overrideprivatevirtual |
Definition at line 144 of file tabfrm.cxx.
Definition at line 70 of file tabfrm.cxx.
References SwFrame::DestroyFrame(), SwTable::GetTabLines(), i, SwFrame::InsertBehind(), SwFrame::IsRowFrame(), SwLayoutFrame::Lower(), SwFrame::mbFixSize, SwFrame::mnFrameType, SwTableLines::size(), and Tab.
Referenced by Split().
SwTabFrame::SwTabFrame | ( | SwTabFrame & | rTab | ) |
Definition at line 109 of file tabfrm.cxx.
References GetFollow(), SwFrame::mbFixSize, SwFrame::mnFrameType, SwFlowFrame::SetFollow(), and Tab.
bool SwTabFrame::CalcFlyOffsets | ( | SwTwips & | rUpper, |
tools::Long & | rLeftOffset, | ||
tools::Long & | rRightOffset | ||
) | const |
Calculate the offsets arising because of FlyFrames.
Definition at line 2735 of file tabfrm.cxx.
References ADD_VERTICAL_FLY_OFFSETS, SwRectFnSet::AddBottom(), CONSIDER_WRAP_ON_OBJECT_POSITION, SwFrame::FindFlyFrame(), SwFrame::FindFooterOrHeader(), SwFrame::FindPageFrame(), IDocumentSettingAccess::get(), SwAnchoredObject::GetAnchorFrameContainingAnchPos(), SwRectFnSet::GetBottom(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::getIDocumentSettingAccess(), SwRectFnSet::GetLeft(), SwPageFrame::GetPhyPageNum(), SwRectFnSet::GetPrtBottom(), SwRectFnSet::GetRight(), SwPageFrame::GetSortedObjs(), SwFormatSurround::GetSurround(), SwRectFnSet::GetTop(), SwRectFnSet::GetWidth(), i, SwLayoutFrame::IsAnLower(), SwFrame::IsHeaderFrame(), SwFrame::IsInDocBody(), SwFrame::IsInFootnote(), IsNextOnSamePage(), SwRect::IsOver(), SwPostItHelper::NONE, basegfx::B1DRange::overlaps(), SwSortedObjs::size(), USE_FORMER_TEXT_WRAPPING, SwRectFnSet::XDiff(), SwRectFnSet::YDiff(), and SwRectFnSet::YInc().
Referenced by Format(), and SwHTMLTableLayout::GetBrowseWidthByTabFrame().
SwTwips SwTabFrame::CalcHeightOfFirstContentLine | ( | ) | const |
Function to calculate height of first text row.
Definition at line 5842 of file tabfrm.cxx.
References Fixed, SwFrame::GetAttrSet(), GetFirstNonHeadlineRow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFormat::GetFrameSize(), SwAttrSet::GetFrameSize(), SvxSizeItem::GetHeight(), SwRectFnSet::GetHeight(), SwFormatFrameSize::GetHeightSizeType(), SwFormat::GetLayoutSplit(), SwFrame::GetLower(), SwFrame::GetNext(), SwFrame::GetPrev(), SwTableBox::getRowSpan(), SwTable::GetRowsToRepeat(), SwCellFrame::GetTabBox(), GetTable(), SfxBoolItem::GetValue(), SwFlowFrame::IsFollow(), SwFlowFrame::IsJoinLocked(), SwRowFrame::IsRowSpanLine(), SwRowFrame::IsRowSplitAllowed(), lcl_CalcHeightOfFirstContentLine(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_CalcMinCellHeight(), lcl_GetHeightOfRows(), SwFlowFrame::LockJoin(), SwLayoutFrame::Lower(), Minimum, nCellHeight, SwRowFrame::ShouldRowKeepWithNext(), TABLE_ROW_KEEP, and SwFlowFrame::UnlockJoin().
Referenced by ShouldBwdMoved().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 436 of file wsfrm.cxx.
References SwFrame::CheckDir(), SwFrame::CheckDirection(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFormat::GetFormatAttr(), SwFrame::getRootFrame(), SwViewShell::GetViewOptions(), and RES_FRAMEDIR().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 3638 of file tabfrm.cxx.
References SwLayoutFrame::ContainsAny(), SwLayoutFrame::ContainsContent(), SwLayoutFrame::Cut(), SwSectionFrame::DelEmpty(), SwFrame::DestroyFrame(), SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), Height, SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::IsColLocked(), SwFrame::IsContentFrame(), SwFrame::IsDeleteForbidden(), SwFlowFrame::IsFollow(), SwFrame::IsFootnoteFrame(), SwFrame::IsInSct(), SwLayoutFrame::Lower(), SwFrame::Prepare(), SwFrame::RemoveFromLayout(), SwFrame::SetCompletePaint(), SwFrame::SetRetouche(), SwRootFrame::SetSuperfluous(), SwFrame::Shrink(), and WidowsOrphans.
Referenced by FndBox_::DelFrames(), SwTableNode::DelFrames(), Join(), and JoinAndDelFollows().
|
overrideprivatevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 135 of file tabfrm.cxx.
References ClearFEShellTabCols(), SwLayoutFrame::DestroyImpl(), and SwLayoutFrame::GetFormat().
|
inline |
Definition at line 199 of file tabfrm.hxx.
References m_bObjsDoesFit.
Referenced by lcl_RecalcSplitLine().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 636 of file xmldump.cxx.
References SwFrame::dumpAsXmlAttributes(), GetFollow(), SwFrameAreaDefinition::GetFrameId(), SwFlowFrame::HasFollow(), SwFlowFrame::m_pPrecede, and void().
SwContentFrame * SwTabFrame::FindLastContent | ( | ) |
Definition at line 3520 of file tabfrm.cxx.
References assert(), FindLastContentOrTable(), SwFrame::GetPrev(), and SwFrame::IsTabFrame().
Referenced by FindLastContent(), SwFrame::FindPrevCnt_(), and lcl_InvalidateTable().
|
inline |
Definition at line 237 of file tabfrm.hxx.
References FindLastContent().
SwFrame * SwTabFrame::FindLastContentOrTable | ( | ) |
Definition at line 3450 of file tabfrm.cxx.
References assert(), SwLayoutFrame::ContainsContent(), SwSectionFrame::FindLastContent(), SwFrame::FindSctFrame(), SwFrame::GetLower(), SwFrame::GetNext(), SwContentFrame::GetNextContentFrame(), SwFrame::GetUpper(), SwLayoutFrame::IsAnLower(), SwFrame::IsCellFrame(), SwFrame::IsColBodyFrame(), SwFrame::IsContentFrame(), SwFrame::IsSctFrame(), and SwLayoutFrame::m_pLower.
Referenced by SwDoc::AdjustCellWidth(), FindLastContent(), FindLastContentOrTable(), GetCellContent(), lcl_FindStartEndCol(), and MakeSelUnions().
|
inline |
Definition at line 232 of file tabfrm.hxx.
References FindLastContentOrTable().
SwTabFrame * SwTabFrame::FindMaster | ( | bool | bFirstMaster = false | ) | const |
Definition at line 774 of file flowfrm.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), GetFollow(), GetTable(), SwFlowFrame::IsFollow(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwTableLine::ChgFrameFormat(), SwLayoutCache::CompareLayout(), SwRowFrame::Cut(), SwContentFrame::Cut(), SwTextNode::fillSoftPageBreakList(), SwFrame::FindPrevCnt_(), SwCellFrame::GetPreviousCell(), SwTableLine::hasSoftPageBreak(), InsertCnt_(), SwAccessibleCell::InvalidateCursorPos_(), lcl_ArrangeLowers(), lcl_GetCellFrameForBorderAttrs(), lcl_InsertRow(), lcl_IsLineOfTableFrame(), lcl_RecalcSplitLine(), MakeAll(), SwRowFrame::OnFrameSize(), SwCursorShell::SelTable(), SwFEShell::SelTableRowCol(), SwCursorShell::SelTableRowOrCol(), SwTableCellInfo::Impl::setTable(), SwRowFrame::ShrinkFrame(), SwFrame::UpdateAttrFrame(), and SwLayoutCache::Write().
|
overrideprivatevirtual |
"Formats" the frame; Frame and PrtArea.
The fixed size is not adjusted here.
Reimplemented from SwLayoutFrame.
Definition at line 2913 of file tabfrm.cxx.
References ADD_PARA_SPACING_TO_TABLE_CELLS, SwRectFnSet::AddRight(), SwBorderAttrs::CalcBottomLine(), CalcFlyOffsets(), SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcLeftLine(), SwLayoutFrame::CalcRel(), SwBorderAttrs::CalcRight(), SwBorderAttrs::CalcRightLine(), SwFlowFrame::CalcUpperSpace(), GetBottomLineSize(), SwViewOption::getBrowseMode(), SwViewShell::GetBrowseWidth(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SwRectFnSet::GetHeight(), SwFrame::GetIndNext(), SvxULSpaceItem::GetLower(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwBorderAttrs::GetULSpace(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SwRectFnSet::GetWidth(), SwFrame::Grow(), IsCollapsingBorders(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsInTab(), SwFrame::IsPageBodyFrame(), SwRect::Left(), SwLayoutFrame::m_pLower, MINLAY, SwPostItHelper::NONE, SwFrameAreaDefinition::setFrameAreaSizeValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), SwRectFnSet::SetXMargins(), SwRectFnSet::SetYMargins(), SwFrame::Shrink(), SwViewShell::VisArea(), and SwRect::Width().
Referenced by MakeAll().
sal_uInt16 SwTabFrame::GetBottomLineSize | ( | ) | const |
Definition at line 5675 of file tabfrm.cxx.
References SwLayoutFrame::GetLastLower(), IsCollapsingBorders(), and SwLayoutFrame::Lower().
Referenced by Format().
SwRowFrame * SwTabFrame::GetFirstNonHeadlineRow | ( | ) | const |
Definition at line 5635 of file tabfrm.cxx.
References SwFrame::GetNext(), SwTable::GetRowsToRepeat(), GetTable(), SwFlowFrame::IsFollow(), SwRowFrame::IsRepeatedHeadline(), and SwLayoutFrame::Lower().
Referenced by CalcHeightOfFirstContentLine(), CheckSplitCells(), SwTableLine::ChgFrameFormat(), ChkChartSel(), SwRowFrame::Cut(), SwTextNode::fillSoftPageBreakList(), GetAutoSumSel(), GetBodyTextNode(), GetFrameInPage(), SwCellFrame::GetLayoutRowSpan(), GetMergeSel(), GetTableSel(), SwTableLine::hasSoftPageBreak(), Join(), lcl_FindStartEndCol(), lcl_InsertNewFollowFlowLine(), lcl_InsertRow(), MakeAll(), MakeSelUnions(), SwRootFrame::MakeTableCursors(), SwFlowFrame::MoveBwd(), SwRowFrame::OnFrameSize(), RemoveFollowFlowLine(), ShouldBwdMoved(), SwRowFrame::ShrinkFrame(), and Split().
|
inline |
Definition at line 242 of file tabfrm.hxx.
References SwFlowFrame::GetFollow().
Referenced by AreInSameTable(), SwTaggedPDFHelper::BeginBlockStructureElements(), SwRootFrame::CalcFrameRects(), ChkChartSel(), SwLayoutCache::CompareLayout(), FndBox_::DelFrames(), dumpAsXmlAttributes(), FindMaster(), SwCellFrame::GetFollowCell(), GetTableSel(), GrowFrame(), Join(), JoinAndDelFollows(), lcl_FindStartEndCol(), lcl_GetCellFrameForBorderAttrs(), lcl_InsertNewFollowFlowLine(), lcl_PostprocessRowsInCells(), lcl_PreprocessRowsInCells(), lcl_ProjectOntoClosestTableFrame(), lcl_RecalcSplitLine(), MakeAll(), MakeSelUnions(), RemoveFollowFlowLine(), Split(), SwTabFrame(), and SwLayoutCache::Write().
|
inline |
Definition at line 246 of file tabfrm.hxx.
References SwFlowFrame::GetFollow().
|
overridevirtual |
Reimplemented from SwClient.
Definition at line 3424 of file tabfrm.cxx.
References SwFrame::FindPageFrame(), SwVirtPageNumInfo::GetOrigPage(), SwVirtPageNumInfo::GetPage(), SwPageFrame::GetPhyPageNum(), SwFrame::GetPrev(), SwFlowFrame::IsFollow(), SwFrame::IsInDocBody(), RES_VIRTPAGENUM_INFO(), SwVirtPageNumInfo::SetInfo(), and SfxPoolItem::Which().
|
inline |
Definition at line 143 of file tabfrm.hxx.
References m_pTable.
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwRootFrame::CalcFrameRects(), CalcHeightOfFirstContentLine(), SwLayHelper::CheckInsert(), CheckSplitCells(), ChkChartSel(), SwLayoutCache::CompareLayout(), SwFEShell::DeleteCol(), SwFEShell::DeleteRow(), SwFEShell::DeleteTableSel(), FindMaster(), SwCellFrame::FindStartEndOfRowSpanCell(), SwRowFrame::Format(), SwCellFrame::Format(), SwFEShell::GetAutoSum(), GetBodyTextNode(), SwTableFormula::GetBoxes(), GetFirstNonHeadlineRow(), GetMergeSel(), SwFEShell::GetRowsToRepeat(), SwDoc::GetTabCols(), SwFEShell::GetTabCols_(), GetTableSel(), SwFEShell::GetTabRows_(), SwContentFrame::GrowFrame(), SwFEShell::InsertCol(), SwFEShell::InsertLabel(), SwFEShell::InsertRow(), IsInHeadline(), 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(), UpdateAttr_(), SwCursorShell::UpdateCursor(), and SwLayoutCache::Write().
|
inline |
Definition at line 144 of file tabfrm.hxx.
References m_pTable.
|
overrideprivatevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 3181 of file tabfrm.cxx.
References SwRectFnSet::AddBottom(), CONSIDER_WRAP_ON_OBJECT_POSITION, ePos, SwFrame::FindPageFrame(), SwRootFrame::GetCurrShell(), GetFollow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwFrame::GetUpper(), GPOS_NONE, GPOS_TILED, SwFrame::Grow(), SwViewShell::Imp(), SwFrame::InvalidateAll_(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsContentFrame(), IsRestrictTableGrowth(), LONG_MAX, SwLayoutFrame::Lower(), SwFormat::makeBackgroundBrushItem(), SwViewShellImp::MoveAccessibleFrame(), SetComplete(), and SwFrame::SetCompletePaint().
|
inline |
Definition at line 159 of file tabfrm.hxx.
References m_bHasFollowFlowLine.
Referenced by SwTextNode::fillSoftPageBreakList(), SwCellFrame::GetFollowCell(), SwCellFrame::GetPreviousCell(), SwDoc::GetTabRows(), SwRowFrame::GrowFrame(), SwTableLine::hasSoftPageBreak(), SwFrame::IsInFollowFlowRow(), Join(), lcl_FindStartEndCol(), MakeAll(), RemoveFollowFlowLine(), and Split().
bool SwTabFrame::IsCollapsingBorders | ( | ) | const |
Definition at line 5690 of file tabfrm.cxx.
References SfxItemSet::Get(), SwFormat::GetAttrSet(), SwLayoutFrame::GetFormat(), and RES_COLLAPSING_BORDERS().
Referenced by SwTableBox::ChgFrameFormat(), SwRowFrame::Format(), SwCellFrame::Format(), Format(), GetBottomLineSize(), lcl_CalcTopAndBottomMargin(), SwLayoutFrame::PaintSubsidiaryLines(), PaintSwFrame(), SwFrame::PaintSwFrameShadowAndBorder(), Split(), and SwCellFrame::SwClientNotify().
|
inline |
Definition at line 146 of file tabfrm.hxx.
References m_bComplete.
Referenced by SwLayAction::FormatLayoutTab().
|
inline |
Definition at line 189 of file tabfrm.hxx.
References m_bConsiderObjsForMinCellHeight.
Referenced by SwCellFrame::Format(), and lcl_PreprocessRowsInCells().
bool SwTabFrame::IsInHeadline | ( | const SwFrame & | rFrame | ) | const |
Definition at line 5616 of file tabfrm.cxx.
References GetTable(), SwFrame::GetUpper(), SwLayoutFrame::IsAnLower(), SwTable::IsHeadline(), and SwFrame::IsInTab().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwFEShell::CheckHeadline(), SwCellFrame::FindStartEndOfRowSpanCell(), SwAccessibleTableColHeaders::getAccessibleChildCount(), GetBodyTextNode(), SwLayoutFrame::GetContentPos(), GetFrameInPage(), SwCellFrame::GetModelPositionForViewPoint(), SwTableLine::GetTableLineHeight(), SwAccessibleTableData_Impl::IncludeRow(), SwFrame::IsFootnoteAllowed(), SwRowFrame::IsRowSplitAllowed(), lcl_InsertRow(), lcl_IsInRepeatedHeadline(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), and SwCursorShell::UpdateCursor().
|
inline |
Definition at line 171 of file tabfrm.hxx.
References m_bInRecalcLowerRow.
Referenced by SwRowFrame::ShrinkFrame().
bool SwTabFrame::IsLayoutSplitAllowed | ( | ) | const |
Definition at line 5668 of file tabfrm.cxx.
References SwLayoutFrame::GetFormat(), SwFormat::GetLayoutSplit(), and SfxBoolItem::GetValue().
Referenced by lcl_GetFootnoteLower().
|
inline |
Definition at line 150 of file tabfrm.hxx.
References m_bLowersFormatted.
Referenced by SwLayAction::FormatLayoutTab().
|
inline |
Definition at line 162 of file tabfrm.hxx.
References m_bIsRebuildLastLine.
Referenced by lcl_ArrangeLowers(), MakeAll(), and SwRowFrame::ShrinkFrame().
|
inline |
Definition at line 168 of file tabfrm.hxx.
References m_bRemoveFollowFlowLinePending.
Referenced by MakeAll().
|
inline |
Definition at line 165 of file tabfrm.hxx.
References m_bRestrictTableGrowth.
Referenced by GrowFrame().
|
inline |
|
private |
Definition at line 1359 of file tabfrm.cxx.
References SwFrame::CheckDirChange(), Cut(), SwFrame::DestroyFrame(), GetFirstNonHeadlineRow(), GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwLayoutFrame::GetLastLower(), SwFrame::GetNext(), SwFrame::Grow(), HasFollowFlowLine(), SwFrame::InsertBehind(), SwFrame::InvalidateAll_(), SwFlowFrame::IsJoinLocked(), SwFrame::RemoveFromLayout(), SwFlowFrame::SetFollow(), and SetFollowFlowLine().
Referenced by MakeAll().
void SwTabFrame::JoinAndDelFollows | ( | ) |
Definition at line 148 of file tabfrm.cxx.
References Cut(), SwFrame::DestroyFrame(), GetFollow(), SwFlowFrame::HasFollow(), JoinAndDelFollows(), and SwFlowFrame::SetFollow().
Referenced by SwTableNode::DelFrames(), and JoinAndDelFollows().
|
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 1846 of file tabfrm.cxx.
References SwRectFnSet::BottomDist(), SwFrame::Calc(), SwFlowFrame::CheckMoveFwd(), StackHack::Count(), SwFrame::Cut(), o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwFrame::FindFootnoteBossFrame(), FindMaster(), SwFrame::FindNext(), SwFrame::FindPrev(), SwFrame::FindSctFrame(), SwFlowFrame::ForbiddenForFootnoteCntFwd(), Format(), SwFrameAreaDefinition::FriendHackInvalidateRowFrame, sw::DocumentSettingManager::get(), SwFrame::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(), SwFlowFrame::HasFollow(), HasFollowFlowLine(), InvalidateFramePositions(), SwFrame::InvalidatePos(), SwFrame::IsColBodyFrame(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFlowFrame::IsFollow(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFrame::IsInSct(), SwFrame::IsInTab(), SwFlowFrame::IsJoinLocked(), SwFlowFrame::IsKeep(), SwFlowFrame::IsKeepFwdMoveAllowed(), StackHack::IsLocked(), SwFrame::IsMoveable(), IsRebuildLastLine(), IsRemoveFollowFlowLinePending(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), Join(), KEEPTAB, lcl_GetHeightOfRows(), lcl_GetMaximumLayoutRowSpan(), lcl_NoPrev(), lcl_RecalcRow(), lcl_RecalcTable(), SwFlowFrame::LockJoin(), LONG_MAX, SwLayoutFrame::Lower(), m_bCalcLowers, m_bLowersFormatted, m_bONECalcLowers, m_bResizeHTMLTable, m_pTable, MakeAll, MakeAll(), SwFrame::MakePos(), SwFlowFrame::MoveBwd(), SwFlowFrame::MoveFwd(), SwLayoutFrame::MoveLowerFootnotes(), NONE, SwFrame::Paste(), Point, PROTOCOL_ENTER, SwRectFnSet::Refresh(), RemoveFollowFlowLine(), SwFrame::ResetCompletePaint(), SwHTMLTableLayout::Resize(), 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, SwFlowFrame::UnlockJoin(), SwRectFnSet::YDiff(), and SwRectFnSet::YInc().
Referenced by MakeAll().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 4243 of file paintfrm.cxx.
References aHelper, COL_LIGHTGRAY(), SwViewOption::DrawRect(), SwBorderAttrAccess::Get(), SwFrame::GetCache(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SvxShadowItem::GetLocation(), SwBorderAttrs::GetShadow(), SwRect::Intersection(), IsCollapsingBorders(), SwViewOption::IsTable(), lcl_CalcBorderRect(), SwFrame::PaintShadow(), SwLayoutFrame::PaintSwFrame(), SwRect::Pos(), and ResetComplete().
Reimplemented from SwLayoutFrame.
Definition at line 3743 of file tabfrm.cxx.
References SwFrame::CheckPageDescs(), SwFrame::FindPageFrame(), FixSizeChanged, SwFormat::GetDoc(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFormatPageDesc::GetPageDesc(), SwPageFrame::GetPageDesc(), SwFormat::GetPageDesc(), SwDoc::GetPageDesc(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwRectFnSet::GetWidth(), SwFrame::Grow(), SwFrame::InsertBefore(), SwFrame::InvalidateAll_(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize(), SwFrame::IsContentFrame(), SwFlowFrame::IsFollow(), SwFrame::IsLayoutFrame(), and Prepare().
Referenced by SwTableNode::MakeOwnFrames().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 3804 of file tabfrm.cxx.
References BossChanged, and SwFrame::CheckDirChange().
Referenced by Paste().
void SwTabFrame::RegistFlys | ( | ) |
Definition at line 158 of file tabfrm.cxx.
References SwFrame::FindPageFrame(), SwFrame::GetNext(), SwFrame::IsRowFrame(), SwLayoutFrame::Lower(), and SwRowFrame::RegistFlys().
Referenced by SwTableNode::MakeOwnFrames().
bool SwTabFrame::RemoveFollowFlowLine | ( | ) |
Definition at line 876 of file tabfrm.cxx.
References SwFrame::CheckDirChange(), SwRowFrame::Cut(), SwFrame::DestroyFrame(), GetFirstNonHeadlineRow(), GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwLayoutFrame::GetLastLower(), SwFrame::GetNext(), SwFrame::Grow(), HasFollowFlowLine(), SwFrame::InsertBehind(), SwFrame::InvalidateAll_(), SwFrame::IsDeleteForbidden(), lcl_AdjustRowSpanCells(), lcl_GetMaximumLayoutRowSpan(), lcl_MoveFootnotes(), lcl_MoveRowContent(), SwLayoutFrame::Lower(), SwFrame::RemoveFromLayout(), SAL_WARN, SetFollowFlowLine(), and SwFrame::Shrink().
Referenced by MakeAll().
|
inline |
|
inline |
Definition at line 153 of file tabfrm.hxx.
References m_bCalcLowers.
Referenced by lcl_UpdateRepeatedHeadlines().
|
inline |
|
inline |
Definition at line 193 of file tabfrm.hxx.
References m_bConsiderObjsForMinCellHeight.
Referenced by lcl_RecalcSplitLine().
|
inline |
Definition at line 203 of file tabfrm.hxx.
References m_bObjsDoesFit.
Referenced by lcl_RecalcSplitLine().
|
inline |
Definition at line 160 of file tabfrm.hxx.
References m_bHasFollowFlowLine.
Referenced by FndBox_::DelFrames(), SwRowFrame::GrowFrame(), Join(), lcl_InsertNewFollowFlowLine(), and RemoveFollowFlowLine().
|
inline |
|
inline |
Definition at line 151 of file tabfrm.hxx.
References m_bLowersFormatted.
Referenced by SwLayAction::FormatLayoutTab(), and MakeAll().
|
inline |
Definition at line 155 of file tabfrm.hxx.
References m_bONECalcLowers.
Referenced by ChkChartSel(), and GetTableSel().
|
inline |
Definition at line 163 of file tabfrm.hxx.
References m_bIsRebuildLastLine.
Referenced by lcl_RecalcSplitLine(), and MakeAll().
|
inline |
Definition at line 169 of file tabfrm.hxx.
References m_bRemoveFollowFlowLinePending.
Referenced by SwTableLine::ChgFrameFormat(), SwContentFrame::Cut(), MakeAll(), and SwFrame::UpdateAttrFrame().
|
inline |
Definition at line 154 of file tabfrm.hxx.
References m_bResizeHTMLTable.
Referenced by SwContentFrame::GrowFrame(), and SwContentFrame::ShrinkFrame().
|
inline |
Definition at line 166 of file tabfrm.hxx.
References m_bRestrictTableGrowth.
Referenced by SwRowFrame::GrowFrame().
|
inline |
Definition at line 183 of file tabfrm.hxx.
References m_bSplitRowDisabled.
|
overrideprivatevirtual |
Return value defines if the frm needs to be relocated.
Implements SwFlowFrame.
Definition at line 3534 of file tabfrm.cxx.
References SwFlowFrame::BwdMoveNecessary(), CalcHeightOfFirstContentLine(), SwLayouter::DoesRowContainMovedFwdFrame(), SwFrame::FindPageFrame(), SwRectFnSet::GetBottom(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), SwFormat::GetDoc(), GetFirstNonHeadlineRow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SwRectFnSet::GetWidth(), SwFrame::Grow(), SwFrame::IsInFollowFlowRow(), SwFlowFrame::IsMoveBwdJump(), SwFlowFrame::IsPrevObjMove(), LONG_MAX, SwLayoutFrame::Lower(), m_bLockBackMove, SwRect::Pos(), and SwRectFnSet::SetTop().
Referenced by MakeAll().
|
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 1012 of file tabfrm.cxx.
References SwRectFnSet::AddWidth(), AppendObjs(), bDontCreateObjects, SwFrame::CheckDirChange(), SwLayoutFrame::ContainsContent(), SwFrameFormats::empty(), SwFrame::FindPageFrame(), SwRowFrame::GetBottomLineSize(), SwFormat::GetDoc(), GetFirstNonHeadlineRow(), GetFollow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), 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(), SwRectFnSet::GetTop(), SwRectFnSet::GetTopMargin(), SwFrame::GetUpper(), SwRectFnSet::GetWidth(), HasFollowFlowLine(), SwRect::Height(), SwFrame::InsertBefore(), SwFrame::InsertBehind(), SwFrame::InvalidateAll_(), SwFrame::InvalidatePos_(), SwLayoutFrame::IsAnLower(), IsCollapsingBorders(), SwFrame::IsRowFrame(), SwRowFrame::IsRowSpanLine(), SwRowFrame::IsRowSplitAllowed(), IsSplitRowDisabled(), SwFrame::IsTextFrame(), lcl_AdjustRowSpanCells(), lcl_FindSectionsInRow(), lcl_InnerCalcLayout(), lcl_InsertNewFollowFlowLine(), lcl_MoveFootnotes(), lcl_RecalcSplitLine(), LONG_MAX, SwLayoutFrame::Lower(), m_pTable, nIndex, SwLayoutFrame::Paste(), SwFrame::RemoveFromLayout(), SwRowFrame::SetForceRowSplitAllowed(), SwRectFnSet::SetLeft(), SwRowFrame::SetRepeatedHeadline(), SwTable::SetRowsToRepeat(), SwRowFrame::ShouldRowKeepWithNext(), SwFrame::Shrink(), SwTabFrame(), and SwRectFnSet::YDiff().
Referenced by MakeAll().
|
overrideprivatevirtual |
Reimplemented from SwFrame.
Definition at line 3263 of file tabfrm.cxx.
References SwAttrSetChg::Count(), SwFrame::FindPageFrame(), SwFrame::GetIndNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::IsContentFrame(), SwFlowFrame::IsFollow(), sw::LegacyModifyHint::m_pNew, RES_ATTRSET_CHG(), SwFrame::SetCompletePaint(), SwFrame::SwClientNotify(), and UpdateAttr_().
|
private |
Definition at line 3329 of file tabfrm.cxx.
References bDontCreateObjects, SwFrame::CheckDirChange(), SwFrame::CheckPageDescs(), SwAttrSetChg::ClearItem(), SwRowFrame::Cut(), SwFrame::DestroyFrame(), SwFrame::FindPageFrame(), SwFormat::GetDoc(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwDoc::getIDocumentFieldsAccess(), SwFrame::GetPrev(), SwTable::GetRowsToRepeat(), GetTable(), SwFrame::GetUpper(), SwFlowFrame::IsFollow(), SwFrame::IsInDocBody(), SwRowFrame::IsRepeatedHeadline(), lcl_InvalidateAllLowersPrt(), SwLayoutFrame::Lower(), SwLayoutFrame::Paste(), RES_BREAK(), RES_COLLAPSING_BORDERS(), RES_FRAMEDIR(), RES_FRM_SIZE(), RES_HORI_ORIENT(), RES_LAYOUT_SPLIT(), RES_PAGEDESC(), RES_TBLHEADLINECHG(), RES_UL_SPACE(), SwFrame::SetDerivedR2L(), SwRowFrame::SetRepeatedHeadline(), SwFrame::SwClientNotify(), SwRect::Top(), IDocumentFieldsAccess::UpdatePageFields(), and SfxPoolItem::Which().
Referenced by SwClientNotify().
|
friend |
|
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 43 of file tabfrm.hxx.
Referenced by MakeAll(), and SetCalcLowers().
|
private |
Definition at line 39 of file tabfrm.hxx.
Referenced by IsComplete(), ResetComplete(), and SetComplete().
|
private |
Definition at line 73 of file tabfrm.hxx.
Referenced by IsConsiderObjsForMinCellHeight(), and SetConsiderObjsForMinCellHeight().
|
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 56 of file tabfrm.hxx.
Referenced by HasFollowFlowLine(), and SetFollowFlowLine().
|
private |
Definition at line 85 of file tabfrm.hxx.
Referenced by IsInRecalcLowerRow(), and SetInRecalcLowerRow().
|
private |
Means that the first line in the follow.
is indented to contain content from a broken cell
Definition at line 59 of file tabfrm.hxx.
Referenced by IsRebuildLastLine(), and SetRebuildLastLine().
|
private |
Communication between MakeAll and Layact.
Definition at line 45 of file tabfrm.hxx.
Referenced by ShouldBwdMoved().
|
private |
For stability of the content in MakeAll.
Definition at line 44 of file tabfrm.hxx.
Referenced by IsLowersFormatted(), MakeAll(), and SetLowersFormatted().
|
private |
Definition at line 82 of file tabfrm.hxx.
Referenced by DoesObjsFit(), and SetDoesObjsFit().
|
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 51 of file tabfrm.hxx.
Referenced by MakeAll(), and SetONECalcLowers().
|
private |
Definition at line 70 of file tabfrm.hxx.
Referenced by IsRemoveFollowFlowLinePending(), and SetRemoveFollowFlowLinePending().
|
private |
The Master took care of the BackMove test.
Definition at line 46 of file tabfrm.hxx.
Referenced by MakeAll(), and SetResizeHTMLTable().
|
private |
Means that currently the last line of the.
TabFrame is rebuilt. In this case we do not
Definition at line 63 of file tabfrm.hxx.
Referenced by IsRestrictTableGrowth(), and SetRestrictTableGrowth().
|
private |
Definition at line 87 of file tabfrm.hxx.
Referenced by IsSplitRowDisabled(), and SetSplitRowDisabled().
|
private |
Definition at line 37 of file tabfrm.hxx.
Referenced by GetTable(), MakeAll(), and Split().