SetChangedFromPrev
TheSetChangedFromPrevmethod marks this draft as dirty.
void SetChangedFromPrev ();DISCUSSION
A draft is said to be dirty if it contains changes since it was last saved. This method lets you mark a draft as dirty when your part's content changes, so that the content changes will be saved.This method can be called only if this draft's current permissions provide write access.
Note that a draft cannot be marked clean after it has been marked dirty. However, you can call the
RemoveChangesmethod to remove all the changes from this draft.SEE ALSO
TheODDraft::ChangedFromPrevmethod (page 161).
TheODDraft::RemoveChangesmethod (page 176).
Listing 2-52 on page 117 in OpenDoc Cookbook.
"Making Content Changes Known" on page 307 in OpenDoc Programmer's Guide.
"Breaking and Cutting Links" on page 399 in OpenDoc Programmer's Guide.