beautypg.com

Dom.canarrange(), Dom.canclipcopytext(), Dom.canclippaste() – Adobe Dreamweaver API Reference CS5 User Manual

Page 498

background image

493

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dom.canArrange()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Bring to Front or Move to Back operation.

Arguments
None.

Returns
A Boolean value that indicates whether a hotspot is selected.

dom.canClipCopyText()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Copy as Text operation.

Arguments
None.

Returns
A Boolean value:

true

if the opening and closing offsets of the selection are different;

false

otherwise, to indicate that

nothing has been selected.

dom.canClipPaste()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Paste operation.

Arguments
None.

Returns
A Boolean value:

true

if the Clipboard contains any content that can be pasted into Dreamweaver;

false

otherwise.