Adobe 65030365 - FrameMaker - PC Manual page 474

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
ObjectValid
Description
Identifies whether a
CondFmt
See "ObjectValid" on page 414 under the AFrame class for more information.
Returns
int
Syntax
ObjectValid()
Doc
AddText
Description
Inserts text into a paragraph or a text line.
The text you specify for text must use the FrameMaker character set. To add special characters, you must specify octal
(
) or hexadecimal (
) sequences. The following table lists some of these sequences.
\
\x
Special Character
>
" (straight double quotation mark)
" (left double quotation mark)
" (right double quotation mark)
The method returns the location of the text that was added, on success. On failure, it sets one of the following error
numbers to
:
FA_errno
Error
Constants.FE_BadDocId (-2)
Constants.FE_BadObjId (-3)
Constants.FE_NotTextObject (-41)
Constants.FE_OffsetNotFound (-21)
Constants.FE_ReadOnly (-6)
Constants.FE_BadSelectionForOperation (-
59)
Returns
TextLoc
object is valid or not. Returns
Hexadecimal Representation
\x3e
\x22
\xd2
\xd3
Reason
Invalid document.
Invalid Object.
The object that textLoc specifies is not a paragraph (FO_Pgf) or a text line (FO_TextLine).
The offset specified for the text location could not be found in the specified text object.
The document is read only.
The location that textLoc specifies is invalid. For example, it is inside a variable or outside the
highest level element in a structured FrameMaker document.
Last updated 9/26/2011
if the CondFmt object is valid, else returns
True
Octal Representation
\76
\42
\322
323
466
.
False

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents