home *** CD-ROM | disk | FTP | other *** search
/ Chip: 25 Years Anniversary / CHIP_25Jahre_Jubilaeum.iso / downloads / 401065 / WPO11 / Data1.cab / _36BE7C5CA28D40B783280255A118959C < prev    next >
Text File  |  2003-03-07  |  16KB  |  886 lines

  1. AbbreviationCreate
  2.  
  3. Syntax
  4.  
  5. (AbbreviationName: string; Template: enumeration; Text: string)
  6.  
  7. Description
  8.  
  9. Create an abbreviation.
  10.  
  11. Parameters
  12.  
  13. AbbreviationName: string    Template: enumeration(optional)
  14.  
  15. CurrentDoc!
  16.  
  17. PersonalLibrary!
  18.  
  19. QuickWords!
  20.  
  21. SharedLibrary!
  22.  
  23. Text: string(optional)    
  24.  
  25. AbbreviationDelete
  26.  
  27. Syntax
  28.  
  29. (AbbreviationName: string; Template: enumeration)
  30.  
  31. Description
  32.  
  33. Delete an abbreviation.
  34.  
  35. Parameters
  36.  
  37. AbbreviationName: string    Template: enumeration(optional)
  38.  
  39. CurrentDoc!
  40.  
  41. PersonalLibrary!
  42.  
  43. QuickWords!
  44.  
  45. SharedLibrary!
  46.  
  47. AbbreviationDlg
  48.  
  49. Syntax
  50.  
  51. ()
  52.  
  53. Description
  54.  
  55. Display the Abbreviations dialog box.
  56.  
  57. AbbreviationExpand
  58.  
  59. Syntax
  60.  
  61. (AbbreviationName: string; Template: enumeration)
  62.  
  63. Description
  64.  
  65. Expand an abbreviation.
  66.  
  67. Parameters
  68.  
  69. AbbreviationName: string(optional)    Template: enumeration(optional)
  70.  
  71. CurrentDoc!
  72.  
  73. PersonalLibrary!
  74.  
  75. QuickWords!
  76.  
  77. SharedLibrary!
  78.  
  79. AbbreviationsShippingMacro
  80.  
  81. Syntax
  82.  
  83. ()
  84.  
  85. Description
  86.  
  87. Play the shipping macro ABBREV.WCM to display the Abbreviations dialog box in a modeless state. ABBREV.WCM must be installed.
  88.  
  89. AboutDlg
  90.  
  91. Syntax
  92.  
  93. ()
  94.  
  95. Description
  96.  
  97. Display the About WordPerfect dialog box, which displays product and license information.
  98.  
  99. boolean:=AddressBookDlg
  100.  
  101. Syntax
  102.  
  103. (SelectionType: enumeration; CurrentSelections: enumeration; AddressBook: string; DialogTitle: string; OKButtonText: string)
  104.  
  105. Description
  106.  
  107. Display the Address Book dialog box. You can also pre-select certain options using the parameters. If OK is clicked to dismiss the dialog, the Address Book will remember the currently selected addresses.
  108.  
  109. Return Value
  110.  
  111. Returns True if the OK button was clicked to dismiss the dialog, False if not.
  112.  
  113. Parameters
  114.  
  115. SelectionType: enumeration (optional)    Default = SingleSelection!
  116.  
  117. MultipleSelection!
  118.  
  119. SingleSelection!
  120.  
  121. CurrentSelections: enumeration (optional)    Default = Ignore!
  122.  
  123. Ignore!
  124.  
  125. Reselect!
  126.  
  127. AddressBook: string (optional)    The name of the address book to view.
  128.  
  129. DialogTitle: string (optional)    Change the text of the title bar.
  130.  
  131. OKButtonText: string (optional)    Change the text of the OK button. Default = OK.
  132.  
  133. AddressBookFormatAdd
  134.  
  135. Syntax
  136.  
  137. (Name: string; Format: string)
  138.  
  139. Description
  140.  
  141. Create a custom address format and add it to the list of address formats.
  142.  
  143. Parameters
  144.  
  145. Name: string    The name of the new custom format.
  146.  
  147. Format: string    The address format string. Data fields are designated by enclosing the field code number in square brackets ([ ]). Use the Codes button on the Macro Bar to insert hard return or tab codes. Although the codes look like bracketed text, they are codes in the text string. For example:
  148.  
  149. AddressBookFormatAdd (Name: "Test"; Format: "[12289][HRt][14889][HRt][14887], [14888] [14890]")
  150.  
  151. Use AddressBookGetFieldCount, AddressBookGetFieldNumber, and AddressBookGetFieldName to get the names and code numbers of the address book fields.
  152.  
  153. AddressBookFormatDelete
  154.  
  155. Syntax
  156.  
  157. (Name: string)
  158.  
  159. Description
  160.  
  161. Delete a custom address format from the list of address formats. System (predefined) address formats cannot be deleted from the address format list.
  162.  
  163. Parameters
  164.  
  165. Name: string    The name of the custom format to delete.
  166.  
  167. numeric:=AddressBookFormatGetCount
  168.  
  169. Syntax
  170.  
  171. ()
  172.  
  173. Description
  174.  
  175. Return the number of available address formats.
  176.  
  177. Address formats can be referenced by index number to return information about the format. See AddressBookFormatGetNameand AddressBookFormatGetFormat. Some address formats are provided with the program (predefined) and cannot be deleted. These formats are indexed from one through the number of formats provided. User-defined address format indexes begin following the predefined formats and are indexed in order of creation. For example, if there are five predefined address formats and four user-defined address formats, the predefined formats would have index numbers ranging from one to five; and the user-defined formats would have index numbers ranging from six to nine in the order which they were created. If a user-defined address format is deleted, the index number of each succeeding format is reduced by one.
  178.  
  179. Therefore, the address-format index numbers will always be sequential. Also, the index number of a user-defined address format may change if a previously created address format is deleted.
  180.  
  181. string:=AddressBookFormatGetCurrent
  182.  
  183. Syntax
  184.  
  185. (Item: enumeration)
  186.  
  187. Description
  188.  
  189. Return the format name or specification of the current address format.
  190.  
  191. Parameters
  192.  
  193. Item: enumeration    Specify the item to return.
  194.  
  195. Format!
  196.  
  197. Name!
  198.  
  199. string:=AddressBookFormatGetFormat
  200.  
  201. Syntax
  202.  
  203. (Index: numeric)
  204.  
  205. Description
  206.  
  207. Return the specification of the address format specified in Index.
  208.  
  209. Parameters
  210.  
  211. Index: numeric    Use AddressBookFormatGetCount to determine the value of this parameter.
  212.  
  213. string:=AddressBookFormatGetName
  214.  
  215. Syntax
  216.  
  217. (Index: numeric)
  218.  
  219. Description
  220.  
  221. Return the name of the specified address format.
  222.  
  223. Parameters
  224.  
  225. Index: numeric    Use AddressBookFormatGetCount to determine the value of this parameter.
  226.  
  227. numeric:=AddressBookGetCount
  228.  
  229. Syntax
  230.  
  231. ()
  232.  
  233. Description
  234.  
  235. Return the number of available address books.
  236.  
  237. numeric:=AddressBookGetFieldCount
  238.  
  239. Syntax
  240.  
  241. (AddressBook: string)
  242.  
  243. Description
  244.  
  245. Return the number of available fields in the specified address book.
  246.  
  247. Parameters
  248.  
  249. AddressBook: string    The name of the address book to get the field count from.
  250.  
  251. string:=AddressBookGetFieldName
  252.  
  253. Syntax
  254.  
  255. (AddressBook: string; Index: numeric)
  256.  
  257. Description
  258.  
  259. Return the name of a specific field in the specified address book.
  260.  
  261. Parameters
  262.  
  263. AddressBook: string    The name of the address book containing the desired field.
  264.  
  265. Index: numeric    The index number of the desired field.
  266.  
  267. numeric:=AddressBookGetFieldNumber
  268.  
  269. Syntax
  270.  
  271. (AddressBook: string; Index: numeric)
  272.  
  273. Description
  274.  
  275. Return the code number of a specific field in the address book specified. The field code number is not the same as the field index number. Field code numbers always remain the same even if other fields are deleted. The table below lists the default system (predefined) data fields and their code numbers. Custom Fields are numbered sequentially in the order they are created beginning at 32768.
  276.  
  277. Code # Field Name
  278.  
  279. 12289 Name
  280.  
  281. 12290 E-Mail Type
  282.  
  283. 12291 E-Mail Address
  284.  
  285. 12292 Comments
  286.  
  287. 14854 First Name
  288.  
  289. 14856 Business Phone Number
  290.  
  291. 14857 Home Phone Number
  292.  
  293. 14865 Last Name
  294.  
  295. 14870 Organization
  296.  
  297. 14871 Title
  298.  
  299. 14872 Department
  300.  
  301. 14873 Mailstop
  302.  
  303. 14874 Phone Number
  304.  
  305. 14876 Cellular Phone Number
  306.  
  307. 14883 Fax Number
  308.  
  309. 14886 Country
  310.  
  311. 14887 City
  312.  
  313. 14888 State
  314.  
  315. 14889 Address
  316.  
  317. 14890 ZIP Code
  318.  
  319. 24587 Greeting
  320.  
  321. Parameters
  322.  
  323. AddressBook: string    The name of the address book containing the desired field.
  324.  
  325. Index: numeric    The index number of the desired field.
  326.  
  327. string:=AddressBookGetName
  328.  
  329. Syntax
  330.  
  331. (Index: numeric)
  332.  
  333. Description
  334.  
  335. Return the name of the specified address book.
  336.  
  337. Parameters
  338.  
  339. Index: numeric    The index number of the desired address book.
  340.  
  341. AddressBookInsertAddr
  342.  
  343. Syntax
  344.  
  345. ()
  346.  
  347. Description
  348.  
  349. Display the Corel Address Book dialog box so you can insert an address.
  350.  
  351. AddressBookRecordAddField
  352.  
  353. Syntax
  354.  
  355. (Field: any; Value: string)
  356.  
  357. Description
  358.  
  359. Define a field value in a new address-book record. Repeat for each field value defined. Precede with AddressBookRecordCreate and follow with AddressBookRecordEnd.
  360.  
  361. Parameters
  362.  
  363. Field: any    The field name or code number.
  364.  
  365. Value: string    The field value.
  366.  
  367. AddressBookRecordCreate
  368.  
  369. Syntax
  370.  
  371. (AddressBook: string)
  372.  
  373. Description
  374.  
  375. Create a record in the specified address book. Follow with AddressBookRecordAddField and AddressBookRecordEnd.
  376.  
  377. Parameters
  378.  
  379. AddressBook: string    The name of the address book where the new record will be added.
  380.  
  381. AddressBookRecordEnd
  382.  
  383. Syntax
  384.  
  385. (State: enumeration; RecordType: enumeration)
  386.  
  387. Description
  388.  
  389. End the record creation process and save the new record. Precede with AddressBookRecordCreate and AddressBookRecordAddField.
  390.  
  391. Parameters
  392.  
  393. State: enumeration    Save the new record to the specified address book or cancel without saving.
  394.  
  395. Cancel!
  396.  
  397. Save!
  398.  
  399. RecordType: enumeration (optional)    Specify the type of the new record. Default: Person!
  400.  
  401. Organization!
  402.  
  403. Person!
  404.  
  405. string:=AddressBookSelectionFormatAddr
  406.  
  407. Syntax
  408.  
  409. (Format: string; Index: numeric)
  410.  
  411. Description
  412.  
  413. Return the address that was last selected in the address book and formats it using the specified address format.
  414.  
  415. Parameters
  416.  
  417. Format: string    The format specification used to format the specified address. You can use AddressBookFormatGetFormat or AddressBookFormatGetCurrent to retrieve an address format specification.
  418.  
  419. Index: numeric (optional)    The index number of the desired address record relative to the current selection. For example, if six address records were selected and you wanted the second record in the list, you would put 2 in this parameter. If this parameter is not included, the first record in the list will be formatted.
  420.  
  421. string:=AddressBookSelectionGetField
  422.  
  423. Syntax
  424.  
  425. (Field: any; Index: numeric)
  426.  
  427. Description
  428.  
  429. Return the value of a field from the last address book record that was selected. Use the Index parameter if the last selection was a multiple-record selection.
  430.  
  431. Return Value
  432.  
  433. Returns the value of the specified field.
  434.  
  435. Parameters
  436.  
  437. Field: any    Specify the field to retrieve. If this parameter is a number, the command will try to locate the field with that code number. If this parameter is a string, the command will try to locate the field with that name.
  438.  
  439. Index: numeric (optional)    Specify the record to retrieve the field information from. Use this parameter when the last address book selection was a multiple-record selection. For example, to return information from the fifth record of a multiple-record selection, set this parameter to 5. If the last selection was a multiple-record selection and this parameter is left blank, the command will return information from the first record in the selection.
  440.  
  441. AddressMergeShippingMacro
  442.  
  443. Syntax
  444.  
  445. ()
  446.  
  447. Description
  448.  
  449. Play the shipping macro ADRS2MRG.WCM to copy the address book into a merge data file. ADRS2MRG.WCM must be installed.
  450.  
  451. Advance
  452.  
  453. Syntax
  454.  
  455. (Where: enumeration; Amount: measurement)
  456.  
  457. Description
  458.  
  459. Move the insertion point a specified distance from the top or left of the page, or from the insertion point.
  460.  
  461. Parameters
  462.  
  463. Where: enumeration    AdvanceDown!
  464.  
  465. AdvanceFromLeftEdge!
  466.  
  467. AdvanceFromTop!
  468.  
  469. AdvanceLeft!
  470.  
  471. AdvanceRight!
  472.  
  473. AdvanceUp!
  474.  
  475. Down!
  476.  
  477. Left!
  478.  
  479. Right!
  480.  
  481. ToLine!
  482.  
  483. ToPosition!
  484.  
  485. Up!
  486.  
  487. Amount: measurement    
  488.  
  489. AdvanceDlg
  490.  
  491. Syntax
  492.  
  493. ()
  494.  
  495. Description
  496.  
  497. Display the Advance dialog box.
  498.  
  499. AllFontsShippingMacro
  500.  
  501. Syntax
  502.  
  503. ()
  504.  
  505. Description
  506.  
  507. Play the shipping macro ALLFONTS.WCM to create a list of available fonts for the current printer. ALLFONTS.WCM must be installed.
  508.  
  509. Append
  510.  
  511. Syntax
  512.  
  513. ()
  514.  
  515. Description
  516.  
  517. Add a copy of the selected text or graphics to the end of the Clipboard contents. If the Clipboard is empty, the macro ends.
  518.  
  519. AppendToFile
  520.  
  521. Syntax
  522.  
  523. (Filename: string)
  524.  
  525. Description
  526.  
  527. Add the selected text, or the current document if no text is selected, to the end of another file.
  528.  
  529. Parameters
  530.  
  531. Filename: string (optional)    The file to append to.
  532.  
  533. ApplicationBarShow
  534.  
  535. Syntax
  536.  
  537. (State: enumeration)
  538.  
  539. Description
  540.  
  541. Display (On!) or hide (Off!) the Application Bar. If no parameter is specified, this command toggles the Application Bar display.
  542.  
  543. Parameters
  544.  
  545. State: enumeration (optional)    Off!
  546.  
  547. On!
  548.  
  549. AppMaximize
  550.  
  551. Syntax
  552.  
  553. ()
  554.  
  555. Description
  556.  
  557. Maximize the application window. If the window is already maximized, the macro ends.
  558.  
  559. AppMinimize
  560.  
  561. Syntax
  562.  
  563. ()
  564.  
  565. Description
  566.  
  567. Minimize the application window to an icon. If the window is already minimized, the macro ends.
  568.  
  569. AppMove
  570.  
  571. Syntax
  572.  
  573. ()
  574.  
  575. Description
  576.  
  577. Reposition an application window that has been reduced in size. If WordPerfect is maximized, the macro ends or goes to the ONERROR label.
  578.  
  579. AppRestore
  580.  
  581. Syntax
  582.  
  583. ()
  584.  
  585. Description
  586.  
  587. Restore the application window to its previous size. If WordPerfect is already restored, the macro ends or goes to the ONERROR label.
  588.  
  589. AppSize
  590.  
  591. Syntax
  592.  
  593. ()
  594.  
  595. Description
  596.  
  597. Resize the current application window. If the window is maximized, the macro ends or goes to the ONERROR label.
  598.  
  599. AppTaskList
  600.  
  601. Syntax
  602.  
  603. ()
  604.  
  605. Description
  606.  
  607. Activate the Taskbar and display the Start menu.
  608.  
  609. AssociateDlg
  610.  
  611. Syntax
  612.  
  613. ()
  614.  
  615. Description
  616.  
  617. Display the Associate dialog box, which allows you to assign menus, toolbars, and keyboards to selected features.
  618.  
  619. AttributeAppearanceOff
  620.  
  621. Syntax
  622.  
  623. ({Attrib: enumeration})
  624.  
  625. Description
  626.  
  627. Turn off the specified attributes at the insertion point. One or more attribute parameters is required.
  628.  
  629. Parameters
  630.  
  631. Attrib: enumeration (optional)    Bold!
  632.  
  633. DoubleUnderline!
  634.  
  635. Every!
  636.  
  637. Italics!
  638.  
  639. Outline!
  640.  
  641. Redline!
  642.  
  643. Shadow!
  644.  
  645. SmallCaps!
  646.  
  647. Strikeout!
  648.  
  649. Underline!
  650.  
  651. AttributeAppearanceOn
  652.  
  653. Syntax
  654.  
  655. ({Attrib: enumeration})
  656.  
  657. Description
  658.  
  659. Turn on the specified attributes at the insertion point. One or more parameters is required.
  660.  
  661. Parameters
  662.  
  663. Attrib: enumeration (optional)    Bold!
  664.  
  665. DoubleUnderline!
  666.  
  667. Every!
  668.  
  669. Italics!
  670.  
  671. Outline!
  672.  
  673. Redline!
  674.  
  675. Shadow!
  676.  
  677. SmallCaps!
  678.  
  679. Strikeout!
  680.  
  681. Underline!
  682.  
  683. AttributeAppearanceToggle
  684.  
  685. Syntax
  686.  
  687. ({Attrib: enumeration})
  688.  
  689. Description
  690.  
  691. Toggle attributes, usually of the selected text. One or more attribute parameters is required.
  692.  
  693. Parameters
  694.  
  695. Attrib: enumeration (optional)    Bold!
  696.  
  697. DoubleUnderline!
  698.  
  699. Every!
  700.  
  701. Italics!
  702.  
  703. Outline!
  704.  
  705. Redline!
  706.  
  707. Shadow!
  708.  
  709. SmallCaps!
  710.  
  711. Strikeout!
  712.  
  713. Underline!
  714.  
  715. AttributeNormal
  716.  
  717. Syntax
  718.  
  719. ()
  720.  
  721. Description
  722.  
  723. Turn off the current font attributes except color. To record, first add an Attribute Normal button to a toolbar or the Power Bar in Preferences.
  724.  
  725. AttributePosition
  726.  
  727. Syntax
  728.  
  729. (Position: enumeration)
  730.  
  731. Description
  732.  
  733. Specify subscript or superscript font attributes.
  734.  
  735. Parameters
  736.  
  737. Position: enumeration    NormalPosition!
  738.  
  739. Subscript!
  740.  
  741. Superscript!
  742.  
  743. AttributePositionToggle
  744.  
  745. Syntax
  746.  
  747. (Position: enumeration)
  748.  
  749. Description
  750.  
  751. Toggle subscript, normal, and superscript font attributes.
  752.  
  753. Parameters
  754.  
  755. Position: enumeration    NormalPosition!
  756.  
  757. Subscript!
  758.  
  759. Superscript!
  760.  
  761. AttributeRelativeSize
  762.  
  763. Syntax
  764.  
  765. (Size: enumeration)
  766.  
  767. Description
  768.  
  769. Specify a relative font size for selected or subsequent text.
  770.  
  771. Parameters
  772.  
  773. Size: enumeration    ExtraLarge!
  774.  
  775. Fine!
  776.  
  777. Large!
  778.  
  779. NormalSize!
  780.  
  781. Small!
  782.  
  783. VeryLarge!
  784.  
  785. AttributeRelativeSizeToggle
  786.  
  787. Syntax
  788.  
  789. (Size: enumeration)
  790.  
  791. Description
  792.  
  793. Toggle relative font sizes.
  794.  
  795. Parameters
  796.  
  797. Size: enumeration    ExtraLarge!
  798.  
  799. Fine!
  800.  
  801. Large!
  802.  
  803. NormalSize!
  804.  
  805. Small!
  806.  
  807. VeryLarge!
  808.  
  809. AttributeSizeRatios
  810.  
  811. Syntax
  812.  
  813. (Attrib: enumeration; Percentage: numeric)
  814.  
  815. Description
  816.  
  817. Specify relative font size ratios.
  818.  
  819. Parameters
  820.  
  821. Attrib: enumeration    ExtraLarge!
  822.  
  823. Fine!
  824.  
  825. Large!
  826.  
  827. Small!
  828.  
  829. SuperSubscript!
  830.  
  831. VeryLarge!
  832.  
  833. Percentage: numeric    
  834.  
  835. AutoCodePlacement
  836.  
  837. Syntax
  838.  
  839. (State: enumeration)
  840.  
  841. Description
  842.  
  843. Turn automatic code placement on or off. Default: Some codes are automatically placed at the beginning of a page or paragraph. When off, all codes are inserted at the insertion point. Not recordable.
  844.  
  845. Parameters
  846.  
  847. State: enumeration    Off!
  848.  
  849. On!
  850.  
  851. AutoScrollOn
  852.  
  853. Syntax
  854.  
  855. ()
  856.  
  857. Description
  858.  
  859. Turns the Autoscroll feature on.
  860.  
  861. Note
  862.  
  863.   New command
  864.   
  865. AutoWordSelect
  866.  
  867. Syntax
  868.  
  869. (State: enumeration)
  870.  
  871. Description
  872.  
  873. Turn Automatically Select Words on or off. Changes the current WordPerfect session only.
  874.  
  875. Parameters
  876.  
  877. State: enumeration    No!
  878.  
  879. Yes!
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.