Extracting OLEs from DOORS

In this blog I’m going to explain how OLEs from Rational DOORS can be extracted in generated documents with Rational Publishing Engine.

As you probably already know, OLEs (Object Linking and Embedding) can be placed in a DOORS module.

First thing to do is to create a template in which you will extract the OLEs. All you have to do is to use the Module/Object query and to make use of the Module/Object/Object Text attribute. The Object Text attribute will contain the OLEs.

If you don’t want to use them as static images you need to set the following properties in the document specification from Launcher:

1) Metadata – > OLE as static images = false

2) Word output -> stylesheet = C:\Program Files\IBM\Rational\Publishing Engine\<version>\utils\word\

3) Word output -> macro = rpe

Ole as static images property is by default true which means that OLEs will be extracted as simple images. The “rpe” macro can be found in the stylesheet provided with RPE installation files and this macro will update the fields from the Word output when it will be executed.

Leave a Reply