
532
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
•
Table foot
•
Table body
•
Table row
•
Table cell
When the
Find()
method finds a structure element for one of these objects, it returns an empty
TextRange
structure
and sets
FA_errno
to
FE_Success
. In this case, you can get the document’s
ElementSelection
property to return a
corresponding
ElementRange
structure for the table part structure element.
On failure, an empty text range is returned and
FA_errno
is set to one of the following values:
Returns
TextRange
Syntax
Find(textLoc, findParams)
Parameters
SetElementRange
Description
Sets an element range property.
To specify a selection that includes the root element, set
beg.parentId
to 0,
beg.childId
to the root element, and
end.childId
to 0.
The method does not return anything on success.
On failure, the method sets
FA_errno
to one of the following values:
Error
Reason
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadParameter (-43)
findParams
was empty or a parameter was improperly specified.
Constants.FE_BadInsertPos (-65)
The value of the
textLoc
parameter is invalid.
Constants.FE_NotTextObject (-41)
textLoc
parameter is not a text location.
Parameter name
Data Type
Optional
Description
textLoc
TextLoc
No
The text location to begin searching from.
findParams
PropVals
No
A property list that specifies what to search for.
Error
Reason
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadObjId (-3)
invalid object.
Constants.FE_WrongProduct (-60)
Current product interface is not Structured FrameMaker.