Packagecom.adobe.illustrator
Classpublic class OpenOptions
InheritanceOpenOptions Inheritance IllustratorHostObject Inheritance CSHostObject Inheritance flash.utils.Proxy

Since : CS5

Options which may be supplied when opening a file



Public Properties
 PropertyDefined By
  convertCropAreaToArtboard : Boolean
Convert crop area to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later.
OpenOptions
  convertTilesToArtboard : Boolean
Convert print tiles to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later.
OpenOptions
  createArtboardWithArtworkBoundingBox : Boolean
Create Artboard with dimentions of artwork bounding box when opening legacy document (pre-Illustrator CS4) in CS4 or later.
OpenOptions
 InheritedhostObjectDelegate : HostObject
Getter for the delegate
CSHostObject
  openAs : LibraryType
open the file as library ( default: LibraryType.ILLUSTRATORARTWORK )
OpenOptions
 Inheritedparent : *
[read-only]
IllustratorHostObject
  preserveLegacyArtboard : Boolean
Preserve Legacy Artboard (pre-Illustrator CS4) when opening in CS4 or later.
OpenOptions
  updateLegacyGradientMesh : Boolean
choose to preserve the spot colors in the gradient mesh objects for legacy documents (pre-Illustrator CS3) ( default: true )
OpenOptions
  updateLegacyText : Boolean
choose to update all text objects for documents saved with legacy texts (pre-Illustrator 11) ( default: false )
OpenOptions
Public Methods
 MethodDefined By
 Inherited
filterArgsForHBAPI(args:Array):Array
[static] Function to clean up the argument list and put it into a format that makes sense for HBAPI.
CSHostObject
 Inherited
filterSingleObjectForHBAPI(value:Object):Object
[static]
CSHostObject
 Inherited
getClassObjectForName(className:String):HostObject
[static] This returns a "Class" object, meaning, a HostObject that can be used to make static function calls or get static properties
CSHostObject
 Inherited
getSpecialTranslation(className:String, ho:HostObject, expectedReturnType:Class, ownerName:String):*
[static]
CSHostObject
 Inherited
hostCall(name:String, expectedReturnType:Class, rawargs:Array):*
Encapsulates a function call to the host
CSHostObject
 Inherited
hostCallStatic(className:String, methodName:String, expectedReturnType:Class, rawargs:Array):*
[static] Implements a safe call of a static method on the host
CSHostObject
 Inherited
hostGet(name:String, expectedReturnType:Class):*
Encapsulates a property get to the host
CSHostObject
 Inherited
hostGetIndex(idx:Object, expectedReturnType:Class):*
Encapsulates a indexed get to the host
CSHostObject
 Inherited
hostGetStatic(className:String, propertyName:String, expectedReturnType:Class):*
[static] Implements a safe get of a static property on the host Used by for instance, all the enum implementations.
CSHostObject
 Inherited
hostSet(name:String, rawvalue:*):void
Encapsulates a property set to the host
CSHostObject
 Inherited
hostSetStatic(className:String, propertyName:String, rawvalue:*):*
[static] Implements a safe set of a static property on the host
CSHostObject
 Inherited
isDescendedFrom(clz:Class, ancClass:Class):Boolean
[static] Efficiently determines whether or not one class descends from another in inheritance hierarchy- class relationships are cached by the ClassUtils implementation- (uses org.as3commons lib to quickly discover class hierarchy.
CSHostObject
 Inherited
replaceDefaultArgs(args:Array, defaultArgs:Array):Array
Function to tidy up arguments prior to call.
CSHostObject
 Inherited
wrapReturnedHostObject(rawObject:Object, expectedReturnType:Class, client:CSHostObject, propertyName:String):*
[static] Method used on static/normal get/ hostcalls
CSHostObject
Protected Methods
 MethodDefined By
 Inherited
createWithArgs(args:Array):void
CSHostObject
 Inherited
hostCreate(args:Array):void
CSHostObject
Property Detail
convertCropAreaToArtboardproperty
convertCropAreaToArtboard:Boolean

Since : CS5

Convert crop area to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later. If false then crop areas are discarded. ( default: true )


Implementation
    public function get convertCropAreaToArtboard():Boolean
    public function set convertCropAreaToArtboard(value:Boolean):void
convertTilesToArtboardproperty 
convertTilesToArtboard:Boolean

Since : CS5

Convert print tiles to Artboard when opening legacy document (pre-Illustrator CS4) in CS4 or later. ( default: false )


Implementation
    public function get convertTilesToArtboard():Boolean
    public function set convertTilesToArtboard(value:Boolean):void
createArtboardWithArtworkBoundingBoxproperty 
createArtboardWithArtworkBoundingBox:Boolean

Since : CS5

Create Artboard with dimentions of artwork bounding box when opening legacy document (pre-Illustrator CS4) in CS4 or later. ( default: false )


Implementation
    public function get createArtboardWithArtworkBoundingBox():Boolean
    public function set createArtboardWithArtworkBoundingBox(value:Boolean):void
openAsproperty 
openAs:LibraryType

Since : CS5

open the file as library ( default: LibraryType.ILLUSTRATORARTWORK )


Implementation
    public function get openAs():LibraryType
    public function set openAs(value:LibraryType):void
preserveLegacyArtboardproperty 
preserveLegacyArtboard:Boolean

Since : CS5

Preserve Legacy Artboard (pre-Illustrator CS4) when opening in CS4 or later. ( default: true )


Implementation
    public function get preserveLegacyArtboard():Boolean
    public function set preserveLegacyArtboard(value:Boolean):void
updateLegacyGradientMeshproperty 
updateLegacyGradientMesh:Boolean

Since : CS5

choose to preserve the spot colors in the gradient mesh objects for legacy documents (pre-Illustrator CS3) ( default: true )


Implementation
    public function get updateLegacyGradientMesh():Boolean
    public function set updateLegacyGradientMesh(value:Boolean):void
updateLegacyTextproperty 
updateLegacyText:Boolean

Since : CS5

choose to update all text objects for documents saved with legacy texts (pre-Illustrator 11) ( default: false )


Implementation
    public function get updateLegacyText():Boolean
    public function set updateLegacyText(value:Boolean):void