Adobe 65030365 - FrameMaker - PC Manual page 637

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
UpdateTextInset
Description
Updates the contents of a stale text inset. It determines whether an inset is stale by comparing the inset's
property with the modification date of the inset's source file.
it is stale. To make a text inset stale, set its
insets (
objects).
FO_Inset
Call this method on the text inset to be updated.
This method returns
FE_Success
fails, it assigns one of the following values to
UpdateTextInset()
Error
Constants.FE_BadDocId (-2)
Constants.FE_BadFileType (-83)
Constants.FE_SomeUnresolved (-22)
Constants.FE_WrongProduct (-60)
Constants.FE_SystemError (-42)
Returns
int
Syntax
UpdateTextInset()
ConvertToText
Description
This method is called upon a text inset (Examples:
and converts it to a text. This method deletes the text inset and removes the locked text range around it without
modifying the content.
Returns
Void
Syntax
ConvertToText()
Delete
See "Delete" on page 412 under the AFrame class.
UpdateTextInset()
property to 0.
LastUpdate
if it succeeds or
FE_SomeUnresolved
Meaning
Invalid document ID
The inset specifies a file that does not match the import type (for example, the inset imports a
binary document but the file is a text file or doesn't exist)
Some text insets were unresolved
Product doesn't support the specified operation
Couldn't allocate memory
TiApiClient()
Last updated 9/26/2011
does not update a text inset unless
does not update graphic
UpdateTextInset()
if some text insets were unresolved. If
.
FA_errno
,
,
,
TiFlow()
TiText()
TiTextTable()
629
LastUpdate
) object

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents