Arbortext Command Language > Using the Arbortext Command Language > Set Table Attributes
  
Set Table Attributes
In addition to the attributes listed in the Shared table attributes help topic, the following attributes are supported on set table objects.
CELLPADDING
This attribute applies to HTML tables only.
This attribute controls the space between cell wall and the cell contents (the cell wall is at the center of the cell border, not at its edge). The only supported unit is px (pixel). Enter a whole number value in the field provided. The default value is 2 pixels.
CELLSPACING
This attribute applies to HTML tables only.
This attribute controls the space between cells and between the table outer border and the table cells. The only supported unit is px (pixel). Enter a whole number value in the field provided. The default value is 1 pixel.
DEFAULT_RTH_UNIT
This attribute indicates the default “row target height” unit. If a row has an explicit height, for example 1.0in, and the user drag-resizes the row's height, we store the new height to markup using in (inches) as the unit.
Consider the case, however, in which a table has no explicit row heights given in its markup. If the user drag-resizes a row, Arbortext Editor wants to store the value thus created, but doesn't know which unit to use. This attribute provides an answer to the question.
If a row has no explicit height set and a user's edit forces Arbortext Editor to pick a unit, it uses the unit named by this attribute on the Set containing the Grid containing the Row.
Permissible units in OASIS Exchange and Arbortext tables are in, pt, pi, px, cm, or mm meaning inches, points, picas, pixels, centimeters, or millimeters.
In HTML tables, the only allowable row height unit is pixels. Consequently, this attribute is not supported in HTML tables.
FRAME
This attribute indicates how the outer borders of a Set are drawn. Note that the setting of this attribute is overridden by any style setting for an individual frame or inner rule. The following values are supported:
Value
Effect
top
Draws the top border of the set only.
bottom
Draws the bottom border of the set only.
topbot
Draws the top and bottom borders of the set only.
all
Draws all four borders of the set.
sides
Draws the left and right borders of the set only.
left
Draws the left border of the set only.*
right
Draws the right border of the set only.*
none
Draws no borders.
*Applies to HTML tables only.
FRAME_COLOR_ABOVE
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the color of the top, outer border. The value is either a named color or an RGB value.
FRAME_COLOR_BELOW
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the color of the bottom, outer border. The value is either a named color or an RGB value.
FRAME_COLOR_LEFT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the color of the left, outer border. The value is either a named color or an RGB value.
FRAME_COLOR_RIGHT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the color of the right, outer border. The value is either a named color or an RGB value.
FRAME_STYLE_ABOVE
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the style of the top, outer border. The following values are supported:
blank
single
double
dashed
dotted
FRAME_STYLE_BELOW
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the style of the bottom, outer border. The supported values are the same as the FRAME_STYLE_ABOVE attribute.
FRAME_STYLE_LEFT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the style of the left, outer border. The supported values are the same as the FRAME_STYLE_ABOVE attribute.
FRAME_STYLE_RIGHT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the style of the right, outer border. The supported values are the same as the FRAME_STYLE_ABOVE attribute.
FRAME_WIDTH_ABOVE
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the width of the top, outer border. The value is a decimal number followed by a unit of measure, for example 1.0pt. The following units of measurement are supported:
pt — points
pi — picas
in — inches
mm — millimeters
cm — centimeters
px — pixels.
em — em space
FRAME_WIDTH_BELOW
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the width of the bottom, outer border. The supported values are the same as the FRAME_WIDTH_ABOVE attribute.
FRAME_WIDTH_LEFT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the width of the left, outer border. The supported values are the same as the FRAME_WIDTH_ABOVE attribute.
FRAME_WIDTH_RIGHT
This attribute applies to OASIS, HTML, and custom tables.
This attribute controls the width of the right, outer border. The supported values are the same as the FRAME_WIDTH_ABOVE attribute.
FRAMERULES
This attribute applies to custom tables only.
This attribute sets the rules that are drawn for the custom table. Note that the setting of this attribute is overridden by any style setting for an individual frame or inner rule. The following values are supported:
Value
Effect
all
Draws all rules. (the default)
top
Draws the top frame rule only.
bottom
Draws the bottom frame rule only.
topbot
Draws the top and bottom frame rules only.
left
Draws the left frame rules only.
right
Draws the right frame rules only.
sides
Draws the left and right frame rules only.
rows
Draws the horizontal rules only.
cols
Draws the vertical rules only.
frame-only
Draws the outer frame rules only.
none
Draws no rules.
FRAMETHICKNESS
This attribute applies to HTML tables only.
This attribute sets the width of the outer table border. The only supported unit is px (pixels). Attribute values must be whole numbers.
GUITYPE
This attribute returns the string oasis, ati, or html to specify that the table editor is to use the Oasis Exchange, Arbortext, or HTML (respectively) dialog box options for the table.
The user is not allowed to set this attribute.
RULE
This attribute applies to HTML tables only.
This attribute sets which rules are drawn for the inside of the table. The outer borders are controlled by the FRAME attribute. Note that the setting of this attribute is overridden by any style setting for an individual frame or inner rule. The following values are supported:
Supported values for RULE attribute
all
Draws all the internal rules within the set.
rows
Draws only the horizontal rules between the rows within the set.
cols
Draws only the vertical rules between the columns within the set.
groups
Draws a single horizontal rule between the header and body rows and another single horizontal rule between the body and footer rows.
none
Draws no rules within the set.
TMID
This attribute is the Table Model ID of the Table Model that is managing the Set and its content.
The user is not allowed to set this attribute.
Related Topics
Table object attributes overview
Shared table attributes
Grid table attributes
Column table attributes
Row table attributes
Cell table attributes
Rule table attributes
tbl_obj_attr_clear
tbl_obj_attr_delete
tbl_obj_attr_get
tbl_obj_attr_set