Book a Demo

Author Topic: Model Reporting  (Read 3790 times)

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Model Reporting
« on: January 25, 2011, 03:43:47 am »
Hi All,

The 'default' HTML documentation template does some pre-emptive formatting that is unwanted!  I have tried hacking with the CSS sheets it produces to avoid this formatting but to no avail.

For example, it indents all but the first line of the HTML output.  Why?  I just don't know.  This same pre-emtive formatting is also applied in the RTF output.

Does anyone know of any 'community' resources I can use to generate some useful reports from my EA model?

I am particularly focused on Use Cases.

Thanks in advance,
Tom.

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Model Reporting
« Reply #1 on: January 25, 2011, 03:53:54 am »
To clarify further...

By 'community' resources I mean:
1.  'Style' resources for Generate HTML Report - I can only see <default> in the drop-down.  Presumably there is a way of adding more (otherwise, why have the option at all).  Instructions for adding more would also help.  Or where to look if I have missed some documentation somewhere (apologies will follow!).
2.  'Use Template' resources for Generate RTF Documentation - I have some of my own that kinda suck but would perhaps help someone else in a similar situation to me :-)

Fairly new to EA, so please bear with me if I am missing a big piece of the picture :-O

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Model Reporting
« Reply #3 on: January 25, 2011, 08:49:37 pm »
Thanks Simon.  These manuals are pretty helpful!

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Model Reporting
« Reply #4 on: January 25, 2011, 09:19:52 pm »
Mmm, actually I may have spoken too soon.  How to I get to the right place in EA?  I have searched everywhere for the 'Resources' window.  And I have looked in the help and searched through all of the 'Code Editors' but can't seem to find an HTML one anywhere!

Also, the Code Editors help and online manual entry says, "Please refer to the PDF found in the Config directory of your EA installation".  Well I looked in there and there is no PDF to be found!  Please can you help me find this missing manual because it may shed some light on what I am doing wrong?

I am using EA V8 Corporate Edition by the way.

Thanks,
Tom.

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: Model Reporting
« Reply #5 on: January 25, 2011, 09:49:07 pm »
Hello
The Resources window is accessed via
View->Other Project Tools->Resources or Alt-6
hope this helps

Graham
Using V12

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Model Reporting
« Reply #6 on: January 25, 2011, 10:07:36 pm »
Thanks Graham.

Tangent

  • EA Novice
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Model Reporting
« Reply #7 on: January 25, 2011, 11:13:00 pm »
Actually people, the pre-emptive formatting I found in the HTML Report generation is a bug!!!

I did a view source, in Internet Explorer, to see what I needed to change in my custom HTML template.  I found this...

Code: [Select]
<div class="ObjectDetailsNotes">Call Forwarding Unconditional (CFU) forwards all incoming calls.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Callers will be unaware that they have been forwarded.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Setting CFU for an End User means that all other Call Forwarding types are redundant - They cannot be changed as a result.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;CFU is set to Inactive by default.&lt;br /&gt;&lt;/p&gt;</div>
What this translates to is this (bored yet?):

Code: [Select]
<div class="ObjectDetailsNotes">Call Forwarding Unconditional (CFU) forwards all incoming calls.<br />[highlight]</p>[/highlight]<p>Callers will be unaware that they have been forwarded.<br /></p><p><br /></p><p>Setting CFU for an End User means that all other Call Forwarding types are redundant - They cannot be changed as a result.<br /></p><p><br /></p><p>CFU is set to Inactive by default.<br /></p></div>
Note the closing paragraph marker I have highlighted.

Question: Where it the opening paragraph marker?
Answer: There isn't one!  As a result, the first line of ObjectDetailsNotes is formatted using some default style.  Subsequent text is properly formatted.

Workaround is:
1.  Go to View->Other Project Tools->Resources (as per Grahams useful advice)
2.  Open the Templates folder.
3.  Right click on Web Style Templates and choose "Create HTML Template".
4.  In this template, goto "Content - Notes"
5.  Replace
Code: [Select]
<div class="ObjectDetailsNotes">#VALUE#</div> with
Code: [Select]
<div class="ObjectDetailsNotes">[highlight]<p>[/highlight]#VALUE#</div>6.  Save this template.
7.  Use it to generate your HTML Report - Hoorah!

Will post this issue to EA shortly.

Cheersis,
Tom.