•
Pastes or drags content into or within the Document window
•
Saves changes to a dependent file
•
Invokes a command, behavior, server behavior, Property inspector, or other extension that sets
the
innerHTML
object
•
Selects File > Convert > 3.0 Browser Compatible
•
Selects Modify > Convert > Convert Tables to Layers
•
Selects Modify > Convert > Convert Layers to Tables
•
Changes a tag or attribute in the Quick Tag Editor and presses Tab or Enter
The Data Translator API
This section describes the functions used to define translators for Dreamweaver.
getTranslatorInfo()
Description
This function provides information about the translator and the files it can affect.
Arguments
None.
Returns
An array of strings. The elements of the array must appear in the following order:
The
1
translatorClass
letter and can contain only alphanumeric characters, hyphens (-), and underscores (_).
The
string describes the translator in no more than 40 characters.
2
title
The
3
nExtensions
zero, the translator can run on any file. If
in the array.
The
4
extension
with this translator. This string is not case-sensitive and should not contain a leading period.
The array should contain the same number of
in
nExtensions
The
5
nRegExps
zero,
runDefault
The
6
regExps
the same number of
must match a piece of the document's source code before the translator can act on
regExps
a file.
336
Chapter 20: Data Translators
or
property of any tag object or the
outerHTML
string uniquely identifies the translator. This string must begin with a
string specifies the number of file extensions to follow. If
string specifies a file extension (for example,
.
string specifies the number of regular expressions that follow. If
is the next element in the array.
string specifies a regular expression that you can check. The array should contain
elements as are specified in
regExps
data
is zero,
nExtensions
"htm"
elements that are specified
extension
nRegExps
property of any comment
nExtensions
is the next element
nRegExps
or
) that works
"SHTML"
nRegExps
, and at least one of the
is
is
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?