Main Content

Table Column Specification

Specify table column properties

Description

Specifies the format of a table column. Add a Table Column Specification component for only those columns that you do not want the default settings for the table.

Properties

  • Column number: Specifies a column number for the column to which this column specification applies. Enter a number or %<expr>. Avoid using the same column number for two column specifications in the same table.

  • Column name: Specifies the name of this column. The name appears in the Outline pane of the Report Explorer. Enter text or a %<expr>.

    A Table Entry component can use this name to specify that it starts or ends on this column.

  • Column width: Specifies the width of the column.

    To specify an absolute column width, specify a number or %<expr>. When you specify an absolute width, you can include the units, for example, 5in. Supported units are inches (in), picas (pc), points (pt), and pixels (px). If you do not specify a unit, the default for template-based output types (for example, Word from template) is pixels. For all other output types, the default is points.

    You can use relative widths for columns. If you use relative widths for one column in a table, you must use relative widths for the other columns in the table. Specify 1* for one column, as a baseline. For other columns, specify the width as a factor of the baseline column. The width of each column reflects its relative size. For example, suppose a two column table is 6 inches wide. The width of the first column is set to 1*, and the width of the second column is set to 2*. The width of the first column is 2 inches, and the width of the second column is 4 inches.

  • Entry horizontal alignment: Justifies the position of table entries in the column, relative to the left and right sides of the column.

    Use the Horizontal entry alignment setting of the Table component, or explicitly set this property:

    • Left: Aligns content with the left side of the column.

    • Center: Aligns content in the middle of the column.

    • Right: Aligns content with the right side of the column.

    • Double justified: Justifies the left and right sides the entry content, to avoid ragged left and ragged right alignment.

    To override this setting for a specific table entry, use the Horizontal alignment property for that table entry.

  • Column separator: Use the Between columns setting of the Table component, or explicitly set the Column separator property.

    • True: Draws a vertical line at the right edge of the column (except for the last column).

    • False: Draws no vertical line at the right edge of the column.

  • Row separator: Use the Between rows setting of the Table component, or explicitly set the Row separator property.

    • True: Draws a horizontal line at the bottom of each row in the column (except for the bottom row).

    • False: Does not draw a horizontal line at the bottom of each row in the column.

Insert Anything into Report?

Yes. Table.

Class

rptgen.cfr_ext_table_colspec