LibreOffice Module sw (master)
1
|
#include <sectfrm.hxx>
Public Member Functions | |
SwSectionFrame (SwSection &, SwFrame *) | |
SwSectionFrame (SwSectionFrame &, bool bMaster) | |
void | Init () |
virtual void | CheckDirection (bool bVert) override |
virtual void | PaintSubsidiaryLines (const SwPageFrame *, const SwRect &) const override |
virtual void | Cut () override |
virtual void | Paste (SwFrame *pParent, SwFrame *pSibling=nullptr) override |
const SwSectionFrame * | GetFollow () const |
SwSectionFrame * | GetFollow () |
SwSectionFrame * | FindMaster () const |
SwContentFrame * | FindLastContent (SwFindMode nMode=SwFindMode::None) |
const SwContentFrame * | FindLastContent () const |
SwSection * | GetSection () |
const SwSection * | GetSection () const |
void | ColLock () |
void | ColUnlock () |
void | CalcFootnoteContent () |
void | SimpleFormat () |
bool | IsDescendantFrom (const SwSectionFormat *pSect) const |
bool | HasToBreak (const SwFrame *pFrame) const |
|* Here it's decided whether the this-SectionFrame should break up |* the passed (Section)frm (or not). More... | |
void | MergeNext (SwSectionFrame *pNxt) |
|* Merges two SectionFrames, in case it's about the same section. More... | |
bool | SplitSect (SwFrame *pFrame, bool bApres) |
Splits the SectionFrame surrounding the pFrame up in two parts: pFrame and the start of the 2nd part. More... | |
void | DelEmpty (bool bRemove) |
SwFootnoteContFrame * | ContainsFootnoteCont (const SwFootnoteContFrame *pCont=nullptr) const |
Check every Column for FootnoteContFrames. More... | |
bool | Growable () const |
checks whether the SectionFrame is still able to grow, as case may be the environment has to be asked More... | |
SwTwips | Shrink_ (SwTwips, bool bTst) |
SwTwips | Grow_ (SwTwips, bool bTst) |
bool | ToMaximize (bool bCheckFollow) const |
A sectionfrm has to maximize, if he has a follow or a ftncontainer at the end of the page. More... | |
bool | ToMaximize_ () const |
bool | MoveAllowed (const SwFrame *) const |
bool | CalcMinDiff (SwTwips &rMinDiff) const |
SwTwips | Undersize () |
Returns the size delta that the section would like to be greater if it has undersized TextFrames in it. More... | |
SwTwips | CalcUndersize () const |
void | CheckClipping (bool bGrow, bool bMaximize) |
Adapt size to surroundings. More... | |
void | InvalidateFootnotePos () |
void | CollectEndnotes (SwLayouter *pLayouter) |
const SwSectionFormat * | GetEndSectFormat () const |
bool | IsBalancedSection () const |
virtual void | dumpAsXmlAttributes (xmlTextWriterPtr writer) const override |
bool | IsFootnoteAtEnd () const |
bool | IsEndnAtEnd () const |
bool | IsAnyNoteAtEnd () const |
void | SetContentLock (bool bNew) |
bool | IsContentLocked () const |
bool | IsOwnFootnoteNum () const |
void | SetFootnoteLock (bool bNew) |
bool | IsFootnoteLock () 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 *) | |
virtual void | PaintSwFrame (vcl::RenderContext &rRenderContext, SwRect const &, SwPrintData const *const pPrintData=nullptr) const override |
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 |
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 |
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 &) |
virtual bool | GetInfo (SfxPoolItem &) const |
![]() | |
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 |
Static Public Member Functions | |
static void | MoveContentAndDelete (SwSectionFrame *pDel, bool bSave) |
![]() | |
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) |
Private Member Functions | |
void | UpdateAttr_ (const SfxPoolItem *, const SfxPoolItem *, sal_uInt8 &, SwAttrSetChg *pa=nullptr, SwAttrSetChg *pb=nullptr) |
void | Cut_ (bool bRemove) |
bool | IsSuperfluous () const |
void | CalcFootnoteAtEndFlag () |
void | CalcEndAtEndFlag () |
const SwSectionFormat * | GetEndSectFormat_ () const |
bool | IsEndnoteAtMyEnd () const |
virtual void | DestroyImpl () override |
virtual | ~SwSectionFrame () override |
virtual void | MakeAll (vcl::RenderContext *pRenderContext) override |
virtual bool | ShouldBwdMoved (SwLayoutFrame *pNewUpper, bool &rReformat) 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 |
Private Attributes | |
SwSection * | m_pSection |
bool | m_bFootnoteAtEnd |
bool | m_bEndnAtEnd |
bool | m_bContentLock |
bool | m_bOwnFootnoteNum |
bool | m_bFootnoteLock |
Additional Inherited Members | |
![]() | |
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 |
virtual SwTwips | GrowFrame (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 |
Definition at line 36 of file sectfrm.hxx.
|
overrideprivatevirtual |
Definition at line 182 of file sectfrm.cxx.
Definition at line 67 of file sectfrm.cxx.
References CalcEndAtEndFlag(), CalcFootnoteAtEndFlag(), SwFrame::mnFrameType, and Section.
Referenced by MoveContentAndDelete(), Paste(), and SplitSect().
SwSectionFrame::SwSectionFrame | ( | SwSectionFrame & | rSect, |
bool | bMaster | ||
) |
Definition at line 83 of file sectfrm.cxx.
References CreateFollow, CreateMaster, FindMaster(), GetFollow(), SwFrame::InvalidateSize(), SwFrame::IsColLocked(), SwFlowFrame::IsFollow(), SwFrame::mnFrameType, PROTOCOL, Section, SwFlowFrame::SetFollow(), and SimpleFormat().
|
private |
Definition at line 2555 of file sectfrm.cxx.
References SwFormat::GetEndAtTextEnd(), SwSection::GetFormat(), SwClient::GetRegisteredIn(), GetSection(), SwFormatFootnoteEndAtTextEnd::IsAtEnd(), and m_bEndnAtEnd.
Referenced by SwSectionFrame(), and UpdateAttr_().
|
private |
Definition at line 2527 of file sectfrm.cxx.
References FTNEND_ATPGORDOCEND, FTNEND_ATTXTEND_OWNNUMANDFMT, FTNEND_ATTXTEND_OWNNUMSEQ, SwFormat::GetFootnoteAtTextEnd(), SwSection::GetFormat(), SwClient::GetRegisteredIn(), GetSection(), SfxEnumItem< class >::GetValue(), m_bFootnoteAtEnd, and m_bOwnFootnoteNum.
Referenced by SwSectionFrame(), and UpdateAttr_().
void SwSectionFrame::CalcFootnoteContent | ( | ) |
Definition at line 2818 of file sectfrm.cxx.
References SwFrame::Calc(), SwLayoutFrame::ContainsAny(), ContainsFootnoteCont(), SwFrame::FindFootnoteFrame(), SwFrame::FindNext(), SwRootFrame::GetCurrShell(), SwViewShell::GetOut(), SwFrame::getRootFrame(), SwLayoutFrame::IsAnLower(), and SwFrame::IsSctFrame().
Referenced by CalcContent(), and Format().
bool SwSectionFrame::CalcMinDiff | ( | SwTwips & | rMinDiff | ) | const |
Definition at line 945 of file sectfrm.cxx.
References SwRectFnSet::BottomDist(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetPrtBottom(), SwFrame::GetUpper(), and ToMaximize().
SwTwips SwSectionFrame::CalcUndersize | ( | ) | const |
Definition at line 2805 of file sectfrm.cxx.
References SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), and SwLayoutFrame::InnerHeight().
Referenced by Undersize().
void SwSectionFrame::CheckClipping | ( | bool | bGrow, |
bool | bMaximize | ||
) |
Adapt size to surroundings.
Fits the size to the surroundings.
|* |* Those that have a Follow or foot notes, have to extend until |* the lower edge of a upper (bMaximize) |* They must not extend above the Upper, as the case may be one can |* try to grow its upper (bGrow) |* If the size had to be changed, the content is calculated. |* |*
Definition at line 1070 of file sectfrm.cxx.
References SwRectFnSet::BottomDist(), SwFlowFrame::CalcContent, SwLayoutFrame::ChgLowersProp(), SwLayoutFrame::ContainsAny(), SwFrame::FindFlyFrame(), SwFrame::FindFootnoteBossFrame(), FindLastContent(), GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SwRectFnSet::GetPrtBottom(), SwRectFnSet::GetTop(), SwRectFnSet::GetTopMargin(), SwFrame::GetUpper(), SwFrame::Grow(), Size::Height(), SwRect::Height(), IsAnyNoteAtEnd(), SwLayoutFrame::IsBefore(), SwFrame::IsColBodyFrame(), SwFrame::IsColumnFrame(), IsContentLocked(), IsEndnAtEnd(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFlowFrame::IsUndersized(), SwRectFnSet::IsVert(), LastCnt, lcl_ColumnRefresh(), lcl_FindEndnote(), SwLayoutFrame::Lower(), SwRectFnSet::SetBottom(), SwFlowFrame::SetUndersized(), SwRectFnSet::SetYMargins(), SSize, Undersize(), Size::Width(), SwRect::Width(), and SwRectFnSet::YDiff().
Referenced by Format().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 408 of file wsfrm.cxx.
References SwFrame::CheckDir(), SwFrame::CheckDirection(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwFormat::GetFormatAttr(), SwFrame::getRootFrame(), SwViewShell::GetViewOptions(), and RES_FRAMEDIR().
void SwSectionFrame::CollectEndnotes | ( | SwLayouter * | pLayouter | ) |
Definition at line 1042 of file sectfrm.cxx.
References SwLayouter::CollectEndnote(), SwFrame::GetUpper(), SwLayouter::HasEndnotes(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsFootnoteFrame(), lcl_ColumnRefresh(), lcl_FindEndnote(), and SwLayoutFrame::Lower().
Referenced by SwEndnoter::CollectEndnotes().
|
inline |
Definition at line 84 of file sectfrm.hxx.
References SwFrame::mbColLocked.
Referenced by FndBox_::DelFrames(), Format(), lcl_ColumnRefresh(), MakeFrames(), SwFlowFrame::MoveBwd(), MoveContentAndDelete(), SwFlowFrame::MoveFwd(), SwNode2LayImpl::SaveUpperFrames(), and SwTextFrame::ValidateFrame().
|
inline |
Definition at line 85 of file sectfrm.hxx.
References SwFrame::mbColLocked.
Referenced by FndBox_::DelFrames(), Format(), lcl_ColumnRefresh(), MakeFrames(), SwFlowFrame::MoveBwd(), MoveContentAndDelete(), SwFlowFrame::MoveFwd(), SwNode2LayImpl::RestoreUpperFrames(), and SwTextFrame::ValidateFrame().
SwFootnoteContFrame * SwSectionFrame::ContainsFootnoteCont | ( | const SwFootnoteContFrame * | pCont = nullptr | ) | const |
Check every Column for FootnoteContFrames.
Definition at line 2765 of file sectfrm.cxx.
References SwFrame::FindFootnoteBossFrame(), SwFrame::GetNext(), SwLayoutFrame::IsAnLower(), SwFrame::IsColumnFrame(), SwFrame::IsFootnoteContFrame(), SwFrame::IsLayoutFrame(), and SwLayoutFrame::Lower().
Referenced by CalcFootnoteContent(), InvalidateFootnotePos(), IsSuperfluous(), and ToMaximize().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 250 of file sectfrm.cxx.
References Cut_().
Referenced by MergeNext(), and SwFootnoteBossFrame::RearrangeFootnotes().
|
private |
Definition at line 255 of file sectfrm.cxx.
References Cut, SwLayoutFrame::Cut(), SwFrame::DestroyFrame(), SwFrame::FindPageFrame(), FootnoteInvalidation, SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetIndPrev(), SwFrame::GetNext(), SwFrame::GetPrev(), GetSection(), SwFrame::GetUpper(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::IsColLocked(), SwFrame::IsContentFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsInFootnote(), SwFrame::IsSctFrame(), SwLayoutFrame::Lower(), NONE, SwFrame::Prepare(), PROTOCOL, SwFrame::RemoveFromLayout(), SwFrame::SetCompletePaint(), SwRectFnSet::SetHeight(), SwFrame::SetRetouche(), SwRootFrame::SetSuperfluous(), SwFrame::Shrink(), and WidowsOrphans.
Referenced by Cut(), and DelEmpty().
void SwSectionFrame::DelEmpty | ( | bool | bRemove | ) |
Definition at line 186 of file sectfrm.cxx.
References Cut_(), FindMaster(), SwFrame::FindNextCnt(), SwFrame::FindPrevCnt(), GetFollow(), SwViewShell::GetLayout(), SwFrame::getRootFrame(), SwFrame::GetUpper(), SwRect::Height(), SwRootFrame::InsertEmptySct(), SwViewShell::InvalidateAccessibleParaFlowRelation(), SwFrame::InvalidateSize(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsColLocked(), SwFlowFrame::IsFollow(), m_pSection, SwRootFrame::RemoveFromList(), and SwFlowFrame::SetFollow().
Referenced by SwContentFrame::Cut(), SwTabFrame::Cut(), Format(), InsertCnt_(), MakeAll(), MakeFrames(), SwFlowFrame::MoveBwd(), MoveContentAndDelete(), and SwFlowFrame::MoveSubTree().
|
overrideprivatevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 149 of file sectfrm.cxx.
References DelFollow, DelMaster, SwLayoutFrame::DestroyImpl(), FindMaster(), GetFollow(), SwLayoutFrame::GetFormat(), SwFrame::getRootFrame(), SwFlowFrame::HasFollow(), SwFrame::InvalidateSize(), SwFlowFrame::IsFollow(), SwFrame::IsInDtor(), PROTOCOL, SwRootFrame::RemoveFromList(), Section, and SwFlowFrame::SetFollow().
|
overridevirtual |
Reimplemented from SwFrame.
Definition at line 554 of file xmldump.cxx.
References SwFrame::dumpAsXmlAttributes(), GetFollow(), SwFrameAreaDefinition::GetFrameId(), SwFlowFrame::HasFollow(), and SwFlowFrame::m_pPrecede.
SwContentFrame * SwSectionFrame::FindLastContent | ( | SwFindMode | nMode = SwFindMode::None | ) |
Definition at line 908 of file sectfrm.cxx.
References SwLayoutFrame::ContainsContent(), EndNote, FindMaster(), SwFrame::FindNext(), GetEndSectFormat(), GetFollow(), SwSection::GetFormat(), GetSection(), SwFlowFrame::HasFollow(), IsDescendantFrom(), IsEndnAtEnd(), SwFlowFrame::IsFollow(), SwFrame::IsSctFrame(), lcl_FindContentFrame(), SwLayoutFrame::Lower(), m_pSection, MyLast, and None.
Referenced by SwFlowFrame::CalcAddLowerSpaceAsLastInTableCell(), SwTextFrame::ConnectFootnote(), SwTabFrame::FindLastContentOrTable(), SwFrame::FindPrevCnt_(), SwFrame::GetPrevFootnoteLeaf(), SwFlowFrame::GetPrevFrameForUpperSpaceCalc_(), SwEndnoter::InsertEndnotes(), lcl_InvalidateSection(), and SwFlowFrame::MoveBwd().
|
inline |
Definition at line 166 of file sectfrm.hxx.
Referenced by CheckClipping().
SwSectionFrame * SwSectionFrame::FindMaster | ( | ) | const |
Definition at line 753 of file flowfrm.cxx.
References SwSection::GetFormat(), SwFlowFrame::IsFollow(), m_pSection, and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by DelEmpty(), DestroyImpl(), FindLastContent(), SwFrame::FindPrevCnt_(), SwFrame::GetPrevFootnoteLeaf(), and SwSectionFrame().
|
overrideprivatevirtual |
"formats" the frame; Frame and PrtArea
Reimplemented from SwLayoutFrame.
Definition at line 1333 of file sectfrm.cxx.
References SwRectFnSet::AddBottom(), SwLayoutFrame::AdjustColumns(), AdjustSizeWithoutFormatting, SwFrame::Calc(), SwFlowFrame::CalcContent, CalcFootnoteContent(), SwFlowFrame::CalcUpperSpace(), CheckClipping(), ColLock(), ColUnlock(), CONSIDER_WRAP_ON_OBJECT_POSITION, SwLayoutFrame::ContainsAny(), SwLayoutFrame::ContainsContent(), DelEmpty(), SwFrame::FindFlyFrame(), SwLayoutFrame::FormatWidthCols(), SwRectFnSet::GetBottom(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), GetFollow(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SwRectFnSet::GetHeight(), SvxLRSpaceItem::GetLeft(), SwFormat::GetLRSpace(), SwFrame::GetNext(), SwRectFnSet::GetPrtBottom(), SvxLRSpaceItem::GetRight(), SwFrame::getRootFrame(), SwRectFnSet::GetTopMargin(), SwFrame::GetUpper(), GetValue, SwViewShell::GetViewOptions(), SwRectFnSet::GetWidth(), SwFrame::Grow(), SwFlowFrame::HasFollow(), SwLayoutFrame::InnerHeight(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePos_(), SwFrame::InvalidateSize_(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), IsContentLocked(), SwFrame::IsFooterFrame(), SwFrameAreaDefinition::isFrameAreaDefinitionValid(), SwFrameAreaDefinition::isFrameAreaSizeValid(), SwFrameAreaDefinition::isFramePrintAreaValid(), SwFrame::IsInFly(), SwFrame::IsTextFrame(), SwFlowFrame::IsUndersized(), SwLayoutFrame::Lower(), SwLayoutFrame::m_pLower, m_pSection, MINLAY, NONE, SwFrame::Prepare(), PrintArea, PROTOCOL, PROTOCOL_ENTER, SwFrameAreaDefinition::setFrameAreaPositionValid(), SwFrameAreaDefinition::setFrameAreaSizeValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), SwFrame::SetRetouche(), SwRectFnSet::SetWidth(), SwRectFnSet::SetXMargins(), SwRectFnSet::SetYMargins(), SwFrame::Shrink(), Size, ToMaximize(), SwRectFnSet::YDiff(), and SwRectFnSet::YInc().
|
inline |
Definition at line 134 of file sectfrm.hxx.
References GetEndSectFormat_(), and IsEndnAtEnd().
Referenced by FindLastContent(), and SwFootnoteBossFrame::InsertFootnote().
|
private |
Definition at line 865 of file sectfrm.cxx.
References SwFormat::GetEndAtTextEnd(), SwSection::GetFormat(), SwClient::GetRegisteredIn(), SwFormatFootnoteEndAtTextEnd::IsAtEnd(), and m_pSection.
Referenced by GetEndSectFormat().
|
inline |
Definition at line 158 of file sectfrm.hxx.
References SwFlowFrame::GetFollow().
Referenced by CalcContent(), SwTextFrame::CalcFollow(), SwFlowFrame::CalcUpperSpace(), CheckClipping(), DelEmpty(), DestroyImpl(), dumpAsXmlAttributes(), FindLastContent(), SwFrame::FindNextCnt_(), Format(), SwFrame::GetNextSctLeaf(), SwFrame::ImplInvalidateNextPos(), InsertCnt_(), SwFrame::InvalidateNextPrtArea(), lcl_ColumnRefresh(), lcl_FindEndnote(), lcl_InvalidateSection(), lcl_NextFootnoteBoss(), MakeAll(), SwTabFrame::MakeAll(), MergeNext(), SwContentFrame::MoveFootnoteCntFwd(), Paste(), SplitSect(), SwSectionFrame(), and ToMaximize().
|
inline |
Definition at line 162 of file sectfrm.hxx.
References SwFlowFrame::GetFollow().
|
inline |
Definition at line 82 of file sectfrm.hxx.
References m_pSection.
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), CalcEndAtEndFlag(), CalcFootnoteAtEndFlag(), SwTextFrame::ConnectFootnote(), Cut_(), SwRootFrame::DeleteEmptySct_(), SwFrame::dumpAsXmlAttributes(), FindLastContent(), SwEditShell::GetAnySection(), SwAccessibleDocument::getExtendedAttributes(), SwFrame::GetNextSctLeaf(), Grow_(), InsertCnt_(), SwFlyFrame::Invalidate_(), IsBalancedSection(), SwCursorShell::IsCursorReadonly(), SwFlowFrame::IsKeep(), lcl_FindEditInReadonlyFrame(), lcl_NoPrev(), MergeNext(), SwFlowFrame::MoveBwd(), SwFlowFrame::MoveFwd(), SwNode2LayImpl::NextFrame(), Paste(), Shrink_(), and SplitSect().
|
inline |
Definition at line 83 of file sectfrm.hxx.
References m_pSection.
Definition at line 2153 of file sectfrm.cxx.
References SwRectFnSet::AddBottom(), CONSIDER_WRAP_ON_OBJECT_POSITION, ePos, SwFrame::FindFlyFrame(), SwFrame::GetAttrSet(), SwAttrSet::GetBackground(), SwFormat::GetBalancedColumns(), SwRectFnSet::GetBottom(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwSection::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SvxBrushItem::GetGraphicPos(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::getRootFrame(), GetSection(), SwFrame::GetUpper(), SfxBoolItem::GetValue(), SwViewShell::GetViewOptions(), GPOS_RT, GPOS_TILED, SwFrame::Grow(), SwFrame::HasFixSize(), SwFrame::InvalidateNextPos(), SwFrame::InvalidatePage(), SwFrame::InvalidateSize(), SwFrame::InvalidateSize_(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsHeaderFrame(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFlyFrame::IsLocked(), SwFrame::IsSctFrame(), lcl_DeadLine(), LONG_MAX, SwLayoutFrame::Lower(), o3tl::saturating_add(), SwFrame::SetCompletePaint(), SwRectFnSet::SetHeight(), and SwRectFnSet::YDiff().
bool SwSectionFrame::Growable | ( | ) | const |
checks whether the SectionFrame is still able to grow, as case may be the environment has to be asked
Definition at line 2143 of file sectfrm.cxx.
References SwRectFnSet::GetBottom(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetUpper(), SwFrame::Grow(), lcl_DeadLine(), LONG_MAX, and SwRectFnSet::YDiff().
Referenced by SwTextFrame::ConnectFootnote(), SwFootnoteContFrame::GrowFrame(), SwContentFrame::MakeAll(), and MoveAllowed().
bool SwSectionFrame::HasToBreak | ( | const SwFrame * | pFrame | ) | const |
|* Here it's decided whether the this-SectionFrame should break up |* the passed (Section)frm (or not).
|* Initially, all superior sections are broken up. Later on that could |* be made configurable. |
Definition at line 443 of file sectfrm.cxx.
References SwLayoutFrame::GetFormat(), SwSectionFormat::GetParent(), and SwFrame::IsSctFrame().
Referenced by Paste().
Definition at line 117 of file sectfrm.cxx.
References assert(), SwLayoutFrame::ChgColumns(), SwFormat::GetCol(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFramePrintArea(), SvxLRSpaceItem::GetLeft(), SwFormat::GetLRSpace(), SwFormatCol::GetNumCols(), SvxLRSpaceItem::GetRight(), SwFrame::GetUpper(), SwRectFnSet::GetWidth(), IsAnyNoteAtEnd(), SwFrame::IsInFootnote(), SwLayoutFrame::Lower(), SwRectFnSet::SetHeight(), SwRectFnSet::SetLeft(), and SwRectFnSet::SetWidth().
Referenced by SwLayHelper::CheckInsert(), SwFrame::GetNextSctLeaf(), SwFrame::GetPrevSctLeaf(), SwFlowFrame::MoveBwd(), MoveContentAndDelete(), Paste(), and SplitSect().
void SwSectionFrame::InvalidateFootnotePos | ( | ) |
Definition at line 2794 of file sectfrm.cxx.
References SwLayoutFrame::ContainsContent(), ContainsFootnoteCont(), and SwFrame::InvalidatePos_().
|
inline |
Definition at line 147 of file sectfrm.hxx.
References m_bEndnAtEnd.
Referenced by CheckClipping(), and Init().
bool SwSectionFrame::IsBalancedSection | ( | ) | const |
Definition at line 2911 of file sectfrm.cxx.
References SwFormat::GetBalancedColumns(), SwSection::GetFormat(), SwFrame::GetNext(), GetSection(), SfxBoolItem::GetValue(), SwFrame::IsColumnFrame(), and SwLayoutFrame::Lower().
Referenced by SwFrame::IsInBalancedSection().
|
inline |
Definition at line 150 of file sectfrm.hxx.
References m_bContentLock.
Referenced by CheckClipping(), Format(), and SwFlowFrame::MoveSubTree().
bool SwSectionFrame::IsDescendantFrom | ( | const SwSectionFormat * | pSect | ) | const |
Definition at line 2512 of file sectfrm.cxx.
References SwSection::GetFormat(), SwClient::GetRegisteredIn(), and m_pSection.
Referenced by FindLastContent(), and SwFootnoteBossFrame::InsertFootnote().
|
inline |
Definition at line 146 of file sectfrm.hxx.
References m_bEndnAtEnd.
Referenced by SwFrame::AdjustNeighbourhood(), SwFootnoteBossFrame::AppendFootnote(), CalcContent(), CheckClipping(), SwTextFrame::ConnectFootnote(), FindLastContent(), SwFrame::FindNext_(), GetEndSectFormat(), SwFrame::GetPrevFootnoteLeaf(), SwFootnoteBossFrame::GetVarSpace(), SwFlowFrame::MoveBwd(), ToMaximize(), and UpdateAttr_().
|
private |
Definition at line 2550 of file sectfrm.cxx.
References SwFormat::GetEndAtTextEnd(), SwSection::GetFormat(), SwFormatFootnoteEndAtTextEnd::IsAtEnd(), and m_pSection.
Referenced by UpdateAttr_().
|
inline |
Definition at line 145 of file sectfrm.hxx.
References m_bFootnoteAtEnd.
Referenced by SwFootnoteBossFrame::AppendFootnote(), SwTextFrame::ConnectFootnote(), SwFrame::FindFootnoteBossFrame(), SwFootnoteBossFrame::InsertFootnote(), MoveAllowed(), SwLayoutFrame::MoveLowerFootnotes(), SwTextFormatter::NewFootnotePortion(), SwTextFrame::RemoveFootnote(), ToMaximize(), and UpdateAttr_().
|
inline |
Definition at line 155 of file sectfrm.hxx.
References m_bFootnoteLock.
Referenced by CalcContent(), SwFrame::GetPrevFootnoteLeaf(), and SwContentFrame::ShouldBwdMoved().
|
inline |
Definition at line 152 of file sectfrm.hxx.
References m_bOwnFootnoteNum.
|
inlineprivate |
Definition at line 50 of file sectfrm.hxx.
References SwLayoutFrame::ContainsAny(), and ContainsFootnoteCont().
Referenced by MakeAll(), and ToMaximize().
|
overrideprivatevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 769 of file sectfrm.cxx.
References SwFrame::Calc(), StackHack::Count(), DelEmpty(), SwViewOption::getBrowseMode(), SwRootFrame::GetCurrShell(), GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::getRootFrame(), SwFrame::GetUpper(), SwViewShell::GetViewOptions(), SwFrame::Grow(), Height, SwFrame::IsColLocked(), SwFrameAreaDefinition::isFrameAreaPositionValid(), SwFrame::IsInTab(), SwFlowFrame::IsJoinLocked(), StackHack::IsLocked(), IsSuperfluous(), SwFlowFrame::LockJoin(), LONG_MAX, SwLayoutFrame::Lower(), m_pSection, SwLayoutFrame::MakeAll(), SwRectFnSet::MakePos(), MergeNext(), SwFrameAreaDefinition::setFrameAreaPositionValid(), SwFrameAreaDefinition::setFrameAreaSizeValid(), SwFrameAreaDefinition::setFramePrintAreaValid(), ToMaximize(), and SwFlowFrame::UnlockJoin().
void SwSectionFrame::MergeNext | ( | SwSectionFrame * | pNxt | ) |
|* Merges two SectionFrames, in case it's about the same section.
|* This can be necessary when a (sub)section is deleted that had |* divided another part into two. |
Definition at line 466 of file sectfrm.cxx.
References Cut(), SwFrame::DestroyFrame(), GetFollow(), SwFrame::GetNext(), GetSection(), SwFrame::InvalidateSize(), SwFrame::IsColumnFrame(), SwFrame::IsDeleteForbidden(), SwFlowFrame::IsJoinLocked(), SwLayoutFrame::Lower(), Merge, PROTOCOL, SwLayoutFrame::RestoreContent, SwLayoutFrame::SaveContent, Section, and SwFlowFrame::SetFollow().
Referenced by MakeAll(), MakeFrames(), and MoveContentAndDelete().
bool SwSectionFrame::MoveAllowed | ( | const SwFrame * | pFrame | ) | const |
Definition at line 2391 of file sectfrm.cxx.
References SwFrame::FindFooterOrHeader(), SwFrame::FindFootnoteFrame(), SwFrame::FindSctFrame(), SwFrame::GetIndPrev(), SwFrame::GetNext(), SwFrame::GetNextLeaf(), SwFrame::GetPrev(), SwFrame::GetUpper(), Growable(), SwFlowFrame::HasFollow(), SwFrame::IsColBodyFrame(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), IsFootnoteAtEnd(), SwFrame::IsInDocBody(), SwFrame::IsInFly(), SwFrame::IsInFootnote(), SwFrame::IsInSct(), SwLayoutFrame::Lower(), MAKEPAGE_NONE, and MoveAllowed().
Referenced by MoveAllowed(), SwTextFrameBreak::SwTextFrameBreak(), and WidowsAndOrphans::WidowsAndOrphans().
|
static |
Definition at line 664 of file sectfrm.cxx.
References ColLock(), ColUnlock(), DelEmpty(), SwFrame::DestroyFrame(), SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), SwLayoutFrame::GetFormat(), SwLayoutFrame::GetLastLower(), SwFrame::GetPrev(), SwSectionFormat::GetSection(), SwFrame::GetUpper(), Init(), SwFrame::InsertBehind(), SwPageFrame::InvalidateContent(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsFootnoteFrame(), SwFrame::IsInSct(), SwFrame::IsInTab(), SwFlowFrame::IsJoinLocked(), lcl_GetNextContentFrame(), lcl_InvalidateInfFlags(), SwLayoutFrame::Lower(), SwRectFnSet::MakePos(), MergeNext(), SwLayoutFrame::RestoreContent, SwLayoutFrame::SaveContent, and SwSectionFrame().
Referenced by Paste(), and SwClientNotify().
|
overridevirtual |
Reimplemented from SwLayoutFrame.
Definition at line 6784 of file paintfrm.cxx.
References SwFrame::IsColumnFrame(), SwLayoutFrame::Lower(), and SwLayoutFrame::PaintSubsidiaryLines().
Reimplemented from SwLayoutFrame.
Definition at line 337 of file sectfrm.cxx.
References SwFrame::FindPageFrame(), SwFrame::FindSctFrame(), SwFrame::FindTabFrame(), GetFollow(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), SwFrame::GetPrev(), GetSection(), SwFrame::GetUpper(), SwFrame::Grow(), HasToBreak(), Init(), SwFrame::InsertGroupBefore(), SwFrame::InvalidateAll_(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos_(), SwFrame::InvalidatePrt_(), SwFrame::InvalidateSize(), SwFrame::InvalidateSize_(), SwLayoutFrame::IsAnLower(), SwFrame::IsColBodyFrame(), SwFrame::IsContentFrame(), SwFlowFrame::IsFollow(), SwFrame::IsLayoutFrame(), SwLayoutFrame::Lower(), SwRectFnSet::MakePos(), MoveContentAndDelete(), NONE, Paste, PROTOCOL, SwLayoutFrame::RestoreContent, SwLayoutFrame::SaveContent, SwFlowFrame::SetFollow(), and SwSectionFrame().
Referenced by SwFlowFrame::MoveBwd().
|
inline |
Definition at line 149 of file sectfrm.hxx.
Referenced by SwFlowFrame::MoveSubTree().
|
inline |
Definition at line 154 of file sectfrm.hxx.
Referenced by CalcContent().
|
overrideprivatevirtual |
Implements SwFlowFrame.
Definition at line 859 of file sectfrm.cxx.
Definition at line 2288 of file sectfrm.cxx.
References SwRectFnSet::AddBottom(), ePos, SwFrame::GetAttrSet(), SwAttrSet::GetBackground(), SwLayoutFrame::GetFormat(), SwFrameAreaDefinition::getFrameArea(), SwFrameAreaDefinition::getFramePrintArea(), SvxBrushItem::GetGraphicPos(), SwRectFnSet::GetHeight(), SwFrame::GetNext(), GetSection(), SwFrame::GetUpper(), GetValue, GPOS_RT, GPOS_TILED, SwFrame::HasFixSize(), SwFrame::InvalidatePage(), SwFrame::InvalidatePos(), SwFrame::InvalidateSize(), SwFrame::InvalidateSize_(), SwFrame::IsColLocked(), SwFrame::IsColumnFrame(), SwFrame::IsFooterFrame(), SwFrame::IsSctFrame(), SwLayoutFrame::Lower(), SwFrame::SetCompletePaint(), SwRectFnSet::SetHeight(), SwFrame::SetRetouche(), SwFrame::Shrink(), and ToMaximize().
void SwSectionFrame::SimpleFormat | ( | ) |
Definition at line 1163 of file sectfrm.cxx.
References SwRectFnSet::BottomDist(), SwFlowFrame::CalcUpperSpace(), SwFrameAreaDefinition::getFrameArea(), SwRectFnSet::GetHeight(), SwFrame::GetPrev(), SwRectFnSet::GetPrtBottom(), SwFrame::GetUpper(), SwFrame::IsColLocked(), SwFlowFrame::IsJoinLocked(), lcl_ColumnRefresh(), SwFlowFrame::LockJoin(), SwRectFnSet::MakePos(), SwRectFnSet::SetBottom(), SwFrameAreaDefinition::setFrameAreaPositionValid(), SwRectFnSet::SetYMargins(), and SwFlowFrame::UnlockJoin().
Referenced by SwTextFrame::CalcFollow(), SwFrame::GetNextSctLeaf(), SwFrame::GetPrevSctLeaf(), SwFlowFrame::MoveBwd(), SwFlowFrame::MoveFwd(), and SwSectionFrame().
bool SwSectionFrame::SplitSect | ( | SwFrame * | pFrame, |
bool | bApres | ||
) |
Splits the SectionFrame surrounding the pFrame up in two parts: pFrame and the start of the 2nd part.
|* Divides a SectionFrame into two parts.
The second one starts with the |* passed frame. |* This is required when inserting an inner section, because the MoveFwd |* cannot have the desired effect within a frame or a table cell. |
Definition at line 509 of file sectfrm.cxx.
References assert(), SwFrame::FindNext(), SwFrame::FindPrev(), SwFrame::FindSctFrame(), GetFollow(), GetSection(), SwFrame::GetUpper(), SwFlowFrame::HasFollow(), Init(), SwFrame::InsertBehind(), SwFrame::InvalidateSize_(), SwFrame::IsLayoutFrame(), SwLayoutFrame::Lower(), SwRectFnSet::MakePos(), SwLayoutFrame::RestoreContent, SwLayoutFrame::SaveContent, SwFlowFrame::SetFollow(), and SwSectionFrame().
Referenced by MakeFrames().
|
overrideprivatevirtual |
Reimplemented from SwFrame.
Definition at line 2569 of file sectfrm.cxx.
References SwAttrSetChg::Count(), SwFrame::GetDep(), SwFrame::InvalidateSize(), MoveContentAndDelete(), RES_ATTRSET_CHG(), SwFrame::SetCompletePaint(), SwFrame::SwClientNotify(), and UpdateAttr_().
bool SwSectionFrame::ToMaximize | ( | bool | bCheckFollow | ) | const |
A sectionfrm has to maximize, if he has a follow or a ftncontainer at the end of the page.
A follow or a ftncontainer at the end of the page causes a maximal Size of the sectionframe.
A superfluous follow will be ignored, if bCheckFollow is set.
Definition at line 2736 of file sectfrm.cxx.
References ContainsFootnoteCont(), SwFootnoteContFrame::FindFootNote(), GetFollow(), SwFlowFrame::HasFollow(), IsEndnAtEnd(), IsFootnoteAtEnd(), and IsSuperfluous().
Referenced by CalcMinDiff(), SwFootnoteFrame::Cut(), Format(), SwFootnoteContFrame::GrowFrame(), MakeAll(), Shrink_(), and ToMaximize_().
|
inline |
Definition at line 110 of file sectfrm.hxx.
References ToMaximize().
SwTwips SwSectionFrame::Undersize | ( | ) |
Returns the size delta that the section would like to be greater if it has undersized TextFrames in it.
The return value is > 0 for undersized Frames, or 0 otherwise.
If necessary the undersized-flag is corrected. We need this in the FormatWidthCols to "deflate" columns there.
Definition at line 2811 of file sectfrm.cxx.
References CalcUndersize(), and SwFlowFrame::m_bUndersized.
Referenced by CheckClipping().
|
private |
Definition at line 2615 of file sectfrm.cxx.
References assert(), CalcEndAtEndFlag(), CalcFootnoteAtEndFlag(), SwFrame::CheckDirChange(), SwLayoutFrame::ChgColumns(), SwAttrSetChg::ClearItem(), SwFormat::GetCol(), SwRootFrame::GetCurrShell(), SwLayoutFrame::GetFormat(), SwViewShell::GetLayout(), SwFrame::GetNext(), SwFrame::getRootFrame(), SwViewShell::Imp(), SwFormatCol::Init(), SwViewShellImp::InvalidateAccessibleEditableState(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsColumnFrame(), IsEndnAtEnd(), IsEndnoteAtMyEnd(), IsFootnoteAtEnd(), SwFrame::IsInFootnote(), SwLayoutFrame::Lower(), RES_COL(), RES_COLUMNBALANCE(), RES_END_AT_TXTEND(), RES_FMT_CHG(), RES_FRAMEDIR(), RES_FTN_AT_TXTEND(), RES_PROTECT(), SwFrame::SetDerivedR2L(), SwFrame::SwClientNotify(), and SfxPoolItem::Which().
Referenced by SwClientNotify().
|
private |
Definition at line 41 of file sectfrm.hxx.
Referenced by IsContentLocked().
|
private |
Definition at line 40 of file sectfrm.hxx.
Referenced by CalcEndAtEndFlag(), IsAnyNoteAtEnd(), and IsEndnAtEnd().
|
private |
Definition at line 39 of file sectfrm.hxx.
Referenced by CalcFootnoteAtEndFlag(), and IsFootnoteAtEnd().
|
private |
Definition at line 43 of file sectfrm.hxx.
Referenced by IsFootnoteLock().
|
private |
Definition at line 42 of file sectfrm.hxx.
Referenced by CalcFootnoteAtEndFlag(), and IsOwnFootnoteNum().
|
private |
Definition at line 38 of file sectfrm.hxx.
Referenced by DelEmpty(), FindLastContent(), FindMaster(), Format(), GetEndSectFormat_(), GetSection(), IsDescendantFrom(), IsEndnoteAtMyEnd(), and MakeAll().