
20
EXTENDING FIREWORKS
The Fireworks Object Model
Las
t
up
d
a
ted
12/8/2009
Finding and replacing colors, fills, strokes, and effects
Finding and replacing URLs
findStyle
integer
Number that represents the style to find:
AnyStyle = -1
Plain = 0
Bold = 1
Italic = 2
BoldItalic = 3
Underline = 4
BoldUnderline = 5
ItalicUnderline = 6
BoldItalicUnderline = 7
replaceStyle
integer
Number that represents the style to be used as replacement.
findMinSize
integer
0 to 9999
findMaxSize
integer
0 to 9999
replaceSize
integer
0 to 9999, or pass
-1
to leave size as is
Property
Data type
Notes
whatToFind
string
In the format:
"color"
find
string
A color string that specifies the color to find (for more
information, see “
Color string data type
” on page
7).
replace
string
A color string that specifies the color to use as a replacement
(for more information, see “
Color string data type
” on page
7).
fills
Boolean
If set to
true
, fills that match the specified colors are replaced.
strokes
Boolean
If set to
true
, strokes that match the specified colors are
replaced.
effects
Boolean
If set to
true
, effects that match the specified colors are
replaced.
Property
Data types
Notes
whatToFind
string
In the format:
"url"
find
string
URL to find, which is expressed as
file://URL
.
replace
string
URL to use as replacement text, which is expressed as
file://URL
.
wholeWord
Boolean
If set to
true
, only whole words that match the search text are
found. The default is
false
.
matchCase
Boolean
If set to
true
, the search is case sensitive. Defaults to
false
.
regExp
Boolean
If set to
true
, the
find
and
replace
text is interpreted as a
regular expression. The default value is
false
.
Property
Data type
Notes
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...