Book a Demo

Author Topic: Space before bullets in generated RTF  (Read 5287 times)

Aurelien

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • Senior Business Analyst
    • View Profile
Space before bullets in generated RTF
« on: June 19, 2008, 09:33:48 pm »
When I use bullets in element notes then, the first line is preceded by 11pt of vertical spacing. Does anyone know how to disable/tune this behaviour?

I want:
blah blah
* line 1
* line 2

Instead of
blah blah

* line1
* line 2

Thanks
A. Slodzian

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Space before bullets in generated RTF
« Reply #1 on: June 19, 2008, 09:40:38 pm »
I suspect (without proof) that the setting you need to adjust is actually the "space after" value of the preceding paragraph style. This could be tricky; you'd need to add a new paragraph style and somehow detect paragraphs that were followed by lists, and then assign the style.

I'm not sure how to go about this from EA, but at least this might help you narrow down the problem. If I'm correct then no amount of fiddling with the list style will solve the problem.

David
No, you can't have it!

Aurelien

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • Senior Business Analyst
    • View Profile
Re: Space before bullets in generated RTF
« Reply #2 on: June 19, 2008, 09:48:45 pm »
I had this checked before my first post, of course ;-) The 11pt verticale space appears clearly in the RTF as an attribute of the first bulleted line (in MSWord: Format->Paragraph->Spacing->Before).
A. Slodzian

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Space before bullets in generated RTF
« Reply #3 on: June 19, 2008, 10:13:35 pm »
Ouch!

Does the style of the second bullet line differ? If so, I suspect the template needs to be amended. My guess - I have not investigated this at all - is that the change is not likely something you can do from the editor within EA. [But try it out first, just in case.] You might be able to tweak a copy of one of the RTF templates. This is tricky business, but if the style is set for later bullets you should be able to do a cut and paste.

Unfortunately there is not much documentation on RTF out there. What there is seems either short on detail or sometimes incorrect, or both. Still, this is not the most daunting tweak, since the styles should already be defined and examples should be easy to find in the template itself.

David
No, you can't have it!

Aurelien

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
  • Senior Business Analyst
    • View Profile
Re: Space before bullets in generated RTF
« Reply #4 on: June 19, 2008, 10:50:21 pm »
The issue is in the generated RTF:

blah blah
{\pntext\pard\plain\f1\fs20 \'b7\tab}{\*\pn\pnlvlblt\ls4\ilvl0\pnhang\pnf1{\pntxtb \'b7}}\ls4\ilvl0\fi-375\li600\sb220\ql line 1\par\sb0 line 2

The first bulleted line has "space before" (sb) set by \sb220 (11pt)
The next line has it set to 0 (\sb0)

I had a look into the EA SQL repository and found no stored template for this in the t_rtf table (it is a table that stores some templates of RTF fragments) :-?

Maybe someone knows a workaround ?
A. Slodzian

Dermot

  • EA Administrator
  • EA User
  • *****
  • Posts: 591
  • Karma: +7/-0
    • View Profile
Re: Space before bullets in generated RTF
« Reply #5 on: June 20, 2008, 04:00:08 pm »
Hello Slodzain,
I have tested, confirmed and passed this on for reveiw - could you still send through an email with the above details to sparxsupport for our record:
http://www.sparxsystems.com/support/bug_report.html

Biges

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Space before bullets in generated RTF
« Reply #6 on: February 05, 2009, 08:42:05 pm »
It sill does not appear to be solved :(
Not even "Use style defined in template for notes" does help.