Type: info
         Title: new: css.document.XDocumentRecovery
     Posted by: frank.schoenh...@sun.com
      Affected: api
         TaskId: i65597
<http://www.openoffice.org/issues/show_bug.cgi?id=65597>
Effective from: CWS autorecovery
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/autorecovery>
    CWS status: new


*Summary*
--------
+ css.document.XDocumentRecovery
  {
    boolean wasModifiedSinceLastSave();
    void    storeToRecoveryFile(
        [in] string TargetLocation,
        [in] sequence< PropertyValue > MediaDescriptor );
    void    recoverFromFile(
        [in] string SourceLocation,
        [in] string SalvagedFile,
        [in] sequence<PropertyValue > MediaDescriptor );
  }


*Description*
-------------
css.document.XDocumentRecovery is a new interface, which makes the
process of session/emergency save, and document recovery, more
explicit. Instead of the save/recovery implementation re/using
existing interfaces like XStorable/XLoadable, it now completely relies
on XDocumentRecovery. This way, document implementations now know
whether they're stored/loaded "normally", or as part of a
session-save/recovery process, and can adjust/extend their behaviour
in the latter case.

Documents which do not implement this interface do not participate on
the document recovery process at all.

For more information, see the respective IDL documentation.


Send feedback to dev@api.openoffice.org


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

Reply via email to