Adobe 65030365 - FrameMaker - PC Manual page 557

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Syntax
ElementDefIsText()
NewElement
Description
Creates a structural element
inserts the new element at the specified location in text, using the specified element definition.
NewElement()
For object (noncontainer) elements,
matching format rule,
NewElement()
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_BadNew (-23)
Constants.FE_BadObjId (-3)
Constants.FE_NotTextObject(-41)
Constants.FE_OffsetNotFound (-21)
Returns
Element
Syntax
NewElement(textLoc)
Parameters
Parameter name
textLoc
in a FrameMaker document.
(FO_Element)
inserts the appropriate type of object for the element. If there is a
NewElement()
uses it to format the object. Otherwise, the method uses one of the following
Object Inserted
Cross Reference
Equation
Marker
Table with the format 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
Object cannot be created.
Invalid object.
Object specified for the text location is not a paragraph (FO_Pgf) or a text line
(FO_TextLine).
Offset specified for the text location could not be found in the specified paragraph or text
line.
Data Type
Optional
TextLoc
No
Last updated 9/26/2011
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 text location at which to insert the new element.
549

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents