Chapter 2

Corel® WordPerfect® Product Commands
F
FloatingCellNumberDecDigits
Purpose
Specify the number of digits after the decimal point in a floating cell. The insertion point must be between floating cell codes (Flt Cell).
Syntax
FloatingCellNumberDecDigits (Number: numeric)
Parameters
Number
numeric
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumberFormat, FloatingCellNumberRound
FloatingCellNumberFormat
Purpose
Specify a number type for floating cells.
Syntax
FloatingCellNumberFormat (CellNumType: enumeration)
Parameters
CellNumType
enumeration
|
Accounting! |
General! |
|
Commas! |
Integer! |
|
Currency! |
Percent! |
|
DateFormat! |
Scientific! |
|
Fixed2! |
TextOnly! |
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumberDecDigits, FloatingCellNumberNegNumber, FloatingCellNumberRound, FloatingCellNumberUseCurrency, FloatingCellNumberUseCommas, FloatingCellNumSelectCurrency
FloatingCellNumberNegNumber
Purpose
Specify how to display negative numbers in a floating cell.
Syntax
FloatingCellNumberNegNumber (NegDisplay: enumeration)
Parameters
NegDisplay
enumeration
CRDR!
Minus!
Parentheses!
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumberFormat
FloatingCellNumberRound
Purpose
Round numbers for calculation in a floating cell.
Syntax
FloatingCellNumberRound (Round: enumeration)
Parameters
Round
enumeration
No!
Yes!
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumberDecDigits, FloatingCellNumberFormat
FloatingCellNumberUseCommas
Purpose
Use commas in floating cell numbers.
Syntax
FloatingCellNumberUseCommas (Commas: enumeration)
Parameters
Commas
enumeration
No!
Yes!
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumberFormat
FloatingCellNumberUseCurrency
Purpose
Use currency symbols in a floating cell.
Syntax
FloatingCellNumberUseCurrency (Currency: enumeration)
Parameters
Currency
enumeration
No!
Yes!
See Also
FloatingCellCreate, FloatingCellEdit, FloatingCellNumAlignCurrency, FloatingCellNumberFormat, FloatingCellNumSelectCurrency
FloatingCellNumSelectCurrency
Purpose
Specify a currency symbol for floating cells.
Syntax
FloatingCellNumSelectCurrency (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
FloatingCellCreate, FloatingCellEdit, FloatingCellNumAlignCurrency, FloatingCellNumberFormat, FloatingCellNumberUseCurrency
FlushRight
Purpose
Align text at the right margin.
Syntax
FlushRight ()
See Also
FlushRightWithDotLeaders
FlushRightWithDotLeaders
Purpose
Right justify a line of text with dot leaders.
Syntax
FlushRightWithDotLeaders ()
See Also
FlushRight
Font
Purpose
Specify font options.
Syntax
Font (Name: string; Family: enumeration; Attributes: enumeration; Weight: enumeration; Width: enumeration; Source: enumeration; Type: enumeration; CharacterSet: enumeration)
Parameters
Name
string
Family
enumeration (optional)
|
FamilyAestheticOrnamented! |
FamilyITCZapfDingbats! |
|
FamilyAlbertus! |
FamilyLetterGothic! |
|
FamilyBodon! |
FamilyMadrone! |
|
FamilyBroadway! |
FamilyMicrostyle! |
|
FamilyBrush! |
FamilyOldEnglish! |
|
FamilyCenturySchoolbook! |
FamilyOptima! |
|
FamilyComputer! |
FamilyParkAvenue! |
|
FamilyCourier! |
FamilyPonderosa! |
|
FamilyHelvetica! |
FamilyPTBarnum! |
|
FamilyHobo! |
FamilyRevue! |
|
FamilyITCBenguiat! |
FamilySignetRoundhand! |
|
FamilyITCGaramond! |
FamilyTekton! |
|
FamilyITCLubalinGraph! |
FamilyTimesRoman! |
|
FamilyITCRonda! |
FamilyUncial! |
Attributes
enumeration (optional)
FontMatchItalic!
FontMatchNormal!
FontMatchOutline!
FontMatchShadow!
FontMatchSmallCaps!
Weight
enumeration (optional)
|
WeightBlack! |
WeightMaximum! |
|
WeightBold! |
WeightMedium! |
|
WeightBook! |
WeightRegular! |
|
WeightDemiBold! |
WeightRoman! |
|
WeightDemiLight! |
WeightSemiBold! |
|
WeightExtraBlack! |
WeightSemiLight! |
|
WeightExtraBold! |
WeightThin! |
|
WeightExtraHeavy! |
WeightUltraBlack! |
|
WeightExtraLight! |
WeightUltraHeavy! |
|
WeightExtraThin! |
WeightUltraLight! |
|
WeightHeavy! |
WeightUltraThin! |
|
WeightLight! |
WeightUnknown! |
Width
enumeration (optional)
|
WidthCompressed! |
WidthSemiCondensed! |
|
WidthCondensed! |
WidthSemiExpanded! |
|
WidthDoubleWide! |
WidthTripleWide! |
|
WidthExpanded! |
WidthUltraCompressed! |
|
WidthExtraCondensed! |
WidthUltraCondensed! |
|
WidthExtraExpanded! |
WidthUltraExpanded! |
|
WidthNormal! |
WidthUnknown! |
Source
enumeration (optional)
DRSFile!
PRSFile!
Type
enumeration (optional)
|
Intellifont! |
TrueType! |
|
Speedo! |
Type1! |
CharacterSet
enumeration (optional)
|
FontMatchArabic! |
FontMatchJapaneseKana! |
|
FontMatchArabicScript! |
FontMatchMath! |
|
FontMatchASCII! |
FontMatchMathExtension! |
|
FontMatchBoxDrawing! |
FontMatchMultinational1! |
|
FontMatchCyrillic! |
FontMatchMultinational2! |
|
FontMatchGreek! |
FontMatchTypographicSymbols! |
|
FontMatchHebrew! |
FontMatchUserDefined! |
|
FontMatchIconicSymbols! |
See Also
QuickFontEx
FontDlg
Purpose
Display the Font dialog box.
Syntax
FontDlg ()
See Also
Font
FontDnShippingMacro
Purpose
Play the shipping macro FONTDN.WCM to reduce the font size of the selected text by two points. FONTDN.WCM must be installed.
Syntax
FontDnShippingMacro ()
FontDoubleUnderlineToggle
Purpose
Toggle Double Underline at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontDoubleUnderlineToggle ()
See Also
AttributeAppearanceToggle
FontExtraLargeToggle
Purpose
Toggle Extra Large at the insertion point. Recordable substitute: AttributeRelativeSizeToggle.
Syntax
FontExtraLargeToggle ()
See Also
AttributeRelativeSizeToggle
FontFineToggle
Purpose
Toggle Fine at the insertion point. Recordable substitute: AttributeRelativeSizeToggle.
Syntax
FontFineToggle ()
See Also
AttributeRelativeSizeToggle
FontHiddenToggle
Purpose
Toggle Hidden at the insertion point.
Syntax
FontHiddenToggle ()
See Also
AttributeAppearanceToggle
FontItalicToggle
Purpose
Toggle Italic at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontItalicToggle ()
See Also
AttributeAppearanceToggle
FontLargeToggle
Purpose
Toggle Large at the insertion point. Recordable substitute: AttributeRelativeSizeToggle.
Syntax
FontLargeToggle ()
See Also
AttributeRelativeSizeToggle
FontOutlineToggle
Purpose
Toggle the Outline font attribute at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontOutlineToggle ()
See Also
AttributeAppearanceToggle
FontRedlineToggle
Purpose
Toggle Redline at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontRedlineToggle ()
See Also
AttributeAppearanceToggle
FontShadowToggle
Purpose
Toggle Shadow at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontShadowToggle ()
See Also
AttributeAppearanceToggle
FontSize
Purpose
Specify the size of a selected font at the insertion point.
Syntax
FontSize (FontSize: measurement)
Parameters
FontSize
measurement
See Also
Font
FontSmallCapsToggle
Purpose
Toggle Small Caps at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontSmallCapsToggle ()
See Also
AttributeAppearanceToggle
FontSmallToggle
Purpose
Toggle Small at the insertion point. Recordable substitute: AttributeRelativeSizeToggle.
Syntax
FontSmallToggle ()
See Also
AttributeRelativeSizeToggle
FontStrikeoutToggle
Purpose
Toggle Strikeout at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontStrikeoutToggle ()
See Also
AttributeAppearanceToggle
FontSubscriptToggle
Purpose
Toggle Subscript at the insertion point. Recordable substitute: AttributePositionToggle.
Syntax
FontSubscriptToggle ()
See Also
AttributePositionToggle
FontSuperscriptToggle
Purpose
Toggle Superscript at the insertion point. Recordable substitute: AttributePositionToggle.
Syntax
FontSuperscriptToggle ()
See Also
AttributePositionToggle
FontUnderlineToggle
Purpose
Toggle Underline at the insertion point. Recordable substitute: AttributeAppearanceToggle.
Syntax
FontUnderlineToggle ()
See Also
AttributeAppearanceToggle
FontUpShippingMacro
Purpose
Play the shipping macro FONTUP.WCM to increase the font size of the selected text by two points. FONTUP.WCM must be installed.
Syntax
FontUpShippingMacro ()
FontVeryLargeToggle
Purpose
Toggle Very Large at the insertion point. Recordable substitute: AttributeRelativeSizeToggle.
Syntax
FontVeryLargeToggle ()
See Also
AttributeRelativeSizeToggle
FooterA
Purpose
Create, edit, or discontinue Footer A, and specify footer position.
Syntax
FooterA (Action: enumeration; Occurrence: enumeration)
Parameters
Action
enumeration
Create!
Edit!
Off!
Occurrence
enumeration (optional)
AllPages!
EvenPages!
NoPages!
OddPages!
See Also
?FooterAOccur, NewHFWOccurrence
FooterB
Purpose
Create, edit, or discontinue Footer B, and specify footer position.
Syntax
FooterB (Action: enumeration; Occurrence: enumeration)
Parameters
Action
enumeration
Create!
Edit!
Off!
Occurrence
enumeration (optional)
AllPages!
EvenPages!
NoPages!
OddPages!
See Also
?FooterBOccur, NewHFWOccurrence
FooterSeparationDistance
Purpose
Specify the distance between text and footers.
Syntax
FooterSeparationDistance (Distance: measurement)
Parameters
Distance
measurement Default: .167".
FootnoteContinuedMessage
Purpose
Print "(continued...)" when a footnote continues on the next page.
Syntax
FootnoteContinuedMessage (State: enumeration)
Parameters
State
enumeration
No!
Yes!
See Also
FootnoteOptionsDlg
FootnoteCreate
Purpose
Open a footnote window, in order to create a footnote. Subsequent commands insert text and codes. SubstructureExit closes the window and places a reference to the footnote at the insertion point.
Syntax
FootnoteCreate ()
See Also
Close
FootnoteEdit
Purpose
Open a specified footnote window in order to edit the footnote. Subsequent commands apply to the footnote window until SubstructureExit.
Syntax
FootnoteEdit (FootnoteNumber: string)
Parameters
FootnoteNumber
string (optional) Footnotes can be numbered with arabic numerals, roman numerals, or letters.
See Also
Close, FootnoteEditDlg
FootnoteEditDlg
Purpose
Display the Edit Footnote dialog box.
Syntax
FootnoteEditDlg ()
See Also
FootnoteEdit
FootnoteEndnoteDlg
Purpose
Display the Footnote/Endnote dialog box.
Syntax
FootnoteEndnoteDlg ()
FootnoteMinimum
Purpose
Specify the amount of footnote text to keep together on a page.
Syntax
FootnoteMinimum (Width: measurement)
Parameters
Width
measurement
See Also
FootnoteOptions
FootnoteNewNumber
Purpose
Specify a new footnote number and increment subsequent footnotes from that number.
Syntax
FootnoteNewNumber (FootnoteNumber: string)
Parameters
FootnoteNumber
string
See Also
FootnoteNewNumberDlg
FootnoteNewNumberDlg
Purpose
Display the Footnote Number dialog box.
Syntax
FootnoteNewNumberDlg ()
FootnoteNumberDecrement
Purpose
Decrease the last footnote number by one.
Syntax
FootnoteNumberDecrement ()
See Also
FootnoteNumberIncrement
FootnoteNumberDisplay
Purpose
Insert the current footnote number at the insertion point.
Syntax
FootnoteNumberDisplay ()
See Also
FootnoteNewNumber
FootnoteNumberIncrement
Purpose
Increase the last footnote number by one.
Syntax
FootnoteNumberIncrement ()
See Also
FootnoteNumberDecrement
FootnoteNumberMethod
Purpose
Specify a footnote numbering method. Recordable substitute: FootnoteOptions.
Syntax
FootnoteNumberMethod (NumberingMethod: enumeration; Character: string)
Parameters
NumberingMethod
enumeration
|
Characters! |
Numbers! |
|
LowerLetters! |
UpperLetters! |
|
LowerRoman! |
UpperRoman! |
Character
string (optional) Use up to five characters when the numbering method is Characters!.
FootnoteOptions
Purpose
Specify the footnote options from the insertion point forward.
Syntax
FootnoteOptions (NumberingMethod: enumeration; Characters: string; BetweenSpacing: measurement; MinimumHeight: measurement; Restart: enumeration; PrintContinued: enumeration; FootnotePosition: enumeration; Separator: enumeration)
Parameters
NumberingMethod
enumeration (optional)
|
Characters! |
Numbers! |
|
LowerLetters! |
UpperLetters! |
|
LowerRoman! |
UpperRoman! |
Characters
string (optional) Use up to five characters when the numbering method is Characters!.
BetweenSpacing
measurement (optional)
MinimumHeight
measurement (optional) How much of a footnote to keep together on a page.
Restart
enumeration (optional) Restart the footnote numbers on every page.
Off!
On!
PrintContinued
enumeration (optional) Print "(continued)..." on the last footnote line of the first page and "...(continued)" on the first footnote line of the next page.
No!
Yes!
FootnotePosition
enumeration (optional)
AfterText!
BottomOfPage!
Separator
enumeration (optional)
MarginToMargin!
NoLine!
ShortLine!
See Also
FootnoteOptionsDlg
FootnoteOptionsDlg
Purpose
Display the Advanced Footnote Options dialog box.
Syntax
FootnoteOptionsDlg ()
See Also
FootnoteOptions
FootnotePosition
Purpose
Print footnotes at the bottom of the page or just below the last line of text. Recordable substitute: FootnoteOptions.
Syntax
FootnotePosition (Position: enumeration)
Parameters
Position
enumeration
AfterText!
BottomOfPage!
FootnoteRestartEachPage
Purpose
Restart the footnote numbering on each page. Recordable substitute: FootnoteOptions.
Syntax
FootnoteRestartEachPage (State: enumeration)
Parameters
State
enumeration
No!
Yes!
FootnoteSeparatorLine
Purpose
Specify a separator line between text and footnotes.
Syntax
FootnoteSeparatorLine (Style: any; SpaceAboveLine: measurement; SpaceBelowLine: measurement; Alignment: enumeration; Width: measurement; Position: measurement)
Parameters
Style
any
|
ButtonBottomRightLine! |
HeavySingleLine! |
|
ButtonTopLeftLine! |
NoLine! |
|
DashedLine! |
SingleLine! |
|
DottedLine! |
TableDefaultLine! |
|
DoubleLine! |
ThickLine! |
|
ExtraThickLine! |
ThickThinLine! |
|
HeavyDoubleLine! |
ThinThickLine! |
SpaceAboveLine
measurement The space between the separator line and the last line of text.
SpaceBelowLine
measurement The space between the separator line and the first footnote.
Alignment
enumeration
Center!
Full!
Left!
Right!
SetPosition!
Width
measurement (optional) The separator line width.
Position
measurement (optional) The distance of a separator line from the left edge of the page.
See Also
FootnoteOptionsDlg
FootnoteSpaceBetween
Purpose
Specify the amount of blank space between footnotes.
Syntax
FootnoteSpaceBetween (Space: measurement)
Parameters
Space
measurement Default: .167".
See Also
FootnoteOptionsDlg
FootnoteToEndnoteShippingMacro
Purpose
Play the shipping macro FOOTEND.WCM, which converts footnotes to endnotes in the current document or selected text. FOOTEND.WCM must be installed.
Syntax
FootnoteToEndnoteShippingMacro ()
See Also
EndnoteToFootnoteShippingMacro, EndnoteFootnoteConvert
ForcePage
Purpose
Force a page break or specify that a certain page always has an odd or even number.
Syntax
ForcePage (EvenOddNew: enumeration)
Parameters
EvenOddNew
enumeration
Even!
New!
Odd!
ForcePageDlg
Purpose
Display the Force Page dialog box.
Syntax
ForcePageDlg ()
FormatMarginsDlg
Purpose
Display the Margins dialog box.
Syntax
FormatMarginsDlg ()