
440
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
The syntax of the string passed to the
Constants.FS_FileTypeHint (34)
is as follows:
Constants.FS_FileIsXmlDoc (37)
File is an XML document. The possible values are:
•
Constants.FV_DoOK (1) - Import it anyway.
•
Constants.FV_DoCancel (0) - Cancel the import operation.
•
Constants.FV_DoShowDialog (4) - Show a dialog box and let the user decide.
Constants.FS_ForceImportAsText (17)
Import the file as a Text Only document, even if it is a MIF file or a filterable file. Set to either
True or False.
•
True - Import it as a Text Only file.
•
False - Import it in a format based on its type.
Constants.FS_HowToImport (4)
Import file by reference or copy. The possible values are:
•
Constants.FV_DoByRef (5) - Import file by reference.
•
Constants.FV_DoByCopy (6) - Import file by copy.
•
Constants.FV_DoUserChoice (7) - Allow user to choose how to import the file.
Constants.FS_ImportAsType (36)
Specify the format of the file to import. Possible values are:
•
Constants.FV_AUTORECOGNIZE (0x00) - Default value; recognize the file type
aoutmatically.
•
Constants.FV_TYPE_BINARY (0x01) - A FrameMaker binary file.
•
Constants.FV_TYPE_MIF (0x02) - A MIF file.
•
Constants.FV_TYPE_TEXT (0x03) - A file containing plain text.
•
Constants.FV_TYPE_SGML (0x04) - An SGML file.
•
Constants.FV_TYPE_XML (0x05) - An XML file.
•
Constants.FV_TYPE_FILTER (0xFF) - Use a filter to import this file. You must specify a valid
file type hint for the Constants.FS_FileTypeHint (34) property.
Constants.FS_ManualUpdate (5)
Update inset manually. Set to either True or False.
•
True - Update inset automatically.
•
False - Do not update inset manually.
Constants.FS_SgmlImportApplication (35)
Retained for compatibility with older versions of FrameMaker. Use the
Constants.FS_StructuredImportApplication (35) property instead.
Constants.FS_StructuredImportApplication (35)
String specifying the name of the structure application to use when importing an XML or
SGML file. This property takes precedence over any other structure application specification.
If the specified application does not exist, the calling function will fail.
If this property is not set, then the value of this property is
null
.
Constants.FS_ShowBrowser (1)
Display the Import dialog box. Set to either True or False.
•
True - Display the Import dialog box.
•
False - Do not display the Import dialog box.
Constants.FS_TextInsetName (6)
Denotes the Inset name. If not set, the value of this property is
null
.
Property
Meaning
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...