Adobe 65030365 - FrameMaker - PC Manual page 500

Scripting guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
SimpleImportFormats
Description
Imports formats from a document to a document or a book. If you import formats to a book, the method imports
formats to each book component for which the
You can OR the following values into the
Value
Constants.FF_UFF_COLOR (0x0100)
Constants.FF_UFF_COMBINED_FONTS (0x0800) Combined Fonts
Constants.FF_UFF_COND (0x0010)
Constants.FF_UFF_DOCUMENT_PROPS
(0x0400)
Constants.FF_UFF_FONT (0x0002)
Constants.FF_UFF_MATH (0x0200)
Constants.FF_UFF_PAGE (0x0004)
Constants.FF_UFF_PGF (0x0001)
Constants.FF_UFF_REFPAGE (0x0020)
Constants.FF_UFF_REMOVE_EXCEPTIONS
(0x8000)
Constants.FF_UFF_REMOVE_PAGE_BREAKS
(0x4000)
Constants.FF_UFF_TABLE (0x0008)
Constants.FF_UFF_VAR (0x0040)
Constants.FF_UFF_XREF (0x0080)
The method returns
FE_Success
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadDocId (-2)
Constants.FE_Canceled (-44)
Constants.FE_FailedState (-45)
Returns
int
Syntax
SimpleImportFormats(fromDoc, formatFlags)
ImportFmtInclude
parameter to specify which formats to import.
formatFlags
Format to Import
Colors
Conditions
Document Properties
Character Catalog Formats
Equation Settings
Page Layouts
Paragraph Catalog Formats
Reference Pages
Remove exception formats from target documents
Remove all forced page breaks from target documents
Table Catalog Formats
Variable Formats
Cross Reference Formats
on success. On failure, the method returns one of the following values to
Reason
Current FrameMaker version does not support this operation.
Invalid document.
User canceled the operation.
The FrameMaker product failed to open one or more of the book's document files during the import
operation.
Last updated 9/26/2011
property is set to
.
True
492
:
FA_errno

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents