Adobe 65030365 - FrameMaker - PC Manual page 504

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Note: If you import element definitions to a book,the SimpleImportElementDefs() method imports element definitions to
each book component for which the ImportFmtInclude property is set to True.
You can OR the following flags into the
Flag
Constants.FF_IED_REMOVE_OVERRIDES
(0x0001)
Constants.FF_IED_REMOVE_BOOK_INFO
(0x0002)
Constants.FF_IED_DO_NOT_IMPORT_ED
D (0x0004)
Constants.FF_IED_NO_NOTIFY (0x0008)
The method returns
FE_Success
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadDocId (-2)
Returns
int
Syntax
SimpleImportElementDefs(fromDocOrBook, importFlags)
Parameters
Parameter name
fromDocOrBook
importFlags
GetUniqueObject
Description
Gets the object from its persistent unique identifier (UID).
FrameMaker assigns a UID to each object in a document or book that is not identified by a name. The UID, unlike the
object's ID, does not change from one session to another.
Note: When you copy an object to the clipboard and paste it, FrameMaker changes the UID. This also happens when you
hide and show conditional text.
The method returns the object, on success.
On failure, the method returns one of the following values to
parameter:
importFlags
Meaning
Clear format overrides
Clear formatting inherited from a parent book, if the method is called on a document
Do not treat the target document as an EDD but just import its element catalog, if the target
document is an EDD
Do not issue the
Constants.FA_Note_PreImportElemDefs(64)
Constants.FA_Note_PostImportElemDefs (65)
on success.On failure, the method returns one of the following values to
Reason
Current FrameMaker version does not support the requested operation
Invalid document
Data Type
Optional
No
Doc|Book
int
No
FA_errno
Last updated 9/26/2011
notifications.
Description
The document or book from which the element definitions are
to be imported
Specifies how to import formats
:
496
or
:
FA_errno

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents