class SwFlyFrameFormat; class SwFormatAnchor; class SwFlyFrame;
// helper class to track change of anchor node of at-paragraph respectively // at-character anchored fly frames // if such a change happens, it has to be checked, if the count of the anchor // frames also change. if yes, a re-creation of the fly frames is needed: // - deletion of existing fly frames before the intrinsic anchor node changes // - creation of new fly frames after the intrinsic anchor node change. class SwHandleAnchorNodeChg
{ public: /** checks, if re-creation of fly frames for an anchor node change at the givenflyframeformatisnecessary,andperformsthefirstpart.
/** calls <SwFlyFrameFormat::MakeFrames>, if re-creation of fly frames is necessary. */
~SwHandleAnchorNodeChg();
private: // fly frame format, which is tracked for an anchor node change.
SwFlyFrameFormat& mrFlyFrameFormat; // internal flag, which indicates that the certain anchor node change occurs // and that re-creation of fly frames is necessary. bool mbAnchorNodeChanged;
/// If the fly frame has a comment, this points to the old comment anchor.
std::optional<SwPosition> moCommentAnchor;
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.