class SwFrame; // #i26945# class SwTextFrame; class SwLayoutFrame; class SwPageFrame; class SwAnchoredObject; class SwLayAction; // OD 2004-10-04 #i26945# class SwPageNumAndTypeOfAnchors;
// #i28701# // Format floating screen objects, which are anchored at the given anchor frame // and registered at the given page frame.
class SwObjectFormatter
{ private: // page frame, at which the floating screen objects are registered. const SwPageFrame& mrPageFrame;
// value of document compatibility option 'Consider wrapping style on // object positioning' constbool mbConsiderWrapOnObjPos;
// layout action calling the format of the floating screen objects
SwLayAction* mpLayAction;
// data structure to collect page number of object's 'anchor' // #i26945#
std::unique_ptr<SwPageNumAndTypeOfAnchors> mpPgNumAndTypeOfAnchors;
/** helper method for method <FormatObj_(..)> - performs the intrinsic formatofthelayoutofthegivenlayoutframeandallitslower layoutframes.
/** intrinsic method to format all floating screen objects
*/ virtualbool DoFormatObjs() = 0;
/** method to format all floating screen objects at the given anchor frame
*/ staticbool FormatObjsAtFrame( SwFrame& _rAnchorFrame, const SwPageFrame& _rPageFrame,
SwLayAction* _pLayAction = nullptr );
/** method to format a given floating screen object
*/ staticbool FormatObj( SwAnchoredObject& _rAnchoredObj,
SwFrame* _pAnchorFrame = nullptr, const SwPageFrame* _pPageFrame = nullptr,
SwLayAction* pLayAction = nullptr );
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.