Chapter 2

Corel® WordPerfect® Product Commands
T
Tab
Purpose
Insert a tab.
Syntax
Tab ()
See Also
TabKey, TabSet
TabAdd
Purpose
Add one or more tab sets to the current tab setting. If the parameter SpaceBetweenTabs is included, all tabs following an added tab reset to the new type and spacing.
Syntax
TabAdd (Position: measurement; Type: enumeration; SpaceBetweenTabs: measurement)
Parameters
Position
measurement The tab position relative to left edge of the page.
Type
enumeration
TabCenter!
TabCenterDot!
TabDecimal!
TabDecimalDot!
TabLeft!
TabLeftDot!
TabRight!
TabRightDot!
SpaceBetweenTabs
measurement (optional)
See Also
Tab, TabSet
TabBarIconShow
Purpose
Turn Tab Bar Icons on or off for the current session and return the current state. This command does not change display settings for Tab Bar Icons.
Syntax
boolean := TabBarIconShow (State: enumeration)
Parameters
State
enumeration
Off!
On!
See Also
PrefDisplaySet
TabCenter
Purpose
Insert a Hard Centered Tab code.
Syntax
TabCenter (Type: enumeration)
Parameters
Type
enumeration (optional)
DotLeader!
Normal!
See Also
TabDecimal, TabLeft, TabRight
TabCenterDot
Purpose
Insert a Hard Centered Tab code with a dot leader. Recordable substitute: TabCenter.
Syntax
TabCenterDot ()
TabClearAll
Purpose
Clear all tab settings.
Syntax
TabClearAll ()
TabDecimal
Purpose
Insert a hard decimal-aligned tab.
Syntax
TabDecimal (Type: enumeration)
Parameters
Type
enumeration (optional)
DotLeader!
Normal!
See Also
TabCenter, TabLeft, TabRight
TabDecimalDot
Purpose
Insert a Hard Decimal Tab code with a dot leader. Recordable substitute: TabDecimal.
Syntax
TabDecimalDot ()
TabDelete
Purpose
Delete one tab setting without affecting any other tab settings.
Syntax
TabDelete (Position: measurement)
Parameters
Position
measurement
See Also
Tab, TabAdd, TabSet
TabForced
Purpose
Insert a forced tab. Forced tabs cannot be replaced by the QuickIndent feature. Recordable substitute: TabInsert.
Syntax
TabForced ()
See Also
TabInsert, QuickCorrectQuickIndentSet
TabInsert
Purpose
Insert a tab into the document.
Syntax
TabInsert ()
See Also
TabForced
TabKey
Purpose
Perform the functions of Tab: insert a tab, go to the next table cell, or go to the next outline level, depending on the location of the insertion point.
Syntax
TabKey ()
See Also
Tab
TableAdjustBegin
Purpose
Begin table adjustments from the Ruler. Follow with commands such as TableAdjustColumnWidth and TableAdjustPosition, and end with TableAdjustEnd.
Syntax
TableAdjustBegin ()
See Also
TableAdjustEnd, TableAdjustPosition
TableAdjustColumnWidth
Purpose
Specify a column width in WordPerfect units when adjusting columns from the Ruler. Use with TableAdjustBegin and TableAdjustEnd.
Syntax
TableAdjustColumnWidth (Column: numeric; Width: measurement)
Parameters
Column
numeric The leftmost column is 0.
Width
measurement
See Also
TableAdjustBegin, TableAdjustEnd
TableAdjustEnd
Purpose
End table adjustments from the Ruler. Precede with TableAdjustBegin and commands such as TableAdjustColumnWidth and TableAdjustPosition.
Syntax
TableAdjustEnd ()
See Also
TableAdjustBegin, TableAdjustColumnWidth, TableAdjustPosition
TableAdjustPosition
Purpose
Specify the number of WordPerfect units from the left margin to the left edge of a table when adjusting table position from the Ruler.
Syntax
TableAdjustPosition (Position: measurement)
Parameters
Position
measurement
See Also
TableAdjustBegin, TableAdjustEnd, TableMarginLeft
TableAlternateFillSet
Purpose
Specify the type of alternating table fill and the cell range to which the fill is applied.
Syntax
TableAlternateFillSet (State: enumeration; Span: numeric; AlternateSpan: numeric)
Parameters
State
enumeration
CheckerBoard!
Column!
Off!
Row!
Span
numeric (optional)
AlternateSpan
numeric (optional)
See Also
TableFill, TableSecondFill
TableAppendRow
Purpose
Insert a new row below the current row.
Syntax
TableAppendRow ()
See Also
TableInsertRow
TableApplyStyle
Purpose
Apply a table style using Table SpeedFormat.
Syntax
TableApplyStyle (Style: any; ResetAttributes: enumeration; ShowIn60: enumeration)
Parameters
Style
any
|
NoTableStyle! |
TableStyle28! |
|
TableStyle1! |
TableStyle29! |
|
TableStyle10! |
TableStyle3! |
|
TableStyle11! |
TableStyle30! |
|
TableStyle12! |
TableStyle31! |
|
TableStyle13! |
TableStyle32! |
|
TableStyle14! |
TableStyle33! |
|
TableStyle15! |
TableStyle34! |
|
TableStyle16! |
TableStyle35! |
|
TableStyle17! |
TableStyle36! |
|
TableStyle18! |
TableStyle37! |
|
TableStyle19! |
TableStyle38! |
|
TableStyle2! |
TableStyle39! |
|
TableStyle20! |
TableStyle4! |
|
TableStyle21! |
TableStyle40! |
|
TableStyle22! |
TableStyle5! |
|
TableStyle23! |
TableStyle6! |
|
TableStyle24! |
TableStyle7! |
|
TableStyle25! |
TableStyle8! |
|
TableStyle26! |
TableStyle9! |
|
TableStyle27! |
ResetAttributes
enumeration (optional) Clear the current table settings.
No!
Yes!
ShowIn60
enumeration (optional) Apply a style on a cell-by-cell basis.
No!
Yes!
TableAttributeOff
Purpose
Turn off the specified font attributes and relative font size attributes in a table.
Syntax
TableAttributeOff ({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
TableAttributeOn
TableAttributeOn
Purpose
Turn on the specified character attributes in a table.
Syntax
TableAttributeOn ({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
TableAttributeOff
TableAutoCalc
Purpose
Specify automatic calculation for tables.
Syntax
TableAutoCalc (State: enumeration)
Parameters
State
enumeration
AutoDoc!
AutoTbl!
Off!
See Also
TableCalculate, TableCalculateAll, TableCalculateDlg, TableUpdateAssociatedCharts
TableAutoFill
Purpose
Use TableDataFill to increment values across a row or down a column.
Syntax
TableAutoFill ()
TableBlockOff
Purpose
Turn off Select in a table.
Syntax
TableBlockOff ()
TableBlockOn
Purpose
Turn on Select in a table.
Syntax
TableBlockOn ()
TableBorder
Purpose
Specify a table border type. Use with commands such as TableBorderEditBegin and TableBorderEditEnd.
Syntax
TableBorder (Style: any)
Parameters
Style
any
|
ButtonBorder! |
HeavySingleBorder! |
|
ColumnBorderAll! |
NoBorder! |
|
ColumnBorderBetween! |
SingleBorder! |
|
DashedBorder! |
SpacingOnly! |
|
DottedBorder! |
ThickBorder! |
|
DoubleBorder! |
ThickThinBorder! |
|
ExtraThickBorder! |
ThickTopBottomBorder! |
|
HeavyDoubleBorder! |
ThinThickBorder! |
See Also
TableBorderEditBegin, TableBorderEditEnd
TableBorderEditBegin
Purpose
Begin table border editing. Follow with editing commands and TableBorderEditEnd.
Syntax
TableBorderEditBegin ()
See Also
TableBorderEditEnd
TableBorderEditEnd
Purpose
Save table border editing changes. Precede with TableBorderEditBegin and editing commands.
Syntax
TableBorderEditEnd (State: enumeration)
Parameters
State
enumeration
Cancel!
Save!
See Also
TableBorderEditBegin
TableCalculate
Purpose
Calculate the formula values in the current table or selected cells.
Syntax
TableCalculate ()
See Also
TableCalculateAll, TableFormula
TableCalculateAll
Purpose
Calculate the formula values for all tables and floating cells in the current document.
Syntax
TableCalculateAll ()
See Also
TableCalculate
TableCalculateDlg
Purpose
Display the Calculate dialog box.
Syntax
TableCalculateDlg ()
See Also
TableCalculate
TableCellAttributeOff
Purpose
Turn off the specified font appearance, position, and relative size attributes in the selected cells.
Syntax
TableCellAttributeOff ({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
TableCellAttributeOn
TableCellAttributeOn
Purpose
Apply the specified font appearance, position, and relative size attributes of the selected cells.
Syntax
TableCellAttributeOn ({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
TableCellAttributeOff
TableCellCopy
Purpose
Copy the content of the specified cell(s) to the Clipboard, and paste it in the cell(s) specified by the CopyType parameter.
Syntax
TableCellCopy (CopyType: enumeration; Count: numeric)
Parameters
CopyType
enumeration
Cell!
Down!
Right!
Count
numeric (optional) The number of cells to paste the copied cell into. Use when the CopyType parameter is Down! or Right!.
See Also
EditCopy, EditPaste
TableCellDiagonalLine
Purpose
Add diagonal lines to a table cell.
Syntax
TableCellDiagonalLine (Diagonal: enumeration)
Parameters
Diagonal
enumeration
BotLeftToTopRight!
None!
TopLeftToBotRight!
TwoDiagonals!
TableCellDiagonalLineQry
Purpose
Return the diagonal lines options to active in the current table selection.
Syntax
numeric := TableCellDiagonalLineQry ()
See Also
TableCellDiagonalLine
TableCellFillColors
Purpose
Specify the foreground and background colors for the current cell or selected cells.
Syntax
TableCellFillColors (ForeColorName: string; ForeColorRed: numeric; ForeColorGreen: numeric; ForeColorBlue: numeric; ForeColorShade: numeric; BackColorName: string; BackColorRed: numeric; BackColorGreen: numeric; BackColorBlue: numeric; BackColorShade: numeric)
Parameters
ForeColorName
string (optional)
ForeColorRed
numeric (optional) Value: 0-255.
ForeColorGreen
numeric (optional) Value: 0-255.
ForeColorBlue
numeric (optional) Value: 0-255.
ForeColorShade
numeric (optional) Percent: 0-100.
BackColorName
string (optional)
BackColorRed
numeric (optional) Value: 0-255.
BackColorGreen
numeric (optional) Value: 0-255.
BackColorBlue
numeric (optional) Value: 0-255.
BackColorShade
numeric (optional) Percent: 0-100.
See Also
FillColors, TableCellFillStyle
TableCellFillStyle
Purpose
Specify a shading style for the current cell or selected cells.
Syntax
TableCellFillStyle (FillPattern: any)
Parameters
FillPattern
any
|
Fill10! |
Fill60! |
|
Fill100! |
Fill70! |
|
Fill20! |
Fill80! |
|
Fill30! |
Fill90! |
|
Fill40! |
FillButton! |
|
Fill5! |
NoFill! |
|
Fill50! |
See Also
TableCellFillColors
TableCellIgnoreCalculation
Purpose
Specify one or more selected cells to ignore when calculating formulas.
Syntax
TableCellIgnoreCalculation (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCalculate
TableCellJustification
Purpose
Justify the current cell or selected cells.
Syntax
TableCellJustification (Mode: enumeration)
Parameters
Mode
enumeration
Center!
DecAlign!
Full!
FullAll!
Left!
Right!
See Also
?CellJustification, ?CellSpecificJustification, TableColumnJustification, TableFormatJustification
TableCellLine
Purpose
Change the specified lines around a cell or selected cells, or between selected cells.
Syntax
TableCellLine (Position: enumeration; Style: any)
Parameters
Position
enumeration
Bottom!
Inside!
Left!
Outside!
Right!
Top!
Style
any
|
ButtonBottomRightLine! |
HeavySingleLine! |
|
ButtonTopLeftLine! |
NoLine! |
|
DashedLine! |
SingleLine! |
|
DottedLine! |
TableDefaultLine! |
|
DoubleLine! |
ThickLine! |
|
ExtraThickLine! |
ThickThinLine! |
|
HeavyDoubleLine! |
ThinThickLine! |
See Also
TableCellLineColor
TableCellLineColor
Purpose
Specify the line color of the current cell or selected cells.
Syntax
TableCellLineColor (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
TableCellLine
TableCellLock
Purpose
Lock the current cell or selected cells.
Syntax
TableCellLock (State: enumeration)
Parameters
State
enumerationMacro List Text = No!
Yes!
TableCellNumberAlignCurrency
Purpose
Align the currency symbols in the current cell or selected cells.
Syntax
TableCellNumberAlignCurrency (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellNumberSelectCurrency
TableCellNumberDateFormat
Purpose
Specify a date format for one or more selected cells.
Syntax
TableCellNumberDateFormat (DateFormatNumber: numeric)
Parameters
DateFormatNumber
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)
9 1959-07-05
10 7/5
11 Jul 5
12 12:00:00
See Also
TableCellNumberFormat
TableCellNumberDecimalDigits
Purpose
Specify how many digits appear after the decimal. Use when the FormatType parameter of TableCellNumberFormat is Fixed2!.
Syntax
TableCellNumberDecimalDigits (NumDigits: numeric)
Parameters
NumDigits
numeric
See Also
TableCellNumberFormat
TableCellNumberFormat
Purpose
Specify a number format for the current cell or selected cells.
Syntax
TableCellNumberFormat (FormatType: enumeration)
Parameters
FormatType
enumeration
|
Accounting! |
General! |
|
Commas! |
Integer! |
|
Currency! |
Percent! |
|
DateFormat! |
Scientific! |
|
Fixed2! |
TextOnly! |
See Also
TableCellNumberAlignCurrency, TableCellNumberDateFormat, TableCellNumberDecimalDigits, TableCellNumberRound, TableCellNumberSelectCurrency
TableCellNumberNegativeNumber
Purpose
Specify how to display negative numbers in the current cell or selected cells.
Syntax
TableCellNumberNegativeNumber (NegDisplayType: enumeration)
Parameters
NegDisplayType
enumeration
CRDR!
Minus!
Parentheses!
TableCellNumberRound
Purpose
Convert round numbers entered as decimals to integers. Use when the FormatType parameter of TableCellNumberFormat is Integer!.
Syntax
TableCellNumberRound (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellNumberFormat
TableCellNumberSelectCurrency
Purpose
Specify an international currency type for the current cell or selected cells.
Syntax
TableCellNumberSelectCurrency (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
TableCellNumberAlignCurrency, TableCellNumberFormat
TableCellNumberUseCommas
Purpose
Display commas in numbers with more than three digits to the left of the decimal.
Syntax
TableCellNumberUseCommas (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellNumberFormat
TableCellNumberUseCurrency
Purpose
Display a currency symbol with numbers.
Syntax
TableCellNumberUseCurrency (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellNumberFormat
TableCellRotateContents
Purpose
Rotate the contents of the selected table cell(s).
Syntax
TableCellRotateContents (Angle: enumeration)
Parameters
Angle
enumeration
Degrees180!
Degrees270!
Degrees90!
None!
TableCellsJoin
Purpose
Join the selected table cells to form one cell. Recordable substitute: TableJoinCells.
Syntax
TableCellsJoin ()
TableCellUseColumnAttribute
Purpose
Apply a specified column attribute to the current cell or selected cells.
Syntax
TableCellUseColumnAttribute (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellUseColumnJust
TableCellUseColumnJust
Purpose
Turn column justification on or off in the current cell.
Syntax
TableCellUseColumnJust (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellUseColumnAttribute, TableCellUseColumnNumberType
TableCellUseColumnNumberType
Purpose
Turn the current column number type on or off in the current cell or selected cells.
Syntax
TableCellUseColumnNumberType (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
TableCellUseColumnAttribute, TableCellUseColumnJust
TableCellUseLineColor
Purpose
Turn on table line color for the current cell or selected cells.
Syntax
TableCellUseLineColor ()
See Also
LineStyleEdit, TableCellLineColor
TableCellVerticalAlignment
Purpose
Align the current cell or selected cells vertically.
Syntax
TableCellVerticalAlignment (Alignment: enumeration)
Parameters
Alignment
enumeration
Bottom!
Center!
Top!
See Also
TableCellJustification
TableColumnAttributeOff
Purpose
Turn off the specified character attributes in a table column. Not recordable.
Syntax
TableColumnAttributeOff ({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
TableColumnAttributeOn