Book a Demo

Author Topic: Element notes' bullets items & RTF generation  (Read 17498 times)

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Element notes' bullets items & RTF generation
« on: September 17, 2009, 10:47:03 pm »
Hi,
I am a bit surprised not to find any previous post  concerning this subject  in any forum. So, sorry if I was not good enough to search correctly...

My problem is the following : when I use bullet points in Element notes, and then generate RTF documents from the packages that contains these elements, it seems that in the generated RTF these bullets are no more displayed since the RTF file begins to be quite "big".

More precisely : my RTF file size is 6Mo, and bullets are correctly displayed until the 32th page (over 169!) and then here what happens in the middle of an element note's display :
Quote
La validation implique :
•      xxxxxxx ;
yyyyyyy ;
zzzzzzzz ;
In the element's note, the "yyyyyy" and "zzzz" lines are "bulletted" exactly in the same way that "xxxxx" line is !
Every next "bulletted" lines in these document are then displayed without any bullet.

My EA version is 7.5.847, and I open my RTF file with word (will try this afternoon to open it with openOffice).

Any Idea ? thanks in advance for your help.

Ronan

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Element notes' bullets items & RTF generation
« Reply #1 on: September 17, 2009, 10:51:27 pm »
I suggest you first upgrade to 848.
That was sort of an emergency build mostly because of some serious issues with the RTF document generation.

Geert

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #2 on: September 18, 2009, 12:38:35 am »
unfortunately this does not fix the problem.
I have tried to open this RTF file with other editors, and results are... quite suprising !!
 - with WordPad : the "bullets display" problem magically disappears !!! unfortunately images disappears as well  :(. Nb : if I save this wordpad-opened file as an RTF, and then re-open it with word : bullets appears correctly !
 - with open-office : bullets are correctly displayed, but fields appears with their field names, not with their field values ! (maybe I forgot a display option in OO ?).
Quote
<Pkg.Name>
<Pkg.Notes>

<{Pkg.Name}>
<Pkg.Notes>

Have any idea ???
I know that RTF format is always a tricky point with text editors, but is there any RTF  text editor with which EA is "fully compatible" ???

Anyway, thanks for this incredibly quick first reply to my question  :)

Ronan



cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #3 on: September 18, 2009, 01:11:19 am »
Have sent a bug report to Sparx... let see...
Anyway if somebody have some idea ... :)

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #4 on: September 18, 2009, 06:52:49 pm »
Hi,

Maybe your workaround with Open Office seems the best viable way.
I am pretty sure you didn't miss any OO option, but forgot to check the 'Overwrite Document Fields' option in the 'Advanced' tab of EAs RTF Generator dialog.
The fields should show correctly when opening the document in OO.

Sparx should consider to build in an option to remember your settings in the RTF Generator dialog (maybe for other dialogs as well). I forget this all the time, and especially if you're generating documentation from large models, it's quite annoying, to have the need for an extra roundtrip all the time  >:(.

HTH
Günther

Luis J. Lobo

  • EA User
  • **
  • Posts: 252
  • Karma: +0/-0
  • IT Consultant
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #5 on: September 18, 2009, 07:41:10 pm »
Hi Günther,

The "Resource Documents" functionalidy does exactly this: remember the RTF generation dialogs settings for each type of document.

Find "Resource Documents" in the help.

Regards,

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #6 on: September 18, 2009, 08:00:08 pm »
I just had a response from the Sparx support.
It works perfectly by doing the following :
  • check  "Optimize for Open Office" in the "Generate" tab of the RTF generation dialog
  • open this file in OO, then save it in the word format
Then the bullets items are correctly displayed.

Too bad : this option is not associated with RTF generator patterns  :-/

However, they seem to want to investigate the problem further : the ticket is not closed. Waiting for their news ...

More funny   :P, I had other problems with word : some text restitution are sometimes "randomized"... I mean that word sometimes displays "olleH rdwo" instead of "Hello world".
I thinks that it may be related to the word version we use here (2003), but infortunately we have no choice. Anyway, results are hazardous : some of my colleagues have the randomization problem, some don't... and we have exactly the same configuration on our computers !!!
And generating RTF with the "Optimize for OpenOffice" resolves this point without any need of opening the RTF file with OO (opoening it with word is sufficient) !! ... where this is not sufficient for the bullets problematic. :P

Hope this really annoying point will be fixed soon


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #7 on: September 18, 2009, 08:58:52 pm »
I suspect the problem is not with word, but something to do with the EA RTF generator.

That's just a guess of course. But in my experience it has been me that has randomized the spelling in Word 2003, not Microsoft.
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Element notes' bullets items & RTF generation
« Reply #8 on: September 19, 2009, 02:33:04 am »
Wow, sound like an add for a great new feature:
EA generator, now with Randomizer! ;D

Geert


...Yeah, I know, but its Friday night, cut me some slack...


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #9 on: September 20, 2009, 12:02:38 am »
Perhaps EA Randomizer, now with generator!

Saturday morning, too early...
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #10 on: September 21, 2009, 08:30:01 am »
The 'randomized' problem was fixed in build 848 (I believe).

The 'Overwrite Document Fields' option used to be saved with the templates, but we also allowed it to be overwritten for a particular generation.

The 'Optimize for Open Office' serves the same purpose, including changing some metafile rendering behavior to suit the OO renderer.  This is saved for the current user instead of to the template on the basis that if you are using OO , you will probably do that regardless of the template being used.

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #11 on: November 04, 2009, 01:17:21 am »
Hi,
unfortunately it is not fixed in build 848.
I also still have no news from Sparx concerning my bug request   :-? this is not usual ...
Has anyone else already have encountered some "RTF-Generated files" rendering problems in word ?????????

cty

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #12 on: November 04, 2009, 04:16:40 am »
Quote
Hi,
unfortunately it is not fixed in build 848.The randomization problem has been fixed in build 848, but unfortunately the "bullet display" problem still occurs.
I also still have no news from Sparx concerning my bug request   :-? this is not usual ...
Has anyone else already have encountered some "RTF-Generated files" rendering problems in word ?????????

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Element notes' bullets items & RTF generation
« Reply #13 on: November 04, 2009, 06:24:06 pm »
Have you tried it in 849?

Geert

Graham_Moir

  • EA User
  • **
  • Posts: 749
  • Karma: +10/-15
    • View Profile
Re: Element notes' bullets items & RTF generation
« Reply #14 on: November 04, 2009, 08:53:59 pm »
or even 850