
443
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Import()
uses the following properties only for importing
graphics files
:
Constants.FS_FormatImportedText (22)
Format the imported text. The possible values are:
•
Constants.FV_EnclosingDoc (1) - Use formatting in the enclosing document.
•
Constants.FV_PlainText (2) - Format the imported text as plain text.
•
Constants.FV_SourceDoc (0) - Use formatting from the source documents.
Constants.FS_ImportFlowPageSpace (21)
If Constants.FS_UseMainFlow (19) is False, then Constants.FS_ImportFlowPageSpace (21)
indicates the type of pages to search for the flow specified by the
Constants.FS_ImportFlowTag (20) property. The possible values are:
•
Constants.FV_BodyPage (10) - Search body pages.
•
Constants.FV_ReferencePage (9) - Search reference pages.
Constants.FS_ImportFlowTag (20)
If Constants.FS_UseMainFlow (19) is False, then Constants.FS_ImportFlowTag (20) indicates
the name of the flow to import. If this value is not set, the default value is
null
.
Constants.FS_RemoveManualPageBreaks (23) Remove manual page breaks if FS_FormatImportedTest is set to Constants.FV_EnclosingDoc
(1). Set to either True or False.
•
True - Remove manual page breaks.
•
False - Do not remove manual page breaks.
Constants.FS_RemoveOverrides (24)
Remove format overrides if Constants.FS_FormatImportedTest (TBD) is set to
Constants.FV_EnclosingDoc (1). Set to either True or False.
•
True - Remove format overrides.
•
False - Do not remove format overrides.
Constants.FS_UseMainFlow (19)
Import text from specified document's main flow. Set to either True or False.
•
True - Import the text from the main flow.
•
False - Do not import the text from the main flow.
Property
Meaning
Constants.FS_FileIsGraphic (13)
File is a graphic file. The possible values are:
•
Constants.FV_DoOK (1) - Import it.
•
Constants.FV_DoCancel (0) - Cancel import operation.
•
Constants.FV_DoShowDialog (4) - Display a dialog box and let the user decide.
Constants.FS_FitGraphicInSelectedRect (14)
Fit the graphic in the selected graphic frame. Set to either True or False.
•
True - Fit the graphic in the frame.
•
False - Do not fit the graphic in the frame.
Constants.FS_GraphicDpi (15)
Integer specifying dots per inch (DPI) at which to import the graphic. The default value is 72 (to
specify 72 DPI).
Constants.FS_InsetRasterDpi (TBD)
Denotes the read-only value to indicate the DPI of the bitmap facet when importing SVG data.
Constants.FS_RasterDpi (38)
Specifies the DPI for the bitmap facet when importing SVG data. This corresponds to any of the
DPI settings in the Imported Graphic Scaling dialog box.
Property
Meaning