Chapter 2

See Graphic.

Corel® WordPerfect® Product Commands
T


TableColumnAttributeOn

Purpose

Turn on the specified character attributes in a table column. Not recordable.

Syntax

TableColumnAttributeOn ({Attribute: enumeration; })

Parameters

Attribute

enumeration (optional)

Bold!

Shadow!

DoubleUnderline!

Small!

Every!

SmallCaps!

ExtraLarge!

Strikeout!

Fine!

Subscript!

Italics!

Superscript!

Large!

Underline!

Outline!

VeryLarge!

Redline!

 

See Also

TableColumnAttributeOff


TableColumnDecimalAlignDigits

Purpose

Specify the number of digits to display between the decimal point and the right edge of cells with decimal align justification in the current column.

Syntax

TableColumnDecimalAlignDigits (Digits: numeric)

Parameters

Digits

numeric

See Also

TableCellJustification, TableColumnDecimalAlignDist, TableColumnJustification, TableFormatJustification


TableColumnDecimalAlignDist

Purpose

Specify the distance between the decimal and the right edge of cells with decimal align justification in the current column.

Syntax

TableColumnDecimalAlignDist (Distance: measurement)

Parameters

Distance

measurement

See Also

TableCellJustification, TableColumnDecimalAlignDigits, TableColumnJustification, TableFormatJustification


TableColumnFixedWidth

Purpose

Specify a fixed column width.

Syntax

TableColumnFixedWidth (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnWidth, TableColumnsFixedWidth


TableColumnJustification

Purpose

Specify column justification.

Syntax

TableColumnJustification (Mode: enumeration)

Parameters

Mode

enumeration

Center!

DecAlign!

Full!

FullAll!

Left!

Right!

See Also

?CellJustification, TableCellJustification, TableFormatJustification


TableColumnMarginLeft

Purpose

Specify the distance between the left edge of a column and the text in the column.

Syntax

TableColumnMarginLeft (Margin: measurement)

Parameters

Margin

measurement

See Also

TableColumnMarginRight, TableMarginLeft, TableMarginRight


TableColumnMarginRight

Purpose

Specify the distance between the right edge of a column and the text in the column.

Syntax

TableColumnMarginRight (Margin: measurement)

Parameters

Margin

measurement

See Also

TableColumnMarginLeft, TableMarginLeft, TableMarginRight


TableColumnNumberAlignCurrency

Purpose

Align the currency symbols in a column.

Syntax

TableColumnNumberAlignCurrency (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnNumberSelCurrency


TableColumnNumberDateFormat

Purpose

Specify a date format for the current column.

Syntax

TableColumnNumberDateFormat (DateFmtNum: numeric)

Parameters

DateFmtNum

numeric 1 July 5, 1959

2 7/5/59

3 Jul 5, 1959

4 5 July 1959

5 Sunday, July 5, 1959

6 12:00 pm

7 5Jul59

8 July 5, 1959 (12:00pm)

9 1959-07-05

10 7/5

11 Jul 5

12 15:02:02

See Also

TableColumnNumberFormat


TableColumnNumberDecimalDigits

Purpose

Specify the number of digits after the decimal when TableColumnNumberFormat is Fixed2!. Precede with TableColumnNumberFormat.

Syntax

TableColumnNumberDecimalDigits (NumDigits: numeric)

Parameters

NumDigits

numeric

See Also

TableColumnNumberFormat


TableColumnNumberFormat

Purpose

Specify a number format for the current column.

Syntax

TableColumnNumberFormat (FormatType: enumeration)

Parameters

FormatType

enumeration

Accounting!

General!

Commas!

Integer!

Currency!

Percent!

DateFormat!

Scientific!

Fixed2!

TextOnly!

See Also

TableColumnNumberAlignCurrency, TableColumnNumberDateFormat, TableColumnNumberDecimalDigits, TableColumnNumberRound, TableColumnNumberSelCurrency


TableColumnNumberNegNumber

Purpose

Specify how to display negative numbers in the current column.

Syntax

TableColumnNumberNegNumber (NegDisplayType: enumeration)

Parameters

NegDisplayType

enumeration

CRDR!

Minus!

Parentheses!


TableColumnNumberRound

Purpose

Round numbers entered as decimals to integers in the current column when TableColumnNumberFormat is set to Integer!.

Syntax

TableColumnNumberRound (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnNumberFormat


TableColumnNumberSelCurrency

Purpose

Specify a currency type for the current column.

Syntax

TableColumnNumberSelCurrency (IntlCurrency: enumeration)

Parameters

IntlCurrency

enumeration

Austria!

Israel!

Belgium!

Italy!

BelgiumFrench!

Japan!

Brazil!

Korea!

Canada!

Netherlands!

China!

Norway!

Croatia!

NorwayIntl!

CzechRepublic!

Paraguay!

DefaultCurrency!

Peseta!

Denmark!

Peso!

Dollar!

Poland!

Ecuador!

Portugal!

ElSalvador!

Ruble!

Finland!

RussianRuble!

FinlandIntl!

Singapore!

France!

SlovakRepublic!

FrenchCanada!

Slovenia!

Germany!

SouthAfrica!

Greece!

Sweden!

Guatemala!

Switzerland!

Honduras!

Taiwan!

HongKong!

Turkey!

Hungary!

UnitedKingdom!

Iceland!

Venezuela!

See Also

TableColumnNumberAlignCurrency, TableColumnNumberFormat


TableColumnNumberUseCommas

Purpose

Display commas in numbers with three or more digits to the left of the decimal.

Syntax

TableColumnNumberUseCommas (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnNumberFormat


TableColumnNumberUseCurrency

Purpose

Display a currency symbol with numbers.

Syntax

TableColumnNumberUseCurrency (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnNumberFormat


TableColumnsFixedWidth

Purpose

Turn on the Fixed width option for all columns in the current table.

Syntax

TableColumnsFixedWidth (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableColumnFixedWidth


TableColumnSize2Fit

Purpose

Adjust the table column width to the width of a selected cell or to fit data.

Syntax

TableColumnSize2Fit ()


TableColumnWidth

Purpose

Specify the width of the current column.

Syntax

TableColumnWidth (ColumnWidth: measurement)

Parameters

ColumnWidth

measurement

See Also

TableColumnFixedWidth, TableFormatWidths


TableColumnWidthEqualize

Purpose

Make the widths of all the selected columns equal. This command sums the widths of the selected columns, finds the average, and applies it to each of the selected columns.

Syntax

TableColumnWidthEqualize ()

See Also

TableAdjustColumnWidth


TableColumnWidthGrow

Purpose

Increase the width of a table column.

Syntax

TableColumnWidthGrow ()


TableColumnWidthShrink

Purpose

Decrease the width of a table column.

Syntax

TableColumnWidthShrink ()


TableConvertDlg

Purpose

Display the Convert Table dialog box. If no text is selected, the macro ends or goes to the ONERROR label.

Syntax

TableConvertDlg ()


TableConvertFrom

Purpose

Convert the selected text in tabular or parallel columns to a table.

Syntax

TableConvertFrom (Type: enumeration)

Parameters

Type

enumeration

ParallelColumns!

TabularColumns!

See Also

TableCreate


TableCopy

Purpose

Copy the contents of the selected cells to the current column or the current row using (Block!). TableMoveModeEnd inserts selected cells into the table. To record, first select two or more cells.

Syntax

TableCopy (Copy: enumeration)

Parameters

Copy

enumeration

Block!

Column!

Row!

See Also

TableMove


TableCopyFormula

Purpose

Copy a formula from the current cell to another cell.

Syntax

TableCopyFormula (CellIDCntToCell: enumeration; Where: any)

Parameters

CellIDCntToCell

enumeration

Cell!

Down!

Right!

Where

any (optional) The cell address if CellIDCntToCell is Cell! or Right!


TableCreate

Purpose

Create a table.

Syntax

TableCreate (Columns: numeric; Rows: numeric)

Parameters

Columns

numeric

Rows

numeric

See Also

?BetweenTableCodes, ?TableInTable, TableConvertFrom, TableJoin, TableSplit


TableCreateDlg

Purpose

Display the Create Table dialog box.

Syntax

TableCreateDlg ()

See Also

TableCreate


TableCreateNewDlg

Purpose

Display the Create Table dialog box. Recordable equivalent: TableCreateDlg

Syntax

TableCreateNewDlg ()

See Also

TableCreate


TableDataFill

Purpose

Fill a cell with a formula or data. Select at least two cells. The first must contain data or a formula. At least one other selected cell must be empty.

Syntax

TableDataFill ()


TableDecimalAlignmentDigits

Purpose

Specify the number of digits between the decimal point and the right edge of cells.

Syntax

TableDecimalAlignmentDigits (Number: numeric)

Parameters

Number

numeric (optional)

See Also

TableDecimalAlignmentDistance, TableFormatJustification


TableDecimalAlignmentDistance

Purpose

Specify the distance between the decimal and the right edge of cells.

Syntax

TableDecimalAlignmentDistance (Position: measurement)

Parameters

Position

measurement (optional)

See Also

TableDecimalAlignmentDigits, TableFormatJustification


TableDefaultLine

Purpose

Specify the default line style of a table.

Syntax

TableDefaultLine (Style: any)

Parameters

Style

any Enclose user-defined graphics line styles in quotation marks.

ButtonBottomRightLine!

HeavySingleLine!

ButtonTopLeftLine!

NoLine!

DashedLine!

SingleLine!

DottedLine!

TableDefaultLine!

DoubleLine!

ThickLine!

ExtraThickLine!

ThickThinLine!

HeavyDoubleLine!

ThinThickLine!

See Also

TableCellLine


TableDefaultLineColor

Purpose

Specify the default line color for a table.

Syntax

TableDefaultLineColor (ColorName: string; Red: numeric; Green: numeric; Blue: numeric; Shade: numeric)

Parameters

ColorName

string (optional) This parameter has been left in for backward compatability with previous versions of Corel WordPerfect. To specify a color in Corel WordPerfect 8, use the Red, Green, and Blue parameters.

Red

numeric (optional) Value: 0-255.

Green

numeric (optional) Value: 0-255.

Blue

numeric (optional) Value: 0-255.

Shade

numeric (optional) Percent: 0-100.

See Also

TableCellLineColor


TableDeleteBlock

Purpose

Delete the contents of selected cells.

Syntax

TableDeleteBlock ()

See Also

TableDeleteColumn, TableDeleteRow, TableUndelete


TableDeleteCellFormula

Purpose

Delete the formulas in the current cell.

Syntax

TableDeleteCellFormula ()


TableDeleteColumn

Purpose

Delete table columns.

Syntax

TableDeleteColumn (Number: numeric)

Parameters

Number

numeric The number of columns to delete, beginning with the current column and moving left. Default: current column or selected columns.

See Also

TableDeleteBlock, TableDeleteRow, TableUndelete


TableDeleteDlg

Purpose

Display the Delete dialog box.

Syntax

TableDeleteDlg ()

See Also

TableDeleteColumn, TableDeleteRow


TableDeleteRow

Purpose

Delete table rows.

Syntax

TableDeleteRow (Number: numeric)

Parameters

Number

numeric (optional) The number of rows to delete, beginning with the current row and moving down.

See Also

TableDeleteColumn, TableDeleteDlg


TableDeleteTable

Purpose

Delete a table and/or its contents, or convert the table data to tabbed text or merge fields.

Syntax

TableDeleteTable (DelWhat: enumeration)

Parameters

DelWhat

enumeration

ConvertOnly! Deletes table contents only.

ConvertToMerge! Converts cells of each row to ENDFIELD codes.

ConvertToMergeNames! Converts first row cells to FIELDNAMES, and cells in remaining rows to ENDFIELD codes.

ConvertToTabs! Deletes table structure and converts contents to tabbed text.

EntireTable!


TableDeleteTableDlg

Purpose

Display the Delete Table dialog box.

Syntax

TableDeleteTableDlg ()


TableDisableCellLocks

Purpose

Turn off cell locks.

Syntax

TableDisableCellLocks (State: enumeration)

Parameters

State

enumeration

No!

Yes!


TableDragToCreate

Purpose

Turn the Drag to Create Tables option on or off.

Syntax

TableDragToCreate (State: enumeration)

Parameters

State

enumeration (optional)

Off!

On!


TableEdit

Purpose

Begin a table editing command sequence. If not in a table, the macro searches backward for a table to edit. If no table is found, it searches forward.

Syntax

TableEdit ()

See Also

TableCreate


TableExpertDlg

Purpose

Display the Table SpeedFormat dialog box.

Syntax

TableExpertDlg ()


TableFill

Purpose

Specify a table fill pattern. Precede with TableBorderEditBegin and follow TableBorderEditEnd.

Syntax

TableFill (Pattern: any)

Parameters

Pattern

any

Fill10!

Fill60!

Fill100!

Fill70!

Fill20!

Fill80!

Fill30!

Fill90!

Fill40!

FillButton!

Fill5!

NoFill!

Fill50!

 

See Also

TableAlternateFillSet, TableBorderEditBegin, TableBorderEditEnd, TableCellFillStyle, TableSecondFill


TableFormatDlg

Purpose

Display the Properties for Table Format tab.

Syntax

TableFormatDlg ()


TableFormatJustification

Purpose

Specify table justification.

Syntax

TableFormatJustification (Justification: enumeration)

Parameters

Justification

enumeration

Center!

DecAlign!

Full!

FullAll!

Left!

Right!

See Also

?CellJustification, Justification, TableCellJustification, TableColumnJustification


TableFormatWidths

Purpose

Set table column width.

Syntax

TableFormatWidths (Width: measurement)

Parameters

Width

measurement


TableFormula

Purpose

Specify a formula for the current cell.

Syntax

TableFormula (Formula: string)

Parameters

Formula

string

See Also

TableNameAdd


TableFormulaCBar

Purpose

Display the Table Formula feature bar, which helps you view and edit formulas in a table.

Syntax

TableFormulaCBar ()


TabLeft

Purpose

Insert a Hard Left Tab with or without a dot leader.

Syntax

TabLeft (Type: enumeration)

Parameters

Type

enumeration (optional)

DotLeader!

Normal!

See Also

TabCenter, TabDecimal, TabRight


TabLeftDot

Purpose

Insert a Hard Left Tab code with a dot leader. Recordable substitute: TabLeft.

Syntax

TabLeftDot ()


TableGridLinesToggle

Purpose

Display or hide table grid lines.

Syntax

TableGridLinesToggle ()


TableGuides

Purpose

Turn Table Guides on or off.

Syntax

TableGuides (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

?TableGuides


TableHardColumnBreak

Purpose

Insert a column break and continue the table in the next column. Cannot be in the first row. In the last column, the table continues on the next page.

Syntax

TableHardColumnBreak ()

See Also

PosTableRowBegin, TableHardRow


TableHardRow

Purpose

Insert a page break and continue the table on the next page.

Syntax

TableHardRow ()

See Also

PosTableRowBegin, TableHardColumnBreak


TableHeader

Purpose

Specify the current row as a header row.

Syntax

TableHeader (State: enumeration)

Parameters

State

enumeration

No!

Yes!


TableInsertAutoRow

Purpose

Turn Auto Row Insert on or off.

Syntax

TableInsertAutoRow (State: enumeration)

Parameters

State

enumeration

No!

Yes!


TableInsertColumn

Purpose

Insert table columns before or after the insertion point.

Syntax

TableInsertColumn (Number: numeric; InsertPos: enumeration; PreserveWidths: enumeration)

Parameters

Number

numeric

InsertPos

enumeration

After!

Before!

PreserveWidths

enumeration (optional)

No!

Yes!

See Also

TableInsertRow


TableInsertDlg

Purpose

Display the Insert Columns/Rows dialog box.

Syntax

TableInsertDlg ()

See Also

TableInsertColumn, TableInsertRow


TableInsertOneRow

Purpose

Insert a new row above the current row.

Syntax

TableInsertOneRow ()


TableInsertRow

Purpose

Insert rows before or after the insertion point.

Syntax

TableInsertRow (NumberOfRows: numeric; InsertPosition: enumeration)

Parameters

NumberOfRows

numeric

InsertPosition

enumeration

After!

Before!

See Also

TableAppendRow, TableInsertColumn, TableInsertDlg


TableJoin

Purpose

Join the current and following tables. The tables must have the same number of columns.

Syntax

TableJoin ()

See Also

TableSplit


TableJoinCells

Purpose

Join the selected table cells.

Syntax

TableJoinCells ()


TableJoinCellTool

Purpose

Turn on or off the join cells tools.

Syntax

TableJoinCellTool ()


TableLineFillDlg

Purpose

Display the Table Lines/Fill dialog box. The insertion point must be in a table.

Syntax

TableLineFillDlg ()


TableMarginLeft

Purpose

Specify the distance from the left edge of all cells in a table to the cell text.

Syntax

TableMarginLeft (Margin: measurement)

Parameters

Margin

measurement

See Also

TableColumnMarginLeft, TableColumnMarginRight, TableMarginRight


TableMarginRight

Purpose

Specify the distance from the right edge of all cells in a table to the cell text.

Syntax

TableMarginRight (Margin: measurement)

Parameters

Margin

measurement

See Also

TableColumnMarginLeft, TableColumnMarginRight, TableMarginLeft


TableMove

Purpose

Move the contents of the current cell, selected cells, current column, or current row. At least two cells must be selected. Follow with TableMoveModeEnd to insert contents.

Syntax

TableMove (Move: enumeration)

Parameters

Move

enumeration

Block!

Cell!

Column!

Row!

See Also

TableCopy


TableMoveCopyDlg

Purpose

Display the Copy Formula dialog box.

Syntax

TableMoveCopyDlg ()

See Also

TableCopy, TableMove


TableMoveModeCancel

Purpose

Cancel TableMove or TableCopy.

Syntax

TableMoveModeCancel ()


TableMoveModeEnd

Purpose

Paste the contents moved or copied with TableMove or TableCopy into a table at the insertion point.

Syntax

TableMoveModeEnd ()


TableNameAdd

Purpose

Name a cell, block of cells, row, column, or table.

Syntax

TableNameAdd (RefType: enumeration; Name: string)

Parameters

RefType

enumeration

Block!

Cell!

CellsDown!

CellsRight!

Column!

FloatingCell!

Row!

Table!

Name

string (optional)

See Also

TableNameDelete


TableNameChange

Purpose

Rename an existing table.

Syntax

TableNameChange (OldName: string; NewName: string; NewRef: string)

Parameters

OldName

string

NewName

string (optional)

NewRef

string (optional)


TableNameCreateDlg

Purpose

Display the Create Name dialog box.

Syntax

TableNameCreateDlg ()


TableNameDelete

Purpose

Delete a table name.

Syntax

TableNameDelete (TableName: string)

Parameters

TableName

string

See Also

TableNameAdd


TableNameListDlg

Purpose

Display the Table Names in Current Document dialog box.

Syntax

TableNameListDlg ()

See Also

TableNameAdd


TableNumberAlignCurrency

Purpose

Align the currency symbols in a table.

Syntax

TableNumberAlignCurrency (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

TableNumberSelectCurrency


TableNumberDateFormat

Purpose

Specify a date format for the current table.

Syntax

TableNumberDateFormat (DateFmtNum: numeric)

Parameters

DateFmtNum

numeric 1 July 5, 1959

2 7/5/59

3 Jul 5, 1959

4 5 July 1959

5 Sunday, July 5, 1959

6 12:00 pm

7 05Jul59

8 July 5, 1959 (12:00pm)

See Also

TableNumberFormat


TableNumberDecimalDigits

Purpose

Specify the number of digits after the decimal.

Syntax

TableNumberDecimalDigits (NumDigits: numeric)

Parameters

NumDigits

numeric

See Also

TableNumberFormat


TableNumberFormat

Purpose

Specify a numbering type for the current table.

Syntax

TableNumberFormat (FormatType: enumeration)

Parameters

FormatType

enumeration

Accounting!

General!

Commas!

Integer!

Currency!

Percent!

DateFormat!

Scientific!

Fixed2!

TextOnly!

See Also

TableColumnNumberAlignCurrency, TableColumnNumberDateFormat, TableColumnNumberDecimalDigits, TableColumnNumberRound, TableNumberSelectCurrency, PowerTableNumericFormat


TableNumberNegativeNumber

Purpose

Specify the display of negative numbers in the current table.

Syntax

TableNumberNegativeNumber (NegDisplay: enumeration)

Parameters

NegDisplay

enumeration

CRDR!

Minus!

Parentheses!