beautypg.com

Dom.canclippastetext(), Dom.canconvertlayerstotable(), Dom.canconverttablestolayers() – Adobe Dreamweaver API Reference CS5 User Manual

Page 499

background image

494

DREAMWEAVER API REFERENCE

Enablers

Last updated 8/27/2013

dom.canClipPasteText()

Availability
Dreamweaver 3.

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

Arguments
None.

Returns
A Boolean value:

true

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

false

otherwise.

dom.canConvertLayersToTable()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Convert Layers to Table operation.

Arguments
None.

Returns
A Boolean value:

true

if all the content in the

BODY

section of the document is contained within layers;

false

otherwise.

dom.canConvertTablesToLayers()

Availability
Dreamweaver 3.

Description
Checks whether Dreamweaver can perform a Convert Tables to Layers operation.

Arguments
None.

Returns
A Boolean value:

true

if all the content in the

BODY

section of the document is contained within tables, and the

document is not based on a template;

false

otherwise.