566
Enablers
dreamweaver.canDeleteSelection()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can delete the current selection. Depending on the window
that has focus, the deletion might occur in the Document window or the Site panel (on the
Macintosh, in an text field in a dialog box or floating panel).
Arguments
None.
Returns
A Boolean value:
true
if the opening and closing offsets for the selection are different, which
indicates that there is a selection;
false
if the offsets are the same, indicating that there is only
an insertion point.
dreamweaver.canExportCSS()
Availability
Dreamweaver 3.
Description
Checks whether Dreamweaver can perform an Export CSS Styles operation.
Arguments
None.
Returns
A Boolean value:
true
if the document contains any class styles that are defined in the
HEAD
section;
false
otherwise.
000_DW_API_Print.book Page 566 Wednesday, July 20, 2005 11:58 AM
Summary of Contents for DREAMWEAVER 8-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 16: ......
Page 28: ...28 The File I O API...
Page 38: ...38 The HTTP API...
Page 68: ...68 Flash Integration...
Page 100: ...100 The Database API...
Page 116: ...116 The JavaBeans API...
Page 144: ...144 The Source Control Integration API...
Page 146: ......
Page 254: ...254 Workspace...
Page 298: ...298 Site...
Page 354: ...354 Document...
Page 396: ...396 Page Content...
Page 488: ...488 Design...
Page 550: ...550 Code...