Adobe 65030365 - FrameMaker - PC Manual page 437

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Flag
Constants.FF_IED_DO_NOT_IMPORT_EDD
(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
The
method retrieves the object from its persistent unique identifier (UID). The FrameMaker
GetUniqueObject()
product 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.
The GetUniqueObject() method returns the object on success. On failure, it sets
values:
Error
Constants.FE_BadDocId (-2)
Constants.FE_TypeUnNamed (-19)
Constants.FE_NameNotFound (-20)
Returns
Object
Syntax
GetUniqueObject(objType, unique)
Meaning
If the source document is an EDD, setting this value does NOT treat it as an EDD; instead the
method just imports its element catalog.
Do not issue the Constants.FA_Note_PreImportElemDefs (64) or
Constants.FA_Note_PostImportElemDefs (65) notifications.
on success. If the method fails, it assigns one of the following values to
Reason
Current product version is not Structured FrameMaker.
Invalid book or document.
Data Type
Optional
No
Doc|Book
int
No
Reason
Invalid document or book.
Objects of the specified type are not identified by UIDs.
Object with specified UID could not be found.
Last updated 9/26/2011
Description
The document or book from which to import element
definitions.
Specifies how to import formats.
to one of the following
FA_errno
429
:
FA_errno

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents