Chapter 2

See Graphic.

Corel® WordPerfect® Product Commands
QR


QuattroPro

Purpose

Insert a Corel Quattro Pro OLE object file in the current document.

Syntax

QuattroPro ()

See Also

OLEInsertObject


QuickCorrect

Purpose

Specify whether QuickCorrect will replace words as you type.

Syntax

QuickCorrect (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

?QuickCorrect, QuickCorrectAddItem, QuickCorrectDeleteItem, QuickCorrectDlg, QuickCorrectReplaceWord


QuickCorrectAddItem

Purpose

Add a QuickCorrect entry.

Syntax

QuickCorrectAddItem (Item: string; Replacement: string; Type: enumeration)

Parameters

Item

string

Replacement

string

Type

enumeration

QCException!

QuickCorrect!

QuickLink!

See Also

QuickCorrect, QuickCorrectDeleteItem, QuickCorrectDlg, QuickCorrectReplaceWord


QuickCorrectAutoCreateException

Purpose

Turns the QuickCorrect Create Auto Exception List on or off.

Syntax

QuickCorrectAutoCreateException (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect


QuickCorrectCapsFixQry

Purpose

Return True if the QuickCorrect CapsFix option is on, False if not.

Syntax

boolean := QuickCorrectCapsFixQry ()

See Also

QuickCorrect, QuickCorrectCapsFixSet


QuickCorrectCapsFixSet

Purpose

Turn the QuickCorrect CapsFix option on or off.

Syntax

QuickCorrectCapsFixSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect, QuickCorrectCapsFixQry


QuickCorrectDeleteItem

Purpose

Delete a QuickCorrect entry.

Syntax

QuickCorrectDeleteItem (Item: string)

Parameters

Item

string

See Also

QuickCorrect, QuickCorrectAddItem, QuickCorrectDlg, QuickCorrectReplaceWord


QuickCorrectDlg

Purpose

Display the QuickCorrect dialog box.

Syntax

QuickCorrectDlg ()

See Also

QuickCorrect, QuickCorrectAddItem, QuickCorrectDeleteItem, QuickCorrectReplaceWord


QuickCorrectOtherWords

Purpose

Turn Correct other mis-typed words when possible on or off.

Syntax

QuickCorrectOtherWords (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect


QuickCorrectQuickBulletsQry

Purpose

Return True if the QuickCorrect QuickBullets option is on, False if not.

Syntax

boolean := QuickCorrectQuickBulletsQry ()

See Also

QuickCorrect, QuickCorrectQuickBulletsSet


QuickCorrectQuickBulletsSet

Purpose

Turn the QuickCorrect QuickBullets option on or off.

Syntax

QuickCorrectQuickBulletsSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect, QuickCorrectQuickBulletsQry


QuickCorrectQuickIndentQry

Purpose

Return True if the QuickCorrect QuickIndent option is on, False if not.

Syntax

boolean := QuickCorrectQuickIndentQry ()

See Also

QuickCorrect, QuickCorrectQuickIndentSet


QuickCorrectQuickIndentSet

Purpose

Turn the QuickCorrect QuickIndent option on or off.

Syntax

QuickCorrectQuickIndentSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect, TabForced, QuickCorrectQuickIndentQry


QuickCorrectQuickLinesQry

Purpose

Return True if the QuickCorrect QuickLines option is on, False if not.

Syntax

boolean := QuickCorrectQuickLinesQry ()

See Also

QuickCorrect, QuickCorrectQuickIndentSet


QuickCorrectQuickLinesSet

Purpose

Turn the QuickCorrect QuickLines option on or off. QuickLines replace character lines with graphic lines.

Syntax

QuickCorrectQuickLinesSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect, QuickCorrectQuickLinesQry


QuickCorrectQuickOrdinalsQry

Purpose

Return True if the QuickCorrect QuickOrdinals option is on, False if not. QuickOrdinals superscripts ordinal text.

Syntax

boolean := QuickCorrectQuickOrdinalsQry ()

See Also

QuickCorrect, QuickCorrectQuickOrdinalsSet


QuickCorrectQuickOrdinalsSet

Purpose

Turn the QuickCorrect QuickOrdinals option on or off.

Syntax

QuickCorrectQuickOrdinalsSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect, QuickCorrectQuickOrdinalsQry


QuickCorrectQuickSymbolsSet

Purpose

Turn the QuickSymbols option on or off.

Syntax

QuickCorrectQuickSymbolsSet (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickCorrect


QuickCorrectReplaceWord

Purpose

Replace the current word in the document with specified text. The Insertion point must be in the word to be replaced. The specified text must correspond to a QuickCorrect entry.

Syntax

QuickCorrectReplaceWord (String: string)

Parameters

String

string

See Also

QuickCorrect, QuickCorrectAddItem, QuickCorrectDeleteItem, QuickCorrectDlg


QuickFontEx

Purpose

Insert a QuickFont into the document.

Syntax

QuickFontEx (FontFace: string; FontSize: measurement; Red: numeric; Green: numeric; Blue: numeric; FontType: enumeration; {Attributes: enumeration; })

Parameters

FontFace

string

FontSize

measurement

Red

numeric (optional) Value: 0-255.

Green

numeric (optional) Value: 0-255.

Blue

numeric (optional) Value: 0-255.

FontType

enumeration (optional)

Intellifont!

Speedo!

TrueType!

Type1!

Attributes

enumeration (optional)

Bold!

DoubleUnderline!

Every!

Italics!

Outline!

Redline!

Shadow!

SmallCaps!

Strikeout!

Underline!

See Also

Font


QuickFormat

Purpose

Format text based on selected fonts and attributes, or paragraph styles, or both.

Syntax

QuickFormat (Format: enumeration)

Parameters

Format

enumeration

Attributes!

CharacterStyle!

Graphics!

Off!

Styles!

StylesAndAttributes!

TableCells!

TableStruct!

See Also

QuickFormatDiscontinue, QuickFormatDlg, QuickFormatToggle


QuickFormatDiscontinue

Purpose

Turn off the QuickFormat link for all paragraphs with the associated heading.

Syntax

QuickFormatDiscontinue (AllParagraphs: enumeration)

Parameters

AllParagraphs

enumeration

False!

True!

See Also

QuickFormat, QuickFormatDlg, QuickFormatToggle


QuickFormatDlg

Purpose

Display the QuickFormat dialog box.

Syntax

QuickFormatDlg ()

See Also

QuickFormat, QuickFormatDiscontinue, QuickFormatToggle


QuickFormatToggle

Purpose

Display the QuickFormat dialog box.

Syntax

QuickFormatToggle ()

See Also

QuickFormat, QuickFormatDiscontinue, QuickFormatDlg


QuickLink

Purpose

Turn QuickLink on or off.

Syntax

QuickLink (State: enumeration)

Parameters

State

enumeration

Off!

On!


QuickmarkFind

Purpose

Move the insertion point to the first character after a QuickMark.

Syntax

QuickmarkFind ()

See Also

QuickmarkSet


QuickmarkSet

Purpose

Place a unique bookmark, or QuickMark, in a document at the insertion point. If Set QuickMark in Document on Save is on, the QuickMark moves to the insertion point when the document is saved.

Syntax

QuickmarkSet ()

See Also

QuickmarkFind, TotalPages


QuickSpotsShow

Purpose

Turn QuickSpots on or off for the current session and return the current state. To return the current state without changing the setting, omit the parameter. This command does not change display settings for QuickSpots.

Syntax

boolean := QuickSpotsShow (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

PrefDisplaySet


QuickWords

Purpose

Turn Expand QuickWords when you type them on or off.

Syntax

QuickWords (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

QuickWordsDlg


QuickWordsDlg

Purpose

Display the QuickCorrect dialog box with the QuickWords tab displayed.

Syntax

QuickWordsDlg ()

See Also

QuickWords


Redisplay

Purpose

Rewrite the screen contents without moving the insertion point.

Syntax

Redisplay ()


RedlineCharacter

Purpose

Specify a character to redline text.

Syntax

RedlineCharacter (Character: string)

Parameters

Character

string

See Also

?RedlineCharacter, PrefPrintRedline, RedlineMethod


RedlineMethod

Purpose

Specify a redline method.

Syntax

RedlineMethod (RedlineMethod: enumeration)

Parameters

RedlineMethod

enumeration

Alternating!

LeftMargin!

PrinterDependent!

RightMargin!

See Also

?RedlineMethod, PrefPrintRedline, RedlineCharacter


Redo

Purpose

Reverse the last Undo made to the document or reverse the specified Undo.

Syntax

Redo (Number: numeric)

Parameters

Number

numeric (optional) The number of redo levels.

See Also

Undo


RepeatDlg

Purpose

Display the Repeat dialog box.

Syntax

RepeatDlg ()

See Also

RepeatValue


RepeatSet

Purpose

Specify the Repeat default number.

Syntax

RepeatSet (Value: numeric)

Parameters

Value

numeric

See Also

RepeatValue


RepeatValue

Purpose

Specify the number of times to repeat an action.

Syntax

RepeatValue (Value: numeric)

Parameters

Value

numeric (optional)

See Also

RepeatDlg


ReplaceAll

Purpose

Replace all occurrences of a matched word, code, or phrase. Precede with commands such as SearchString, ReplaceString, and SearchNext.

Syntax

ReplaceAll (SearchMode: enumeration)

Parameters

SearchMode

enumeration (optional) An extended search includes substructures such as headers and footnotes.

Extended!

Regular!

See Also

ReplaceString, SearchNext, SearchPrevious, SearchString


ReplaceBackward

Purpose

Replace specified text or codes from the current insertion point to the beginning of the document. Precede with other commands such as SearchString and ReplaceString.

Syntax

ReplaceBackward (SearchMode: enumeration)

Parameters

SearchMode

enumeration (optional) An extended search includes substructures such as headers and footnotes.

Extended!

Regular!

See Also

ReplaceCurrent, ReplaceForward, ReplaceString, SearchPrevious, SearchString


ReplaceConfirm

Purpose

Specify whether Find and Replace Text prompts the user to confirm replacement in Corel WordPerfect for DOS. Included for DOS compatibility. No effect in Corel WordPerfect for Windows. Use ReplaceAll or ReplaceCurrent.

Syntax

ReplaceConfirm (State: enumeration)

Parameters

State

enumeration Prompt for confirmation before replacing text.

No!

Yes!

See Also

ReplaceDlg


ReplaceCurrent

Purpose

Replace a matched word, code, or phrase. Precede with commands such as SearchString, and SearchNext.

Syntax

ReplaceCurrent ()

See Also

ReplaceString, ReplaceWithAttributes, SearchNext, SearchString


ReplaceDlg

Purpose

Display the Find and Replace Text dialog box.

Syntax

ReplaceDlg ()

See Also

FindDlg


ReplaceForward

Purpose

Replace the specified text or codes from the insertion point to the end of the document. Precede with other commands such as SearchString or ReplaceString.

Syntax

ReplaceForward (SearchMode: enumeration)

Parameters

SearchMode

enumeration (optional) An extended search includes substructures such as headers and footnotes.

Extended!

Regular!

See Also

ReplaceBackward, ReplaceString, SearchString


ReplaceString

Purpose

Specify the search text or codes.

Syntax

ReplaceString (RplcStrg: string)

Parameters

RplcStrg

string

See Also

SearchString, SelectedReplaceString


ReplaceWithAttributes

Purpose

Specify the font attributes and/or relative font size for the replacement text.

Syntax

ReplaceWithAttributes (State: enumeration; Attribute: enumeration)

Parameters

State

enumeration

No!

Yes!

Attribute

enumeration (optional)

Bold!

Shadow!

DoubleUnderline!

Small!

Every!

SmallCaps!

ExtraLarge!

Strikeout!

Fine!

Subscript!

Italics!

Superscript!

Large!

Underline!

Outline!

VeryLarge!

Redline!

 

See Also

ReplaceCurrent, ReplaceString, SearchNext, SearchPrevious, SearchString


ReplaceWithCase

Purpose

Specify the case(s) of the replacement text.

Syntax

ReplaceWithCase (State: enumeration)

Parameters

State

enumeration

No!

Yes!


ReplaceWithFont

Purpose

Specify the font and font style of the replacement text.

Syntax

ReplaceWithFont (State: enumeration; Name: string; Family: enumeration; Attributes: enumeration; Weight: enumeration; Width: enumeration; Source: enumeration; Type: enumeration; CharacterSet: enumeration)

Parameters

State

enumeration

No!

Yes!

Name

string (optional) The font name.

Family

enumeration (optional)

FamilyAestheticOrnamented!

FamilyITCZapfDingbats!

FamilyAlbertus!

FamilyLetterGothic!

FamilyBodoni!

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!

Speedo!

TrueType!

Type1!

CharacterSet

enumeration (optional)

FontMatchArabic!

FontMatchArabicScript!

FontMatchASCII!

FontMatchBoxDrawing!

FontMatchCyrillic!

FontMatchGreek!

FontMatchHebrew!

FontMatchIconicSymbols!

FontMatchJapaneseKana!

FontMatchMath!

FontMatchMathExtension!

FontMatchMultinational1!

FontMatchMultinational2!

FontMatchTypographicSymbols!

FontMatchUserDefined!


ReplaceWithFontSize

Purpose

Specify the font size of the replacement text.

Syntax

ReplaceWithFontSize (State: enumeration; FontSize: measurement)

Parameters

State

enumeration

No!

Yes!

FontSize

measurement (optional)


ReselectLastBlock

Purpose

Select the last selected text. Recordable substitute: ReselectLastSelection.

Syntax

ReselectLastBlock ()


ReselectLastSelection

Purpose

Select the last selected text.

Syntax

ReselectLastSelection ()


ResetKeyboardMenu

Purpose

Reset the keyboard and menus to the Corel WordPerfect default settings.

Syntax

ResetKeyboardMenu ()


RevealCodes

Purpose

Turn Reveal Codes on or off.

Syntax

RevealCodes (State: enumeration)

Parameters

State

enumeration (optional) Default: toggle.

Off!

On!


ReverseShippingMacro

Purpose

Play the shipping macro REVERSE.WCM to reverse the foreground and background colors in selected text and cells. REVERSE.WCM must be installed.

Syntax

ReverseShippingMacro ()


ReviewDocAnnotationAccept

Purpose

Incorporate the selected annotation into the current document and select the next annotation. If an annotation is not currently selected, the next annotation is selected. If there are no annotations following the insertion point, a not found condition is returned. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationAccept ()

See Also

ReviewDocAnnotationAcceptAll, ReviewDocAnnotationRejectAll, ReviewDocAnnotationReject


ReviewDocAnnotationAcceptAll

Purpose

Incorporate all annotations into the current document. If the current document contains no annotations, a not found condition is returned. Substructures like Headers and Footers are treated independently. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationAcceptAll ()

See Also

ReviewDocAnnotationAccept, ReviewDocAnnotationRejectAll, ReviewDocAnnotationReject


ReviewDocAnnotationFirst

Purpose

Select the first annotation in the current document. If the current document contains no annotations, a not found condition is returned. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationFirst ()

See Also

ReviewDocAnnotationNext, ReviewDocAnnotationPrev


ReviewDocAnnotationNext

Purpose

Select the next annotation in the current document. If there are no annotations following the insertion point, a not found condition is returned. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationNext ()

See Also

ReviewDocAnnotationFirst, ReviewDocAnnotationPrev


ReviewDocAnnotationPrev

Purpose

Select the previous annotation in the current document. If there are no annotations before the insertion point, a not found condition is returned. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationPrev ()

See Also

ReviewDocAnnotationFirst, ReviewDocAnnotationNext


ReviewDocAnnotationReject

Purpose

Delete the selected annotation and select the next annotation. If an annotation is not currently selected, the next annotation is selected. If there are no annotations following the insertion point, a not found condition is returned. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationReject ()

See Also

ReviewDocAnnotationAcceptAll, ReviewDocAnnotationAccept, ReviewDocAnnotationRejectAll


ReviewDocAnnotationRejectAll

Purpose

Delete all annotations in the current document. If the current document contains no annotations, a not found condition is returned. Substructures like Headers and Footers are treated independently. Use this command in Review Document Author mode. If Review Document Author mode is not active, this command fails unless display is on; in which case, the user is prompted to activate Author mode before proceeding.

Syntax

ReviewDocAnnotationRejectAll ()

See Also

ReviewDocAnnotationAcceptAll, ReviewDocAnnotationAccept, ReviewDocAnnotationReject


ReviewDocAuthorDlg

Purpose

Display the Review Document Author Mode dialog box and activate Author mode.

Syntax

ReviewDocAuthorDlg ()

See Also

ZZZ Don't Delete This Record!!!, ReviewDocReviewerDlg, ReviewDocDlg


ReviewDocDisplayModeToggle

Purpose

Turn annotation display on or off.

Syntax

ReviewDocDisplayModeToggle ()


ReviewDocDlg

Purpose

Display the Review Document dialog box.

Syntax

ReviewDocDlg ()


ReviewDocManualModeToggle

Purpose

Enter or exit the Review Document Author or Reviewer annotation modes. When entering Author mode, this command activates the Author mode and selects the first annotation.

Syntax

ReviewDocManualModeToggle (Mode: enumeration)

Parameters

Mode

enumeration (optional) Specify the annotation mode.

Author!

Off!

Reviewer!

See Also

ReviewDocAuthorDlg, ReviewDocReviewerDlg


ReviewDocReviewerDlg

Purpose

Display the Review Document Reviewer mode dialog box and activate Reviewer mode.

Syntax

ReviewDocReviewerDlg ()

See Also

ReviewDocAuthorDlg, ReviewDocDlg


ReviewDocSetCurrentUserColor

Purpose

Set the annotation color for the current reviewer.

Syntax

ReviewDocSetCurrentUserColor (Red: numeric; Green: numeric; Blue: numeric)

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.

See Also

ReviewDocReviewerDlg


RulerBarShow

Purpose

Display (On!) or hide (Off!) the Ruler and save the setting as the new default.

Syntax

RulerBarShow (State: enumeration)

Parameters

State

enumeration (optional) Default: toggle.

Off!

On!

See Also

?RulerBarActive, ViewToolbarsDlg