Specify the position and appearance of page numbering. Use Font, Color, Shade, and Attributes parameters only if the Default parameter is DontUseDefaultValues!.
Parameters
Position: enumeration BottomAlternating!
BottomCenter!
BottomLeft!
BottomRight!
InsideTopAlternating!
None!
OutsideBottomAlternating!
TopAlternating!
TopCenter!
TopLeft!
TopRight!
Default: enumeration DontUseDefaultValues!
UseDefaultValues!
Font: string (optional) The font face for the page number.
FontSize: measurement (optional) The font size for the page number.
Red: numeric (optional) Value: 0-255.
Green: numeric (optional) Value: 0-255.
Blue: numeric (optional) Value: 0-255.
Shade: numeric (optional) Percent: 0-100.
Attributes: enumeration (optional) Bold!
DoubleUnderline!
Every!
ExtraLarge!
Fine!
Italics!
Large!
Outline!
Redline!
Shadow!
Small!
SmallCaps!
Strikeout!
Subscript!
Superscript!
Underline!
VeryLarge!
PageNumberSettingsDlg
Syntax
()
Description
Display the Numbering Value dialog box.
PageSetupDlg
Syntax
()
Description
Display the Page Setup dialog box.
PageSuppressDlg
Syntax
()
Description
Display the Suppress dialog box.
PageZoomFull
Syntax
()
Description
Display Page view, then zoom the current page to Full Page.
PaneNext
Syntax
()
Description
Move the focus to the next pane in the Equation Editor.
PanePrevious
Syntax
()
Description
Move the focus to the previous pane in the Equation Editor.
Width: measurement (optional) The width of the page.
Height: measurement (optional) The height of the page.
Type: enumeration (optional) Bond!
Cardstock!
ClayBased!
Envelope!
Glossy!
Labels!
Letterhead!
Other!
Standard!
Transparency!
ParagraphBorderDlg
Syntax
()
Description
Display the Paragraph Border/Fill dialog box.
ParagraphBreakShippingMacro
Syntax
()
Description
Play the shipping macro PARABRK.WCM to display the Paragraph Breaks dialog box, where graphical paragraph break markers can be edited and selected to insert after the next [HRt]. PARABRK.WCM must be installed.
ParagraphDown
Syntax
()
Description
Move the insertion point to the beginning of the next paragraph (after [HRt] or [HRt]). Recordable substitute: PosParagraphNext.
ParagraphFormatDlg
Syntax
()
Description
Display the Paragraph Format dialog box.
ParagraphHangingIndent
Syntax
()
Description
Align the first line of a paragraph with the left margin and indent the remaining lines to the next tab stop.
ParagraphNumberDefDlg
Syntax
()
Description
Display the Change Outline Level dialog box.
ParagraphSetNumber
Syntax
(Level: numeric; StartValue: numeric)
Description
Specify the level and starting value for paragraph numbering.
Parameters
Level: numeric The level of paragraph numbering.
StartValue: numeric The start value of paragraph numbering.
ParagraphSpacing
Syntax
(AmtSpc: numeric[; DotSpc: numeric])
Description
Lets you specify the spacing between paragraphs. The default spacing is the font point size plus two points.
Parameters
AmtSpc: numeric Default: 1.0.
DotSpc: numeric (optional)
ParagraphUp
Syntax
()
Description
Move the insertion point to the beginning of the previous paragraph. Recordable substitute: PosParagraphPrevious.
Paste
Syntax
()
Description
Paste the Clipboard contents at the insertion point.
Insert an object from the Clipboard into the current document, thus creating a link with the server application that created the object.
Parameters
FormatName: string The format of the linked object. Consult your server application's documentation for a valid format name.
FormatId: numeric The identification number of the format of the linked object. Consult your server application's documentation for a valid format ID.
LinkType: enumeration Dde!
Ole!
PauseCommand
Syntax
(Token: command name)
Description
Pause a macro until a specified macro command is executed. For example, Enter executes the HardReturn command. PauseCommand does not prompt the user to press a key, so it is often used with PROMPT.
Parameters
Token: command name The command to pause.
PauseKey
Syntax
(Key: enumeration; Character: string)
Description
Pause a macro until a specified key or character is pressed.
Parameters
Key: enumeration The key to resume macro execution. Default: Enter!. Any! resumes when any key is pressed, including Backspace, Delete, and Ctrl+Enter.
Any!
Cancel!
Character!
Close!
Enter!
Character: string (optional) The case-sensitive character that resumes macro execution when pressed. Use if the Key parameter is Character!.
PauseSet
Syntax
(Token: command name)
Description
Specify a command to replace a [HRt] that ends a PAUSE command.
Parameters
Token: command name A command to resume a paused macro. Usually represents a keystroke.
PerfectExpert
Syntax
()
Description
Open the User Assistant.
boolean:=PersonalInfoDlg
Syntax
()
Description
Display the Corel Address Book with the personal information record selected. If the personal information has not been previously specified, the first record in the current address book is selected.
Return Value
Returns True if the Select button was clicked to dismiss the dialog box, False if the Close button was clicked to dismiss the dialog box.
string:=PersonalInfoFormatAddr
Syntax
(Format: string)
Description
Return the personal information stored in the address book using the specified format.
Parameters
Format: string The format specification used when returning the personal information. Use AddressBookFormatGetFormat or AddressBookFormatGetCurrent to retrieve an address format specification.
string:=PersonalInfoGetField
Syntax
(Field: any)
Description
Return the value of a field from the current personal information stored in the address book.
Parameters
Field: any If this parameter is a number, the command will try to return the value of the field with that code number. If this parameter is a string, the command will try to return the value of the field with that name.
PlayClipBoardShippingMacro
Syntax
()
Description
Play the shipping macro READCLP.WCM to speak Clipboard text. READCLP.WCM must be installed. ProVoice or Monologue text-to-speech software is required.
PlayFileShippingMacro
Syntax
()
Description
Play the shipping macro READFILE.WCM to speak a text file or play a .WAV, .AVI, or .MID file. READFILE.WCM must be installed. ProVoice or Monologue text-to-speech software is required.
PlaySelectionShippingMacro
Syntax
()
Description
Play the shipping macro READSEL.WCM to speak selected text. Not recordable. READSEL.WCM must be installed. ProVoice or Monologue text-to-speech software is required.
PleadingShippingMacro
Syntax
()
Description
Play the shipping macro PLEADING.WCM to display the Pleading Paper dialog box, in which you specify and generate pleading options. PLEADING.WCM must be installed.
PosBlockBeg
Syntax
()
Description
Move the insertion point to the beginning of the selected text, then deselect the text. Included for DOS compatibility. Windows equivalent: PosSelectTop.
PosBlockBottom
Syntax
()
Description
Move the insertion point to the bottom of the selected text. Included for DOS compatibility. Windows equivalent: PosSelectBottom.
PosBlockTop
Syntax
()
Description
Move the insertion point to the top of the selected text. Included for DOS compatibility. Windows equivalent: PosSelectTop.
PosCellDown
Syntax
()
Description
Move the insertion point down one row. Recordable equivalent: PosTableCellDown.
PosCellNext
Syntax
()
Description
Move the insertion point to the beginning of the next cell in the current table. If the insertion point is in the last cell of a table, the insertion point is moved to the beginning of that cell. Recordable equivalent: PosTableTopCellNext.
PosCellPrevious
Syntax
()
Description
Move the insertion point to the beginning of the previous cell in the current table. If the insertion point is in the first cell of a table, the insertion point is moved to the beginning of that cell. Recordable equivalent: PosTableCellPrevious.
PosCellUp
Syntax
()
Description
Move the insertion point up one cell. Recordable equivalent: PosTableCellUp.
PosCharacter
Syntax
(CharToMoveTo: string)
Description
Move the insertion point forward to a specified character. Maximum forward movement is 2,000 characters. Case sensitive. If the specified character is not found, this command does nothing. Not recordable.
Parameters
CharToMoveTo: string The single search character.
PosCharNext
Syntax
()
Description
Move the insertion point to the next character to the right.
PosCharPrevious
Syntax
()
Description
Move the insertion point to the previous character.
PosColBottom
Syntax
()
Description
Move the insertion point to the beginning of the last line before a page break. Move to the end of the document if there is no page break. In columns, move the insertion point to the beginning of the last line of the column. In tables, move to the beginning of the last line of the last cell in the current column that contains data.
PosColFirst
Syntax
()
Description
Move the insertion point to the beginning of the line. In columns, move the insertion point to the beginning of the line in the first column. In tables, no effect.
PosColLast
Syntax
()
Description
Move the insertion point to the beginning of the current line. In columns, move the insertion point to the beginning of the current line in the last column. In tables, this command has no effect.
PosColNext
Syntax
()
Description
Move the insertion point to the beginning of the current line in the next column or to the current line in the current row of the next table column.
PosColPrevious
Syntax
()
Description
Move the insertion point to the beginning of the current line in the previous column or to the beginning of the current row and line in the previous table column.
PosColTop
Syntax
()
Description
In columns, move the insertion point to the beginning of the current column. In tables, move to the beginning of the current row in the previous column. If there are multiple lines in the current cell, move the insertion point to the beginning of the previous line in the current cell. In regular (non-column) text, move the insertion point to the beginning of the previous line.
PosDocBottom
Syntax
()
Description
Move the insertion point to the end of the document, after all codes.
PosDocTop
Syntax
()
Description
Move the insertion point to the beginning of the document, after any initial codes.
PosDocVeryTop
Syntax
()
Description
Move the insertion point to the beginning of a document, before any codes.
PosEndnote
Syntax
(EndnoteNumber: numeric)
Description
Moves the insertion point to an endnote.
Parameters
EndnoteNumber: numeric The number of the endnote.
Note
New command
PosFootnote
Syntax
(FootnoteNumber: numeric)
Description
Moves the insertion point to a footnote.
Parameters
FootnoteNumber: numeric The number of the footnote.
Note
New command
PosFunction
Syntax
(Function: enumeration)
Description
Move the insertion point to the right of the next occurrence of the code specified in the Function parameter.
Parameters
Function: enumeration CancelHyphenation!
HardEndOfLine!
HardHyphen!
HardSpace!
SoftEndOfLine!
Tab!
PosGoPrevious
Syntax
()
Description
Move the insertion point to its previous position.
PosGoToDlg
Syntax
()
Description
Display the Go To dialog box.
PosHeading
Syntax
(HeadingNumber: numeric)
Description
Move the insertion point to a heading.
Parameter
HeadingNumber: numeric The number of the heading.
Note
New command
PosIndex
Syntax
()
Description
Move the insertion point to the index.
Note
New command
PosLine
Syntax
(LineNumber: numeric)
Description
Lets you specify the line number to which to move the insertion point.
Parameter
LineNumber: numeric The line number
Note
New command
PosLineBeg
Syntax
()
Description
Move the insertion point to the beginning of the current line.
PosLineDown
Syntax
()
Description
Move the insertion point down one line.
PosLineEnd
Syntax
()
Description
Move the insertion point to the end of the current line.
PosLineUp
Syntax
()
Description
Move the insertion point up one line.
PosLineVeryBeg
Syntax
()
Description
Move the insertion point to the beginning of a line, before codes.
PosLineVeryEnd
Syntax
()
Description
Move the insertion point to the end of the current line after codes, except [HRt] and [SRt].
PosNextComment
Syntax
()
Description
Move the insertion point to the next comment.
Note
New command
PosNextEndnote
Syntax
()
Description
Move the insertion point to the next endnote.
Note
New command
PosNextFootnote
Syntax
()
Description
Move the insertion point to the next footnote.
Note
New command
PosNextHeading
Syntax
()
Description
Move the insertion point to the next heading.
Note
New command
PosNextTOC
Syntax
()
Description
Move the insertion point to the next table of contents.
Note
New command
PosNextIndex
Syntax
()
Description
Move the insertion point to the next index.
Note
New command
PosNextTOA
Syntax
()
Description
Move the insertion point to the next table of authorities.
Move the insertion point to the beginning of the last line on the current page. On the last page of a document, move to the end of the last line.
PosPageNext
Syntax
()
Description
Move the insertion point to the beginning of the next page. On the last page of the document, move to the end.
PosPagePrevious
Syntax
()
Description
Move the insertion point to the beginning of the previous page. On the first page of the document, move to the top of the page.
PosPageTop
Syntax
()
Description
Move the insertion point to the beginning of the current page. In columns, move to the beginning of the current column.
PosParagraphNext
Syntax
()
Description
Move the insertion point to the beginning of the next paragraph. In the last paragraph of a document, move to the end.
PosParagraphPrevious
Syntax
()
Description
Move the insertion point to the beginning of the current paragraph. At the beginning of a paragraph, move to the beginning of the previous paragraph.
PosPrevFootnote
Syntax
()
Description
Move the insertion point to the previous endnote.
Note
New command
PosPrevEndnote
Syntax
()
Description
Move the insertion point to the previous endnote.
Note
New command
PosPrevHeading
Syntax
()
Description
Move the insertion point to the previous heading.
Note
New command
PosPrevComment
Syntax
()
Description
Move the insertion point to the previous comment.
Note
New command
PosPrevTOC
Syntax
()
Description
Move the insertion point to the previous table of contents.
Note
New command
PosPrevIndex
Syntax
()
Description
Move the insertion point to the previous index.
Note
New command
PosPrevTOA
Syntax
()
Description
Move the insertion point to the previous table of authorities.
Note
New command
PosScreenDown
Syntax
()
Description
Move the insertion point to the bottom of the screen, then down one screen at a time with each repetition of the command.
PosScreenLeft
Syntax
()
Description
Move the insertion point to the left edge of the screen, then left one screen at a time with each repetition of the command.
PosScreenRight
Syntax
()
Description
Move the insertion point to the right edge of the screen, then right one screen at a time with each repetition of the command.
PosScreenUp
Syntax
()
Description
Move the insertion point to the top of the screen, then up one screen at a time with each repetition of the command.
PosSelectBottom
Syntax
()
Description
Move the insertion point to the end of the selected text.
PosSelectTop
Syntax
()
Description
Move the insertion point to the beginning of selected text.
PosTableBegin
Syntax
()
Description
Move the insertion point to the first cell of a table.
PosTableBlockBeg
Syntax
()
Description
Deselect all selected table cells except the first cell in the selection.
PosTableCell
Syntax
(Cell: string)
Description
Move the insertion point to a specified cell.
Parameters
Cell: string The cell you want to have the insertion point move to.
PosTableCellBottom
Syntax
()
Description
Move the insertion point to the beginning of the last line in a cell.
PosTableCellDown
Syntax
()
Description
Move the insertion point down one table row to the beginning of the first line in the cell.
PosTableCellNext
Syntax
()
Description
Move the insertion point to the beginning of the next cell.
PosTableCellPrevious
Syntax
()
Description
Move the insertion point to the beginning of the previous cell. If there are two or more lines in the current cell but only one line in the previous cell, move to the beginning of the previous cell. If there are one or more lines in both the current and previous cells, move to the beginning of the current line in the previous cell.
PosTableCellTop
Syntax
()
Description
Move the insertion point to the beginning of the cell.
PosTableCellUp
Syntax
()
Description
Move the insertion point up one table cell.
PosTableColBottom
Syntax
()
Description
Move the insertion point to the beginning of the last cell in the current column. If select mode is on, the selection is extended.
PosTableColumnBottom
Syntax
()
Description
Move the insertion point to the beginning of the last cell in the current column. If select mode is on, select mode is turned off before the insertion point moves.
PosTableColumnTop
Syntax
()
Description
Move the insertion point to the beginning of the table column.
PosTableEnd
Syntax
()
Description
Move the insertion point to the beginning of the last table cell.
PosTableGoPrevious
Syntax
()
Description
Return the insertion point to its previous position in a table.
PosTableRowBegin
Syntax
()
Description
Move the insertion point to the beginning of the current row.
PosTableRowEnd
Syntax
()
Description
Move the insertion point to the beginning of the last cell in the row.
PosTableScreenDown
Syntax
()
Description
Move the insertion point to the beginning of the last complete cell of the current column in the current screen, and down one screen with each repetition of the command.
PosTableScreenLeft
Syntax
()
Description
Move the insertion point to the beginning of the first complete cell in the row, and left one screen at a time with each repetition.
PosTableScreenRight
Syntax
()
Description
Move the insertion point to the beginning of the last complete table cell of the row in the current screen, and right one screen at a time with each repetition.
PosTableScreenUp
Syntax
()
Description
Move the insertion point to the beginning of first table cell of the screen in a table, and up one screen with each repetition.
PosTableTopCellNext
Syntax
()
Description
Move the insertion point to the beginning of the next cell. If the cells contain two or more lines, move to the beginning of the current line in the next cell. If the insertion point is in the last cell of a table, a new table row is created at the bottom of the table.
PosTableTopCellPrevious
Syntax
()
Description
Move the insertion point to the top of the previous table cell.
PosTOC
Syntax
()
Description
Move the insertion point to the table of contents.
Note
New command
PosTOA
Syntax
()
Description
Move the insertion point to the table of authorities.
Note
New command
PosWordNext
Syntax
()
Description
Move the insertion point to the beginning of the next word. Words separated by two hyphens or an em dash are treated as one word.
PosWordPrevious
Syntax
()
Description
Move the insertion point to the beginning of the previous word. If the insertion point is located within a word, the insertion point is moved to the beginning of the current word. Words separated by two hyphens or an em dash are treated as one word.
PowerBarEditDlg
Syntax
()
Description
Display the Toolbar Editor - Power Bar dialog box.
PowerBarOptionsDlg
Syntax
()
Description
Display the Power Bar Options dialog box.
PowerBarShow
Syntax
(State: enumeration)
Description
Display (On!) or hide (Off!) the Power Bar. If no parameter is specified, this command toggles the Power Bar display.
Parameters
State: enumeration (optional) Off!
On!
PowerTableNumericFormat
Syntax
()
Description
Change the number format of a cell.
PrefApplicationBarEdit
Syntax
(State: enumeration)
Description
Edit the Application Bar by adding or removing items.
Parameters
State: enumeration (optional) Off!
On!
PrefBackupPath
Syntax
(BackupDir: string; UpdateQuickList: enumeration)
Description
Specify the document backup directory and whether to update the QuickList.
Parameters
BackupDir: string (optional) The directory where backup files are stored.
Specify subject search text and default descriptive type for a document summary, and whether to create the summary automatically when saving a document.
Parameters
SubjectSearchText: string (optional) The text before the subject line.
DefaultDescriptiveType: string (optional) The description of the file type.
Specify the location of label files and set related options.
Parameters
PrinterDir: string (optional) Formerly, the Printer directory was used to store WordPerfect printer driver and label files. WordPerfect printer driver files were not used in WordPerfect 8 and 7. Therefore, this directory is used for label files only.
PrinterSupplDir: string (optional) This parameter is obsolete.
LabelFile: string (optional) The label filename, including the full path.
Open and close the Power Bar Preferences dialog box.
Parameters
Action: enumeration (optional) Enter!
Exit!
PrefPrintEnvironment
Syntax
(FormatForDefaultPrinter: enumeration)
Description
Turn on or off Reformat documents for the WordPerfect default printer on open.
Parameters
FormatForDefaultPrinter: enumeration No!
Yes!
PrefPrintRedline
Syntax
(Method: enumeration; Character: string)
Description
Specify the default method and character of redlined text for new documents. Follow this command with PrefSave to save the setting for future WordPerfect sessions. Use RedlineMethod and RedlineCharacter to change the redline method and/or character of the current document.
Parameters
Method: enumeration (optional) Accept the printer setting, or specify a column of characters down the right, left, or alternating sides of redlined text.
Alternating!
Left!
PrinterDependent!
Right!
Character: string (optional) The character to display down the side of redlined text. Omit if Method parameter is PrinterDependent!.
Specify default Application Bar items, their position, and their width. Precede and follow with PrefStatusBarEdit.
Parameters
Box: enumeration (optional) Specify an item to display or hide on the Application Bar. Repeat Box, Position, and Width parameters for each item. Enclose repeated parameters in braces ({}) separated by semicolons.
AlignChar!
CapsLockState!
CombinedAbsPosition!
CombinedPosition!
Date!
Font!
GeneralStatus!
InsertMode!
Keyboard!
Line!
NumLockState!
Outline!
Page!
Position!
Printer!
ScrollLockState!
Select!
Time!
Time12!
Time24!
Zoom!
Position: numeric (optional) The position of the Application Bar.
Width: numeric (optional) The width of the Application Bar.
PrefStatusBarEdit
Syntax
(State: enumeration)
Description
Edit the default Application Bar. Precede with PrefStatusBar. Default: toggle.