275
EXTENDING FIREWORKS
HTML export objects
Las
t
up
d
a
ted
12/8/2009
htmlOutputPath
string
File that the HTML is being written to, including the filename,
which is expressed as
file://URL
; for example,
"file:///C|/top/nav/navbar.htm"
.
imagename
string
Name of the image that is being exported, without the
extension; for example,
"Button"
.
includeHTMLComments
Boolean
The value of the Include HTML Comments preference, which
the export script interprets as appropriate. For example, if this
value is
false
, the Dreamweaver export script removes all
nonessential comments.
isBackground
Boolean
Specifies whether the document has a background image. If an
image is set in the HTML set up as the background image,
returns
true
.
leftMargin
long
Specifies the left margin of the page.
numFrames
integer
Number of frames that are being exported from the Fireworks
document. This value is not zero-based; the value is 1 or more.
pagename
string
Name of the page.
pathBase
string
Path of the image that is being exported; for example,
"images/Button"
.
pathSuffix
string
Filename extension of the image that is being exported,
including a period; for example,
".gif"
.
rightMargin
long
Specifies the right margin of the page.
serverMap
Boolean
Specifies whether the document uses a server map.
startColumn
integer
Used only in the Metafile.htt file for generating HTML for one
slice. Specifies the column of the slice.
startRow
integer
Used only in the Metafile.htt file for generating HTML for one
slice. Specifies the row of the slice.
style
string
The HTML style that is used to export the data, such as
"Dreamweaver"
,
"Generic"
, or
"FrontPage"
.
symbols
array
List of symbols in the document.
tableAlignment
string
A string that contains the alignment of the table. If the table is
left-aligned, the string is simply a space (this is used for writing
the HTML table). If the table is center-aligned, the string is
"align="center""
. If the table is right-aligned, the string is
"align="right""
.
tablePctWidth
string
A string that contains the percentage width of the table. If it
returns 0, there is no percentage width and the pixel width of
the table should be used. If the table is left-aligned, the string is
simply a space (this is used for writing the HTML table). If the
table is center-aligned, the string is
“align=”center”align=”center””. If the table is right-aligned, the
string is “align=”right”align=”right””.
topMargin
long
Specifies the top margin of the page.
width
integer
Width of the image being exported, in pixels. In the Slices.htt
file, it is the total width of the output images.
xhtmlFormat
Boolean
Determines whether Fireworks outputs XHTML-formatted files
(
true
) or HTML-formatted files (
false
) when the user exports
a file.
Property (read-only)
Data type
Notes