
447
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
To determine whether a particular
Constants.FS_ImportStatus (3)
bit is set, use
CheckStatus()
.
Returns
Object
Syntax
Import(textLocP, filename, importParams, importReturnParams)
Parameters
Constants.FE_Canceled (-44)
•
Constants.FV_CancelFileText (32) - The file is text, so the user or the Import script
canceled the Import operation.
•
Constants.FV_CancelFileGraphic (36) - The source file is a graphic, so the user or the
Import script canceled the Import operation.
•
Constants.FV_CancelFileMacEdition (TBD) - The source file is a Macintosh Edition,
so the Import script canceled the Import operation
•
Constants.FV_CancelFileDoc (33) - The file is a FASL file, so the user or the script
canceled the Import operation.
•
Constants.FV_CancelFileSgml (40) - The file is an SGML document, so the user or
the script canceled the Import operation
•
Constants.FV_CancelFileXml (41) - The file is an XML document, so the user or the
script canceled the Import operation.
•
Constants.FV_CancelFileMIF (34) - The source file is a MIF file, so the user or the
script canceled the Import operation.
•
Constants.FV_CancelFileFilterable (35) - The source file is a filterable file, so the user
or the script canceled the Import operation.
•
Constants.FV_InsertionPointInFootnote (26) - The insertion point was in a footnote
and the import script specified to import the file as a table, so the file could not be
imported.
•
Constants.FV_InsertionPointInTableCell (25) - The insertion point was in a table cell
and the import script specified to import the file as a table, so the file could not be
imported
•
Constants.FV_UserCanceledImport (37) - The user canceled the Import operation.
•
Constants.FV_UserCanceledImportBrowser (TBD): The user canceled the Import
browser
Parameter name
Data Type
Optional
Description
textLocP
TextLoc
No
The text location at which to import the file.
filename
string
No
The full path of the file to import.
importParams
PropVals
No
A property list specifying how to import the file and how to
respond to errors and other conditions. To use the default list,
specify null.
importReturnParams
PropVals
No
A property list that provides information about how
FrameMaker imported the file. This parameter must be
initialized before you call Import().
Status Flag
Reason