Book a Demo

Author Topic: RTF Template  (Read 3101 times)

sebastianBr

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
RTF Template
« on: May 18, 2011, 05:02:39 pm »
Hi everybody,

I created a new documentation template, based on the architecture template. I inserteted external requirments in a table. After generating the document each external requirement apperas in the correct element section. The problem is, that not all the requiremts, which are realized by this element, are written in one table, but in one table per requirment. That means, if an element realizes e.g. three requirements, there are three requirement tables with each one entry instead of one table with three entries.
The code in the template is:
Code: [Select]
{Pkg.Name}

{Pkg.Notes}
diagram >


{Diagram.Notes}
{Diagram.DiagramImg}
Figure: {Diagram.Figure}


< diagram
element >
{Element.Name}

{Element.Notes}
model document >
< model document

external requirements >
Requirements
Id      Phase      Details
{ElemExtRequirement.Name}      {ElemExtRequirement.Phase}      {ElemExtRequirement.Notes}
< external requirements

custom property >
< custom property
"Id","Phase","Details" are the first line entries of a 3x2 table, the ElemExtRequirement.* values are the entries of the second line. The "< external requirements" tag comes directly after the table with no extra line in between as described in the template generator tutorial.
I would be happy, if someone could help me, thanks in advance!

Kind regards
Sebastian

Bolli

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: RTF Template
« Reply #1 on: May 19, 2011, 07:07:51 pm »
Maybe i could give you my snippet out of my Template.

It works very well.

< diagram
element >

KeyAuthorRequirement
{Element.Alias}{Element.Author}{Element.Notes}
< element
child packages >

I hope there is no formatting error in it, however there is NO gap or free Line beetween the table AND the < element child package

Hope, this helps you because i'm in trouble with documentation as welll at the moment

Greetings

Bolli


sebastianBr

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: RTF Template
« Reply #2 on: May 19, 2011, 09:20:54 pm »
Hey Bolli,

thanks for your reply, but this di not help.

Regards
Sebastian