Book a Demo

Author Topic: Gen.RTF looses indent in EA 8 (it worked in EA 7)  (Read 5812 times)

HansAdmiraal

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
    • Admiraal IT
Gen.RTF looses indent in EA 8 (it worked in EA 7)
« on: February 07, 2011, 07:58:30 pm »
We just migrated from EA 7 to EA 8 (8.0.861). Now, the generated RTF documents are not formatted correctly anymore.

In the template, I have included {Att.Notes} on a single line, indented. The indents are lost at some random spots. I can't find any pattern in where the indents are kept and where they are lost.

Example piece of RTF generated by EA 7:

   MyClass
        MyAttribute
            Type: string
            This is the contents of the note of MyAttribute


Example piece of RTF generated by EA 8:

   MyClass
        MyAttribute
            Type: string
This is the contents of the note of MyAttribute


You see, the note is left-aligned instead of indented.
Sometimes, only a part of the note looses the indent.
I tried several options like "Use style defined in template for notes" and "Optimize for Open Office", but none worked.

Is there a solution (workaround) available?

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #1 on: February 08, 2011, 06:37:39 am »
If you had indentation in V7 I'm impressed,
it didn't come out of the box.

Personally I think that indentation should be added to the formatting capability of notes (OK then, I think notes should be mini ODF documents).

Is it possible that in V7 you used tabs to achieve indentation,
and in V8 tabs do not display the same way?

The only other way I have been able to achieve indentation in notes is (yuck) to use leading spaces.

And while we are on the subject I'd like to see nested bullets and numbering too ...
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

HansAdmiraal

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
    • Admiraal IT
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #2 on: February 08, 2011, 06:49:53 pm »
Quote
Personally I think that indentation should be added to the formatting capability of notes.

Maybe there's a misunderstanding here: I didn't put the indentation inside the note (that's not possible), but only in the template.

Both the notes and the template were not changed after migrating from EA 7 to EA 8.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #3 on: February 09, 2011, 06:04:31 am »
Ah, my misreading.
All I can suggest is to open the template and save it, and open the note and save it
(make a trivial change, eg add and delete a character)
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

HansAdmiraal

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
    • Admiraal IT
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #4 on: February 14, 2011, 10:59:46 pm »
I've tried it, but it still does not work.

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #5 on: February 16, 2011, 10:34:12 am »
I've had similar problems with RTF templates. Found by recreating the template in EA V8.0 from scratch it rectified most of the problems. Not an ideal solution I know  :(
Happy to help
:)

HansAdmiraal

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
    • Admiraal IT
Re: Gen.RTF looses indent in EA 8 (it worked in EA
« Reply #6 on: February 22, 2011, 11:07:06 pm »
I have found a workaround for it. Instead of using indents, I now use a table. The first column is empty and the text is in the second column, so it looks as if the text is indented.  [smiley=thumbsup.gif]