Book a Demo

Author Topic: Using RTF with Tables  (Read 3553 times)

dannydb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Using RTF with Tables
« on: September 02, 2007, 03:02:00 pm »
Hi there,

Can someone please help me with a little RTF issue I'm having?

I would like to create a report that, among other things, shows some details about connectors for a given element.

I'm trying split connector targets across rows in a table with columns separating information about each target...

E.g.

element >
(begin table)
-----------------------
| Connectors
-------------- (new row)
|connector >
|target >
|element >
|-------- (new row) -----------------------
|{Element.Type} | (new column){Element.FullName}|
|--------- (end row) -----------------------
|< element
|< target
|< connector
-----------------------
(end table)

The final result should look something like this:

---------------------------------------
| Connectors
|---------------------------------------
|Requirement   | REQ123: Do some stuff |
|---------------------------------------
|Requirement   | REQ456: Do more stuff |
|---------------------------------------
|Use Case      | UC789: Bla bla bla    |
|---------------------------------------

The problem I'm having is that I can't seem to put a table row in between the content of the < element < target < connector tags. Or in other words it is not possible print out contents of multiple sub-elements across rows in a table.

If someone has been successful with this could you attach a copy of your RTF or perhaps attach a screen shot or something?

Hoping to hear from someone.

Cheers,

Dan

Aurelien

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • Senior Business Analyst
    • View Profile
Re: Using RTF with Tables
« Reply #1 on: September 11, 2007, 10:21:01 pm »
You should try:
element >
connector >
target >
element >
(begin table)
-----------------------
| Connectors
|-------- (new row) -----------------------
|{Element.Type} | (new column){Element.FullName}|
|--------- (end row) -----------------------
-----------------------
(end table)
< element
< target
< connector

I didn't test but from my rtf experience it should do what you expect (inccluding the fact that the "connectors" section will appear iff there are connectors to show).

A.S.
A. Slodzian

dannydb

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Using RTF with Tables
« Reply #2 on: September 12, 2007, 02:34:49 pm »
Thank you for your reply Slodzian.

Indeed you are correct, however the solution you presented does not fit the problem I'm having. Also, I wanted to include some other information earlier on in the table that was not related to the connector so the solution you presented wouldn't achieve this.

E.g. The extra information I'd like to include is shown here:

element >
(begin table)
-------------------------------------
| {Element.Notes}   | {Element.Status}
-------------------------------------
| {Element.Author}  | {Element.Version}
-------------------------------------
| Possibly some other information here
--------------
| Connectors
--------------
|connector >
|target >
|element >
|-------- (new row) -----------------------
|{Element.Type} | (new column){Element.FullName}|
|--------- (end row) -----------------------
|< element
|< target
|< connector
-----------------------
(end table)


The problem I'm having is getting that new row to sit in between the connector > target > element > tags.

E.g.

|connector >  
|target >  
|element >  
|-------- (new row) -----------------------  
|{Element.Type} | (new column){Element.FullName}|  
|--------- (end row) -----------------------  
|< element  
|< target  
|< connector  

The RTF editor in EA seems to force the new row above the connector > tag.

Like this...

|connector >  
|target >  
|element >  
| <-- I set my cursor here and try to insert new row
|< element  
|< target  
|< connector

but it ends up putting the new row up on top like this...

|-------- (new row) -----------------------  
|
|--------- (end row) -----------------------  
|connector >  
|target >  
|element >  
|
|< element  
|< target  
|< connector