Adobe 65030365 - FrameMaker - PC Manual page 489

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

Advertisement

ADOBE FRAMEMAKER SCRIPTING GUIDE
Function Summary
MergeIntoLast
Description
Merges the selected structural elements into the last element in the selection.
Note: At least two structural elements must be selected in the document before calling the MergeIntoLast() method.
On success, the method does not return any value.
On failure, the method returns one of the following values to
Error
Constants.FE_WrongProduct (-60)
Constants.FE_BadDocId (-2)
Constants.FE_BadSelectionForOperation (-59)
Returns
Void
Syntax
MergeIntoLast()
NewTable
Description
Inserts a table (
FO_Tbl object
When you create a table in the user interface, you can specify a Table Catalog format for the table. FrameMaker uses
the following properties of the Table Catalog format as the defaults for the new table:
• Number of body rows (
TblInitNumBodyRows
• Number of columns (
TblInitNumCols
• Number of footer rows (
TblInitNumFRows
• Number of header rows (
• Paragraph formats for header, body, and footer cells
For example, if the Table Catalog format's
is set to 8.With the
NewTable()
of rows and columns in a new table, or you can provide your own defaults. After you have create a table, you can add
or remove rows with the
AddRows()
and
AddCols()
DeleteCols()
FrameMaker document, FrameMaker applies default element tags, such as Table, Row, and Cell, to the table element
and its child elements. To make these elements valid, you must add code to change their tags. In most cases it is easier
to add tables to structured documents by calling the
a table element.
On success, the method returns the newly added table.
On failure, the method returns one of the following values to
Reason
The current FrameMaker version does not support the requested operation
Invalid document.
Current text selection is invalid for this operation.
).
)
)
)
)
TblInitNumHRows
TblInitNumCols
method, you can use the Table Catalog format properties as defaults for the number
and
DeleteRows()
methods. If you use the
NewElementInHierarchy()
Last updated 9/26/2011
:
FA_errno
property is set to 8, the
NumCols
methods. You can add or remove columns with the
method to create a table in a structured
NewTable()
or
:
FA_errno
property of the new table
methods to add
NewElement()
481

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 10

Table of Contents