Book a Demo

Author Topic: paste image in notes gives img src - and tables  (Read 3247 times)

Eugen Wiebe

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
paste image in notes gives img src - and tables
« on: November 25, 2010, 07:58:12 pm »
Hello all,
I use EA 8.0.859
I want to see added images in RTF generated document.

What I did:
1.created a package and there created a UseCase element
2.opened the properties of the UseCase and pasted to the Notes of this element an image from clipboard.
3.WOW->the image appears. Super.
4.Press OK
5.Open the properties of this UseCase again.
6. What do I see? This:
<img src="HTS_1.PNG" width="113" height="108" border="0" alt="graphic"/>

WHY??

Also when I generate RTF document of this, I see in the RTF document (in notes of element):
<img src="HTS_1.PNG" width="113" height="108" border="0" alt="graphic"/>

I WOULD LIKE TO SEE THE IMAGE.
Is it possible?
Or is there an other way?
(I do not want to set the Appearance of the Diagram to this Image)

An other question:
what is about tables?
Are simple HTML tables supported?
Will generated RTF document have really a table then?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: paste image in notes gives img src - and table
« Reply #1 on: November 25, 2010, 09:32:51 pm »
Eugen,

You cannot paste images in the notes fields. (although EA will trick you in thinking it is possible).
You could paste the image in a linked document, or use the image as an alternate image for about anything on a diagram (right click|appearance)
You can also paste the image directly on a diagram, this will create a boundary with the pasted image as alternate image.

Tables are also not supported by the notes fields.

Geert

Eugen Wiebe

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: paste image in notes gives img src - and table
« Reply #2 on: November 25, 2010, 10:09:23 pm »
@Sparx:
I have change requests:
1. Make possible to add images to elements
2. Make possible to add tables

These should be correctly added to RTF document

Why? Because in our original SystemRequirementSpecifcation in Word images and tables are often used. And if you want to create a SRS now in EA and then export to RTF (to give e.g. to the customer or use internally) it should contain the same elements as in original document.

Or describe an alternative way how to do this.
Thanks.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: paste image in notes gives img src - and table
« Reply #3 on: November 25, 2010, 10:44:46 pm »
Eugen,

I hope you have put those requests into a feature request, because that is the only way it might end up on Sparx's todo list.

Geert

Eugen Wiebe

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: paste image in notes gives img src - and table
« Reply #4 on: December 01, 2010, 08:07:08 pm »
Hi Geert, hello others,

little more explain:
I want to have a possibility for each element (e.g. Interface, Requirement or UseCase) add an image which describes this element and a table.
Afterwards I want to generate a RTF document and this image and/or table should appear near to this element.
Is it possible? If yes, how?

Why I ask:
We have a SRS (SystemRequirementSpecification) written in Word. This document describes: Interfaces, Requirements and UseCases.
For several elements, there are simple Word tables used (e.g. in size of 5x7). Also images are used to better describe an Interface.

Now was my idea to create a EA project (EA 8) and import the elements to EA (I have written / will extend an importer written in C#).
After that I would like to generate an RTF documentation of this EA project, and the RTF document should contain the image(s)/tables(s) of the used elements.

How would you do it?

Thanks