Book a Demo

Author Topic: RTF headings  (Read 5847 times)

pbergman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
RTF headings
« on: January 24, 2006, 10:22:53 am »
Hi,
I had problems generating “sequential” headings when defining my own RTF template.  

What I am trying to do is to increase the heading for each sub-package in my model.

For example, using the folders:

Requirements
           Functional Requirements
                       REQ 1
           Non-functional Requirements
                       REQ 2

I would like to generate the following RTF output and formatting:

Requirements (Heading 1)
Functional Requirements (Heading 2)
REQ 1 (Heading 9)
Non-functional Requirements (Heading 2)
REQ 2 (Heading 9)

I managed to create such sequential headings using the Legacy RTF generator. However, this generator does not provide me with the desired customization options for the output.

Is it possible to create such output and if so, how?
Regards,

Per

StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
Re: RTF headings
« Reply #1 on: January 24, 2006, 10:49:38 pm »
hi per,
in the "document options" you can set the "adjust heading levels" to "none" or any other heading level.
hth
Stefan

Tuser

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
  • So much stuff to do, so little time...
    • View Profile
Re: RTF headings
« Reply #2 on: January 25, 2006, 02:16:12 am »
A true newbie question; How do you insert headings in RTF?

StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
Re: RTF headings
« Reply #3 on: January 25, 2006, 03:09:50 am »
select a paragrapf and assign a style from "heading 1" to "heading 9" (You should create a new template based on a given one like (basic template) first, then <edit current>)
hth Stefan

pbergman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: RTF headings
« Reply #4 on: January 25, 2006, 08:15:33 am »
Thank you for the information it put me in the right direction.

However, it seems that the last level before the elements takes the same format as the element.

For example, using the template:

package >
{Pkg.Name}
element >
{Element.Name}
< element
child packages >
< child packages
< package

on the structure:
Requirements
  Functional Requirements
    Group A
       REQ 1
  Non-functional Requirements
    Group B
       REQ 2

generates:

Requirements (Heading 1)
Functional Requirements (Heading 2)
Group A (Heading 9)
REQ 1 (Heading 9)
Non-functional Requirements (Heading 2)
Group B (Heading 9)
REQ 2 (Heading 9)

If you exclude the element section from the template, the heading for Group A and Group B is correctly assigned to Heading 3.

Any ideas?
Thanks in advance,
Per






StefanPears

  • EA User
  • **
  • Posts: 119
  • Karma: +6/-0
  • Unwissenheit schützt vor Erkenntnis nicht
    • View Profile
Re: RTF headings
« Reply #5 on: January 25, 2006, 09:41:59 am »
The RTF-Generator is sometimes queer. Try to add some Newlines in your template and see if your problem still exists. If it is solved, you can size the paragraph-markers to point 4 or try to hide them (ctrl-h). If not, just tell me and I'll have a closer look tomorrow -- or s.o. else.
Stefan

pbergman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: RTF headings
« Reply #6 on: January 26, 2006, 09:14:06 am »
Inserting the extra linebreaks fixed the issue.
Hiding these (ctrl+h) did not hide them in the actual RTF output, they seem to only be hidden in the template.

I will try to work with setting the "blank" row to be small. However, I do not especially like extra paragraph breaks as they affect the formatting and pagination rules in the word processor. Ideally, this issue would fixed in future versions of EA.

Thank you for your assistance.

/per

Tuser

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
  • So much stuff to do, so little time...
    • View Profile
Re: RTF headings
« Reply #7 on: February 02, 2006, 07:07:40 am »
I tried to generate enumerated headings tody and failed misserably. I cannot get the child packages to ident and my ordering is weird. My RTF template looks like

package>
{Pkg.name} [Heading2]
element>
...
<element
child package>
<child package
<package

I tried inserting a header3 in the child package, i.e.

child package>
{Pkg.name} [Heading3]
<child package

But the generated document simply contained the text '{Pkg.name}', i.e. it has not been substitutet with the package name. Inserting newline infront and behind didn't change this.

What have I misunderstood?

pbergman

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: RTF headings
« Reply #8 on: February 06, 2006, 07:58:27 am »
To insert the package name, you have to right-click in the package section and select Name from the dropdown list. This will insert the field {Pkg.Name} in the template.  Format the line to the appropriate style, in your case Heading 2,  by selecting the style from the Style dropdown list in the toolbar.


/Per

Tuser

  • EA User
  • **
  • Posts: 45
  • Karma: +0/-0
  • So much stuff to do, so little time...
    • View Profile
Re: RTF headings
« Reply #9 on: February 06, 2006, 08:00:56 am »
Cheers.