Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: jmcdonnell on August 14, 2012, 11:40:30 pm

Title: RTF Generation Formatting...
Post by: jmcdonnell on August 14, 2012, 11:40:30 pm
Hi all,

I'm having some serious trouble in getting EA to do what I want it to!

When generating .rtf documentation I want my document to format in the following manner:

[highlight]Title blurb

BPMN data flow diagram 1

Associated requirements

BPMN data flow diagram 2

Associated requirements

etc...[/highlight]

I get as far as the first diagram then ALL requirements drop in then nothing else...

Any advice will be greatly appreciated!




Joe
Title: Re: RTF Generation Formatting...
Post by: Ian Mitchell on August 15, 2012, 02:04:08 am
Have a look at eaDocX. Much simpler
Title: Re: RTF Generation Formatting...
Post by: Eve on August 15, 2012, 08:45:21 am
No problem to do that in EA.

You want a template like the following.

Title Blurb
[highlight]package >[/highlight]
{Pkg.Name}
[highlight]diagram >[/highlight]
{Diagram.DiagramImg}
[highlight]element >[/highlight]
{Element.Name}
[highlight]< element
< diagram
< package[/highlight]

Put anything you need in the element and diagram sections.
Title: Re: RTF Generation Formatting...
Post by: OpenIT Solutions on August 29, 2012, 03:04:16 am
I suspect it want be quite as simple as indicated. I'm guessing you have a BPMN diagram and that you have either added embeded Requirements to each Activity (using the Rules->Requirements sheet in the Activity property sheet) or formed a relationship (should be a Realisation) between your Activities and a Requirement object.

If the first is the case you will need to add the

Package -> Element -> Requirement

the second, add

Package -> Element -> External Requirement

to your template.