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

  1. {NAME}
  2.  
  3. Description
  4.  
  5. {NAME} is equivalent to the Choices key, F3, which displays a list of cell names in the current notebook, if cell names exist in the notebook. (If there are no named cells, the list of cell names won't appear.)
  6.  
  7. Use {NAME} with {GOTO}.
  8.  
  9. Example
  10.  
  11. {GOTO}{NAME}
  12.  
  13. {NamedStyle}
  14.  
  15. Syntax
  16.  
  17. {NamedStyle.Option}
  18.  
  19. PerfectScript Syntax
  20.  
  21. NamedStyle_Alignment (Settings:String)
  22.  
  23. NamedStyle_Define (StyleName:String; Align?:Enumeration {Yes!; No!}; NumericFormat?:Enumeration {Yes!; No!}; Protection?:Enumeration {Yes!; No!}; Lines?:Enumeration {Yes!; No!}; Shading?:Enumeration {Yes!; No!}; Font?:Enumeration {Yes!; No!}; TextColor?:Enumeration {Yes!; No!})
  24.  
  25. NamedStyle_Delete (StyleName:String)
  26.  
  27. NamedStyle_Font (Settings:String)
  28.  
  29. NamedStyle_Line_Drawing (Settings:String)
  30.  
  31. NamedStyle_Numeric_Format (Settings:String)
  32.  
  33. NamedStyle_Protection (Settings:String)
  34.  
  35. NamedStyle_Shading (Settings:String)
  36.  
  37. NamedStyle_Text_Color (ColorID:Numeric)
  38.  
  39. Description
  40.  
  41. {NamedStyle} lets you create styles in the active notebook.
  42.  
  43. These command equivalents do not take effect until the command {NamedStyle.Define} is used to create (or modify) a style. The arguments Align? through TextColor? each specify one property to include in the style; use 1 to include the property, 0 to exclude the property.
  44.  
  45. {NamedStyle.Font} sets the new typeface and size of text in the cell. Bold, Italic, Underline and Strikeout can be "Yes" to include that type feature or "No" to omit it.
  46.  
  47. {NamedStyle.Shading} sets the shading of the cell; ForegroundColor and BackgroundColor are numbers from 0 to 15; each specifies a color on the notebook palette to use; Pattern is a string ("Blend1" through "Blend7").
  48.  
  49. You can use {NamedStyle?} or {NamedStyle!} to display the Styles dialog box. {NamedStyle?} lets you manipulate the dialog box, whereas {NamedStyle!} relies on the macro to manipulate it.
  50.  
  51. Example
  52.  
  53. This macro creates a new style named RedNote, which makes the active cells red, and sets a new font.
  54.  
  55. {NamedStyle.Font "Courier,10,Yes,No,No,No"}
  56.  
  57. {NamedStyle.Text_Color "4"}
  58.  
  59. {NamedStyle.Define RedNote,0,0,0,0,0,1,1}
  60.  
  61. {Navigate}
  62.  
  63. Syntax
  64.  
  65. {Navigate.Option}
  66.  
  67. PerfectScript Syntax
  68.  
  69. Navigate_GoTo (Where:Enumeration {Up!; Left!; Right!; Down!; TopLeft!; BottomLeft!; TopRight!; BottomRight!}; [Extend?:Enumeration {Yes!; No!}])
  70.  
  71. Navigate_Jump (Where:Enumeration {Up!; Left!; Right!; Down!})
  72.  
  73. Navigate_SelectTable ()
  74.  
  75. Navigate_Zoom2Fit ()
  76.  
  77. Description
  78.  
  79. {Navigate} is equivalent to the navigation tools available on the Data Manipulation Toolbar. {Navigate.SelectTable} is equivalent to the SpeedSelect button  on the Data Manipulation Toolbar, which expands selection from a cell or cells within a table to the entire table. {Navigate.Zoom2Fit} is equivalent to the Zoom To Fit button. {Navigate.GoTo} performs the same actions as the Top Left Of Table, Top Right Of Table, Bottom Left Of Table, and Bottom Right Of Table  buttons. {Navigate.Jump} jumps to the next table or to the selected boundary of the current table.
  80.  
  81. Example
  82.  
  83. The following macro selects cell C6 in the table below, then selects the entire table that C6 belongs to, and zooms to fit the table on the page.
  84.  
  85. {SelectBlock A:C6}
  86.  
  87. {Navigate.SelectTable}
  88.  
  89. {Navigate.Zoom2Fit}
  90.  
  91.     A    B    C    D
  92.  
  93. 1        Sales    Expenses    Profits
  94.  
  95. 2    Jan    1580    700    880
  96.  
  97. 3    Feb    2474    545    1929
  98.  
  99. 4    Mar    2570    656    1914
  100.  
  101. 5    Apr    2876    454    2422
  102.  
  103. 6    May    3223    489    2734
  104.  
  105. 7    Jun    2987    470    2517
  106.  
  107. 8    Jul    3178    500    2678
  108.  
  109. Options
  110.  
  111. {Navigate.SelectTable}    Expands selection to the table boundaries
  112.  
  113. {Navigate.Zoom2Fit}    Zooms so that a table fits into the visible part of the screen
  114.  
  115. {Navigate.GoTo Up | Left | Right | Down | TopLeft | TopRight | BottomLeft | BottomRight , <Extend?(0|1)>}    Go to the sides or corners of a table. When the optional Extend? argument is 1, cell selection is extended.
  116.  
  117. {Navigate.Jump Up | Left | Right | Down}    Jump to the next table in a given direction, or jump to the current table boundary if in the middle of a table.
  118.  
  119. {NEXTPANE}
  120.  
  121. Syntax
  122.  
  123. {NEXTPANE <CellAtPointer?>}
  124.  
  125. PerfectScript Syntax
  126.  
  127. NextPane ()
  128.  
  129. Description
  130.  
  131. {NEXTPANE} switches between the panes of a notebook window previously split. The optional argument CellAtPointer? specifies whether the active cell in the pane will be at the location of the selector (1) or its previous position (0). This command is equivalent to the Pane key, F6.
  132.  
  133. Parameters
  134.  
  135. CellAtPointer?    Specifies which cell should be active when the pane switches (0 or 1, optional)
  136.  
  137. {NEXTTOPWIN}
  138.  
  139. Syntax
  140.  
  141. {NEXTTOPWIN <Number>}
  142.  
  143. PerfectScript Syntax
  144.  
  145. NextTopWin ()
  146.  
  147. Description
  148.  
  149. {NEXTTOPWIN} is equivalent to the Next Window key, Ctrl+F6. It makes the next window active and moves the selector to it.
  150.  
  151. Parameters
  152.  
  153. Number    Number of times to repeat the operation (optional)
  154.  
  155. {NEXTWIN}
  156.  
  157. Syntax
  158.  
  159. {NEXTWIN <Number>}
  160.  
  161. PerfectScript Syntax
  162.  
  163. NextWin ()
  164.  
  165. Description
  166.  
  167. {NEXTWIN} is equivalent to Shift+F6. It makes the bottom window active and moves the selector to it. This macro is included for compatibility with Corel Quattro Pro for DOS.
  168.  
  169. Parameters
  170.  
  171. Number    Number of times to repeat the operation (optional)
  172.  
  173. {Notebook}
  174.  
  175. Syntax
  176.  
  177. {Notebook.Property}
  178.  
  179. Description
  180.  
  181. {Notebook} applies formatting commands to the active notebook. The table lists the possible settings for Property. You can use {Notebook?} or {Notebook!} to display the Active Notebook dialog box. {Notebook?} lets you manipulate the dialog box, whereas {Notebook!} relies on the macro to manipulate it.
  182.  
  183. Display    Sets display characteristics for the active notebook
  184.  
  185. Group_Mode    Switches Group Mode on and off
  186.  
  187. Macro_Library    Searches the specified library for macros not in the active notebook
  188.  
  189. Palette    Determines the palette of colors displayed in the cell and sheet properties. This property is obsolete.
  190.  
  191. Password    Sets a password for the active notebook
  192.  
  193. Password_Level    Sets the level of password protection for the active notebook
  194.  
  195. Recalc_Settings    Controls how Corel Quattro Pro updates formula results when you change values those formulas depend on
  196.  
  197. System    Sets the active notebook to a system notebook
  198.  
  199. Zoom_Factor    Sets a Zoom Factor for an entire notebook or for individual sheets
  200.  
  201. {Notebook.Display}
  202.  
  203. Syntax
  204.  
  205. {Notebook.Display<Option>}
  206.  
  207. PerfectScript Syntax
  208.  
  209. Notebook_Display (Settings:String)
  210.  
  211. Notebook_Display_Objects (Mode:String)
  212.  
  213. Notebook_Display_Show_HorizontalScroller (Show?:Enumeration {Yes!; No!})
  214.  
  215. Notebook_Display_Show_Tabs (Show?:Enumeration {Yes!; No!})
  216.  
  217. Notebook_Display_Show_VerticalScroller (Show?:Enumeration {Yes!; No!})
  218.  
  219. Description
  220.  
  221. {Notebook.Display} is equivalent to options of the notebook property Display.
  222.  
  223. Example
  224.  
  225. This macro command hides the vertical and horizontal scroll bars of the active notebook, reveals the sheet tabs, and shows all objects.
  226.  
  227.     {Notebook.Display "No,No,Yes,Show All"}
  228.  
  229. Options
  230.  
  231. {Notebook.Display "VertScroll, HorizScroll, Tabs, Objects"}    Sets display characteristics for the active notebook
  232.  
  233. {Notebook.Display.Objects Show All|Show Outline|Hide}    Specifies which parts of the notebook to display
  234.  
  235. {Notebook.Display.Show_HorizontalScroller Yes|No}    Displays or hides the horizontal scroll bar
  236.  
  237. {Notebook.Display.Show_Tabs Yes|No}    Displays or hides the sheet tabs
  238.  
  239. {Notebook.Display.Show_VerticalScroller Yes|No}    Displays or hides the vertical scroll bar
  240.  
  241. {Notebook.Group_Mode}
  242.  
  243. Syntax
  244.  
  245. {Notebook.Group_Mode On|Off}
  246.  
  247. PerfectScript Syntax
  248.  
  249. Notebook_Group_Mode (Mode:String)
  250.  
  251. Description
  252.  
  253. {Notebook.Group_Mode} activates or deactivates group mode.
  254.  
  255. {Notebook.Macro_Library}
  256.  
  257. Syntax
  258.  
  259. {Notebook.Macro_Library Yes|No}
  260.  
  261. PerfectScript Syntax
  262.  
  263. Notebook_Macro_Library (Enable?:Enumeration {Yes!; No!})
  264.  
  265. Description
  266.  
  267. {Notebook.Macro_Library } is equivalent to options of the notebook property Macro Library. To make the active notebook a macro library, use Yes.
  268.  
  269. {Notebook.Palette}
  270.  
  271. Syntax
  272.  
  273. {Notebook.Palette<Option>}
  274.  
  275. Description
  276.  
  277. {Notebook.Palette} is equivalent to the notebook property Palette, which lets you set the colors of the active notebook. The arguments of {Notebook.Palette} (Color1 through Color16) each have three parts, separated by commas: RedValue, GreenValue, and BlueValue. Each part is a number from 0 to 255. You can also edit a part individually (see the second example).
  278.  
  279. Example
  280.  
  281. {Notebook.Palette.Color_3 "255,0,255"} sets the third color on the notebook palette to violet (Red 255, Blue 255).
  282.  
  283. {Notebook.Palette.Color_5.Blue "135"} sets the amount of blue in the fifth color to 135.
  284.  
  285. Options
  286.  
  287. {Notebook.Palette Color1,Color2,...,Color16}    Determines the palette of colors displayed in the cell and sheet properties
  288.  
  289. {NoteBook.Palette.Color_n "RGB value"}    Determines the palette of colors displayed in the cell and sheet properties
  290.  
  291. {NoteBook.Palette.Color_n.RGB value}    Opens a dialog box for modifying the selected color square
  292.  
  293. {NoteBook.Palette.Color_n. RGB value }    Opens a dialog box for modifying the selected color square
  294.  
  295. {NoteBook.Palette.Color_n. RGB value }    Opens a dialog box for modifying the selected color square
  296.  
  297. Note
  298.  
  299.   This command is obsolete
  300.   
  301. {Notebook.Password}
  302.  
  303. Syntax
  304.  
  305. {Notebook.Password Password}
  306.  
  307. PerfectScript Syntax
  308.  
  309. Notebook_Password (Password:String)
  310.  
  311. Notebook_Password_Level (Level:String)
  312.  
  313. Description
  314.  
  315. {Notebook.Password} sets the password of the active notebook. The next save operation encrypts the file on disk.
  316.  
  317. Tips
  318.  
  319. ¿    Before specifying a password, set the password level using {Notebook.Password_Level}.
  320.  
  321. {Notebook.Password_Level}
  322.  
  323. Syntax
  324.  
  325. {Notebook.Password_Level None|Low|Medium|High}
  326.  
  327. PerfectScript Syntax
  328.  
  329. Notebook_Password_Level (Level:String)
  330.  
  331. Description
  332.  
  333. {Notebook.Password_Level} sets the password level of the active notebook. If you specify a password level of Low, Medium, or High, you must also specify a password using {Notebook.Password}.
  334.  
  335. {Notebook.Recalc_Settings}
  336.  
  337. Syntax
  338.  
  339. {Notebook.Recalc_Settings "Mode, Order, Iterations, , <AuditErrors?(0|1)>"}
  340.  
  341. PerfectScript Syntax
  342.  
  343. Notebook_Recalc_Settings (Settings:String)
  344.  
  345. Description
  346.  
  347. {Notebook.Recalc_Settings} is equivalent to options of the notebook property Recalc Settings. This command equivalent sets the recalculation options of the active notebook. Mode options are "Automatic," "Background," and "Manual." Order can be "Column-wise," "Row-wise," or "Natural." Iterations specifies the number of times formulas are recalculated before calculation is considered complete (relevant only if Order is changed, or if you use circular references).
  348.  
  349. To highlight the source of error for each cell containing NA or ERR in the active notebook, set the optional argument AuditErrors? to 1.
  350.  
  351. {Notebook.Summary}
  352.  
  353. Syntax
  354.  
  355. {Notebook.Summary.Option}
  356.  
  357. PerfectScript Syntax
  358.  
  359. Notebook_Summary (Settings:String)
  360.  
  361. Notebook_Summary_Author (Author:String)
  362.  
  363. Notebook_Summary_Comments (Comments:String)
  364.  
  365. Notebook_Summary_Keywords (Keywords:String)
  366.  
  367. Notebook_Summary_Subject (Subject:String)
  368.  
  369. Notebook_Summary_Title (Title:String)
  370.  
  371. Description
  372.  
  373. {Notebook.Summary} displays summary information about the current notebook.
  374.  
  375. You can use the following options with @COMMAND to get information about the notebook.
  376.  
  377. Notebook.Statistics.Created
  378.  
  379. Notebook.Statistics.Directory
  380.  
  381. Notebook.Statistics.FileName
  382.  
  383. Notebook.Statistics.Last_Saved
  384.  
  385. Notebook.Statistics.Last_Saved_By
  386.  
  387. Notebook.Statistics.Revision_Number
  388.  
  389. Example
  390.  
  391. @COMMAND("Notebook.Statistics.Created")
  392.  
  393. Options
  394.  
  395. {Notebook.Summary.Title Title }    Specifies a title for the notebook
  396.  
  397. {Notebook.Summary.Subject Subject}    Specifies a subject for the notebook
  398.  
  399. {Notebook.Summary.Author Author}    Specifies an author for the notebook
  400.  
  401. {Notebook.Summary.Keywords Keywords}    Specifies keywords for the notebook
  402.  
  403. {Notebook.Summary.Comments Comments}    Specifies comments for the notebook
  404.  
  405. {Notebook.System}
  406.  
  407. Syntax
  408.  
  409. {Notebook.System Yes|No}
  410.  
  411. PerfectScript Syntax
  412.  
  413. Notebook_System (Enable?:Enumeration {Yes!; No!})
  414.  
  415. Description
  416.  
  417. {Notebook.System Yes|No} makes the active notebook a system notebook.
  418.  
  419. {Notebook.Zoom_Factor}
  420.  
  421. Syntax
  422.  
  423. {Notebook.Zoom_Factor 10-400}
  424.  
  425. PerfectScript Syntax
  426.  
  427. Notebook_Zoom_Factor (Factor:Numeric)
  428.  
  429. Description
  430.  
  431. {Notebook.Zoom_Factor} is equivalent to options of the notebook property Zoom Factor, which sets the zoom factor of the active notebook (from 10% to 400%). This setting is for display only and does not affect printed output.
  432.  
  433. {NUMOFF} and {NUMON}
  434.  
  435. Description
  436.  
  437. {NUMOFF} and {NUMON} are equivalent to Num Lock off and Num Lock on, respectively.
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.