ExportSettings object

The following table lists the properties of the ExportSettings object, along with their data types and, where appropriate, acceptable values and notes.

Property Data type Notes

baseName

string

The name from which all automatically named slice names are derived.

discardUnspecifiedSlices

Boolean

If set to true, omits undefined slices from export operations.

docHtmlEncoding

string

Determines the encoding standard for the HTML file that Fireworks generates during export.

Use "iso-8859-1" for ASCII or "utf-8" for Unicode.

docXHTMLFormat

Boolean

Determines whether Fireworks outputs XHTML formatted files (true) or HTML formatted files (false) when the user exports a file.

exportFileStyle

string

Acceptable values are:

"HTML and Images"

"Images Only"

"Dreamweaver LBI"

"Director HTML"

"CSS Layers"

"Layers to Files"

"Frames to Files"

"Lotus Domino"

"Macromedia Flash SWF"

"Illustrator"

"Photoshop"

fileExtension

string

Defines the extension to append to the filename.

generateDemoHtml

Boolean

If set to true, generates multiple HTML pages for button export.

htmlDestination

string

Acceptable values are "same", "custom", and "clipboard".

setByUser

Boolean

If set to true, the user specifies the export settings. If set to false, the first time the file is exported, Fireworks chooses settings based on the data.

shimGeneration

string

Acceptable values are "none" (no shims), "transparent" (one-pixel transparent shims), and "nested tables" (no shims, but nested tables).

sliceAlongGuides

Boolean

If set to true, use guides for slicing (and sliceUsingUrls should be set to false).

sliceAutoNaming1 through sliceAutoNaming6

string

Used to generate a name by concatenating six strings. If you need fewer than six strings, fill in the remaining strings with "none".

Acceptable values are:

"none" -- generates nothing.

"row_col" -- generates a unique row and column index; 0_0 is first, 0_1 is second, and so on.

"ALPHA" -- generates a unique uppercase letter: A is first, B is second, and so on.

"alpha" -- generates a unique lowercase letter: a is first, b is second, and so on.

"numeric1" -- generates a unique number: 1 is first, 2 is second, and so on.

"numeric01" -- generates a unique two-digit number: 01 is first, 02 is second, and so on.

"doc.name" -- name of the file being exported, without a path or extension, such as "image".

"slice" -- the string "slice".

"underscore" -- the underscore character (_)

"period" -- the period character (.)

"space" -- the space character ( )

"hyphen" -- the hyphen character (-)

For example, to generate names of "image_slice01", "image_slice02", and so on from a document named "image", set the following properties:

sliceAutoNaming1: "doc.name"

sliceAutoNaming2: "underscore"

sliceAutoNaming3: "slice"

sliceAutoNaming4: "numeric01"

sliceAutoNaming5: "none"

sliceAutoNaming6: "none"

sliceFrameNaming1 and sliceFrameNaming2

string

Used to generate a name by concatenating two strings; the resulting string is concatenated to the name specified by sliceAutoNaming. If you need fewer than two strings, fill in the remaining string with "none".

Acceptable values are:

"none" -- generates nothing.

"frameNumber" -- generates frame number preceded by f, for example, f2.

"number" -- generates frame number, for example, 2.

"state" -- generates frame state, for example, "over", "down", or "overdown".

"abbreviation" -- generates abbreviated state, for example, "o", "d", or "od".

"underscore" -- the underscore character (_)

"period" -- the period character (.)

"space" -- the space character ( )

"hyphen" -- the hyphen character (-)

sliceUsingUrls

Boolean

If set to true, use slice objects for slicing (and sliceAlongGuides should be set to false).

templateName

string

HTML style to be used during export. Acceptable values are "Dreamweaver", "Generic", "FrontPage", "GoLive", or a user-created HTML style.


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/fireworks/8/fwextending/fw_02_45.htm