Download 3 - Mekon

Transcript
5
Both the mFS_ImportNativeError property and the FA_errno session property indicate the
result of a call to the Import method. The following table lists the possible status flags and
the FA_errno and mFS_ImportNativeError values associated with them:
mFS_ImportNativeError
and FA_errno values
Possible mFS_ImportStatus flags
mFE_BadParameter,
mFV_BadImportFileName:
mFE_BadFileType,
mFV_BadImportFileType: the Import script specified a file type
different from the source file’s actual type
mFE_MissingFile,
mFE_FailedState,
or
mFE_CanceledByClient
was not imported)
(file
the specified source filename is invalid
mFV_BadImportScriptValue:
the Import script contained an invalid
property value
mFV_BadTextFileTypeHint:
The file was a text file, and the string
in FS_FileTypeHint was not a valid import hint string. For
information on the syntax of this string, see “Graphic and Text
Inset Hint Strings” on page 407.
mFV_MissingScript:
The Import method was called without a
script.
mFV_DisallowedImportType:
source file’s type disallowed by script.
mFV_NoMainFlow: script specified to import the main flow, but the
source file does not have a main flow.
mFV_NoFlowWithSpecifiedName:
script specified a flow name that
does not exist
mFV_InsertionPointNotInText:
the insertion point in the enclosing
document is not in text
mFV_InsufficientMemory:
there is insufficient memory to import
the source file
mFV_BadEnclosingDocId:
there is no open document with the
specified ID
mFV_ImportFileNotReadable:
the specified source file is
unreadable
mFE_Success
mFV_ImportedByCopy:
the source file was imported
by copy
mFV_ImportedText:
the source file is a text file
mFV_ImportTextTable:
the source file is a text file, which was
imported into a table.
mFV_ImportedMIF:
the source file is a MIF file
mFV_ImportedMakerDoc:
the source file is a FASL file.
mFV_ImportedFilteredFile:
Version 1.5
FrameAC Programmer’s Guide
the source file was filtered
311