
482
ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
Last updated 9/26/2011
Returns
Tbl
Syntax
NewTable(format, numCols, numBodyRows, numHeaderRows, numFooterRows, textLoc)
Parameters
Paste
Description
Pastes the contents of the FrameMaker Clipboard into a specified document at the insertion point. Cutting and Pasting
objects causes FrameMaker to create an ID for the pasted object.
Specifying a value of 0 for the flags parameter, causes the Paste() method to suppress any interactive alerts or warnings
that arise. In addition, the method inserts columns to the left of the current columns and rows above the current row.
You can OR the following values into flags:
Error
Reason
Constants.FE_BadDocId (-2)
Invalid document.
Constants.FE_BadObjId (-3)
Invalid Object
Constants.FE_NotTextObject (-41)
Object specified for the text location is not a paragraph (FO_Pgf).
Constants.FE_OffsetNotFound (-21)
Offset specified for the text location could not be found in the specified paragraph or text line.
Constants.FE_BadOperation (-27)
Function call specified an illegal operation.
Constants.FE_BadNew (-23)
Table cannot be created; the format specified by
format
may not exist or the text location specified
by
textLoc
is in a table or a footnote.
Parameter name
Data Type
Optional
Description
format
string
No
The table format tag (for example, FormatA or Wide Table). To
use the default format, specify NULL.
numCols
int
No
The number of columns in the table. To use the default number
of columns from the Table Catalog format, specify -1.
numBodyRows
int
No
The number of rows in the table. To use the default number of
body rows from the Table Catalog format, specify -1.
numHeaderRows
int
No
The number of heading rows in the table. To use the default
number of header rows from the Table Catalog format, specify -
1.
numFooterRows
int
No
The number of footing rows in the table. To use the default
number of footer rows from the Table Catalog format, specify -1.
textLoc
TextLoc
No
The location at which to insert the new table. The location
cannot be within a footnote or a table.
Flags
Meaning
Constants.FF_INTERACTIVE (0x0001)
Prompt the user with dialog or alert boxes that arise.
Содержание 65030365 - FrameMaker - PC
Страница 1: ...Scripting Guide ADOBE FRAMEMAKER 10...