Adobe 65030365 Scripting Guide - Page 540
SetElementRange
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 540 highlights
ADOBE FRAMEMAKER SCRIPTING GUIDE 532 Function Summary • 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: Error Constants.FE_BadDocId (-2) Constants.FE_BadParameter (-43) Constants.FE_BadInsertPos (-65) Constants.FE_NotTextObject (-41) Reason Invalid document. findParams was empty or a parameter was improperly specified. The value of the textLoc parameter is invalid. textLoc parameter is not a text location. Returns TextRange Syntax Find(textLoc, findParams) Parameters Parameter name textLoc findParams Data Type TextLoc PropVals Optional No No Description The text location to begin searching from. A property list that specifies what to search for. 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 Constants.FE_BadDocId (-2) Constants.FE_BadObjId (-3) Constants.FE_WrongProduct (-60) Reason Invalid document. invalid object. Current product interface is not Structured FrameMaker. Last updated 9/26/2011