![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 446](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554446.webp)
446
Chapter 19: 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.
Arguments
None.
Returns
A Boolean value that indicates whether one or more unsaved documents are open.
000_DW_API_Print.book Page 446 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...