User Guide

578 Enablers
Returns
A Boolean value: true if the selected style is editable; false otherwise.
dreamweaver.cssStylePalette.canEditStyleSheet()
Availability
Dreamweaver MX.
Description
Checks the current selection to see whether it contains style sheet elements that can be edited.
Arguments
None.
Returns
A Boolean value: true if the selection is a style sheet node or a style definition within a style
sheet node and the style sheet is neither hidden nor this document;
false if the selection is
hidden or in this document.
dreamweaver.cssStylePalette.canRenameSelected
Style()
Availability
Dreamweaver MX.
Description
Checks the current active document to see whether the selected style can be renamed.
Arguments
{ pane }
The pane argument, which is optional, is a string that specifies the pane of the Styles
Panel to which this function applies. Possible values are
"stylelist", which is the list of
styles in “All” mode;
"cascade", which is the list of applicable, relevant rules in “Current”
mode;
"summary", which is the list of properties for the current selection in “Current
mode; and
"ruleInspector", which is the editable list or grid of properties in “Current”
mode. The default value is
"stylelist".
Returns
A Boolean value: true if the selected style can be renames; false otherwise.
000_DW_API_Print.book Page 578 Wednesday, July 20, 2005 11:58 AM