User Guide
80 The Fireworks Object Model
TextRuns object
The following table lists the properties of the TextRuns object, along with their data types
and, where appropriate, acceptable values and notes.
HTML export objects
Fireworks provides several object types that support the output of HTML and sliced images
from Fireworks. These objects let you write JavaScript scripts that create templates to output
the type of HTML that suits your specific requirement (generic HTML, Dreamweaver-
compatible HTML, and so on). For each HTML template, use a Slices.htt file that generates
the HTML for that particular template. For more information, see the Slices.htt and
Metafile.htt files that are installed with Fireworks.
Property Data type Notes
initialAttrs
object TextAttrs object (see “TextAttrs object”
on page 78).
textRuns
array Array of SingleTextRun objects on this
TextRuns object (see “SingleTextRun
object” on page 74).
NOTE
For information on how to format nonstandard data types, such as rectangle or point,
see “Formatting nonstandard data types” on page 11.