Adobe 65030365 - FrameMaker - PC Manual page 682

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

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents