Adobe 65030365 - FrameMaker - PC Manual page 502

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Syntax
SplitElement()
TextLocToElementLoc
Description
Returns the element location structure that corresponds to the current text location.
On success, the method returns an
On failure, the method returns one of the following values to
Error
Constants.FE_BadDocId (-2)
Constants.FE_BadParameter ()
Constants.FE_WrongProduct (-60)
Returns
ElementLoc
Syntax
TextLocToElementLoc(tloc)
Parameters
Parameter name
tloc
UnWrapElement
Description
Removes the selected structural elements, but leaves their contents and child elements intact in the document.
The
method does not remove all the elements in the selection but only removes the top-level
UnWrapElement()
elements.
Note: At least one structural element must be selected before calling the UnWrapElement() method.
Note: The UnWrapElement() method has no effect on object elements.
The method does not return anything on success.
On failure, the method returns one of the following values to
Error
Constants.FE_BadDocId (-2)
Constants.FE_BadSelectionForOperation (-59)
Constants.FE_WrongProduct (-60)
structure containing the element location.
ElementLoc
FA_errno
Reason
Invalid document.
tloc
parameter was empty or was improperly specified
Current FrameMaker interface is not Structured FrameMaker.
Data Type
Optional
No
TextLoc
FA_errno
Reason
Invalid document.
Current text selection is invalid for this operation.
Current FrameMaker interface is not Structured FrameMaker.
Last updated 9/26/2011
:
Description
The text location structure to convert.
:
494

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents