
C
HAPTER
1: Introduction
Changes since CS3
12
➤
A new collection,
NonNativeItems
, contains a collection of
NonNativeItem
objects.
➣
AppleScript —
non
native
items
of
document
1
➣
JavaScript —
app.activeDocument.nonNativeItems
➣
VBScript —
App.ActiveDocument.NonNativeItems
➤
A new FXG file format supports designer-developer workflow, by allowing an Illustrator document to
be saved as an FXG file containing XML-style descriptions of Illustrator graphical items, which can then
be used in other FXG/XML-based applications.
➣
AppleScript —
fxg
➣
JavaScript —
DocumentType.FXG
➣
VBScript —
AiDocumentType.aiFXG
➤
Two new PDFX standards were added, PDFX32002 and PDFX42007.
➤
A new type,
FXGVersion
, for setting the FXG file format version. There is only one option,
FXG version 1.0
.
➣
AppleScript —
version:
version
1.0
➣
JavaScript —
FXGVersion.VERSION1.0
➣
VBScript —
AiFXGVersion.aiVersion1.0
➤
A new type,
FiltersPreservePolicy
, which defines whether to preserve appearance and editability
of filters when saving to FXG. Available options are
ExpandFilters
,
RasterizeFilters
, and
KeepFiltersEditable
.
➣
AppleScript —
filters
policy:
keep
filters
editable
➣
JavaScript —
FiltersPreservePolicy.KEEPFILTERSEDITABLE
➣
VBScript —
AiFiltersPreservePolicy.aiKeepFiltersEditable
➤
A new type,
GradientsPreservePolicy
, which defines whether to preserve appearance and
editability of gradients when saving to FXG. Available options are
RasterizeGradients
and
KeepGradientsEditable
.
➣
AppleScript —
gradients
policy:
keep
gradients
editable
➣
JavaScript —
GradientsPreservePolicy.KEEPGRADIENTSEDITABLE
➣
VBScript —
AiGradientsPreservePolicy.aiKeepGradientsEditable
➤
A new type,
TextPreservePolicy
, which defines whether to preserve appearance and editability of
text when saving to FXG. Available options are
OutlineText
,
RasterizeText
, and
KeepTextEditable
.
➣
AppleScript —
text
policy:
keep
text
editable
➣
JavaScript —
TextPreservePolicy.KEEPTEXTEDITABLE
➣
VBScript —
AiTextPreservePolicy.aiKeepTextEditable