User Guide

Enablers 447
dreamweaver.canSaveDocument()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save operation on the specified document.
Arguments
documentObject
The documentObject argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document has any unsaved changes.
dreamweaver.canSaveDocumentAsTemplate()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save As Template operation on the
specified document.
Arguments
documentObject
The documentObject argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document can be saved as a template.
dreamweaver.canSaveFrameset()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform a Save Frameset operation on the specified document.
Arguments
documentObject
The documentObject argument is the root of a document’s DOM (the same value that the
dreamweaver.getDocumentDOM() function returns).
Returns
A Boolean value that indicates whether the document is a frameset with unsaved changes.
000_DW_API_Print.book Page 447 Wednesday, August 20, 2003 9:14 AM