Does DocGen solve your problem? Does it fits to your needs? Is it useful? Any suggestion? Please tell us your opinion and needs and we will study them.

DocGen Wiki

Name DocGen Plugout for Bouml
Authors Nicolas Bertet (Project Manager / Function Responsible)
José Manuel Portero García (Designer / Developer)
Most recent version Version 1.0.3
Availability Bouml 4.13.1 / OpenOffice 2.4
State Improving functionality
License GNU General Public License v.3
Download sources Sources Subversion URL login: anonymous password: anonymous
Download binaries Binaries

Compatibility

Compatibility with Bouml
Plugout version 4.11 4.12.x 4.13.x 4.16.2
1.0.3
Compatibility with OpenOffice
Plugout version 2.4 3.0 3.1
1.0.3
Compatibility with Java
Plugout version J2SDK/J2RE - 1.4 JDK/JRE - 5.0 JDK/JRE - 6
1.0.3
Compatibility with Operating Systems
Plugout version Windows XP Windows Vista Windows 7 MacOS Ubuntu Debian Other Linux Distributions
1.0.3

Description / Features

DocGen is a Bouml plugout that allows you to generate automatically OpenUP documentation. It's a practical tool that allows you to update dynamically the documentation of your project.

DocGen extracts text and diagrams from a Bouml project and inserts them in a OpenOffice Document. It's preconfigured with a generic template and three definition files of Analysis, Design and Architecture OpenUP based documents. It allows to insert predefined tables and link external images to insert in the document.

You can define your own template and file definitions. It's as easy as writing a OpenOffice Writer document and editing a XML file respectively.

Requirements

Installation

Copy docgen.jar in your Bouml directory (usually /usr/lib/bouml if you use Linux or C:\Program Files\Bouml if you use Windows). Open Template_UP and save a copy for your use. It contains several classes, text, and contents to test the document generator. You can delete and replace some of them to generate the documents of your software project.

Screenshots and results

You can see several screenshots of this application:

Bouml browser with template.

User interface extension.

Image linker.

Generating analysis document.

Resulting documents:

These are examples of generated documents: attachment:Analysis_Document.odt, attachment:Design_Document.odt, attachment:Architecture_Document.odt

Source code

The last version is version:1.0.2 and you can download source code from Functionality is divided in two projects: OpenOfficeAPI and DocumentGenerator.

Definition files

Definition files tells you how to fill the document. You define:

Sample use

  1. Open template and select options "Generate Analysis Document", "Generate Design Document" or "Generate Architecture Document".
  2. Images can be added in the XML file as <image> item. You can also add one in a "view". You should do this:
    1. Create a package and stereotype it as "image".
    2. Call plugout "Link External Image". (NOTE: Sometimes it fails if it's in home folder).
    3. If you want, you can add a description of the image in the package description.
  3. Try to open a user interface extension in one of these paths:
/Documents/Analysis Model
/Documents/Design Model
/Documents/Architecture Model
/Documents/Analysis Model/Documents
/Documents/Design Model/Documents
/Documents/Architecture Model/Documents
/Analysis Model/Logic View/Use Case Analysis/Mapping Analysis Mechanisms to Analysis Classes
/Design Model/Architecture Design/Mechanisms and Frameworks/Analysis, Design and Implementation Mechanisms
/Design Model/Architecture Design/Logic View/Design Elements/Mapping Analysis Classes to Design Elements
/Design Model/Architecture Design/Logic View/Design Elements/Mapping Design Elements to Proprietary Packages
/Design Model/Architecture Design/Quality Factors

Known bugs and TODO

Guides and documents

Detailed installation guide for Ubuntu and Debian
Interpret Definition Files
How to implement OpenUP with Bouml and DocGen

Links