Author Topic: report templates  (Read 165 times)

GrahamL

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
report templates
« on: July 15, 2019, 10:31:48 pm »
Hi
Is there a way to create a document template that can display child packages in a different styles ?
This is my template
Code: [Select]
package >
Package Name : {Pkg.Name}
{Pkg.Notes}

diagram >
{Diagram.DiagramImg}
< diagram


Classes

element >
{Element.Name}

{Element.Notes}

child elements >
< child elements
< element
child packages >
< child packages
< package
This displays all child packages in the same style, but I would like them to use different settings (e.g. a different heading font)
Anyone know how to do this?
Thanks

PeterHeintz

  • EA User
  • **
  • Posts: 811
  • Karma: +47/-17
    • View Profile
Re: report templates
« Reply #1 on: July 15, 2019, 10:39:44 pm »
Hi,
I am only 99.99% sure, because sometimes I find some tricks to make impossible things possible.
However I remember that I tried it again, but gave it up. What is missed, is that you can not use the template selector for packages as well.
Best regards,

Peter Heintz

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9378
  • Karma: +258/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: report templates
« Reply #2 on: July 16, 2019, 12:09:18 am »
Normally if you use say the style Heading1 for the package title, the subPackages will use Heading2, Heading3 etc...

Geert

GrahamL

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: report templates
« Reply #3 on: July 16, 2019, 12:27:39 am »
Hi Geert
Yes that seems to be the case. Can I change the fonts and colours for Heading 1 etc?
Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 9378
  • Karma: +258/-27
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: report templates
« Reply #4 on: July 16, 2019, 02:19:31 am »
Yes you can. Look for the term "Stylesheet" in the help.
It's a bit of a dark art to actually change styles, but eventually you'll get the hang of it.

Geert