Chapter 2

See Graphic.

Corel® WordPerfect® Product Commands
UVWXYZ


Undelete

Purpose

Restore the specified deletion at the insertion point. The first, second, or third most recent deletions can be restored.

Syntax

Undelete (Which: numeric)

Parameters

Which

numeric The level to restore (1-3).

See Also

?UndeleteBuffers, UndeleteDlg, Undo


UndeleteDlg

Purpose

Display the Undelete dialog box, which will allow you to restore one of the last three deletions.

Syntax

UndeleteDlg ()


UnderlineSpaces

Purpose

Underline spaces.

Syntax

UnderlineSpaces (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

?UnderlineSpaces, UnderlineTabs


UnderlineTabs

Purpose

Underline tabs.

Syntax

UnderlineTabs (State: enumeration)

Parameters

State

enumeration

No!

Yes!

See Also

?UnderlineTabs, UnderlineSpaces


Undo

Purpose

Restore the last or the specified document change. Choosing Undo a second time restores the last undo.

Syntax

Undo (Number: numeric)

Parameters

Number

numeric (optional) Allow for multi-level undos.

See Also

Redo, Undelete


UndoRedoDlg

Purpose

Display the Undo/Redo History dialog box, which allows you to cancel or restore recent changes to a document.

Syntax

UndoRedoDlg ()


UseRegQuotesWithNumbers

Purpose

Turn Use Regular Quotes with Numbers on or off.

Syntax

UseRegQuotesWithNumbers (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

DoubleSmartQuote, SingleSmartQuote


UserFunction

Purpose

Execute a third-party execution command.

Syntax

UserFunction (Action: string; {Data: any; })

Parameters

Action

string The action a third-party program performs. Form: <signature>:<action?. The four-character <signature> identifies a third-party application. The <action> specifies a third-party command.

Data

any (optional)


ViewDraft

Purpose

Display a document without substructures such as headers, footers, and footnotes.

Syntax

ViewDraft ()

See Also

ViewPage, ViewTwoPage


ViewOutline

Purpose

Display the Outline feature bar and insert the first-level heading.

Syntax

ViewOutline ()


ViewPage

Purpose

Display a document with substructures such as headers, footers, and footnotes.

Syntax

ViewPage ()

See Also

ViewDraft, ViewTwoPage


ViewToggle

Purpose

Toggle the view between HTML and Page.

Syntax

ViewToggle ()


ViewToolbarsDlg

Purpose

Display the Toolbars dialog box.

Syntax

ViewToolbarsDlg ()

See Also

ButtonBarShow, PowerBarShow, RulerBarShow, StatusBarShow


ViewTwoPage

Purpose

Display two document pages.

Syntax

ViewTwoPage ()

See Also

ViewDraft, ViewPage


VLineCreate

Purpose

Create a vertical line at the insertion point between the top and bottom margin.

Syntax

VLineCreate ()


VolumeNumber

Purpose

Specify the active volume number.

Syntax

VolumeNumber (Volume: numeric)

Parameters

Volume

numeric

See Also

?VolumeNumber


VolumeNumberDecrement

Purpose

Decrease the active volume number by one.

Syntax

VolumeNumberDecrement ()


VolumeNumberDisplay

Purpose

Insert the active volume number at the insertion point.

Syntax

VolumeNumberDisplay ()


VolumeNumberIncrement

Purpose

Increase the active volume number by one.

Syntax

VolumeNumberIncrement ()


VolumeNumberMethod

Purpose

Specify a numbering type to display volume numbers.

Syntax

VolumeNumberMethod (NumberingMethod: enumeration)

Parameters

NumberingMethod

enumeration

LowerLetters!

LowerRoman!

Numbers!

UpperLetters!

UpperRoman!

See Also

?VolumeNumberMethod


WatermarkA

Purpose

Create, edit, or turn off Watermark A on the specified pages.

Syntax

WatermarkA (Action: enumeration; Occurrence: enumeration; State: enumeration)

Parameters

Action

enumeration

Create!

Edit!

Off!

Occurrence

enumeration (optional)

AllPages!

EvenPages!

NoPages!

OddPages!

State

enumeration (optional)

NoOverlay!

Overlay!

See Also

?WatermarkAOccur, WatermarkB


WatermarkB

Purpose

Create, edit, or turn off Watermark B on the specified pages.

Syntax

WatermarkB (Action: enumeration; Occurrence: enumeration; State: enumeration)

Parameters

Action

enumeration

Create!

Edit!

Off!

Occurrence

enumeration (optional)

AllPages!

EvenPages!

NoPages!

OddPages!

State

enumeration (optional)

NoOverlay!

Overlay!

See Also

?WatermarkBOccur, WatermarkA


WatermarkDlg

Purpose

Display the Watermark dialog box in order to create a watermark.

Syntax

WatermarkDlg ()


WatermarkNext

Purpose

Go to the next watermark.

Syntax

WatermarkNext ()


WatermarkPlacementDlg

Purpose

Display the Pages dialog box, in which you determine on which pages your watermark will appear.

Syntax

WatermarkPlacementDlg ()


WatermarkPrev

Purpose

Go to the previous watermark.

Syntax

WatermarkPrev ()


WatermarkShadingDlg

Purpose

Display the Watermark Shading dialog box.

Syntax

WatermarkShadingDlg ()


WatermarkShippingMacro

Purpose

Play the shipping macro WATERMRK.WCM to display the Watermark Options dialog box, where you can select Watermark A or B and graphics or text. If Graphic is selected, the Graphic Watermarks dialog box is displayed with a list of watermarks to preview or insert. If Text is selected, the Watermark Creation Macro dialog box is displayed, in which you enter watermark text to insert. WATERMARK.WCM must be installed.

Syntax

WatermarkShippingMacro ()


WebActiveLinkColor

Purpose

Set the active hypertext-link color of the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

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

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.

See Also

WebActiveLinkColorRed, WebActiveLinkColorGreen, WebActiveLinkColorBlue


WebActiveLinkColorBlue

Purpose

Return the blue value of the active hypertext-link color for the active web document. If the active document is not a web document, the blue value of the default active hypertext-link color for web documents is returned.

Syntax

numeric := WebActiveLinkColorBlue ()

See Also

WebActiveLinkColor


WebActiveLinkColorGreen

Purpose

Return the green value of the active hypertext-link color for the active web document. If the current document is not a web document, the green value of the default active hypertext-link color for web documents is returned.

Syntax

numeric := WebActiveLinkColorGreen ()

See Also

WebActiveLinkColor


WebActiveLinkColorRed

Purpose

Return the red value of the active hypertext-link color for the active web document. If the current document is not a web document, the red value of the default active hypertext-link color for web documents is returned.

Syntax

numeric := WebActiveLinkColorRed ()

See Also

WebActiveLinkColor


WebBackgroundColor

Purpose

Set the background color of the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

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

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.

See Also

WebBackgroundColorRed, WebBackgroundColorGreen, WebBackgroundColorBlue


WebBackgroundColorBlue

Purpose

Return the blue value of the background color for the active web document. If the active document is not a web document, the blue value of the default background color for web documents is returned.

Syntax

numeric := WebBackgroundColorBlue ()

See Also

WebBackgroundColor


WebBackgroundColorGreen

Purpose

Return the green value of the background color for the active web document. If the active document is not a web document, the green value of the default background color for web documents is returned.

Syntax

numeric := WebBackgroundColorGreen ()

See Also

WebBackgroundColor


WebBackgroundColorRed

Purpose

Return the red value of the background color for the active web document. If the active document is not a web document, the red value of the default background color for web documents is returned.

Syntax

numeric := WebBackgroundColorRed ()

See Also

WebBackgroundColor


WebBackgroundImage

Purpose

Specify a background image for the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

WebBackgroundImage (Filename: string)

Parameters

Filename

string

See Also

?WebBackgroundImage


WebBaseURL

Purpose

Specify the base URL for the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

WebBaseURL (URL: string)

Parameters

URL

string

See Also

?WebBaseURL, WebTitleDlg


WebBoxHTMLProperties

Purpose

Specify the HTML properties of the active box. Precede with BoxCreate or BoxEdit and end with BoxEnd.

Syntax

WebBoxHTMLProperties (Properties: string)

Parameters

Properties

string

See Also

WebBoxHTMLPropertiesDlg, ?WebBoxHTMLProperties


WebBoxHTMLPropertiesDlg

Purpose

Display the Box HTML Properties dialog box. Valid only when a graphics box is selected.

Syntax

WebBoxHTMLPropertiesDlg ()

See Also

WebBoxHTMLProperties, ?WebBoxHTMLProperties


WebColorDlg

Purpose

Display the HTML Document Properties (Text/Background color) dialog box.

Syntax

WebColorDlg ()


WebColumnDefineDlg

Purpose

Specify the number and size of columns.

Syntax

WebColumnDefineDlg ()


WebCustomHTMLToggle

Purpose

Turn Web Custom HTML on or off.

Syntax

WebCustomHTMLToggle ()


WebFormsFormPropertiesDlg

Purpose

Display the Properties dialog for a form.

Syntax

WebFormsFormPropertiesDlg ()


WebFormsHiddenDlg

Purpose

Display the Properties dialog for a hidden field.

Syntax

WebFormsHiddenDlg ()


WebFormsListPropertiesDlg

Purpose

Display the Properties dialog for a selection list.

Syntax

WebFormsListPropertiesDlg ()


WebFormsProperties

Purpose

Edit the properties of the form or form field.

Syntax

WebFormsProperties ()


WebFormsRadioPropertiesDlg

Purpose

Display the Properties dialog for a radio or check box button.

Syntax

WebFormsRadioPropertiesDlg ()


WebFormsTextAreaPropertiesDlg

Purpose

Display the Properties dialog for a multi-line text field.

Syntax

WebFormsTextAreaPropertiesDlg ()


WebFormsTextPropertiesDlg

Purpose

Display the Properties dialog for a text or password field.

Syntax

WebFormsTextPropertiesDlg ()


WebInsertCheckBox

Purpose

Insert a check box into the form.

Syntax

WebInsertCheckBox ()


WebInsertForm

Purpose

Create a new web form.

Syntax

WebInsertForm ()


WebInsertHiddenField

Purpose

Insert a hidden field into the form.

Syntax

WebInsertHiddenField ()


WebInsertPassword

Purpose

Insert a password field into the form.

Syntax

WebInsertPassword ()


WebInsertRadioButton

Purpose

Insert a radio button into the form.

Syntax

WebInsertRadioButton ()


WebInsertResetButton

Purpose

Insert a reset button into the form.

Syntax

WebInsertResetButton ()


WebInsertSelectList

Purpose

Insert a selection list into the form.

Syntax

WebInsertSelectList ()


WebInsertSubmitButton

Purpose

Insert a submit button into the form.

Syntax

WebInsertSubmitButton ()


WebInsertSubmitImage

Purpose

Insert a submit image into the form.

Syntax

WebInsertSubmitImage ()


WebInsertTextArea

Purpose

Insert a text area into the form.

Syntax

WebInsertTextArea ()


WebInsertTextLine

Purpose

Insert a text line into the form.

Syntax

WebInsertTextLine ()


WebJavaCreateApplet

Purpose

Create a Java applet.

Syntax

WebJavaCreateApplet ()


WebJavaModifyApplet

Purpose

Modify a Java applet.

Syntax

WebJavaModifyApplet ()


WebJavaRunApplets

Purpose

View the Java applets that are running.

Syntax

WebJavaRunApplets ()


WebLaunchWebBrowser

Purpose

Call the web browser and go to the specified location.

Syntax

WebLaunchWebBrowser (Location: string)

Parameters

Location

string (optional) The location (URL address) to go to. This is sometimes called an Internet address, web address, or Web site. If no address is specified, the Corel Corporation URL is used.

See Also

HelpOnlineSupportDlg, LaunchOnlineService


WebLinkColor

Purpose

Specify the hypertext-link color of the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

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

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.

See Also

WebLinkColorRed, WebLinkColorGreen, WebLinkColorBlue


WebLinkColorBlue

Purpose

Return the blue value of the hypertext-link color for the active web document. If the current document is not a web document, the blue value of the default hypertext-link color for web documents is returned.

Syntax

numeric := WebLinkColorBlue ()

See Also

WebLinkColor


WebLinkColorGreen

Purpose

Return the green value of the hypertext-link color for the active web document. If the current document is not a web document, the green value of the default hypertext-link color for web documents is returned.

Syntax

numeric := WebLinkColorGreen ()

See Also

WebLinkColor


WebLinkColorRed

Purpose

Return the red value of the hypertext-link color for the active web document. If the current document is not a web document, the red value of the default hypertext-link color for web documents is returned.

Syntax

numeric := WebLinkColorRed ()

See Also

WebLinkColor


WebMetaTags

Purpose

Specify Meta tags for the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

WebMetaTags (Meta: string)

Parameters

Meta

string

See Also

?WebMetaTags, WebTitleDlg


WebMonoToggle

Purpose

Turn Web Monospaced on or off.

Syntax

WebMonoToggle ()


WebNewDlg

Purpose

Display the Select New Web Document dialog box.

Syntax

WebNewDlg ()

See Also

TemplateDlg


WebPublish

Purpose

Save the current document in HTML format (.HTM).

Syntax

WebPublish (Filename: string)

Parameters

Filename

string The path and filename of the HTML document.

See Also

InternetPublisherDlg, WebPublishDlg


WebPublishDlg

Purpose

Display the Publish to Web dialog box.

Syntax

WebPublishDlg ()

See Also

InternetPublisherDlg, WebPublish


WebTextColor

Purpose

Set the regular-text color of the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

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

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.

See Also

WebTextColorRed, WebTextColorGreen, WebTextColorBlue


WebTextColorBlue

Purpose

Return the blue value of the text color for the active web document. If the current document is not a web document, the blue value of the default text color for web documents is returned.

Syntax

numeric := WebTextColorBlue ()

See Also

WebTextColor


WebTextColorGreen

Purpose

Return the green value of the text color for the active web document. If the current document is not a web document, the green value of the default text color for web documents is returned.

Syntax

numeric := WebTextColorGreen ()

See Also

WebTextColor


WebTextColorRed

Purpose

Return the red value of the text color for the active web document. If the current document is not a web document, the red value of the default text color for web documents is returned.

Syntax

numeric := WebTextColorRed ()

See Also

WebTextColor


WebTitle

Purpose

Specify the title for the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

WebTitle (Title: any)

Parameters

Title

any

Auto!

See Also

?WebTitle


WebTitleDlg

Purpose

Display the Title dialog box for web documents. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

WebTitleDlg ()

See Also

?WebTitle, WebTitle, WebBaseURL, WebMetaTags


WebViewAsHTML

Purpose

View the active document using HTML.

Syntax

WebViewAsHTML ()


WebViewInWebBrowser

Purpose

Convert the current document to HTML format and view it in a web browser. This command is valid only if you have a web browser installed.

Syntax

WebViewInWebBrowser ()

See Also

InternetPublisherDlg


WebVisitedLinkColor

Purpose

Specify the visited hypertext-link color of the active web document. This command is valid only when Corel WordPerfect is in Web Editor mode.

Syntax

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

Parameters

Red

numeric Value: 0-255.

Green

numeric Value: 0-255.

Blue

numeric Value: 0-255.


WebVisitedLinkColorBlue

Purpose

Return the blue value of the visited hypertext-link color for the active web document. If the current document is not a web document, the blue value of the default visited hypertext-link color for web documents is returned.

Syntax

numeric := WebVisitedLinkColorBlue ()

See Also

WebVisitedLinkColor


WebVisitedLinkColorGreen

Purpose

Return the green value of the visited hypertext-link color for the active web document. If the current document is not a web document, the green value of the default visited hypertext-link color for web documents is returned.

Syntax

numeric := WebVisitedLinkColorGreen ()

See Also

WebVisitedLinkColor


WebVisitedLinkColorRed

Purpose

Return the red value of the visited hypertext-link color for the active web document. If the current document is not a web document, the red value of the default visited hypertext-link color for web documents is returned.

Syntax

numeric := WebVisitedLinkColorRed ()

See Also

WebVisitedLinkColor


WidowOrphan

Purpose

Turn Widow/Orphan on or off.

Syntax

WidowOrphan (State: enumeration)

Parameters

State

enumeration

Off!

On!

See Also

?WidowOrphan, BlockProtect, ConditionalEndOfPage, KeepTextTogetherDlg


WindowCascade

Purpose

Overlap document windows to display the title bar of each window.

Syntax

WindowCascade ()


WindowTile

Purpose

Arrange all open document windows top to bottom without overlapping them.

Syntax

WindowTile ()


WindowTileVertical

Purpose

Arrange all open document windows side by side without overlapping them.

Syntax

WindowTileVertical ()

See Also

WindowTile


WordCountDlg

Purpose

Display document information, such as word and page count, and words per sentence.

Syntax

WordCountDlg ()


WordLetterspaceDlg

Purpose

Display the Word/Letter Spacing dialog box.

Syntax

WordLetterspaceDlg ()


WordLetterSpacing

Purpose

Specify the display spacing between words and letters. Normal: recommended by font manufacturer. Optimal: recommended by Corel WordPerfect.

Syntax

WordLetterSpacing (CharacterWidth: enumeration; SpaceWidth: enumeration)

Parameters

CharacterWidth

enumeration The spacing between words. Use a number to specify a percent of the Optimal! default.

Maximum!

Normal!

Optimal!

SpaceWidth

enumeration The spacing between letters. Use a number to specify a percent of the Optimal! default.

Maximum!

Normal!

Optimal!

See Also

?CharSpaceWidth


WordSpacingJustificationLimits

Purpose

Adjust the spacing between words when Full justification is on. When a word spacing limit is reached, character spacing begins.

Syntax

WordSpacingJustificationLimits (Compression: numeric; Expansion: numeric)

Parameters

Compression

numeric The minimum percent.

Expansion

numeric The maximum percent.

See Also

?SpaceExpansion


WP51CursorMovement

Purpose

Turn Corel WordPerfect 5.1 for DOS cursor movement on or off. When Corel WordPerfect 5.1 cursor movement is on, the insertion point moves through codes as if Reveal Codes were on, regardless of the state of Reveal Codes.

Syntax

WP51CursorMovement (State: enumeration)

Parameters

State

enumeration

Off!

On!


WPActivate

Purpose

Activate Corel WordPerfect. Use with DDE links to another application.

Syntax

WPActivate ()


WPCharactersDlg

Purpose

Display the WordPerfect Characters dialog box.

Syntax

WPCharactersDlg ()


WPDraw

Purpose

Open Corel WordPerfect Draw.

Syntax

WPDraw ()

See Also

GraphicCreateChart


WPGrammatik

Purpose

Open Grammatik. This product allows you to check grammar and spelling in a document.

Syntax

WPGrammatik ()

See Also

WPSpeller, WPThesaurus


WPSpeller

Purpose

Display the Spell Checker dialog box.

Syntax

WPSpeller ()

See Also

WPSpeller, WPThesaurus


WPThesaurus

Purpose

Display the Thesaurus dialog box. The Thesaurus allows you to get synonyms, antonymns, definitions, and usages examples for words.

Syntax

WPThesaurus ()


WritingToolsDisable

Purpose

Toggle grammar and spell checking on or off at the insertion point or for the selected text. This command inserts a [Writing Tools: Disabled] or [Writing Tools: Enabled] code at the insertion point, depending on the current state.

Syntax

WritingToolsDisable ()

See Also

?WritingToolsDisabledState


ZoomDlg

Purpose

Display the Zoom dialog box, which allows you to change the magnification of the active window.

Syntax

ZoomDlg ()

See Also

?Zoom, ZoomToFullPage, ZoomToMarginWidth, ZoomToPageWidth


ZoomToFullPage

Purpose

Display a full page on screen.

Syntax

ZoomToFullPage ()

See Also

ZoomDlg, ZoomToMarginWidth, ZoomToPageWidth


ZoomToMarginWidth

Purpose

Display a document at the current margin width.

Syntax

ZoomToMarginWidth ()

See Also

ZoomDlg, ZoomToFullPage, ZoomToPageWidth


ZoomToPageWidth

Purpose

Display everything contained between the left and right edges of the current page.

Syntax

ZoomToPageWidth ()

See Also

ZoomDlg, ZoomToFullPage, ZoomToMarginWidth