home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / coders / jËzyki_programowania / oberon / text / elem.guide.text (.txt) < prev    next >
Oberon Text  |  1977-12-31  |  32KB  |  328 lines

  1. Syntax12.Scn.Fnt
  2. ParcElems
  3. Alloc
  4. Syntax14b.Scn.Fnt
  5. Syntax10.Scn.Fnt
  6. Syntax12b.Scn.Fnt
  7. Syntax12i.Scn.Fnt
  8. LineElems
  9. Alloc
  10. Syntax12m.Scn.Fnt
  11. TableElems
  12. Alloc
  13. Syntax10.Scn.Fnt
  14. Syntax10i.Scn.Fnt
  15. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  16. /columns  string
  17. Syntax10.Scn.Fnt
  18. ParcElems
  19. Alloc
  20. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  21. control column formatting
  22. string = {L|C|R|N|-}.
  23. Syntax10.Scn.Fnt
  24. ParcElems
  25. Alloc
  26. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  27. L    left flush
  28. C    centered
  29. R    right flush
  30. N    numeric (period adjusted)
  31. -    default
  32. Syntax10.Scn.Fnt
  33. Syntax10i.Scn.Fnt
  34. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  35. /rows  string
  36. Syntax10.Scn.Fnt
  37. ParcElems
  38. Alloc
  39. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  40. control row formatting
  41. string = {B|L|C|T|-}.
  42. Syntax10.Scn.Fnt
  43. ParcElems
  44. Alloc
  45. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  46. B    bottom flush
  47. L    common baseline
  48. C    centered
  49. T    top flush
  50. -    default
  51. Syntax10.Scn.Fnt
  52. Syntax10i.Scn.Fnt
  53. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  54. /noheads  string
  55. Syntax10.Scn.Fnt
  56. ParcElems
  57. Alloc
  58. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  59. turn header lines off
  60. string = {H|V |*}.
  61. Syntax10.Scn.Fnt
  62. ParcElems
  63. Alloc
  64. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  65. H    horizontal
  66. V    vertical
  67. *    all
  68. Syntax10.Scn.Fnt
  69. Syntax10i.Scn.Fnt
  70. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  71. /nolines  string
  72. Syntax10.Scn.Fnt
  73. ParcElems
  74. Alloc
  75. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  76. turn separation lines off
  77. string = {L|R|B|T|H|V|*}.
  78. Syntax10.Scn.Fnt
  79. ParcElems
  80. Alloc
  81. /left 0/right 0/nohead "*"/noline "*"/col "LL"/table
  82. L    left frame
  83. R    right frame
  84. B    bottom frame
  85. T    top frame
  86. H    horizontal separation
  87. V    vertical separation
  88. *    all
  89. Syntax10.Scn.Fnt
  90. ParcElems
  91. Alloc
  92. Syntax10i.Scn.Fnt
  93. /left 0/right 0/nohead "*"/noline "*"/table
  94. /period  string
  95. /left  integer
  96. /right  integer
  97. /bottom  integer
  98. /top  integer
  99. /grid  integer
  100. Syntax10.Scn.Fnt
  101. ParcElems
  102. Alloc
  103. /left 0/right 0/nohead "*"/noline "*"/table
  104. first char redefines period (e.g. ",")
  105. left cell margin
  106. right cell margin
  107. bottom cell margin
  108. top cell margin
  109. cell width grid *)
  110. Documentation of Text Elements
  111. Last Update: 1 Oct 93    (M. Hausner, Ed.)
  112. Changed and Updated for O4A: 18 March 96     (R. Degner)
  113. Table of Contents
  114. Element Class    Author    Last Update
  115. Clock    R. Griesemer    28 Sept 93
  116. Dialogs    M. Knasm
  117. Error    C. Szyperski    28 Sept 93
  118. Fold    H. M
  119. ssenb
  120. Graphic    C. Szyperski    27 Sept 93
  121. Icon    R. Griesemer    1 Oct 93
  122. Info    C. Steindl    
  123. Line    C. Szyperski    28 Sept 93
  124. Link    H. M
  125. ssenb
  126. Mark    H. M
  127. ssenb
  128. Index    M. Hof
  129. Menu    N. Wirth    16 Sept 93
  130. Picture    H. Marais, K. Rege    7 Feb 91
  131. Popup - "Hypertext without Surprises"    M. Franz, S. Ludwig    30 Sept 93
  132. Stamp    C. Szyperski    28 Sept 93
  133. Style    C. Szyperski    28 Sept 93
  134. Table    C. Szyperski    28 Sept 93
  135. Version    H. M
  136. ssenb
  137. This documentation is a periodically updated collection of sections describing fully independent text elements. Each section is divided into two subsections: A textual introduction to the functionality of the particular elements, followed by a list of supported commands. For each command, the command name, its explicit and its implicit parameters are given. Potential implicit parameters are the caret, selections, and the marked viewer. Explicit parameters are described using a compact syntax explained in the tutorial Edit.Guide.Text. At the end of each section a list of required files is given.
  138. E-mail update requests to the editor. Implementations of useful new text elements are always welcome.
  139. Companion documentation:
  140.     Edit.Guide.Text - Tutorial and Release Notes
  141. Clock Elements
  142. Analog clocks elements displaying the current time (whenever the machine is idle).
  143. command    explicit parameters    implicit parameters
  144. ClockElems.Insert 9    [number]    caret
  145. Insert a clock (with radius given in mm; default is 8) at the caret position.
  146. Dialog Elements (You have to install Dialogs.lha to use this with O4A)
  147. Dialog elemts support incorporation of panels compatible with the Dialogs package into texts. The command DialogElems.Insert inserts a new dialog element into a text at the text caret position. Using the middle mouse button, a dialog element can be "opened" for editing in a dialog viewer. The command DialogElems.Update in the viewer
  148. s menu can be used to make the modifications in the dialog permanent. Dialog elements can be used like ordinary dialogs: focus the element using the left mouse key and do everything what you would do with an ordinary dialog.
  149. command    explicit parameters    implicit parameters
  150. DialogElems.Insert    ("^" | "*" | name)    caret (plus marked viewer, if "*" is used)
  151. Inserts a dialog element sized to show the dialog stored in file "name". If a dialog viewer is marked, the command inserts the dialog of this viewer.
  152. Error Elements (O4A uses Error Elems from  XE)
  153. Fold Elements
  154. Fold elements can be used to hierarchically fold text pieces. Folding a text piece causes its replacement by another, usually shorter or empty text piece. Unfolding a folded text piece reveils the original text piece while hiding its replacement. A (partially) folded text may be compiled as if it where fully unfolded using a utility module Folds. Folds also includes the functionality of ErrorElems, as defined elsewhere in this documentation.documentation. Options such as the compiler or error message file to be used can be specified in a file Folds.Profile.
  155. command    explicit parameters    implicit parameters
  156. FoldElems.Insert        selection
  157. Makes the selection foldable by inserting a pair of fold elements around it. The fold elements are in expanded state.
  158. FoldElems.InsertCollapsed        selection
  159. Makes the selection foldable by inserting a pair of fold elements around it. The fold elements are in collapsed state.
  160. FoldElems.Expand        marked viewer or command viewer
  161. Unfolds (expands) all folds in the specified viewer.
  162. FoldElems.Collapse        marked viewer or command viewer
  163. Folds (collapses) all folds in the specified viewer.
  164. FoldElems.Marks     ("^" | "on" | "off")    marked viewer or command viewer
  165. Makes all fold elements in the specified viewer visible or invisible.
  166. FoldElems.Search        selection, focus viewer    
  167. Searches for the selected text pattern in the text of the focus viewer starting at the caret position. It searches also within folded parts and opens folds if necessary to display occurrences of the pattern. If no selection exists, the last search pattern is used again. If no caret is set, the search starts at the beginning of the text.
  168. FoldElems.Restore        marked viewer or command viewer
  169. Restores all folds that were expanded during a FoldElems.Search command to their previous state.
  170. Folds.Compile    ("*" [compiler-options])    marked viewer or command viewer
  171. Compiles the marked text containing folds. The compiler is started on the fully expanded view of the text.
  172. Folds.ShowError        [caret]
  173. Shows the next error after the caret position. If no caret is set, the first error in the text is displayed.
  174. Folds.SetProfile
  175. Sets the options specified in the file Folds.Profile (which compiler and which error message file should be used; should warnings be displayed). SetProfile is done automatically at the beginning. If Folds.Profile is missing, default options are: Compiler.Compile, OberonErrors.Text, warnings displayed.
  176. Procedures
  177. ExpandAll(t, from, temp) expands all fold elements in text t if they are after the text position from. If temp is TRUE, the folds are only expanded temporarily and can be collapsed again with FoldElems.Restore.
  178. CollapseAll(t, modes) collapses all fold elements in text t if they are of a kind that is contained in the set modes.
  179. FindElem(t, pos, proc, e) searches text t starting at position pos. For every encountered text element procedure proc is invoked. If this procedure returns TRUE, the element is returned by FindElem as e.
  180. Switch(e) switches the fold element e from collapsed to expanded or vice versa.
  181. Twin(e) If (e, x) is a pair of fold elements, Twin(e) returns x.
  182. Graphics Elements
  183. Graphic elements support incorporation of graphs compatible with the standard Draw package into texts. A single command is provided by module GraphicElems in order to insert a new graphics. Using the middle mouse button, a graphics element can be "opened" for editing. As a result, a graphics viewer is opened displaying the graph. The command GraphicElems.Update in the viewer's menu can be used to propagate changes made to the graph back to the graphics element. Graphic elements support inplace editing: focus the element using the left mouse key and use standard Draw editing techniques within the activated graphics frame.
  184. command    explicit parameters    implicit parameters
  185. GraphicElems.Insert    ("^" | "*" | name)    caret (plus marked viewer, if "*" is used)
  186. Inserts a graphics element sized to show the graph stored in graphics file "name". If an open graphics viewer is marked, the command can be used to insert all or part of a displayed graph: if a selection exists in the marked graphics viewer's graph, only the selection is copied into the graphics element.
  187. Icon Elements
  188. Display a small "walking sysiphus" icon. By clicking on such an icon using MM, a screen saver is started. Using an icon editor, the file IconElems.Icon may be changed or replaced to install a different animated icon.
  189. command    explicit parameters    implicit parameters
  190. IconElems.Insert        caret
  191. Inserts a new Icon Element at the caret position.
  192. Info Elements
  193. Info elements are similar to popup menus. When clicking on the element with the middle mouse button, it responds by showing a text. This text contains additional information about the text in which the element is inserted. A typical application is a source module where you would like to add some informations about the programmer and the programming task to the document.
  194. command    explicit parameters    implicit parameters
  195. InfoElems.Insert        caret
  196. Inserts a new Info Element at the caret position.
  197. Hints
  198. The module Find exports a command called AllInfo which can be very useful in combination with InfoElems:
  199. Find.AllInfo ^
  200. searches within the InfoElems of the files specified with Find.Domain. The selection must be of the form item = searchPattern where item is one of {"Title", "Author", "Abstract", "Keywords", "Version", "From", "Until", "Hints", "Changes"}, searchPattern must match exactly or contain asterisks.
  201. E.g.: Find.AllInfo Author = *CS*
  202. Contents of a new InfoElem:
  203. "Title": no title
  204. "Author": no name
  205. "Abstract": no abstract
  206. "Keywords:": no keywords
  207. "Version": no version
  208. "From":  28.10.94 16:59:45
  209. "Until": no date (use StampElems.Insert)
  210. "Hints": This text can again contain arbitrary text elements!
  211. Line Elements
  212. Line elements support horicontal or vertical lines within a text. A single command is provided to insert new line elements. The insertion command takes certain parameters such that line elements can be set to automatically adapt in width and height.
  213. command    explicit parameters    implicit parameters
  214. LineElems.Insert    ("^" | ( ("auto" | "tab" | W) ("auto" | H) ) )    caret
  215. Inserts a line of given or automatically adopted width and height into a text. Width and height may be set in units of 1/10 mm. Otherwise, the width may be set to extend to the end of the current line ("auto") or to the next tabulator position ("tab"). The height may be set to equal the paragraphs line height (determined by the parc's line attribute).
  216. Link Elements
  217. This module provides two kinds of text elements: link elements and link menus.
  218. - A link element represents a hypertext link to a mark element (MarkElems). When the user middle-clicks at the link element the text around the associated mark element is displayed. A middle click at the mark element leads one back to the link element.
  219. - A link menu is an extension of a popup element (PopupElems). It can be used in the menu bar of a viewer. When the user clicks at a link menu, a list of all mark elements in the viewer pops up. By selecting an entry the user can get to any of the mark elements quickly. The list of marks is collected automatically.
  220.         For example, the user can invoke the command MarkElems.MarkProcs to insert mark elements in front of all procedure names in procedure declarations. The link menu will then show all these mark elements and the procedure names following them in the text. Of course the user can also insert mark elements explicitly (e.g., in front of type names or variable names). These marks will also be shown in the link menu together with the names following them in the text.
  221. User interaction. A middle click at a link element displays the text around the associated mark element. If the mark element is in the same text as the link element, the text is scrolled to the mark element's position. If it is in a different text, a new viewer is opened showing the mark element and its surrounding text.
  222.     A middle-right click at a link element opens a viewer showing the value of the link target (expressed by the tuple <destination file name, mark key>). This text can be edited and stored back to the element with LinkElems.Update from the viewer's menu.
  223.     A middle click at a link menu pops up a list of all marks in the viewer's text. By selecting a specific entry the text is scrolled to that mark.
  224. command    explicit parameters    implicit parameters
  225. LinkElems.Insert        caret
  226. inserts a link element at the caret position. The target point of the link is taken from the most recent selection. If a mark element is selected the link goes to that mark element otherwise a new mark element is inserted at the beginning of the selection.
  227. LinkElems.InsertMenu        caret
  228. inserts a link menu at the caret position. Link menus should only be used in the menu bar of a viewer.
  229. LinkElems.Update
  230. updates an edited <file name, key> value. See also "middle-right click" above.
  231. Procedures
  232. New(f, k) creates and returns a link element that leads to the mark element with the key k in file f.
  233. FollowLink(f, k, lf, le) follows as link to a mark element with the key k in file f. The frame containing the link element must be given in lf and the link element itself in le. These two parameters are used to establish a backwards link.
  234. It is a good idea to insert a link menu in Edit.Menu.Text, so that a list of all marks can be popped up in all text viewers.
  235. Mark Elements
  236. Mark elements mark a certain position in a text. They are typically used as the target of hypertext links (LinkElems) or as bookmarks. They can be referenced via a numeric key.
  237. User interaction. If one got to a mark element by following a hypertext link, a middle click at this element will lead one back to the source of the link, i.e., to the corresponding link element. A middle+right click will open a viewer showing the element's key. The key can be edited and stored back to the element with MarkElems.Update from the viewer
  238. s menu. This may be useful in rare cases to resolve key ambiguities.
  239. command    explicit parameters    implicit parameters
  240. MarkElems.Insert        caret
  241. inserts a mark element with a new key at the caret position. 
  242. MarkElems.Update
  243. updates an edited key value. See also "middle click" above.
  244. MarkElems.ShowNext        caret
  245. searches for the next mark element after the caret position and sets the caret to it.
  246. MarkElems.MarkProcs        marked viewer
  247. inserts mark elements in front of all procedure declarations in the marked viewer. This is useful in the context of link menus (see LinkElems.Menu) which automatically create links to all mark elements in a text.
  248. Procedures
  249. New() returns a new and initialized mark element that has not been inserted into a text yet.
  250. Index Elements
  251. Index elements work similar to mark elements. They also mark a text position which may be used as the target of hypertext links (LinkElems) or as bookmarks. The added functionality is their ability to automatically create an index of the corresponding text.
  252. User interaction. A middle click will open a viewer showing the text associated with this element. The associated text can be edited and stored back to the element with IndexElems.Update resp. MarkElems.Update from the viewer menus. 
  253. command    explicit parameters    implicit parameters
  254. IndexElems.Insert        caret
  255. inserts an index element with a new key at the caret position. The current selection is taken as the associated text. If there is no current selection, the associated text is empty. 
  256. IndexElems.Update
  257. updates the edited associated text. See also "middle click" above.
  258. IndexElems.Hide        marked viewer
  259. hides all index elements in the marked viewer.
  260. IndexElems.Show        marked viewer
  261. redisplays all index elements in the marked viewer.
  262. IndexElems.Index        server-name "*" {option}
  263. Generates an Index for the marked viewer. As a side effect, text is printed as well. For a detailed description of available options read the information on Edit.Print. The index is displayed in a separate viewer. It has the following format:  <associated text> tab pagenumber <Link Element> {"," pagenumber <Link Element>}.
  264. Picture Elements
  265. Picture elements support incorporation of pictures compatible with the standard Paint package into texts. Using the middle mouse button, a picture element can be "opened" for editing. As a result, a picture viewer is opened displaying the picture. The command PictureElems.Update in the viewer's menu can be used to propagate changes made to the picture back to the picture element.
  266. command    explicit parameters    implicit parameters
  267. PictElems.Insert    ("^" | "*" | name ["scaled"])    caret
  268. Inserts a picture element sized to show the picture stored in picture file "name". If "*" is used, the marked picture is inserted.
  269. Popup Elements - "Hypertext without Surprises"
  270. Popup elements respond to a middle mouse click by showing a text of lines (usually commands) that can be selected (executed) by moving the mouse up and down. The default behavior is to interpret the selected line as a command and execute it. Oberon.Par is initialized with the viewer and the frame containing the menu as well as with the menu text and the position of the command in this text. 
  271.     If the menu contains just a single line it does not pop up but this line is selected by default. If the user clicks at the menu without moving the mouse the most recently selected line is assumed to be still selected.
  272.     If the selected line starts with another element (e.g., a link element) this element receives a middle-click message, i.e., it is executed.
  273. Editing a menu. A middle+right click at a popup element opens a viewer that displays the menu text. This text can be edited (commands can be added or removed) and stored back to the element by executing the command PopupElems.Update from the menu bar of the viewer. The menu name can be changed by editing the name of the edit viewer.
  274. command    explicit parameters    implicit parameters
  275. PopupElems.Insert     (name | string | ^)
  276. inserts a popup menu at the caret position. The command argument specifies the menu name.
  277. PopupElems.InsertMenu    (name | string | ^)
  278. inserts a small popup menu at the caret position. The height of a small menu is chosen such that the menu fits into the menu bar of a viewer. The command argument specifies the menu name.
  279. PopupElems.Toggle
  280. If executed from the menu bar of the menu edit viewer, the command toggles between a small and a large menu element.
  281. PopupElems.Update
  282. can be executed from the menu bar of the menu edit viewer. It stores the text in this viewer as the menu text of the edited popup menu.
  283. Procedures
  284. - MeasureMenu(m) computes the metrics of the popup window for the menu text. This procedure has to be called whenever the menu text has been modified.
  285. Hints for implementors of subclasses
  286. - Intercepting the menu selection: In subclasses of popup menus the menu selection can be intercepted by reacting to the execute message (ExecMsg) that is sent to the menu when one of its lines is selected. This message contains the position (origin) of the selected line in the menu text.
  287. - Popup menus with icons: A popup element usually displays a string (its name). If this string is empty an empty element box is drawn. A subclass of popup elements can then draw an icon into the menu box.
  288. Menu Elements
  289. Menu elements are a variant of popup elements. They appear as a simple piece of text (their name) on the screen. If clicked at with MM, a command menu pops up. A Middle-Left-Click at the element causes the menu text to be displayed for editing in a separate viewer. The first line of the menu text is interpreted as the menu name.
  290. command    explicit parameters    implicit parameters
  291. MenuElems.Insert        caret position
  292. Inserts a menu element at the caret position. Initially the element is displayed as a blank rectangle. A Middle-Left-Click displays the (empty) menu text for editing.
  293. MenuElems.Update        text in command viewer
  294. This command is usually contained in the menu of the viewer that displays the text of a menu element for editing. It installs the text in the viewer as the new menu text of the element.
  295. Stamp Elements
  296. Display date of most recent store of the text containing the element. (After insertion, StampElems display the current date.) The insert command takes an optional font name which is used to preset the font of the inserted element.
  297. command    explicit parameters    implicit parameters
  298. StampElems.Insert    [name]    caret
  299. Inserts a new stamp element, where the name indicated the font to be used. (If name is omitted, the default font is used.)
  300. Style Elements
  301. Style Elements extend standard Parcs by adding a name and automatic conformance of equally named parcs within a text. For example, a parc named "heading" may be set to format a section heading. Then, all parcs with that name use and maintain the same format as changes are propagated automatically.
  302. When copying a style parc from one text to another the behaviour of the copied parc depends on the target text. If it already contains a style with that name, the copied parc will adopt itself to that style. Otherwise, the copied parc defines a new style. Likewise, a style parc may be renamed. If it is renamed to a style that already exists in the containing text, the parc will adopt to that style, while otherwise it introduces a new style.
  303. Some examples for style parcs follow below. Note that the Syntax8.Scn.Fnt file should be available to get nicely labled style parcs.
  304. command    explicit parameters    implicit parameters
  305. StyleElems.Insert    ("^" | name | string)    caret
  306. Insert a new style parc with the given name at the caret position. A quoted string may be used to assign names consisting of multiple words.
  307. StyleElems.Rename    ("^" | name | string)    selected parc
  308. Renames the selected parc to the given name.
  309. Table Elements
  310. Table Elements are automatically formatted tables created from raw, unformatted data. A plain text separated by tabulator characters into columns and by carriage returns into rows can be used to define the table. Furthermore, a certain set of options may be used to modify the default formatting of the table.
  311. Clicking on a table element using MM opens an viewer such that the table contents can be edited. Tables may contain arbitrary text elements, including tables. However, elements incorporated into a table are frozen as is, i.e. messages broadcasted to all visible elements in a text frame are not passed to elements nested into a table. Hence, only static elements should be inserted into tables.
  312. Starting from a defining text containing arbitrary strings separated by tabulator and carriage-return characters, a table is constructed. Tabulators separate columns, carriage-returns separate rows. The separated strings form the contents of table cells. Each such string may in turn contain arbitrary text elements and especially it may contain nested tables. The defining text is bound to a table element and can be edited by clicking on a table with the middle mouse button. In return, a standard text viewer is opened containing an update command in its menu bar. The syntax of the defining text is as follows, table options will be defined later.
  313.     table = {option} "/table" {line}.
  314.     line = cell {TAB cell} CR.
  315.     cell = ["#" | "&"] <string of characters not containing TAB or CR>.
  316. A string starting with a digit, a period (.), or a sign (+ or -) is considered numeric, otherwise it is considered nonnumeric. A number sign (#) prefixing a string is suppressed and enforces numerical interpretation; likewise, an ampersand (&) prefixing a string is suppressed and enforces nonnumerical interpretation. The default table formatting causes all cells in the first column to be formatted left flush. In all other columns, the default format for numeric cells is period-aligned and that for nonnumeric cells is centered. All cells in a row are by default aligned to a common base line. Also, the default format causes the table to be framed and separating lines between rows and columns to be drawn. Finally, for a table with more than two rows or two columns the first row or column separatation line is drawn using two parallel lines, respectively. Most of the default formats can be changed using the provided option set.
  317. For table elements the printing dilemma discussed in section 1.5 needs to be reconsidered. Following the strategy developed for texts, a table would be recasted when printing. However, one of the primary attributes of a table are its measures, i.e. the space taken for individual cells of the table and the arrangement of the cells with respect to each other. It is not acceptable that a table gets completely redimensioned when printed. Hence, for table elements a different printing strategy has been choosen: the displayed table on the screen follows - down to the character level - the metrics of the printer fonts. The resulting screen image looks a bit distorted, however, the displayed measures correspond as closely as possible to the printed ones.
  318. The following table gives an overview over available table formatting options.
  319. option    effect (measures in 1/10 mm)    argument values
  320. *)  A parc at the beginning of the table defining text introduces a minimal
  321.      cell height as well as a cell height grid (if the grid option of the parc is set)
  322. Overview of TableElems Options
  323. command    explicit parameters    implicit parameters
  324. TableElems.Insert    ["^" | name]    caret
  325. Insert a table defined by the given text at the caret position. If no defining file is given, or the table definition is syntactically erroneous, an empty table is inserted.
  326. TableElems.Update    (to be called from menu frame)
  327. Take the viewer's content frame's text as defining text and update the associated table element.
  328.