Book a Demo

Author Topic: RTF report not displaying diagram elements  (Read 7887 times)

Ainsley Haslett

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
RTF report not displaying diagram elements
« on: August 20, 2010, 08:03:32 am »
I am attempting to generate an RTF report for use case structured scenarios. The actors and some use cases are not contained in the package having the diagram, and when I generate the RTF the report does not automatically include all use cases and actors displayed on the contained diagram, as I would expect.

I am using EA v8.0.858
I have set the diagram properties 'Document each container element in RTF' in the diagram properties screen
I have set 'Include all diagram elements in report' in the 'Generate RTF Documentation' screen before clicking 'Generate'

Is there a bug that conflicts use case scenarios with the ability to include diagram elements in the report? I ask this becase the standard template 'use case scenario template' does not work either even after modifying to include the sections 'child packages' 'Element > Child Elements' etc.

The closest I can get is including 'Diagram > Element' but this only works if only the 'name' field is included and breaks if 'notes' is also displayed.

Any help would be greatly appreciated!

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: RTF report not displaying diagram elements
« Reply #1 on: August 23, 2010, 08:19:19 am »
Not sure if you have covered this off, but the template needs to have Package > Package element selected

Simon [1]
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Ainsley Haslett

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: RTF report not displaying diagram elements
« Reply #2 on: August 24, 2010, 09:04:07 am »
Didn't make any difference I'm afraid. I think it might be an issue unique to Use Cases... awaiting Sparx to come back on this

Ainsley Haslett

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
    • View Profile
Re: RTF report not displaying diagram elements
« Reply #3 on: August 31, 2010, 02:15:11 pm »
I solved the problem so wanted to post on details of the fix:

The key is to include the tags Diagram and Diagram > Element

Don't add any fields into the tags, just leave the tags there. To fix the problem I had to recreate the template from blank as the OOTB template did not work when I attempted to modify it.

So in summary, it is possible for use cases from alternative packages to be rencered into the RTF based on being present in the diagram - it is just fiddly having to create a use case diagram template from new.