Book a Demo

Author Topic: RTF Generator - missing diagrams  (Read 4306 times)

rob735373

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
RTF Generator - missing diagrams
« on: March 04, 2010, 12:00:51 pm »
Hi, I'm currently generating an RTF containing a usecase model, which includes all diagrams.

The structure of the model is simple and not very deep, with diagrams for each usecase at the same nested level for each.

My document is almost perfect. My problem is that out of about 30 diagrams, 2 aren't being output to the RTF document at all. Instead, I get the template macros where the image should be appearing in the output RTF document (not limited to just the image: name, notes, etc. also have the same problem):

diagram >

{Diagram.DiagramImg}

< diagram

The strange thing is that it is only for 2 of the diagrams all others are just dandy - I have checked all diagram options, etc. and I just can't find out the cause.

edit: ah-ha - it seems it's the first diagram in the section that seems to be the problem. If I reorder the elements, the problems shifts to the new first element. I still have no idea why.

Has anyone else experienced this?

Cheers, Rob.
« Last Edit: March 04, 2010, 12:46:49 pm by rob735373 »

Shawn Stepper

  • EA User
  • **
  • Posts: 32
  • Karma: +0/-0
    • View Profile
Re: RTF Generator - missing diagrams
« Reply #1 on: March 05, 2010, 05:29:12 am »
I've experienced something like this. Depending on which package level I ran the RTF Report, the diagrams would show or not show. I didn't make the correlation to the first element being the one not showing, but I believe that was the case for mine too. You might want to file a defect with Sparx.

Per Lindqvist

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: RTF Generator - missing diagrams
« Reply #2 on: March 12, 2010, 12:05:51 am »
Hi, maybe you have checked the 'Skip root package' under Generate RTF documentation tab Advanced? That might be a reason for not getting the first diagram. Another reason could be that the RTF Report Option for the package is set to 'Exclude package from RTF Reports'.

Regards
Per

rob735373

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: RTF Generator - missing diagrams
« Reply #3 on: March 12, 2010, 10:24:15 am »
Hi Per, that was one of my first thoughts. Unfortunately, not the cause.

In fact, if I reorder the elements in the project tree so that a different one appears first, then that element's diagram disappears, and the previously missing diagram is output properly.

Thanks, Rob.

NilsH

  • EA Novice
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: RTF Generator - missing diagrams
« Reply #4 on: April 08, 2010, 10:48:29 pm »
Hi Rob,

I experience the same problem with EA build 848. My diagrams are childs of requirement elements.

Regards,
Nils