Book a Demo

Author Topic: insert a table in a requirement  (Read 3927 times)

info007

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
insert a table in a requirement
« on: February 03, 2009, 01:03:46 am »
Hi,

can you please help me in inserting a table in a requirement.After a doubleclik on a requirement, in the field "notes",I made a copy/paste from a world page and i get this code:

Code: [Select]
<table border="1" cellpadding="5" cellspacing="0" style="border-collapse: collapse; border: none">    <tr>    <td valign="top" width="38" style="border: solid black 1px;">T1</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">01</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">500</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">22</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">22</br>    </td></tr>    <tr>    <td valign="top" width="38" style="border: solid black 1px;">T2</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">02</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">200</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">00</br>    </td>    <td valign="top" width="45" style="border: solid black 1px;">00</br>    </td></tr></table>


The problem is when exporting to Rtf document,i got the same code in sted of getting the table inserted.

thank you very much.


bioform

  • EA User
  • **
  • Posts: 230
  • Karma: +0/-0
  • Forty-Two?
    • View Profile
Re: insert a table in a requirement
« Reply #1 on: February 03, 2009, 04:24:29 am »
That is a limitation of the Note field. It does not support HTML, only a subset of the RTF text attributes...

I just checked and it is also not supported in version 7.5 Beta Release 1 (subset of RTF for notes is a recent addition)

However, there may be an approach you could use with the RTF generator, maybe look into that in the help/forum...

Hope that helps a little bit!  :-[
David
Time is what keeps everything from happening at once, Space is what keeps it all from happening to you. <unknown>

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: insert a table in a requirement
« Reply #2 on: February 03, 2009, 09:35:50 am »
I have already submitted a Feature Request for Tables in Notes fields.

In the interim, I attach a Linked Document to the element.  Linked Documents support tables and many other MS-Word features.  The RTF Generator calls Linked Documents 'Model Documents'.

HTH.
« Last Edit: February 04, 2009, 06:04:01 pm by dworkman »
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: insert a table in a requirement
« Reply #3 on: February 03, 2009, 10:27:40 am »
Dorian wrote:

>> The RTF Generator called Linked Documents 'Model Documents'.

Well, sort of. Within an RTF document template, there is a <model document> tag that marks the point at which a linked document  is inserted into the report.

This should not be confused with the Model Document element, which uses a whole template all of its own in generating a complete virtual document or a section of a virtual document.
Best Regards, Roy

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: insert a table in a requirement
« Reply #4 on: February 03, 2009, 12:41:46 pm »
Yes I agree it's a little confusing. I would recommend that tag be renamed Linked Document Roy, if possible. Thanks.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman

info007

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: insert a table in a requirement
« Reply #5 on: February 03, 2009, 06:24:57 pm »
and What about the inserting  a picture? I think it's the same problem of the table,no?


Best regards,

Dorian Workman

  • EA User
  • **
  • Posts: 194
  • Karma: +0/-0
    • View Profile
Re: insert a table in a requirement
« Reply #6 on: February 04, 2009, 02:32:16 am »
Yes.  I also use a Linked Document for this.
<a href="http://www.linkedin.com/in/dorianworkman" ><img src="http://www.linkedin.com/img/webpromo/btn_liprofile_blue_80x15.gif" width="80" height="15" border="0" alt="View Dorian Workman