Adobe 65030365 - FrameMaker - PC Manual page 558

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
NewElementInHierarchy
Description
Creates a structural element (
document or book.
To create the root element for a book, you must use
NewElementInHierarchy()
adding a root element with
NewElement()
For object (noncontainer) elements,
element. If there is a matching format rule,
method uses one of the following default formats:
Object Type
Constants.
FV_FO_XREF (3)
Constants.
FV_FO_EQN (7)
Constants.
FV_FO_MARKER (4)
Constants.FV_FO_TBL (8)
Constants.FV_FO_SYS_VAR (2)
Constants.FV_FO_GRAPHIC (6)
The method returns the created element, on success.
On failure, the method returns one of the following values to
Error
Constants.FE_BadBookId (-66)
Constants.FE_BadObjId (-3)
Constants.FE_BadInsertPos (-65)
Returns
Element
Syntax
NewElementInHierarchy(elemLoc)
Parameters
Parameter name
elemLoc
) at a specified location in the element hierarchy of a structured FrameMaker
FO_Element
NewElementInHierarchy()
to add elements to an unstructured document. You must structure the document first by
.
NewElementInHierarchy()
NewElementInHierarchy()
Object Inserted
Cross Reference
Equation
Marker
Table with the format and number of rows
and columns specified by the table format.
Variable
A centered 1.0-inch by 1.0-inch anchored
frame below the current position; cropped
is off, and floating is on.
Reason
Invalid book.
Invalid object.
specifies an invalid place to insert the element; for example, it specifies a
elemLoc
position before the highest element in the flow.
Data Type
Optional
ElementLoc
No
Last updated 9/26/2011
. However, you cannot use
inserts the appropriate type of object for the
uses it to format the object. Otherwise, the
Format Used By Default
Undefined XRef
Medium
Type 11
if it exists; otherwise, a table with a heading
Format A
row, 8 body rows, a footing row, and 5 columns.
Filename (Long)
-
:
FA_errno
Description
The location at which the element is to be inserted.
550

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents