![MACROMEDIA DREAMWEAVER MX 2004-DREAMWEAVER API Reference Download Page 393](http://html1.mh-extra.com/html/macromedia/dreamweaver-mx-2004-dreamweaver-api/dreamweaver-mx-2004-dreamweaver-api_reference_3336554393.webp)
General editing functions
393
dom.getTextAlignment()
Availability
Dreamweaver 3.
Description
Gets the alignment of the block that contains the selection.
Arguments
None.
Returns
A string that contains the value of the
ALIGN
attribute for the tag that is associated with the block
or an empty string if the
ALIGN
attribute is not set for the tag. This value always returns in
lowercase letters.
dom.getTextFormat()
Availability
Dreamweaver 3.
Description
Gets the block format of the selected text.
Arguments
None.
Returns
A string that contains the block tag that is associated with the text (for example,
"p"
,
"h1"
,
"pre"
, and so on) or an empty string if no block tag is associated with the selection. This value
always returns in lowercase letters.
dom.hasCharacterMarkup()
Availability
Dreamweaver 3.
Description
Checks whether the selection already has the specified character markup.
Arguments
markupTagName
•
The
markupTagName
argument is the name of the tag that you’re checking. It must be one of
the following strings:
"b"
,
"cite"
,
"code"
,
"dfn"
,
"em"
,
"i"
,
"kbd"
,
"samp"
,
"s"
,
"strong"
,
"tt"
,
"u"
, or
"var"
.
000_DW_API_Print.book Page 393 Wednesday, August 20, 2003 9:14 AM
Summary of Contents for DREAMWEAVER MX 2004-DREAMWEAVER API
Page 1: ...Dreamweaver API Reference...
Page 24: ...24 Contents...
Page 32: ......
Page 70: ...70 Chapter 5 Fireworks Integration...
Page 76: ...76 Chapter 6 Flash Integration...
Page 116: ...116 Chapter 9 The JavaBeans API...
Page 140: ......
Page 152: ...152 Chapter 11 Application...
Page 218: ...218 Chapter 12 Workspace...
Page 248: ...248 Chapter 13 Site...
Page 292: ...292 Chapter 14 Document...
Page 378: ...378 Chapter 17 Design...
Page 430: ...430 Chapter 18 Code...
Page 486: ...486 Index...