[Mirrored from: http://www.citec.fi/mdp/brief/mdoctech.html]
Once a document is displayed, Multidoc Pro processes user events,
dispatching them to:
- Scrollbar, navigator, and link navigation
- Text and hot spot selection
- Navigator expand/collapse events
- Iconized subview, annotation, notation data, and zoom window launching
A Document Type Definition-- or DTD -- is normally an integral part of an SGML document. However, the SGML/HyTime browser engine within Multidoc Pro is also capable of preloading DTDs, reusing them from one document to another in order to improve performance.- Document Type Definitions
- SGML Documents
- Style Sheets
- Navigators
- Webs (SGML/HyTime documents)
- Media files (notation data)
The SGML document is the core on which the SGML/HyTime browser engine is built. Since an SGML document in itself is only structured data, an SGML browser needs additional information in order to display and navigate the document.
A Style Sheet is a set of formatting rules, a mapping from
SGML elements to formatting specifications. The style sheets not only
support content formatting such as font specification, position,
spacing, and justification, but also content hiding, autonumbering,
engineering math (such as fractions, radicals and indices), leading,
rulers, change bars and CALS tables. In fact, any element structure
can be formatted as a table—with or without the table grid -- and
any element can be hidden behind an icon, revealed when the user clicks on it.
The style sheet is independent of the document: Several documents can
share a single style sheet, and one document can use several style
sheets. Style sheets are stored as SGML documents.
A Navigator allows any document element to be extracted and
assembled into an active table of contents view. The extracted
elements maintain their original order and hierarchy in the SGML
document; if a navigational element has navigational child elements,
these will still remain child elements among the extracted
elements.
Like style sheets, navigator definitions are stored as
SGML documents.
A Web is a container of anchors and links. An anchor is
either attached to a textual span of a document or to a region of a
graphic (a hot spot). The anchor can contain an annotation and serve
as a bookmark. A link connects two anchors. When a web is mounted,
anchors are automatically attached to open documents and displayed as
clickable icons. When the web is dismounted, all related icons
disappear. Several webs can be mounted simultaneously.
The concept of storing anchors and links in webs instead of as markups
in the main document opens a number of interesting possibilities. For
instance, it allows you to:
- Attach information to a document without updating the document itself
- Superimpose alternative hypertext structures onto a single document set
- Distribute only a set of comments to a document (or a document set) given that the same documents are available to the recipient(s) of the comments
- Receive comments from several reviewers and display their comments simultaneously (each reviewer can use different icons for their comments)
The last two items open a vista of new possibilities in documentation review processing. Since the web uses HyTime addressing concepts, the underlying documents can even be edited without the anchor locations necessarily being affected adversely. Like style sheets and navigators, webs are stored as SGML documents.
Media files (notation data) are normally not in SGML format, but as externally stored data such as graphics, audio, or video. The SGML/HyTime browser engine within Multidoc Pro has built-in support for in-line display of notation data—for instance, it supports a large number of raster formats (such as BMP, GIF, JPG, TIFF, CCITT g4) and EPS, WMF and CGM vector graphics. Multidoc Pro also supports in-line display of video (supported by local drivers e.g. AVI, QTW and MPEG).
The SGML/HyTime browser engine within Multidoc Pro can also launch external applications to view the data.
This figure summarizes Multidoc Pro - SGML browser's data processing:
- The start-up document, stylesheet, navigator and web that will appear when starting Multidoc Pro
- Show main toolbar, search toolbar and browse toolbar
- Graphics displayed inline or as icons
- Autoshrink graphics
- Display hot spots
- Setup of external viewers
Figure 3. Tab Widget for Full Text Search
The check box button for "Search in Document Set" is disabled if
the user has opened one SGML-file. If the user has opened a document
set and clicked in this check box, the search will be done through all
files within the document set.
Figure 4. Tab Widget for Context Search
The context search makes it possible to search within the document
structure. When the "Make Navigator" check box is clicked, the browser
will generate a navigator "on the fly" from where the user can
navigate to all hits in the document or document set. This can also
be used for creating navigators "on-the-fly" according to element
names, e.g. for graphics, tables, notes, warnings, etc.
The style editor is a floating tool window and can be visible even
when navigating a document. The style sheets cover formatting
instructions such as font settings, paragraph settings,
auto-numbering, text generation before and after an element,
miscellaneous settings such as background color, background bitmaps,
tables including CALS table model etc.. A qualified style expression
language is provided in order to make it possible to override the base
style settings.
Document sets consist of an SGML/HyTime document, where all
documents included into the document set are defined. All the
documents that are included in the document set can be searched as
unified information. The documents within the document set can be
structured according to different DTDs.
Figure 6. The document set navigator with context menu
The user will build up the document set instance by selecting the
folders, and by clicking at the right mouse button he/she can edit
titles, add instances, add levels and sublevels. The document set will
act as a reference list containing titles and references to other SGML
instances.
When the user clicks at the " Add Instance " command, a dialogue will
appear from where the user can browse and select the actual SGML
instance.
Parses and displays any SGML fragments on-the-fly
Renders tables (also CALS table model) and equations
Prints document and document sets, or portions of document and document sets using any style sheet with headers and footers
Scrollbars, navigators, and link navigation
Text and hot spot selection
Navigator expand/collapse feature with dynamic table of contents, and navigator displaying document set and SGML tree
Show tag option to display markup
Preferences panels
Icon based subview
User specific annotations and bookmarks
Graphics in-line and zoom window launching
Pixel graphic formats such as JPG, TIFF, GIF, BMP, CCITT g4 etc.
Vector graphic formats such as WMF, CGM and EPS
In-line video (formats supported by local drivers e.g. AVI, QTW and MPEG)
Supports external viewer launching
HTML and URL support
Support of HyTime linking
Search widgets for full text and context search
Style editor tool for creating your own style sheets for any DTD
Navigator editor and web editor
Document sets (used for electronic publishing)
Multiple documents and multiple document views
Phone: +358 61 324 0700 (after 12th October: +358 6 324 0700)
Fax: +358 61 324 0800 (after 12th October: +358 6 324 0800)
E-mail: sales@citec.fi
WWW: http://www.citec.fi