SVGExportPreference

SVG export preferences.

Methods:

getElements, toSource, toSpecifier

Objects:

Boolean, FileEncoding, FlattenerPreset, FontSubsetting, Number, Object, PageRange, RenderingStyle, String, StyleFormat,

Property Listing

Property

Type

Access

Description

appliedFlattenerPreset

FlattenerPreset

read/write

The transparency flattener preset to use.

embedImages

Boolean

read/write

If true, embeds images in the exported SVG.

fileEncoding

FileEncoding

FileEncoding.ASCII

FileEncoding.UTF16

FileEncoding.UTF8

read/write

The file encoding.

fontSubsetting

FontSubsetting

FontSubsetting.NONE

FontSubsetting.SUBSET_ENGLISH

FontSubsetting.SUBSET_ENTIRE

FontSubsetting.SUBSET_GLYPHS

FontSubsetting.SUBSET_GLYPHS_AND_ENGLISH

FontSubsetting.SUBSET_GLYPHS_AND_ROMAN

FontSubsetting.SUBSET_ROMAN

read/write

The font characters to subset.

ignoreSpreadOverrides

Boolean

read/write

If true, ignores flattener spread overrides.

pageRange

PageRange

PageRange.ALL_PAGES

String

read/write

The pages to print, specified either as an enumeration or a string. To specify a range, separate page numbers in the string with a hyphen (-). To specify separate pages, separate page numbers in the string with a comma (,). Can return: PageRange enumerator or String.

parent

Application

readonly

The parent of the SVGExportPreference (a Application).

properties

Object

read/write

A property that allows setting of several properties at the same time.

readersSpreads

Boolean

read/write

If true, exports facing pages in a spread to a single SVG file. If false, exports spread pages as separate SVG files and appends a sequential number to the filenames.

realPrecision

Number (range 1 - 7)

read/write

The number of digits of precision for vectors in exported artwork. (Range: 1 to 7)

renderingStyle

RenderingStyle

RenderingStyle.BATCH

RenderingStyle.PROGRESSIVE

read/write

The rendering style.

styleFormat

StyleFormat

StyleFormat.CSS

StyleFormat.ENTITY

StyleFormat.INLINE

StyleFormat.PRESENTATION_ATTRIBUTES

read/write

The format for SVG object styles.

Method Listing

SVGExportPreference getElements ()

Resolves the object specifier, creating an array of object references.

String toSource ()

Generates a string which, if executed, will return the SVGExportPreference.

String toSpecifier ()

Retrieves the object specifier.

Object of

Application.svgExportPreferences

Return

SVGExportPreference.getElements()