[Previous] [Next] [Contents] [Index]


    MS Word Integration

(Windows only)

In Windows, Microsoft Word is integrated with Telelogic Tau and MS Word documents are handled by the Organizer.

Handling of SOMT implementation links is supported.

This chapter contains a user manual to MS Word in Telelogic Tau; the functionality it adds and the new menu.

Table of Contents 

Overview

Introduction

The implementation works with MS Word 7.0 (MS Office 95) and MS Word 8.0 (MS Office 97) in Windows. It is assumed that you are familiar with MS Word terminology and how to use MS Word. Some experience with MS Word templates and macros is also required when setting up the integrated environment.

MS Word Document Handling

Support for MS Word document editing is available in the Organizer. When connecting MS Word to the Organizer, the process SdtWord will be started in the background.

In the Organizer, MS Word documents are identified by the document type "Text Word" when adding new or existing documents.


Extracted pic [1]

In the Organizer, MS Word document are represented with the icon shown to the left. Unlike other document types, when a MS Word documents becomes modified, its icon is not marked as "dirty".

A new MS Word documents is always named "Document<x>", where <x> is an integer, regardless of what name it was given in the Organizer.

Link Handling

SOMT implementation links in MS Word documents are supported. This gives the possibility to handle link endpoints and follow the links defined for these endpoints.

An MS Word endpoint icon in the Organizer looks the same as a document icon.

In MS Word, endpoints are marked with special character formats. The appearance for endpoints without associated links is underlined, blue text. The appearance for endpoints with associated links is double underlined, bold, blue text.

Endpoints in MS Word documents are represented with bookmarks whose names are of the format "SDT_<x>", where <x> is an integer uniquely identifying the endpoint.

Undo is not available for the link handling commands.

Installation

MS Word

To be able to use MS Word with Telelogic Tau, do as follows:

For MS Word 7.0

  1. Put the template file sdt95.dot (available in <Installation Directory>\bin\wini386\sdt95.dot) into the folder \MSOffice\Winword\Startup. This means that the template becomes global and the Telelogic Tau commands will be available in MS Word all the time.
  2. Some macros are template dependent, which requires them to be defined for the template on which the document is based. The macros to be copied from sdt95.dot to your document templates are:

  3. AutoClose
    AutoNew
    AutoOpen
    
    
    Consult the MS Word documentation on how to copy the macros to your templates.

    The macros are (re)definitions of possibly existing MS Word macros. If you already have them defined in your document templates, you must add the code to your own macros.

For MS Word 8.0

There is an automatic installation program available in <Installation Directory>\bin\wini386\sdtwordinstall.exe. You can also make a manual installation:

  1. Put the template file sdt97.dot (available in <Installation Directory>\bin\wini386\sdt97.dot) into a temporary folder.
  2. Change the file protection from read-only to read/write.
  3. Open this sdt97.dot in MS Word and copy the modules:

  4. SDTAutomacros
    SDTMisc


    to the template normal.dot. Make sure there are no conflicts with other automacros in normal.dot.
  5. Delete the copied modules from sdt97.dot.
  6. Close MS Word and move the sdt97.dot copy into the folder \MSOffice\Winword\Startup.
  7. Add a reference (in the MS Word VB-editor) from normal.dot to sdt97.dot.

The Startup Folder

You should check that MS Word points at your start-up folder by choosing Tools > Options. In the dialog that appears, select File Locations and check where the file type Startup is pointing. It should point at the directory where you placed sdt95.dot or sdt97.dot.

Note: 

Do not use sdt95.dot or sdt97.dot as a document template. It only contains MS Word macros and should be used solely as a global template.

Preferences

In the Preference Manager, the following parameter should be set:

Parameter Value

SDT* WordCommand

The command that starts MS Word (the default is "Winword.exe").

Make sure that the path points to its directory.

MS Word Menu Commands

This section lists and describes the MS Word menu commands associated with the integration with Telelogic Tau. Both new commands and the affected ordinary (existing) commands are described.

New Menu Commands

The new commands are accessible from a menu in MS Word called SDT. It contains the following menu choices:

Connect to SDT

Connects to Telelogic Tau. This is done automatically when starting MS Word.

Disconnect from SDT

Disconnects from Telelogic Tau. This is done automatically when exiting MS Word.

Show Organizer

Opens or raises the Organizer.

Show Reference

Shows the selected SDT reference in an appropriate editor. This requires that the user has selected the reference text or placed the cursor inside it.

Create Endpoint

Creates a new endpoint that will be marked with a special character format in the text (see Link Handling) and notified to Telelogic Tau. This command requires that the user has selected the region of text to convert to an endpoint. Endpoints are not allowed to overlap and must consist of at least one character.

Delete Endpoint

Deletes an endpoint. The endpoint text will be converted to plain text and the deletion will be notified to Telelogic Tau. All links associated with the endpoint will be cleared. This command requires that the user has selected or placed the cursor inside the endpoint text.

Follow Link

Follows one of the links associated with an endpoint. This results in displaying the endpoint on the other end of the link in an appropriate editor. If only one link is associated with the endpoint, this link is followed. Otherwise the user is offered to choose between the associated links in a dialog.

This command requires that the user has selected or placed the cursor inside the text of an endpoint marked as having associated links.

Show Endpoint in Link Manager

Opens the Link Manager and shows the selected endpoint. This requires that the user has selected or placed the cursor inside the endpoint text.

Update Endpoints

When applying styles and character formats to text containing endpoints, the endpoint character format may be changed and thus it becomes impossible to tell where the endpoints are located. By using this command all endpoints in the active document will have the endpoint character format applied to them.

Furthermore, when deleting text containing endpoint using the keyboard (<Delete>) instead of menu choices, or pasting text with endpoints from other documents, this is not notified to Telelogic Tau. By executing this command, a synchronization with the Link Manager takes place in order for it to have a consistent view of the endpoints in the active document.

Affected File Commands

Exit

Disconnects from Telelogic Tau before exiting.

New

The new buffer is notified to Telelogic Tau and takes part in the interaction.

Open

The loaded buffer is notified to Telelogic Tau and takes part in the interaction.

Save and Save As

The buffer is notified as saved to Telelogic Tau.

Close

The buffer is notified as unloaded to Telelogic Tau.

Affected Editing Commands

Modification of Endpoint Text

The endpoint is notified as modified to Telelogic Tau.

Note: 

In MS Word, inserted text take the same character format as the character that precedes it. Added characters in front of the endpoint text will not take the character format of the endpoint text until the endpoint is updated (see Update Endpoints). When the cursor is placed directly after the endpoint text, added characters will not become part of the endpoint text, even though the character format will indicate so.

Clear

All endpoints within the selection will be deleted. See Delete Endpoint.

Cut

All endpoints within the selection will be deleted. See Delete Endpoint. Endpoints in the copy of the selection is represented by plain text.

Copy

Endpoints in the copy of the selection is represented by plain text.

Paste

Endpoints (bookmarks) not already defined in the document, in which the Paste operation is done, will be created. However, the text region is still plain text and the endpoints have to be updated in order to apply the endpoint character format to the new endpoints.

Undo

No undo information is recorded for the link handling commands. Consequently, these commands cannot be undone.


[Previous] [Next] [Contents] [Index]