
674
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
ShutDown
Description
Closes an ESTK client’s connection.
Returns
Void
Syntax
ShutDown(_)
Parameters
SimpleNewDoc
Description
Creates a new document from a specified template.
Note:
If you call
SimpleNewDoc()
with interactive set to True and the user clicks etiher Portrait, Custom, or Landscape
in the New dialog box,
SimpleNewDoc()
does not create a document. Intead, it returns 0 and sets FA_errno to either
Constants.FE_WantsPortrait (-48)
,
Constants.FE_WantsCustom (-46)
, or
Constants.FE_WantsLandscape
(-47)
, respectively. It is up to your client to create a portrait, custom, or landscape document.
Note:
For more information on creating custom documents, see “
CustomDoc
” on page
652.
If
SimpleNewDoc()
fails, the API assigns an error code to FA_errno. The error codes for
SimpleNewDoc()
are the
same as those for
Open()
. For a list of these error codes, see “
Open
” on page 681.
Returns
Doc
Syntax
SimpleNewDoc(templateName, interactive)
Parameters
UserCancel
Description
Determines whether the user has chosen the Cancel command (ESC) since the current callback function was called.
Parameter name
Data Type
Optional
Description
_
Void
No
NULL
Parameter name
Data Type
Optional
Description
templateName
string
No
The absolute pathname of the template to use.
interactive
int
No
Specifies whether FrameMaker displays messages and warnings
to the user.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...