Book a Demo

Author Topic: RTF Template Report Diagram Size Issue  (Read 6752 times)

dmf

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
RTF Template Report Diagram Size Issue
« on: March 01, 2007, 09:51:22 pm »
My diagrams inserted from the model are too wide by about 50%!  How can I ensure they are inserted with the correct width?

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #1 on: March 01, 2007, 11:19:21 pm »
My intitial reaction was to say "Only document 2/3 of your system" but since I have recently been accused of suffering from aquired acute sarcasm syndrome I have refrained.

Please read    http://www.catb.org/~esr/faqs/smart-questions.html

In short, there is no way we understand what it is you are trying to do or achieve from such "one-liners".

Having said that, please dont get offended in any way by this post - we'll try to help if we can.

regards
bruce
« Last Edit: March 01, 2007, 11:19:57 pm by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #2 on: March 02, 2007, 06:58:44 am »
I've had something a bit like this happen when pasting into Word. Changing the Clipboard Format setting (via Tools | Options and the drop-down at the upper right) improved my results.

This was some time ago - in EA version 4.x days - so may not be relevant now. Nor do I know if this will have any effect on RTF documents. Still, it's worth a try; the worst situation that could result is the one you're in now.
No, you can't have it!

dmf

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #3 on: March 04, 2007, 01:40:53 pm »
Sorry for the brevity of my post :(

I am trying to generate an RTF Report, using the template editor, containing model diagrams.  With the "old" report generator, the diagrams appear with the correct width.  With the template editor, using the {Diagram.DiagramImg} field, ALL diagrams are approx 40% too wide for the page, forcing me to manually resize each diagram in the generated document.  The text is fine, however.

SaschaR

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #4 on: March 09, 2007, 12:06:18 am »
Hi,
I have the same problem with my rtf templates. It seems to me, that the rtf generator doesnt scale the diagram.
Are there any suggestions?

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #5 on: March 09, 2007, 05:57:46 am »
I don't think that rtf version 3 (which is what I think EA still uses supports diagram scaling.  The image is just stuck into the doc as a generally "stuffed up" bitmap/wmf.  

I have had the same problems with image sizing for over 2 years, the only work around I know it to manually re-size the image in the final document.

Suffice to say, I have mentioned before, that rtf is not an information interchange standard.

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

dmf

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #6 on: March 11, 2007, 07:35:05 am »
I wonder why this works correctly with the "old" report generator, but not the template editor?  ???
« Last Edit: March 11, 2007, 07:35:27 am by dmf »

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #7 on: March 12, 2007, 01:03:18 am »
I do know that the "old" generator produces pure rtf spec 2 or 3 something ??? .. whatever it was some time ago (too tired to go and fight with the rtf spec websites again).

I do not know, having never r_e_a_l_l_y tried to find out, what rtf spec the new generator is trying to comply with.

Having said that, let me now say this.  Regardless of EA, I have had exactly very little success with anything that attempts to produce anything past M$ rtf 3.7 (?? I think ??) as a viable document interchange mechanism.  This includes many attempts to get rtf to interchange between different native versions of Office.  In short, it as much a standard interchange mechanism as trying to use a line printer as a scanning device.

And.. as much as XMI, which can't even decide on a common definition, let alone a standard, of a <diagram> (which is probably the most germaine atom of a UML model)... I reckon !!!, that its about time that Sparx either gave up trying to flog this "new" generator and chucked it or ... wait for it... gave up stuffing new and generally useless (non-working( functionality into the product and fixed the basics.


regards
bruce ... currently looking for alternatives (ooh ooh a threat.)
« Last Edit: March 12, 2007, 01:08:23 am by sargasso »
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

ukmtk

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: RTF Template Report Diagram Size Issue
« Reply #8 on: March 12, 2007, 01:31:09 am »
I must admit that I too would like to see a stabilization phase in EA development. I.e. don't add new functionality but try to fix what is already there or make it easier/more convenient to use.