ArborX


trd

Longname: t r ead d ocument   Open the Documentation Legend
Released: not available 
Created: not available 
Alias(es): read 
See also: ted tkf

Summary
Opens a file for viewing, but does not allow any changes to be made. The parameters for the trd macro are identical to those for ted.
Example (n/a)
No example is available for this feature.

Syntax (SVNNA)
trd  file:s? start page:n  run autoexec:n? load pfi:n  )  )  )  file:s?  bookmark:t?  run autoexec:n? load pfi:n  )  )  )  start page:n?  file:s?  bookmark:t?  run autoexec:n?  load pfi:n?
start page:n
Ø|0  The document will be opened either at page 1 or, if its page position has been saved using the tdspref macro at the page it was at when last saved.
The page of the document to display when the document is opened. If you are using the first form of this macro and do not specify a file to edit, the edit document dialogue box will be invoked with the Page number entry box filled in with this start page.
file:s

The name of the file you want to open for editing. If the file parameter contains wildcard characters the Edit Document dialogue box will be invoked containing a list of matching files from which you can make a multiple selection. The wildcard can take one of four forms, for example:

*.3d  File names only.
**.3d  File names + file size.
***.3d  File names + number of pages.
****.3d  File names + file size + number of pages.
bookmark:t

Optional instead of start page. Specifies a bookmark at which to open the document. No warning is given if the bookmark does not exist in the opened document.

run autoexec:n
Ignore any autoexec script when the document is opened.
Ø or 1  If the document contains an autoexec script, it will be started after the document is fully loaded.
load pfi:n

Arbortext APP stores page formatting information (pfi) related to the beginning of each page if the Save page formatting information: □ tick box is enabled in the Preferences for Saving Documents dialogue box (see tdspref). This assists faster navigation of documents, especially after they are first opened. Some versions of Arbortext APP have (unintentionally) saved pfi which is incompatible with other versions, rendering the document un-openable. This setting can be used to overcome this problem:

Any pfi in the file is ignored.
Ø or 1  Any pfi in the file is loaded and used to speed navigation of the document.

Document created on 08-Feb-2003 (revision 1)