
673
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Calling
ReturnValue()
for notifications other than those listed above, has no effect.
A client can also call
ReturnValue()
in a
DialogEvent()
callback that responds to actions in a client-defined modal
dialog box.
Normally, when the user clicks a button in a client-defined modal dialog box, FrameMaker calls the client’s
DialogEvent()
callback and then closes the dialog box. However, if the client’s
DialogEvent()
callback calls
ReturnValue()
with
retvalue
set to
Constants.FR_DialogStayUp (-10000)
, FrameMaker does not close the
dialog box.
The following table lists the values that a client can pass to
ReturnValue()
in a
DialogEvent()
callback:
On success,
ReturnValue()
returns the value of the retvalue parameter that was set, the previous time
ReturnValue()
was called in the current callback function.
On failure, the method assigns the following value to
FA_errno
:
Returns
int
Syntax
ReturnValue(retvalue)
Parameters
Constants.FA_Note_DisplayClientTiDialog (35)
Constants.FR_DisplayedTiDialog (-10002)
The client has displayed its version of the Text
Inset Properties dialog box.
Constants.FA_Note_PreSaveAsPDFDialog (71)
•
Constants.FR_CancelOperation (-10001)
•
Constants.FR_SkipStep (-10004)
•
Cancel the Save As PDF operation.
•
Do not display the Acrobat Settings dialog
box
Constants.FA_Note_PostSaveAsPDFDialog (72)
Constants.FR_CancelOperation (-10001)
Cancel the Save as PDF operation.
Note:
This event occurs before the
distilling operation begins. You can
now cancel the peration after the user
closes Save As PDF dialog box.
Constants.FA_Note_PreDistill (73)
Constants.FR_CancelOperation (-10001)
Cancel the Save as PDF operation.
Value
Meaning
Constants.FR_DialogStayUp (-10000)
Do not close the modal dialog box in which the event occurred.
Any other value
Close the modal dialog box.
Error
Reason
Constants.FE_Transport (-1)
A transport error occurred.
Parameter name
Data Type
Optional
Description
retvalue
int
No
The value to return.
Notification
Values that client can pass to
ReturnValue()
Meaning
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...