66
Chapter 2: The Fireworks Object Model
exportDoc object
The following table lists the properties of the exportDoc object, along with their data types and,
where appropriate, acceptable values and notes. All
exportDoc
properties are read-only.
Note:
This object type does not start with a capital letter.
Property (read-only)
Data type
Notes
altText
string
The alternate text description for the
Fireworks document.
backgroundColor
string
The hex color of the document canvas,
without the # character; for example,
"FF0000"
for red background.
backgroundIsTransparent
Boolean
Set to
true
if the Fireworks canvas color is
transparent or if the export settings specify a
transparent GIF format;
false
otherwise.
backgroundLink
string
The background URL, which is expressed as
file://URL
.
docID
integer
A number that is assigned to a document to
help identify HTML generated from it. The
docID
does not change when you change the
name of a file. However, if you use File > Save
As, you can get multiple files with the same
docID
.
docSaveFolder
string
C
ontains the path of the directory into which
the document was last saved. If the
document has not yet been saved, this is an
empty string.
docSaveName
string
The filename used when the document
was saved, without path information, such as
"nav.gif"
.
emptyCellColor
string
A color string that specifies the color of
empty table cells (see
“Color string data
type” on page 11
).
emptyCellContents
integer
Specifies what to put into empty cells.
Acceptable values are 1 (nothing), 2 (spacer
image), and 3 (nonbreaking space).
emptyCellUsesCanvasColor
Boolean
If set to
true
(the default), empty cells
are set to the
backgroundColor
property.
If set to
false
, they are set to the
emptyCellColor
property.
filename
string
URL for the exported image, relative to the
HTML output; for example,
"images/
Button.gif"
. In the Slices.htt file, it is the
base image name plus the base extension.
Unless there is only one slice, the Slices.htt
file produces filenames such as
"Button_r2_c2.gif"
.
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...