:: com :: sun :: star :: chart2 ::

unpublished interface XUndoHelper
Description
An interface for storing frame::XModel objects for container undo.

Methods' Summary
getModelCloneForUndo call this before you change the xCurrentModel  
applyModelContent apply the content of xModelToCopyFrom to the XModel in xModelToChange  
Methods' Details
getModelCloneForUndo
::com::sun::star::frame::XModel
getModelCloneForUndo( [in] ::com::sun::star::frame::XModel  xModelBeforeChange );

Description
call this before you change the xCurrentModel
Returns
a clone of the current model that can later be used to restore the state of a changed model
applyModelContent
void
applyModelContent( [inout] ::com::sun::star::frame::XModel  xModelToChange,
[in] ::com::sun::star::frame::XModel  xModelToCopyFrom );

Description
apply the content of xModelToCopyFrom to the XModel in xModelToChange
Top of Page