User Guide

570 Enablers
dreamweaver.canRedo()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Redo operation in the current context.
Arguments
None.
Returns
A Boolean value that indicates whether any operations can be undone.
dreamweaver.canRevertDocument()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Revert (to the last-saved version) operation.
Arguments
documentObject
■ The documentObject argument is the object at the root of a document’s DOM tree (the
value that the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document is in an unsaved state and a saved
version of the document exists on a local drive.
dreamweaver.canSaveAll()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save All operation.
000_DW_API_Print.book Page 570 Wednesday, July 20, 2005 11:58 AM