Book a Demo

Author Topic: insert a picture or a table in a requirement  (Read 2437 times)

info007

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
insert a picture or a table in a requirement
« on: February 03, 2009, 11:51:08 pm »
can you please help me to insert a picture or a table in a requirement?
I attached a Linked Document(which contain a picture and a table) to the element(requirement),but after generating the rtf report(I selected the package and than pressed F8),the picture and /or the table doesn't appear.
RoyC said to me:
there is a <model document> tag that marks the point at which a linked document  is inserted into the report.
I can't find this?

is there a simple method that allows to insert pictures simply from the field "notes" relative to a requirement.

Thank you very much in advance.

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: insert a picture or a table in a requirement
« Reply #1 on: February 04, 2009, 10:21:05 am »
Info007

Look at this Help topic:

http://www.sparxsystems.com/uml_tool_guide/enterprise_architect_reports/selectingmodelelementsford.html

You might want to check the other topics around this one, all of which deal with setting up an RTF Template from which to generate reports.

Let's assume you have created a linked document for the Requirements element, and this linked document contains the tables and pictures you want.

Open the RTF Style Template Editor. In the left-hand panel, called Sections, expand the Package | Element portion of the hierarchy (and select the check boxes against Package and Element too).

Look down the list of items under Element. Probably towards the end of the list, you should see the item Model Document. Select the check box against it.

Now consider where in the Element section in your report you want the pictures and/or tables from your linked document to display. Let's say just after Scenario. Click on the Model Document item in the list and then click on the 'up hand' icon at the top of the Sections panel. Keep clicking on this icon until Model Document sits just after Scenario.

Look at the Content panel to the right of the Sections panel. You should see listed in the text a number of tags in bold, highlighted in [highlight]yellow[/highlight]. One pair of tags is [highlight]Scenario>[/highlight] [highlight]< Scenario[/highlight], and immediately after that is the pair of tags [highlight]model document>[/highlight]  [highlight]model document>[/highlight].

In the Sections panel, deselect the Model Document checkbox. The [highlight]model document >[/highlight] tags disappear from the Content panel. Select the Model Document checkbox again - the [highlight]model document >[/highlight]tags reappear.

When you generate your RTF report using this template, the contents of the linked document are included in the report between the two [highlight]model document >[/highlight] tags.

I hope this helps.

Please note, you don't need to post your query in three different places. Most people check the whole forum, and - as you found with Dorian - someone will respond promptly.
Best Regards, Roy

info007

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: insert a picture or a table in a requirement
« Reply #2 on: February 04, 2009, 06:09:07 pm »
I am sorry because I posted more than one time.  :-[

Thank you very much for your help