Re: commit: Some way towards fixing document history bugs.

From: Tomas Frydrych (tomasfrydrych_at_yahoo.co.uk)
Date: Thu Apr 15 2004 - 09:08:07 EDT

  • Next message: Hubert Figuiere: "Commit (STABLE): Fix 6580."

    > Before now inserting a table or a frame would crash abiword.
    > Now you just can't change any properties.

    In order for changes to attrs/props to be applied to an object, the
    attrs/props contained inside a revision attribute need to be
    overlayed over the normal attrs/props. For any objects derrived from
    fl_Layout this happens automatically if the object uses
    fl_Layout::getAP() to trieve its AP. For runs, the same is acchieved
    by using getSpanAP() and getBlockAP() (which resolves eventually to
    fl_Layout::getAP() and getSpanAP().

    Any objects that access the AP directly throught the PT will get the
    correct attrs/props.

    Tomas



    This archive was generated by hypermail 2.1.4 : Thu Apr 15 2004 - 09:12:37 EDT