CapBeginSentence(State As _CapBeginSentence_State_enum)
Description
Automatically capitalize the first letter of each sentence as it is typed.
Parameters
State: enumeration Off!
On!
CaseToggle
Syntax
CaseToggle()
Description
Change the selected text to uppercase or lowercase.
Center
Syntax
Center()
Description
Insert a [Hd Center on Marg] code at the insertion point, centering the current line of text from the insertion point to the next justification code or [HRt] code.
CenterCurrentPage
Syntax
CenterCurrentPage(State As _CenterCurrentPage_State_enum)
Description
Center the current page vertically.
Parameters
State: enumeration Off!
On!
CenterPageDlg
Syntax
CenterPageDlg()
Description
Display the Center Page(s) dialog box.
CenterPages
Syntax
CenterPages(State As _CenterPages_State_enum)
Description
Center the current and subsequent pages vertically.
Parameters
State: enumeration Off!
On!
ChangeWatermarkGraphicShade
Syntax
ChangeWatermarkGraphicShade(Amount As Integer)
Description
Change the shading of a watermark image.
Parameters
Amount: numeric How much to lighten or darken the shade of a watermark image.
ChangeWatermarkTextShade
Syntax
ChangeWatermarkTextShade(Amount As Integer)
Description
Change the shading of watermark text.
Parameters
Amount: numeric How much to lighten or darken the shade of text in a watermark.
ChapterNumber
Syntax
ChapterNumber(Chapter As Integer)
Description
Specify a chapter number.
Parameters
Chapter: numeric The number for the current chapter.
ChapterNumberDecrement
Syntax
ChapterNumberDecrement()
Description
Decrease the chapter number by one.
ChapterNumberDisplay
Syntax
ChapterNumberDisplay()
Description
Insert the chapter number at the insertion point.
ChapterNumberIncrement
Syntax
ChapterNumberIncrement()
Description
Increase the chapter number by one.
ChapterNumberMethod
Syntax
ChapterNumberMethod(Method As _ChapterNumberMethod_Method_enum)
Description
Specify a chapter numbering method.
Parameters
Method: enumeration LowerLetters!
LowerRoman!
Numbers!
UpperLetters!
UpperRoman!
Char
Syntax
Char(Character, [Prompt As String])
Description
Prompt the user for a keystroke, then assign the ASCII numeric equivalent of the keystroke to the variable specified in the Character parameter. Only one keystroke is accepted. If more than one character is entered, only the first is accepted. Not recordable.
Parameters
Character: variable The first character typed.
Prompt: string(optional) The message prompting the user to type a character.
CharMappingDlg
Syntax
CharMappingDlg()
Description
Display the Document Character Map dialog box.
CheckBoxShippingMacro
Syntax
CheckBoxShippingMacro()
Description
Play the shipping macro CHECKBOX.WCM to create check boxes in a document that can be changed by clicking on them. CHECKBOX.WCM must be installed.
CleanUpSpaces
Syntax
CleanUpSpaces(State As _CleanUpSpaces_State_enum)
Description
Turn Cut and Paste Cleanup on or off.
Parameters
State: enumeration Off!
On!
ClearDoc
Syntax
ClearDoc()
Description
Close the current document without saving and leave the current window open.
ClearUndoLevels
Syntax
ClearUndoLevels()
Description
Delete all Undos associated with the current document.
ClipboardAppendTo
Syntax
ClipboardAppendTo()
Description
Append the currently selected text to the contents of the Clipboard.
ClipboardRetrieve
Syntax
ClipboardRetrieve()
Description
Insert the Clipboard contents at the insertion point.
ClipboardSaveTo
Syntax
ClipboardSaveTo()
Description
Save the selected text or graphics to the Clipboard, replacing existing Clipboard contents. If text or graphics are not selected before this method, macro ends or goes to the ONERROR label.
ClipboardShippingMacro
Syntax
CloseAllShippingMacro()
Description
Play the shipping macro CLIPBRD.WCM to open the Clipboard Viewer. CLIPBRD.WCM must be installed.
Close
Syntax
Close([Save As _Close_Save_enum])
Description
Close the current window or text editor.
Parameters
Save: enumeration (optional) Default: prompt user to save.
No!
Yes!
CloseAllShippingMacro
Syntax
CloseAllShippingMacro()
Description
Play the shipping macro CLOSEALL.WCM to display the Close All Documents dialog box, which presents a list of all open documents with modified documents marked for saving. CLOSEALL.WCM must be installed.
CloseNoSave
Syntax
CloseNoSave([Verify As _CloseNoSave_Verify_enum])
Description
Close the current document without saving it.
Parameters
Verify: enumeration (optional) Prompt the user to verify close without saving. Default: no prompt.
No!
Yes!
CodePage
Syntax
CodePage([Dos As Integer], [Windows As Integer], [InputFile As Integer], [OutputFile As Integer])
Description
Specify code page preferences.
Parameters
Dos: numeric (optional) The DOS code page setting.
333 Europa
437 US IBM Default
710 Arabic
850 PC Multilingual
852 Eastern Europe
853 Turkish
860 Portugal
861 Icelandic
862 Hebrew
863 Canada/French
865 Norway
866 Cyrillic
895 Czech-Kamenicky
897 Hungarian
8510 Alternate Greek
8600 Alternate Portugal
8601 Alternate Portugal
8660 Alternate Cyrillic
Windows: numeric (optional) The Windows code page setting.
1004 Windows US
1250 Windows Latin-2
1251 Windows Cyrillic
1252 Windows US Standard
1253 Windows Greek
1254 Windows Turkish
ISO 8859-1 Latin #1
ISO 8859-2 Latin #2
ISO 8859-6 Latin/Arabic
ISO 8859-7 Latin/Greek
ISO 8859-8 Latin/Hebrew
InputFile: numeric (optional) Any code number listed for the DOS or Windows parameter.
OutputFile: numeric (optional) Any code number listed for the DOS or Windows parameter.
CodePageDlg
Syntax
CodePageDlg()
Description
Display the Code Page Preferences dialog box.
ColumnBorderDlg
Syntax
ColumnBorderDlg()
Description
Display the Column Border/Fill dialog box.
ColumnDefineDlg
Syntax
ColumnDefineDlg()
Description
Display the Columns dialog box.
ColumnsDefinition
Syntax
ColumnsDefinition(ColumnsType As _ColumnsDefinition_ColumnsType_enum, VerticalSpacing As Double, [Spacing], [SpacingDef])
Description
Define columns.
Parameters
ColumnsType: enumeration Newspaper!
NewspaperBalanced!
Parallel!
ParallelBlockProtect!
VerticalSpacing: numeric The spacing between sections of text in parallel columns.
Spacing: measurement (optional) Alternate between specifying column width and the desired space between the columns. Always paired with the SpacingDef parameter. Enclose Spacing and SpacingDef parameters in braces ({}) separated by semicolons. For multiple columns, alternate Spacing and SpacingDef parameters.
SpacingDef: enumeration (optional) The definition of column width and spacing between columns.
Fixed!
NotFixed!
ColumnsOff
Syntax
ColumnsOff()
Description
Turn off Columns.
ColumnsOn
Syntax
ColumnsOn()
Description
Turn on Columns.
CommentConvert
Syntax
CommentConvert()
Description
Convert a comment to text.
CommentCreate
Syntax
CommentCreate()
Description
Open a new comment window in order to create a new comment.
CommentEdit
Syntax
CommentEdit()
Description
Open the comment editing screen in order to edit a comment.
CommentInformation
Syntax
CommentInformation()
Description
Display the Comment Information dialog box.
CommentInsertTime
Syntax
CommentInsertTime()
Description
Insert the current time into a comment.
CommentInsertUserInitials
Syntax
CommentInsertUserInitials()
Description
Insert the user initials specified in Environment Preferences into a comment.
CommentInsertUserName
Syntax
CommentInsertUserName()
Description
Insert the user name specified in the Environment Preferences dialog box into a comment.
CommentNext
Syntax
CommentNext()
Description
Go to the next comment.
CommentPrevious
Syntax
CommentPrevious()
Description
Go to the previous comment.
CommentsDisplaySetup
Syntax
CommentsDisplaySetup([OnOff As _CommentsDisplaySetup_OnOff_enum])
Description
Turn comment display on or off in the current document for the current session. This method does not change display preferences for comments.
Parameters
OnOff: enumeration (optional) Off!
On!
ConditionalEndOfPage
Syntax
ConditionalEndOfPage(LinesTogether As Integer)
Description
Keep a specified number of lines together at a page break. If a page break falls between the lines, the lines move to the next page.
Parameters
LinesTogether: numeric
ConvertCaseInitialCaps
Syntax
ConvertCaseInitialCaps()
Description
Convert the selected text to lowercase, and capitalize the first letter of each word.
ConvertCaseLowercase
Syntax
ConvertCaseLowercase()
Description
Convert the selected text to lowercase, except the first word of each sentence and "I" and its forms, such as "I'm" and "I've."
ConvertCaseUppercase
Syntax
ConvertCaseUppercase()
Description
Convert the selected text to uppercase.
Copy
Syntax
Copy()
Description
Copy the selected text. Use Paste to retrieve the copied text. Recordable substitute: EditCopy.
CopyAndPaste
Syntax
CopyAndPaste()
Description
Copy the selected text to the Clipboard. Use EditPaste() or MoveModeEnd() to paste the copied text into the current document. Included for DOS compatibility. Recordable substitutes: EditCopy() and EditPaste().
CorelVersionArchiveCurrentDlg
Syntax
CorelVersionArchiveCurrentDlg()
Description
Save a version of the current document.
CorelVersionRetrieveCurrentDlg
Syntax
CorelVersionRetrieveCurrentDlg()
Description
Retrieve any saved version of the current document.
CorelVersionRetrieveDocumentDlg
Syntax
CorelVersionRetrieveDocumentDlg()
Description
Retrieve any version already saved for any document.
CounterCreate
Syntax
(CounterName: any; {Method: enumeration})
Description
Specify a box reference number. You must pass the numeric value that corresponds to the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
Method: enumeration (optional) The numbering method. To specify different numbering methods for each level, repeat the method parameter.
LowLetter!
LowRoman!
Numbers!
UpLetter!
UpRoman!
1
3
0
2
4
CounterDecrement
Syntax
CounterDecrement(CounterName, Level As Integer)
Description
Decrease a counter level by one. You must pass the value thatr corresponds to the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
Level The level of the counter. N/A
CounterDelete
Syntax
CounterDelete(CounterName)
Description
Delete a user-defined counter or reset a program-defined counter. You must pass the numeric value that corresponds to the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
CounterDisplay
Syntax
CounterDisplay(CounterName, Level As Integer)
Description
Display the counter value of a box or user-defined counter. You must pass the numeric value that corresponds to the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
Level The level of the counter. N/A
CounterDlg
Syntax
CounterDlg()
Description
Display the Counter Numbering dialog box.
CounterEditLevel
Syntax
CounterEditLevel(CounterName, NewNumLvls As Integer)
Description
Specify the number of levels a counter contains. You must pass the numeric value of the CounterName.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
NewNumLvls The level of the counter. N/A
CounterEditLevelMethod
Syntax
CounterEditLevelMethod(CounterName, LevelNum As Integer, NewMethod As _CounterEditLevelMethod_NewMethod_enum)
Description
Change the numbering method for a multi-level counter. You must pass the numeric value of the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
LevelNum The counter level.
Method: enumeration (optional) The numbering method. To specify different numbering methods for each level, repeat the method parameter.
LowLetter!
LowRoman!
Numbers!
UpLetter!
UpRoman!
1
3
0
2
4
CounterEditLevelName
Syntax
CounterEditLevelName(OldCounterName, OldLevelName As String, NewLevelName As String)
Description
Rename the specified level of a multi-level counter. You must pass the numeric value of the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
OldLevelName: string The original name of the level. N/A
NewLevelName: string The new name of the level. N/A
CounterEditMethod
Syntax
CounterEditMethod(CounterName, NewMethod As _CounterEditMethod_NewMethod_enum)
Description
Change a counter numbering method. You must pass the numeric value of the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
Method: enumeration (optional) LowLetter!
LowRoman!
Numbers!
UpLetter!
UpRoman! 1
3
0
2
4
CounterEditName
Syntax
CounterEditName(OldName As String, NewName As String)
Description
Rename a user-defined counter.
Parameters
OldName: string The old name of the counter.
NewName: string The new name of the counter.
CounterIncrement
Syntax
CounterIncrement(CounterName, Level As Integer)
Description
Increase a counter level by one. You must pass the numeric value of the CounterName.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
Level: numeric The level displayed on the counter. N/A
CounterSetMethod
Syntax
CounterSetMethod(CounterName, CounterLevel As Integer, Method As _CounterSetMethod_Method_enum)
Description
Specify a counter numbering method. You must pass the numeric value of the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
LevelNum The counter level. N/A
Method: enumeration LowLetter!
LowRoman!
Numbers!
UpLetter!
UpRoman! 1
3
0
2
4
CounterSetValue
Syntax
CounterSetValue(CounterName, [CounterLevel])
Description
Set a counter value. You must pass the numeric value of the style.
Parameters
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
CounterLevel: numeric (optional) To change counter levels, repeat the CounterLevel parameter.
CreateBoxToggle
Syntax
CreateBoxToggle([State As _CreateBoxToggle_State_enum])
Description
Enable or disable Drag to Create, which allows you to create and size boxes by clicking and dragging.
Parameters
State: enumeration (optional) Off!
On!
CreateMapFile
Syntax
CreateMapFile([Filename As String])
Description
Create a .MAP file containing the current document's character mapping and save it with the specified filename and path.
Parameters
FileName: string (optional) The filename for the character map file.
CreateRegionLink
Syntax
CreateRegionLink(Region As _CreateRegionLink_Region_enum)
Description
Indicate that a portion of the current document has been copied to the Clipboard, and specify the type of link that has been established.
Parameters
Region: enumeration OBEXRegion!
OLERegion!
CrossRefMarkReference
Syntax
CrossRefMarkReference(TargetName As String, RefType As _CrossRefMarkReference_RefType_enum, [CounterName])
Description
Create a cross-reference. You must pass the numeric value that correspopnds to the CounterName.
Parameters
TargetName: string The reference name. N/A`
RefType: enumeration What is referenced.
RefBox!
RefChapter!
RefCounter!
RefEndnote!
RefFootnote!
RefPage!
RefParagraph!
RefSecondaryPage!
RefVolume! N/A
CounterName: any EquationCounter!
FigureCounter!
None!
TableBoxCounter!
TextBoxCounter!
UserBoxCounter! 5
1
0
2
3
4
CrossRefMarkTarget
Syntax
CrossRefMarkTarget([TagName As String])
Description
Create a cross-reference target.
Parameters
TagName: string (optional) The name for the target tag.
CtrlBreak
Syntax
CtrlBreak()
Description
Cancel the current action in WordPerfect.
CustomBoxDlg
Syntax
CustomBoxDlg()
Description
Display the Custom Box dialog box.
Cut
Syntax
Cut()
Description
Remove the selected text and copy it to the Clipboard, replacing previous Clipboard contents. Included for DOS compatibility. Recordable substitute: EditCut.
CutAndPaste
Syntax
CutAndPaste()
Description
Remove the selected text and copy to the Clipboard. Use EditPaste or MoveModeEnd to paste the selection in the current document. Included for DOS compatibility. Recordable substitutes: EditCut and EditPaste.