LibreOffice Module sw (master) 1
|
SwCellFrame is one table cell in the document layout. More...
#include <cellfrm.hxx>
Public Member Functions | |
SwCellFrame (const SwTableBox &, SwFrame *, bool bInsertContent) | |
virtual bool | GetModelPositionForViewPoint (SwPosition *, Point &, SwCursorMoveState *=nullptr, bool bTestBackground=false) const override |
If this is about a Content-carrying cell the Cursor will be force inserted into one of the ContentFrames if there are no other options. More... | |
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 |
const SwTableBox * | GetTabBox () const |
virtual bool | IsLeaveUpperAllowed () const override |
virtual bool | IsCoveredCell () const override |
tools::Long | GetLayoutRowSpan () const |
const SwCellFrame * | GetCoveredCellInRow (const SwRowFrame &rRow) const |
If this is a vertically merged cell, then looks up its covered cell in rRow. More... | |
std::vector< const SwCellFrame * > | GetCoveredCells () const |
If this is a vertically merged cell, then looks up its covered cells. More... | |
void | dumpAsXmlAttributes (xmlTextWriterPtr writer) const override |
void | dumpAsXml (xmlTextWriterPtr writer=nullptr) const override |
SwCellFrame * | GetFollowCell () const |
SwCellFrame * | GetPreviousCell () const |
const SwCellFrame & | FindStartEndOfRowSpanCell (bool bStart) const |
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 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 *) | |
virtual void | PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override |
const SwFrame * | Lower () const |
SwFrame * | Lower () |
bool | ContainsDeleteForbiddenLayFrame () const |
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 |
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 () |
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 * | GetNextFlyLeaf (MakePageType eMakePage) |
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... | |
SwLayoutFrame * | GetPrevFlyLeaf () |
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 | 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::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 |
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 |
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) |
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 |
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... | |
SwTextFrame * | DynCastTextFrame () |
const SwTextFrame * | DynCastTextFrame () 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 SwRect & | getFrameArea () const |
const SwRect & | getFramePrintArea () 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::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () 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 | |
virtual void | DestroyImpl () override |
virtual | ~SwCellFrame () 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 const SwCellFrame * | DynCastCellFrame () const override |
Private Attributes | |
const SwTableBox * | m_pTabBox |
Additional Inherited Members | |
Static Public Member Functions inherited from SwFrame | |
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... | |
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) |
SwPageFrame * | InsertPage (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 IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () |
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) | |
SwModify * | GetRegisteredInNonConst () 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 | |
SwFrame * | m_pLower |
std::vector< SwAnchoredObject * > | m_VertPosOrientFramesFor |
Protected Attributes inherited from SwFrame | |
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 |
int | mnForbidDelete |
SwCellFrame is one table cell in the document layout.
Definition at line 30 of file cellfrm.hxx.
|
overrideprivatevirtual |
Definition at line 5186 of file tabfrm.cxx.
SwCellFrame::SwCellFrame | ( | const SwTableBox & | rBox, |
SwFrame * | pSib, | ||
bool | bInsertContent | ||
) |
Definition at line 5134 of file tabfrm.cxx.
References Cell, SwFormat::GetDoc(), SwTableBox::GetFrameFormat(), SwTableBox::GetSttIdx(), SwTableBox::GetTabLines(), i, SwFrame::InsertBehind(), InsertCnt_(), SwFrame::mnFrameType, nIndex, and SwTableLines::size().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 457 of file wsfrm.cxx.
References SwFrame::CheckDir(), SwFrame::CheckDirection(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFormat::GetItemIfSet(), SwFrame::getRootFrame(), SwViewShell::GetViewOptions(), and RES_FRAMEDIR().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 5944 of file tabfrm.cxx.
References SwLayoutFrame::Cut(), SwViewShellImp::DisposeAccessibleFrame(), SwRootFrame::GetCurrShell(), SwFrame::getRootFrame(), SwViewShell::Imp(), and SwRootFrame::IsAnyShellAccessible().
|
overrideprivatevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 5162 of file tabfrm.cxx.
References SwLayoutFrame::DestroyImpl(), SwViewShellImp::DisposeAccessibleFrame(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFrame::getRootFrame(), SwViewShell::Imp(), and SwRootFrame::IsAnyShellAccessible().
|
overridevirtual |
Implements SwFrame.
Definition at line 5929 of file tabfrm.cxx.
References dumpAsXmlAttributes(), SwFrame::dumpChildrenAsXml(), SwFrame::dumpInfosAsXml(), and GetLayoutRowSpan().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 5919 of file tabfrm.cxx.
References SwFrame::dumpAsXmlAttributes(), GetFollowCell(), and GetPreviousCell().
Referenced by dumpAsXml().
|
inlineoverrideprivatevirtual |
Reimplemented from sw::WriterListener.
Definition at line 39 of file cellfrm.hxx.
const SwCellFrame & SwCellFrame::FindStartEndOfRowSpanCell | ( | bool | bStart | ) | const |
Definition at line 1770 of file findfrm.cxx.
References SwTableBox::FindEndOfRowSpan(), SwTableBox::FindStartOfRowSpan(), SwIterator< TElementType, TSource, eMode >::First(), SwTableBox::GetFrameFormat(), GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::GetPrev(), GetTabBox(), SwTabFrame::GetTable(), SwFrame::GetUpper(), SwTabFrame::IsInHeadline(), SwIterator< TElementType, TSource, eMode >::Next(), and SAL_WARN.
Referenced by SwRowFrame::AdjustCells(), GetFollowCell(), GetPreviousCell(), SwLayoutFrame::GrowFrame(), lcl_CalcMinRowHeight(), lcl_InnerCalcLayout(), lcl_MoveRowContent(), lcl_RecalcRow(), lcl_ShrinkCellsAndAllContent(), SwLayoutFrame::ShrinkFrame(), and SwInvalidateAll().
|
overrideprivatevirtual |
"Formats" the Frame; Frame and PrtArea.
The Fixsize is not set here.
Reimplemented from SwLayoutFrame.
Definition at line 5412 of file tabfrm.cxx.
References SwRectFnSet::AddRight(), SwBorderAttrs::CalcBottom(), SwBorderAttrs::CalcLeft(), SwBorderAttrs::CalcRight(), SwBorderAttrs::CalcTop(), CONSIDER_WRAP_ON_OBJECT_POSITION, SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), sw::proofreadingiterator::get(), SwBorderAttrs::GetAttrSet(), SwBorderAttrs::GetBox(), SvxBoxItem::GetDistance(), SwFormat::GetFollowTextFlow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwTableBox::GetFrameFormat(), SwFrameAreaDefinition::getFramePrintArea(), SwFormat::GetFrameSize(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwRectFnSet::GetPrtTop(), SwTableBox::getRowSpan(), SwBorderAttrs::GetSize(), SwPageFrame::GetSortedObjs(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), GetTabBox(), SwTableLine::GetTabBoxes(), SwTabFrame::GetTable(), SwRectFnSet::GetTop(), SwTableBox::GetUpper(), SwFrame::GetUpper(), SfxBoolItem::GetValue(), SwFormatVertOrient::GetVertOrient(), SwAttrSet::GetVertOrient(), SvxSizeItem::GetWidth(), SwRectFnSet::GetWidth(), SwFrame::Grow(), i, SwLayoutFrame::IsAnLower(), SwTabFrame::IsCollapsingBorders(), SwTabFrame::IsConsiderObjsForMinCellHeight(), SwFrame::IsContentFrame(), IsCoveredCell(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsNeighbourFrame(), SwTable::IsNewModel(), SwFrame::IsRightToLeft(), SwFrame::IsRowFrame(), SwFrame::IsSctFrame(), SwFrame::IsTabFrame(), lcl_ArrangeLowers(), lcl_CalcMinCellHeight(), lcl_CalcTopAndBottomMargin(), SwLayoutFrame::Lower(), SwPostItHelper::NONE, SwRect::Overlaps(), SwRect::Pos(), SwTextFrame::Prepare(), rBoxItem, SwRectFnSet::Refresh(), SwFrame::SetCompletePaint(), SwFrameAreaDefinition::setFrameAreaSizeValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), SwRectFnSet::SetXMargins(), SwRectFnSet::SetYMargins(), SwFrame::Shrink(), SwRectFnSet::SubLeft(), Size::Width(), and SwRectFnSet::YInc().
const SwCellFrame * SwCellFrame::GetCoveredCellInRow | ( | const SwRowFrame & | rRow | ) | const |
If this is a vertically merged cell, then looks up its covered cell in rRow.
Definition at line 5835 of file tabfrm.cxx.
References SwFrameAreaDefinition::getFrameArea(), GetLayoutRowSpan(), SwFrame::GetLower(), SwFrame::GetNext(), SwRect::Left(), and SwRect::Width().
Referenced by GetCoveredCells().
std::vector< const SwCellFrame * > SwCellFrame::GetCoveredCells | ( | ) | const |
If this is a vertically merged cell, then looks up its covered cells.
Definition at line 5874 of file tabfrm.cxx.
References GetCoveredCellInRow(), GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::GetUpper(), and SwFrame::IsRowFrame().
SwCellFrame * SwCellFrame::GetFollowCell | ( | ) | const |
Definition at line 1679 of file findfrm.cxx.
References FindStartEndOfRowSpanCell(), SwTabFrame::GetFollow(), GetLayoutRowSpan(), SwFrame::GetNext(), SwFrame::GetUpper(), SwTabFrame::HasFollowFlowLine(), SwFrame::IsInSplitTableRow(), SwFrame::IsRowFrame(), SwRowFrame::IsRowSpanLine(), SwFrame::IsTabFrame(), and lcl_FindCorrespondingCellFrame().
Referenced by SwShellTableCursor::Contains(), dumpAsXmlAttributes(), and SwFrame::GetNextSctLeaf().
tools::Long SwCellFrame::GetLayoutRowSpan | ( | ) | const |
Definition at line 5820 of file tabfrm.cxx.
References SwTabFrame::GetFirstNonHeadlineRow(), SwTableBox::getRowSpan(), GetTabBox(), and SwFrame::GetUpper().
Referenced by SwRowFrame::AdjustCells(), SwContentFrame::CalcLowers(), dumpAsXml(), FindStartEndOfRowSpanCell(), GetCoveredCellInRow(), GetCoveredCells(), GetFollowCell(), GetPreviousCell(), SwFrame::Grow(), SwLayoutFrame::GrowFrame(), IsCoveredCell(), IsLeaveUpperAllowed(), lcl_AdjustRowSpanCells(), lcl_CalcHeightOfFirstContentLine(), lcl_CalcMinRowHeight(), lcl_RecalcRow(), PaintSwFrame(), SwFrame::Shrink(), and SwLayoutFrame::ShrinkFrame().
|
overridevirtual |
If this is about a Content-carrying cell the Cursor will be force inserted into one of the ContentFrames if there are no other options.
There is no entry for protected cells.
Reimplemented from SwLayoutFrame.
Definition at line 472 of file trvlfrm.cxx.
References SwFrame::Calc(), SwRect::Contains(), SwFrame::FindTabFrame(), SwLayoutFrame::GetContentPos(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetModelPositionForViewPoint(), SwLayoutFrame::GetModelPositionForViewPoint(), SwFrame::GetNext(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwTabFrame::IsInHeadline(), SwFrame::IsLayoutFrame(), SwFrame::IsTextFrame(), SwLayoutFrame::Lower(), SwCursorMoveState::m_bSetInReadOnly, SwCursorMoveState::m_bStop, SwCursorMoveState::m_eState, SwCursorMoveState::m_pFill, and TableSel.
SwCellFrame * SwCellFrame::GetPreviousCell | ( | ) | const |
Definition at line 1729 of file findfrm.cxx.
References SwTabFrame::FindMaster(), FindStartEndOfRowSpanCell(), SwTabFrame::GetFirstNonHeadlineRow(), SwLayoutFrame::GetLastLower(), GetLayoutRowSpan(), SwTableBox::getRowSpan(), GetTabBox(), SwFrame::GetUpper(), SwTabFrame::HasFollowFlowLine(), SwFrame::IsRowFrame(), SwFrame::IsTabFrame(), and lcl_FindCorrespondingCellFrame().
Referenced by dumpAsXmlAttributes(), and lcl_CalcHeightOfFirstContentLine().
|
inline |
Definition at line 52 of file cellfrm.hxx.
Referenced by SwRowFrame::AdjustCells(), SwTabFrame::CalcHeightOfFirstContentLine(), FindStartEndOfRowSpanCell(), Format(), SwFEShell::GetAutoSum(), GetLayoutRowSpan(), SwTableCellInfo::Impl::getNextTableBoxsCellFrame(), SwFrame::GetPaintArea(), GetPreviousCell(), SwAccessibleTableData_Impl::GetSelection(), SwDoc::GetTabCols(), SwFEShell::GetTabCols_(), SwTableCellInfo::getTableBox(), SwAccessibleTable::GetTableBox(), SwAccessibleCell::GetTableBoxFormat(), SwLayoutFrame::GrowFrame(), SwAccessibleTable::isAccessibleSelected(), SwAccessibleCell::IsSelected(), lcl_CellInfo(), lcl_CellText(), lcl_GetMaximumLayoutRowSpan(), lcl_InnerCalcLayout(), lcl_IsFrameInColumn(), lcl_MoveRowContent(), lcl_RecalcSplitLine(), lcl_ShrinkCellsAndAllContent(), SwFEShell::SelTableRowCol(), SwTaggedPDFHelper::SetAttributes(), SwDoc::SetTabCols(), SwTabFrame::Split(), SwAccessibleCell::SwAccessibleCell(), SwClientNotify(), SwInvalidateAll(), and SwFEShell::WhichMouseTabCol().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 6351 of file tabfrm.cxx.
References GetLayoutRowSpan().
Referenced by Format().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 6341 of file tabfrm.cxx.
References GetLayoutRowSpan().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 4034 of file paintfrm.cxx.
References GetLayoutRowSpan(), and SwLayoutFrame::PaintSwFrame().
|
overrideprivatevirtual |
Reimplemented from SwFrame.
Definition at line 5700 of file tabfrm.cxx.
References Add, SwFrame::CheckDirChange(), SwFrame::FindTabFrame(), SwRootFrame::GetCurrShell(), SfxHint::GetId(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwRectFnSet::GetPrtTop(), SwFrame::getRootFrame(), GetTabBox(), SwFrame::GetUpper(), SwViewShell::Imp(), SwViewShellImp::InvalidateAccessibleEditableState(), SwFrame::InvalidateAll(), SwFrame::InvalidatePrt(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize(), SwFrame::InvalidateSize_(), SwRootFrame::IsAnyShellAccessible(), SwTabFrame::IsCollapsingBorders(), SwFrame::IsContentFrame(), SwFrame::IsTabFrame(), lcl_ArrangeLowers(), lcl_InvalidateAllLowersPrt(), SwLayoutFrame::Lower(), SwPostItHelper::NONE, SwFrame::RegisterToFormat(), SwFrame::ReinitializeFrameSizeAttrFlags(), RES_ATTRSET_CHG(), RES_BOX(), RES_FRAMEDIR(), RES_PROTECT(), RES_VERT_ORIENT(), SwFrame::SetCompletePaint(), SwFrame::SetDerivedVert(), SwFrame::SwClientNotify(), and SfxPoolItem::Which().
|
private |
Definition at line 32 of file cellfrm.hxx.