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

  1. {NAME}
  2.  
  3. Syntax
  4.  
  5. NAME()
  6.  
  7. Description
  8.  
  9. {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.)
  10.  
  11. Use {NAME} with {GOTO}.
  12.  
  13. Example
  14.  
  15. {GOTO}{NAME}
  16.  
  17. {NamedStyle}
  18.  
  19. Syntax
  20.  
  21. {NamedStyle.Option}
  22.  
  23. PerfectScript Syntax
  24.  
  25. NamedStyle_Alignment(Settings As String)
  26.  
  27. NamedStyle_Define(StyleName As String, Align_ As _NamedStyle_Define_Align__enum, NumericFormat_ As _NamedStyle_Define_NumericFormat__enum, Protection_ As _NamedStyle_Define_Protection__enum, Lines_ As _NamedStyle_Define_Lines__enum, Shading_ As _NamedStyle_Define_Shading__enum, Font_ As _NamedStyle_Define_Font__enum, TextColor_ As _NamedStyle_Define_TextColor__enum)
  28.  
  29. NamedStyle_Delete(StyleName As String)
  30.  
  31. NamedStyle_Font(Settings As String)
  32.  
  33. NamedStyle_Line_Drawing(Settings As String)
  34.  
  35. NamedStyle_Numeric_Format(Settings As String)
  36.  
  37. NamedStyle_Protection(Settings As String)
  38.  
  39. NamedStyle_Shading(Settings As String)
  40.  
  41.  NamedStyle_Text_Color(ColorID As Integer)
  42.  
  43. Description
  44.  
  45. {NamedStyle} lets you create styles in the active notebook.
  46.  
  47. 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.
  48.  
  49. {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.
  50.  
  51. {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").
  52.  
  53. 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.
  54.  
  55. Example
  56.  
  57. This macro creates a new style named RedNote, which makes the active cells red, and sets a new font.
  58.  
  59. {NamedStyle.Font "Courier,10,Yes,No,No,No"}
  60.  
  61. {NamedStyle.Text_Color "4"}
  62.  
  63. {NamedStyle.Define RedNote,0,0,0,0,0,1,1}
  64.  
  65. {Navigate}
  66.  
  67. Syntax
  68.  
  69. {Navigate.Option}
  70.  
  71. PerfectScript Syntax
  72.  
  73. Navigate_GoTo (Where:Enumeration {Up!; Left!; Right!; Down!; TopLeft!; BottomLeft!; TopRight!; BottomRight!}; [Extend?:Enumeration {Yes!; No!}])
  74.  
  75. Navigate_Jump (Where:Enumeration {Up!; Left!; Right!; Down!})
  76.  
  77. Navigate_SelectTable ()
  78.  
  79. Navigate_Zoom2Fit ()
  80.  
  81. Description
  82.  
  83. {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.
  84.  
  85. Example
  86.  
  87. 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.
  88.  
  89. {SelectBlock A:C6}
  90.  
  91. {Navigate.SelectTable}
  92.  
  93. {Navigate.Zoom2Fit}
  94.  
  95.     A    B    C    D
  96.  
  97. 1        Sales    Expenses    Profits
  98.  
  99. 2    Jan    1580    700    880
  100.  
  101. 3    Feb    2474    545    1929
  102.  
  103. 4    Mar    2570    656    1914
  104.  
  105. 5    Apr    2876    454    2422
  106.  
  107. 6    May    3223    489    2734
  108.  
  109. 7    Jun    2987    470    2517
  110.  
  111. 8    Jul    3178    500    2678
  112.  
  113. Options
  114.  
  115. {Navigate.SelectTable}    Expands selection to the table boundaries
  116.  
  117. {Navigate.Zoom2Fit}    Zooms so that a table fits into the visible part of the screen
  118.  
  119. {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.
  120.  
  121. {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.
  122.  
  123. {NEXTPANE}
  124.  
  125. Syntax
  126.  
  127. NextPane()
  128.  
  129. PerfectScript Syntax
  130.  
  131. NextPane ()
  132.  
  133. Description
  134.  
  135. {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.
  136.  
  137. Parameters
  138.  
  139. CellAtPointer?    Specifies which cell should be active when the pane switches (0 or 1, optional)
  140.  
  141. {NEXTTOPWIN}
  142.  
  143. Syntax
  144.  
  145. NextTopWin()
  146.  
  147. PerfectScript Syntax
  148.  
  149. NextTopWin ()
  150.  
  151. Description
  152.  
  153. {NEXTTOPWIN} is equivalent to the Next Window key, Ctrl+F6. It makes the next window active and moves the selector to it.
  154.  
  155. Parameters
  156.  
  157. Number    Number of times to repeat the operation (optional)
  158.  
  159. {NEXTWIN}
  160.  
  161. Syntax
  162.  
  163. NextWin()
  164.  
  165. PerfectScript Syntax
  166.  
  167. NextWin ()
  168.  
  169. Description
  170.  
  171. {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.
  172.  
  173. Parameters
  174.  
  175. Number    Number of times to repeat the operation (optional)
  176.  
  177. {Notebook_Display}
  178.  
  179. Syntax
  180.  
  181.  Notebook_Display(Settings As String)
  182.  
  183. PerfectScript Syntax
  184.  
  185. Notebook_Display_Objects(Mode As String)
  186.  
  187. Notebook_Display_Show_HorizontalScroller(Show_ As _Notebook_Display_Show_HorizontalScroller_Show__enum)
  188.  
  189.  Notebook_Display_Show_HorizontalScroller(Show_ As _Notebook_Display_Show_HorizontalScroller_Show__enum)
  190.  
  191. Notebook_Display_Show_Tabs(Show_ As _Notebook_Display_Show_Tabs_Show__enum)Notebook_Display_Show_Tabs(Show_ As _Notebook_Display_Show_Tabs_Show__enum)
  192.  
  193. Notebook_Display_Show_VerticalScroller(Show_ As _Notebook_Display_Show_VerticalScroller_Show__enum)
  194.  
  195. Description
  196.  
  197. {Notebook.Display} is equivalent to options of the notebook property Display.
  198.  
  199. Example
  200.  
  201. This macro command hides the vertical and horizontal scroll bars of the active notebook, reveals the sheet tabs, and shows all objects.
  202.  
  203.     {Notebook.Display "No,No,Yes,Show All"}
  204.  
  205. Options
  206.  
  207. {Notebook.Display "VertScroll, HorizScroll, Tabs, Objects"}    Sets display characteristics for the active notebook
  208.  
  209. {Notebook.Display.Objects Show All|Show Outline|Hide}    Specifies which parts of the notebook to display
  210.  
  211. {Notebook.Display.Show_HorizontalScroller Yes|No}    Displays or hides the horizontal scroll bar
  212.  
  213. {Notebook.Display.Show_Tabs Yes|No}    Displays or hides the sheet tabs
  214.  
  215. {Notebook.Display.Show_VerticalScroller Yes|No}    Displays or hides the vertical scroll bar
  216.  
  217. {Notebook_Group_Mode}
  218.  
  219. Syntax
  220.  
  221.  Notebook_Group_Mode(Mode As String)
  222.  
  223. PerfectScript Syntax
  224.  
  225. Notebook_Group_Mode (Mode:String)
  226.  
  227. Description
  228.  
  229. {Notebook.Group_Mode} activates or deactivates group mode.
  230.  
  231. {Notebook.Macro_Library}
  232.  
  233. Syntax
  234.  
  235. Notebook_Macro_Library(Enable_ As _Notebook_Macro_Library_Enable__enum)
  236.  
  237. PerfectScript Syntax
  238.  
  239. Notebook_Macro_Library (Enable?:Enumeration {Yes!; No!})
  240.  
  241. Description
  242.  
  243. {Notebook.Macro_Library } is equivalent to options of the notebook property Macro Library. To make the active notebook a macro library, use Yes.
  244.  
  245. {Notebook_Password}
  246.  
  247. Syntax
  248.  
  249. Notebook_Password(Password As String)
  250.  
  251. PerfectScript Syntax
  252.  
  253. Notebook_Password (Password:String)
  254.  
  255. Notebook_Password_Level (Level:String)
  256.  
  257. Description
  258.  
  259. {Notebook.Password} sets the password of the active notebook. The next save operation encrypts the file on disk.
  260.  
  261. Tips
  262.  
  263. ¿    Before specifying a password, set the password level using {Notebook.Password_Level}.
  264.  
  265. {Notebook_Password_Level}
  266.  
  267. Syntax
  268.  
  269. Notebook_Password_Level(Settings_ As String)
  270.  
  271. PerfectScript Syntax
  272.  
  273. Notebook_Password_Level (Level:String)
  274.  
  275. Description
  276.  
  277. {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}.
  278.  
  279. {Notebook_Recalc_Settings}
  280.  
  281. Syntax
  282.  
  283. Notebook_Recalc_Settings(Settings As String)
  284.  
  285.  
  286.  
  287. PerfectScript Syntax
  288.  
  289. Notebook_Recalc_Settings (Settings:String)
  290.  
  291. Description
  292.  
  293. {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).
  294.  
  295. To highlight the source of error for each cell containing NA or ERR in the active notebook, set the optional argument AuditErrors? to 1.
  296.  
  297. {Notebook_Summary}
  298.  
  299. Syntax
  300.  
  301. {Notebook.Summary.Option}
  302.  
  303. PerfectScript Syntax
  304.  
  305. Notebook_Summary (Settings:String)
  306.  
  307. Notebook_Summary_Author (Author:String)
  308.  
  309. Notebook_Summary_Comments (Comments:String)
  310.  
  311. Notebook_Summary_Keywords (Keywords:String)
  312.  
  313. Notebook_Summary_Subject (Subject:String)
  314.  
  315. Notebook_Summary_Title (Title:String)
  316.  
  317. Description
  318.  
  319. {Notebook.Summary} displays summary information about the current notebook.
  320.  
  321. You can use the following options with @COMMAND to get information about the notebook.
  322.  
  323. Notebook.Statistics.Created
  324.  
  325. Notebook.Statistics.Directory
  326.  
  327. Notebook.Statistics.FileName
  328.  
  329. Notebook.Statistics.Last_Saved
  330.  
  331. Notebook.Statistics.Last_Saved_By
  332.  
  333. Notebook.Statistics.Revision_Number
  334.  
  335. Example
  336.  
  337. @COMMAND("Notebook.Statistics.Created")
  338.  
  339. Options
  340.  
  341. {Notebook.Summary.Title Title }    Specifies a title for the notebook
  342.  
  343. {Notebook.Summary.Subject Subject}    Specifies a subject for the notebook
  344.  
  345. {Notebook.Summary.Author Author}    Specifies an author for the notebook
  346.  
  347. {Notebook.Summary.Keywords Keywords}    Specifies keywords for the notebook
  348.  
  349. {Notebook.Summary.Comments Comments}    Specifies comments for the notebook
  350.  
  351. {Notebook_System}
  352.  
  353. Syntax
  354.  
  355.  Notebook_System(Enable_ As _Notebook_System_Enable__enum)
  356.  
  357. PerfectScript Syntax
  358.  
  359. Notebook_System (Enable?:Enumeration {Yes!; No!})
  360.  
  361. Description
  362.  
  363. {Notebook.System Yes|No} makes the active notebook a system notebook.
  364.  
  365. {Notebook_Zoom_Factor}
  366.  
  367. Syntax
  368.  
  369.  Notebook_Zoom_Factor(Factor As Integer)
  370.  
  371. PerfectScript Syntax
  372.  
  373. Notebook_Zoom_Factor (Factor:Numeric)
  374.  
  375. Description
  376.  
  377. {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.
  378.  
  379. {NUMOFF} and {NUMON}
  380.  
  381. Syntax
  382.  
  383. NumOff()
  384.  
  385. Description
  386.  
  387. {NUMOFF} and {NUMON} are equivalent to Num Lock off and Num Lock on, respectively.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.