Allows to store some document state used as reference for comparison.
virtual bool HasStoredDocumentState() const =0
Check if there is stored document state available.
virtual bool RestoreDocumentState()=0
Restore last stored document state.
virtual DocumentChangeFlag GetDocumentChangeFlag() const =0
Check if document state is the same as stored state.
DocumentChangeFlag
Flag indicating the relationship between current and stored document state.
@ DCF_DIFFERENT
Current document state differs from the stored one (has changes).
@ DCF_UNKNOWN
There is no information about document change (no state stored).
@ DCF_EQUAL
Current document state equals the stored one (no changes).
virtual bool StoreDocumentState()=0
Store state of the document.
Common interface for data model objects, which can be changed.
Contains the system independent basic implementations of Document/View design pattern.