Table Suite
521
Command: set left indent
Sets the indentation for a row or rows in a table.
Syntax
set left indent row/row options Required. An expression that returns a row or row options
object.
left indent small real Required. The distance (in points) between the left page margin and the
left edge of the specified row or rows.
ruler style enumeration Required. Controls the way Word adjusts the table when the left indent
is changed. Can be one of the following:
Constant
Description
adjust first column Preserves the position of the right edge of the table by narrowing cells
in the first column only.
adjust none
Moves cells to the right. This is the default value.
adjust proportional Preserves the position of the right edge of the table by narrowing all the
cells in the specified rows in proportion to their widths.
adjust same width
Preserves the position of the right edge of the table by narrowing all the
cells in the specified rows, assigning the same width to all of them.
Example
This example creates a table in a new document and indents the first row 0.5 inch (36 points). When
you change the left indent, the cell widths are adjusted to preserve the right edge of the table.
set newDoc to make new document
set myTable to make new table at the beginning of newDoc with properties ¬
{number of rows:3, number of columns:3}
set left indent (row 1 of myTable) left indent 36 ruler style adjust same width
Command: set table item height
Sets the height of table rows or cells.
Syntax
set table item height row/cell/row options Required. An expression that returns a row, cell, or
row options object.
row height integer Required. The height (in points) of the row or rows.
[height rule enumeration] Optional. The rule for determining the height of the specified cells.
Can be one of the following: row height at least, row height auto, or row height exactly. The
default value is row height at least.
Setting the height property of a cell object automatically sets the property for the entire row.