appendTable (NotesRichTextItem - JavaScript™)
Inserts a table in a rich text item. The table text takes the current style of the item.
Defined in
NotesRichTextItemSyntax
appendTable(rows:int, columns:int) : void
appendTable(rows:int, columns:int, labels:java.util.Vector)
: void
appendTable(rows:int, columns:int, labels:java.util.Vector,
leftmargin:int,
rtpstyles:java.util.Vector) : void
A default is taken if the signature does not include the parameter or the parameter is specified as null.
Parameter | Description |
---|---|
rows |
Number of rows in the table. |
columns |
Number of columns in the table. |
labels |
Elements are of type string. Text of labels for a tabbed table. The number of elements must equal the number of rows. Specifying this parameter appends a tabbed table. The default is a basic table. |
leftmargin |
Left margin of the table in twips. Note the
following values:
|
rtpstyles |
Elements are of type RichTextParagraphStyle. Creates a table with fixed-width columns and style attributes as specified. The default is an auto-width table. The vector must contain one element for each column in the table in sequence. Explicitly set the first line left margin and left margin, which control the start of text relative to the start of the column, and the right margin, which controls column width. |