|
| |
ReportGen
generates a data dictionary using Microsoft® Word OLE automation objects. This
is an updated version of the script that is supplied with Rose 2000.
This is the latest version of the ReportGen script for Rose 98i, Rose 2000,
Rose 2000e, Rose 2001, it contains
several fixes (to the one delivered with Rose 2001):
Changes:
- Incomplete Reports.
- Multiple selection not reporting (for categories).
- Cover page.
- Indentation in Logical Package Structure (End of Document).
- Error exception handling
- WordApp.FormatStyle error
- "formatting too complex" error
- incomplete output (reports stops before completion)
- nested classes missing
- incorrect count
- Several minor other improvements and fixes
Requirements:
 |
Rational Rose 98i or later |
 |
Word 7.0 (Word 95) or later |
 |
ReportGenLog.dot |
 |
ReportGenComp.dot |
Instructions:
- Tools:Open Script, reportgen.ebs
- Debugger:Compile, reportgen.ebx (save in Rose home directory)
This will overwrite the current compiled reportgen script with this new one.
- Now when you run report from menu you should be using this updated code.
History:
' Created by Rational Software Corporation
' (C) Copyright Rational Software Corporation 1996 All Rights Reserved
'--------------------------------------------------------------------------------
' Modified by J.Pivitt to re-include changes to output in
' alphabetical order. (Based on reportgen.ebs for 4.0.) 19 Aug 97.
' Modified by David Hanslip to output classes in alphabetical order. 9 Mar 97.
' Modified by David Hanslip to use internal data structures for tracking
' selected classes rather than added properties thereby allowing document
' generation with write protected controlled units. 24 April 97.
' 12/02/99 Modified by Ahmed OUNAISSA (aounaiss@rational.com)
' ** Fix deleting word TABLE in "TABLE OF CONTENTS"
' ** Fix indentation pb. in Package structure.
' ** Fix the multiple selection problem.
' >> Flag : AO 12/02/99.
' End Modifs AO 12/02/99.
'
' 12/06/99 Modified by Greg Buhtz, GSB
' ** Merge with reportgen_2000.ebs
' ** Fix error exception handling
' ** Fix to ignore WordApp.FormatStyle error
' End Modifs GSB 12/06/99.
'
' 04/25/00 Modified by Ahmed OUNAISSA (aounaiss@rational.com)
' ** Add Type COM in Report Format.
' ** Parameter Modifiers for COM interfaces.
' >> Flag : AO 04/25/00.
' End Modifs AO 04/25/00.
'
' 02/03/2000 Modified by Oktay Amiry
' ** Modified SetGenerateFlags. Accessing theApplicableClassArray array directly to set GenerateFlag
' ** Added a routine GetAllOfClasses to return all classes, including netsted classes
' ** Fix to print documentation for nested classes. Modified SelectLogicalClassesForGeneration
' ** Fix to handle NestedClasses everywhere. Added a routine GetAllOfClasses to
' return all classes, including netsted classes and changed reference to Classes
' property to point instead to return value of GetAllOfClasses
' ** Fix to handle printing of selected classes where the selected classes are
' Nested classes. Change was made in PrintClassesForCategory routine.
'
' 21/06/2000 Modified by Guido Duerinckx, Alcatel Bell Space, guido.duerinckx@alcatel.be
' ** Added GenerateAssociation and GenerateClassAssociations in order to
' output information on associations between classes, if requested.
' ** Added output info on persistance classes.
' ** Fixed a problem in GetAllOfClasses (get only those classes belonging to aCategory).
' ** Fixed a problem in PrintClassesForCategory (avoid output nested classes twice).
' ** Slight modif & optim in PrintCategory.
' ** Modified ReportOptionsType (added new field IncludeNestedClasses)
' ** Modified SetGenerateFlags (recursively set flag for nested classes, if requested).
' ** Modified Dialog (added options for associations and nested classes).
Download (90KB) (27-Nov-2000)
www.rationalrose.com/scripts/reportgen_fix.ebs
|