Chapter 2

See Graphic.

Corel® WordPerfect® Product Commands
E


EditBoxDlg

Purpose

Display the Edit Box dialog box.

Syntax

EditBoxDlg ()

See Also

GraphicEditBox


EditBoxDlgClose

Purpose

Close the Edit Box dialog box.

Syntax

EditBoxDlgClose ()

See Also

GraphicEditBox


EditComment

Purpose

Display the Comment feature bar.

Syntax

EditComment ()


EditCopy

Purpose

Replace the Clipboard contents with the selected text or graphic.

Syntax

EditCopy ()


EditCut

Purpose

Replace the Clipboard contents with the selected text or graphic and delete the selection from the current document.

Syntax

EditCut ()


EditPaste

Purpose

Paste the Clipboard contents into the current document at the insertion point.

Syntax

EditPaste (ClipboardFormat: string; FormatId: numeric; LinkType: enumeration)

Parameters

ClipboardFormat

string (optional) The registered Clipboard format. If the information you wish to paste is in a registered Clipboard format, this parameter is required and the FormatId parameter is ignored. Several different formats are supported. The options displayed in the Paste Special dialog box will depend on the contents in the Clipboard.

FormatId

numeric (optional) The predefined Clipboard format ID number. If the information you wish to paste is in a Clipboard predefined format, this parameter is required and the ClipboardFormat parameter is ignored. Predefined Clipboard format ID numbers include:

5 = ANSI text.

6 = Old IBM PC character set.

7 = Device Independent Bitmap (DIB).

8 = Bitmap.

9 = Metafilepict.

LinkType

enumeration (optional)

DDE!

OLE!


EditPasteSimple

Purpose

Paste the Clipboard contents without text attributes (unless beginning and ending attribute codes are included in the pasted selection).

Syntax

EditPasteSimple ()


EndCenterOrAlignment

Purpose

Insert a [END Cntr/Align] code, which turns off Center, Flush Right, and alignment tabs at the insertion point for the current line only.

Syntax

EndCenterOrAlignment ()


EndnoteCreate

Purpose

Open a new endnote window, in order to create an endnote. Follow with commands that insert text and codes. End with SubstructureExit.

Syntax

EndnoteCreate ()

See Also

Close


EndnoteEdit

Purpose

Open a specific endnote window, in order to edit the endnote.

Syntax

EndnoteEdit (EndnoteNumber: string)

Parameters

EndnoteNumber

string (optional) Letters, arabic numbers, or roman numerals.

See Also

Close, EndnoteEditDlg


EndnoteEditDlg

Purpose

Display the Edit Endnote dialog box.

Syntax

EndnoteEditDlg ()

See Also

EndnoteEdit


EndnoteFootnoteConvert

Purpose

Convert footnotes to endnotes or endnotes to footnotes in the current document.

Syntax

EndnoteFootnoteConvert (Action: enumeration)

Parameters

Action

enumeration

EndnoteToFootnote!

FootnoteToEndnote!


EndnoteFootnoteNext

Purpose

Go to the next endnote/footnote.

Syntax

EndnoteFootnoteNext ()


EndnoteFootnotePrev

Purpose

Go to the previous endnote/footnote.

Syntax

EndnoteFootnotePrev ()


EndnoteMinimum

Purpose

Specify the amount of endnote text to keep together.

Syntax

EndnoteMinimum (Size: measurement)

Parameters

Size

measurement If less than 1, precede the decimal with 0. Default: 0.5".

See Also

EndnoteOptionsDlg


EndnoteNewNumber

Purpose

Insert an [Endnote Num Set] code to begin new numbering for subsequent endnotes.

Syntax

EndnoteNewNumber (EndnoteNumber: string)

Parameters

EndnoteNumber

string The new starting number or character.


EndnoteNumberDecrement

Purpose

Decrease the current endnote number by one.

Syntax

EndnoteNumberDecrement ()

See Also

EndnoteNewNumber


EndnoteNumberDisplay

Purpose

Display the current endnote number.

Syntax

EndnoteNumberDisplay ()

See Also

EndnoteNewNumber


EndnoteNumberIncrement

Purpose

Increase the current endnote number by one.

Syntax

EndnoteNumberIncrement ()

See Also

EndnoteNewNumber


EndnoteNumberMethod

Purpose

Specify an endnote numbering method.

Syntax

EndnoteNumberMethod (NumberingMethod: enumeration; Characters: string)

Parameters

NumberingMethod

enumeration

Characters!

Numbers!

LowerLetters!

UpperLetters!

LowerRoman!

UpperRoman!

Characters

string (optional) Use when the first parameter is Characters!.

See Also

EndnoteNewNumber


EndnoteOptions

Purpose

Specify endnote options beginning at the insertion point.

Syntax

EndnoteOptions (NumberingMethod: enumeration; Characters: string; BetweenSpacing: measurement; MinimumHeight: measurement)

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) The space between endnotes.

MinimumHeight

measurement (optional) How much of an endnote to keep together on a page.

See Also

EndnoteOptionsDlg


EndnoteOptionsDlg

Purpose

Display the Endnote Options dialog box.

Syntax

EndnoteOptionsDlg ()

See Also

EndnoteOptions


EndnotePlacement

Purpose

Mark where to generate an endnote list, and specify whether to reset numbering for subsequent endnotes. This command applies to endnotes before the Endnote Placement code, or after the last Endnote Placement code.

Syntax

EndnotePlacement (Restart: enumeration)

Parameters

Restart

enumeration (optional)

No!

Yes!

See Also

EndnotePlacementDlg


EndnotePlacementDlg

Purpose

Display the Endnote Placement dialog box.

Syntax

EndnotePlacementDlg ()

See Also

EndnotePlacement


EndnoteSetNumberDlg

Purpose

Display the Endnote Number dialog box.

Syntax

EndnoteSetNumberDlg ()


EndnotesSpaceBetween

Purpose

Specify the distance between endnotes.

Syntax

EndnotesSpaceBetween (Width: measurement)

Parameters

Width

measurement

See Also

EndnoteOptions


EndnoteToFootnoteShippingMacro

Purpose

Play the shipping macro ENDFOOT.WCM to convert endnotes to footnotes in the current document or selected text. ENDFOOT.WCM must already be installed.

Syntax

EndnoteToFootnoteShippingMacro ()

See Also

FootnoteToEndnoteShippingMacro, EndnoteFootnoteConvert


EndOfSentenceSpacing

Purpose

Specify the number of spaces at the end of a sentence.

Syntax

EndOfSentenceSpacing (Type: enumeration)

Parameters

Type

enumeration

DoubleToSingle!

None!

SingleToDouble!

See Also

?EndOfSentenceSpacing


EnterKey

Purpose

Perform an Enter function.

Syntax

EnterKey ()


EnvelopeDlg

Purpose

Display the Envelope dialog box.

Syntax

EnvelopeDlg ()


EquationBaseFontDlg

Purpose

Display the Equation Font dialog box.

Syntax

EquationBaseFontDlg ()


EquationCreate

Purpose

Create an equation box and open the Equation Editor.

Syntax

EquationCreate ()

See Also

Close


EquationPalette

Purpose

Display the Equation Palette in the Equation Editor.

Syntax

EquationPalette (State: enumeration)

Parameters

State

enumeration (optional)

Off!

On!

See Also

EquationPaletteToggle


EquationPaletteToggle

Purpose

Toggle the Equation Editor palette on and off.

Syntax

EquationPaletteToggle ()

See Also

EquationPalette


EquationRetrieveDlg

Purpose

Display the Retrieve Equation Text dialog box.

Syntax

EquationRetrieveDlg ()


EquationZoomDlg

Purpose

Display the Zoom Equation Display dialog box.

Syntax

EquationZoomDlg ()


ExecScrapBook

Purpose

Run the Scrapbook program. You can then drag images from the Scrapbook and drop them into your document.

Syntax

ExecScrapBook ()


ExitWordPerfect

Purpose

Exit Corel WordPerfect.

Syntax

ExitWordPerfect ()


ExpandAllAbbrevShippingMacro

Purpose

Play the shipping macro EXPNDALL.WCM to expand all abbreviations in the current document. EXPNDALL.WCM must be installed.

Syntax

ExpandAllAbbrevShippingMacro ()

See Also

AbbreviationExpand


ExpandDlg

Purpose

Display the Expand Master Document dialog box.

Syntax

ExpandDlg ()