LibreOffice Module sw (master) 1
|
#include <objectformatterlayfrm.hxx>
Public Member Functions | |
virtual | ~SwObjectFormatterLayFrame () override |
virtual bool | DoFormatObj (SwAnchoredObject &_rAnchoredObj, const bool _bCheckForMovedFwd=false) override |
intrinsic method to format a certain floating screen object More... | |
virtual bool | DoFormatObjs () override |
intrinsic method to format all floating screen objects More... | |
Public Member Functions inherited from SwObjectFormatter | |
virtual | ~SwObjectFormatter () |
virtual bool | DoFormatObj (SwAnchoredObject &_rAnchoredObj, const bool _bCheckForMovedFwd=false)=0 |
intrinsic method to format a certain floating screen object More... | |
virtual bool | DoFormatObjs ()=0 |
intrinsic method to format all floating screen objects More... | |
Static Public Member Functions | |
static std::unique_ptr< SwObjectFormatterLayFrame > | CreateObjFormatter (SwLayoutFrame &_rAnchorLayFrame, const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction) |
Static Public Member Functions inherited from SwObjectFormatter | |
static bool | FormatObjsAtFrame (SwFrame &_rAnchorFrame, const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction=nullptr) |
method to format all floating screen objects at the given anchor frame More... | |
static bool | FormatObj (SwAnchoredObject &_rAnchoredObj, SwFrame *_pAnchorFrame=nullptr, const SwPageFrame *_pPageFrame=nullptr) |
method to format a given floating screen object More... | |
Protected Member Functions | |
virtual SwFrame & | GetAnchorFrame () override |
Protected Member Functions inherited from SwObjectFormatter | |
SwObjectFormatter (const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction, const bool _bCollectPgNumOfAnchors=false) | |
virtual SwFrame & | GetAnchorFrame ()=0 |
const SwPageFrame & | GetPageFrame () const |
bool | ConsiderWrapOnObjPos () const |
SwLayAction * | GetLayAction () |
void | FormatObj_ (SwAnchoredObject &_rAnchoredObj) |
performs the intrinsic format of a given floating screen object and its content. More... | |
bool | FormatObjsAtFrame_ (SwTextFrame *_pMasterTextFrame=nullptr) |
invokes the intrinsic format method for all floating screen objects, anchored at anchor frame on the given page frame More... | |
SwAnchoredObject * | GetCollectedObj (const sal_uInt32 _nIndex) |
accessor to collected anchored object More... | |
sal_uInt32 | GetPgNumOfCollected (const sal_uInt32 _nIndex) |
accessor to 'anchor' page number of collected anchored object More... | |
bool | IsCollectedAnchoredAtMaster (const sal_uInt32 _nIndex) |
accessor to 'anchor' type of collected anchored object More... | |
sal_uInt32 | CountOfCollected () |
accessor to total number of collected anchored objects More... | |
Private Member Functions | |
SwObjectFormatterLayFrame (SwLayoutFrame &_rAnchorLayFrame, const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction) | |
bool | AdditionalFormatObjsOnPage () |
method to format all anchored objects, which are registered at the page frame, whose 'anchor' isn't on this page frame and whose anchor frame is valid. More... | |
Private Attributes | |
SwLayoutFrame & | mrAnchorLayFrame |
Additional Inherited Members | |
Static Protected Member Functions inherited from SwObjectFormatter | |
static std::unique_ptr< SwObjectFormatter > | CreateObjFormatter (SwFrame &_rAnchorFrame, const SwPageFrame &_rPageFrame, SwLayAction *_pLayAction) |
Definition at line 28 of file objectformatterlayfrm.hxx.
|
private |
Definition at line 28 of file objectformatterlayfrm.cxx.
Referenced by CreateObjFormatter().
|
overridevirtual |
Definition at line 36 of file objectformatterlayfrm.cxx.
|
private |
method to format all anchored objects, which are registered at the page frame, whose 'anchor' isn't on this page frame and whose anchor frame is valid.
OD 2004-07-02 #i28701#
OD 2004-07-02 #i28701#
Definition at line 106 of file objectformatterlayfrm.cxx.
References DoFormatObj(), SwFrame::FindFlyFrame(), SwAnchoredObject::FindPageFrameOfAnchor(), SwAnchoredObject::GetAnchorFrame(), GetAnchorFrame(), SwObjectFormatter::GetLayAction(), SwPageFrame::GetPhyPageNum(), SwPageFrame::GetSortedObjs(), i, SwSortedObjs::ListPosOf(), size, and SwSortedObjs::size().
Referenced by DoFormatObjs().
|
static |
Definition at line 40 of file objectformatterlayfrm.cxx.
References SwFrame::GetDrawObjs(), SwPageFrame::GetSortedObjs(), SwFrame::IsFlyFrame(), SwFrame::IsPageFrame(), and SwObjectFormatterLayFrame().
Referenced by SwObjectFormatter::CreateObjFormatter().
|
overridevirtual |
intrinsic method to format a certain floating screen object
#i40147# - add parameter <_bCheckForMovedFwd>
_rAnchoredObj | input parameter - anchored object, which have to be formatted. |
_bCheckForMovedFwd | input parameter - boolean indicating, that after a successful format of the anchored object the anchor frame has to be checked, if it would moved forward due to the positioning of the anchored object. default value: false value only considered, if wrapping style influence has to be considered for the positioning of the anchored object. |
Implements SwObjectFormatter.
Definition at line 74 of file objectformatterlayfrm.cxx.
References SwObjectFormatter::FormatObj_(), SwObjectFormatter::GetLayAction(), and SwLayAction::IsAgain().
Referenced by AdditionalFormatObjsOnPage().
|
overridevirtual |
intrinsic method to format all floating screen objects
Implements SwObjectFormatter.
Definition at line 84 of file objectformatterlayfrm.cxx.
References AdditionalFormatObjsOnPage(), SwObjectFormatter::FormatObjsAtFrame_(), and GetAnchorFrame().
|
overrideprotectedvirtual |
Implements SwObjectFormatter.
Definition at line 67 of file objectformatterlayfrm.cxx.
References mrAnchorLayFrame.
Referenced by AdditionalFormatObjsOnPage(), and DoFormatObjs().
|
private |
Definition at line 32 of file objectformatterlayfrm.hxx.
Referenced by GetAnchorFrame().