To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=108739





------- Additional comments from a...@openoffice.org Fri Feb 26 12:54:03 +0000 
2010 -------
AW: I have now reduced the Anchor-Based methods

        //virtual void NbcSetRelativePos(const Point& rPnt);
        //virtual void SetRelativePos(const Point& rPnt);
        //virtual Point GetRelativePos() const;
        //void ImpSetAnchorPos(const Point& rPnt) { aAnchor=rPnt; }
        //virtual void NbcSetAnchorPos(const Point& rPnt);
        //virtual void SetAnchorPos(const Point& rPnt);
        //virtual Point& GetAnchorPos() const;

to a pair of 

    virtual void SetAnchorPos(const Point& rPnt);
    Point GetAnchorPos() const { return aAnchor; }

where the virtual is needed for group objects which assign the anchor to their
members (and to themselves, too).

Adaptions with deep analysises are through, build done and working. Adaptions
are needed in SW and SC.

SC used the anchor just for a hack (stored 0,1 in it as sign of page-anchored
object), moved that to a own ScFlag at SdrObject. There was another place which
used SetRelativePos, but since SC at no place ever set an anchor, this is
obsolete by chance.

SW uses the anchor a lot and there are quite some places to look at. Most of
them solve after analysis to a no-move (just anchor set), some of them to a
relative move. Adapted all of them, need to test thoroughly...

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@graphics.openoffice.org
For additional commands, e-mail: issues-h...@graphics.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to