Book a Demo

Author Topic: How to export/import user theme?  (Read 7696 times)

jakson

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
How to export/import user theme?
« on: August 03, 2015, 06:03:03 pm »
I set theme in EA (fonts, colors, ...) and now I want each and every user to have exactly the same theme (fonts, colors, ...).

How to export theme (and then import it on other EA installations)?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: How to export/import user theme?
« Reply #1 on: August 04, 2015, 08:25:34 am »
It's saved to %appdata%\Sparx Systems\EA\diagram_themes.xml

Distribute that to other users and you'll be fine.

jakson

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: How to export/import user theme?
« Reply #2 on: August 04, 2015, 06:06:45 pm »
My %appdata%\Sparx Systems\EA\ folder has:

correct.tlx
EAExample.eap
Editor Configuration
Forum History
key.dat
RTF Templates
Search Data
User Views
userdic.tlx

It doesn't contain any *themes*.
(EA v11.1.1113 Corporate)
« Last Edit: August 04, 2015, 06:07:33 pm by jakson »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: How to export/import user theme?
« Reply #3 on: August 05, 2015, 08:36:04 am »
Have you created any custom themes?

jakson

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: How to export/import user theme?
« Reply #4 on: August 05, 2015, 07:44:43 pm »
Quote
Have you created any custom themes?

Simon, please.... I'm not "blonde" :)
Yes, I've created (and saved) 3 themes (MyTheme, MyTheme1, ...) and I can see it in Windows registry (but not in any file!):

[HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS]

"LAST_THEME"="MyTheme"

"THEME_DOCUMENT"="<DiagramThemes>

      <Themes ThemeName=\"MyTheme\" Paper=\"14465450\" ElemFillColor=\"14938876\" ElemLineColor=\"0\" ElemTextColor=\"0\" ShadowClr=\"12632000\" AttrColor=\"139\" MethColor=\"4210688\" NoteColor=\"16249847\" NoteTextClr=\"0\" NoteLineClr=\"0\" ConstraintLineClr=\"0\" NoteCompartmentText=\"8421504\" Screen=\"14803425\" ConColor=\"0\" Behavior=\"8421504\" ElemBorderWidth=\"1\" ConnectorLineWidth=\"1\" NoteItalic=\"0\" PaperGradientFill=\"1\" ElementGradientFill=\"1\" FontName=\"ARIAL\" FontSize=\"8\" BkgImage=\"\" Shadow=\"1\" GRADLUM=\"50\" GRADSTART=\"80\" ComplexGradient=\"0\" RoundEdges=\"1\" UseGroupColours=\"0\"/>

[...]

PS
Exporting it (and more) to *.reg file and then importing that *.reg on another computer doesn't change EA theme :/

PS2
I'm using EA v11 Corpo.
« Last Edit: August 05, 2015, 07:46:31 pm by jakson »

jakson

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: How to export/import user theme?
« Reply #5 on: August 17, 2015, 06:21:27 pm »
Quote
It's saved to %appdata%\Sparx Systems\EA\diagram_themes.xml
Bump it again.
I have EA v11.1.0.1113 and no *theme*.xml file (even *.xml file) in mentioned directory.
I've found sth connected with EA themes in Windows registry, but can't make it work.

So there is no way to export/import EA themes? :|

Takeshi K

  • EA User
  • **
  • Posts: 620
  • Karma: +41/-1
    • View Profile
    • Sparx Systems Japan
Re: How to export/import user theme?
« Reply #6 on: August 18, 2015, 09:40:42 am »
Just for your information, I defined a new theme on EA version 12 (build 1215), and I can see diagram_themes.xml file at the folder.

This behavior must depend on the EA versions.
--
t-kouno

jakson

  • EA User
  • **
  • Posts: 41
  • Karma: +0/-0
    • View Profile
Re: How to export/import user theme?
« Reply #7 on: August 19, 2015, 02:30:47 am »
Quote
Just for your information, I defined a new theme on EA version 12 (build 1215), and I can see diagram_themes.xml file at the folder.

If only update to v12 (from v11) was free...
 :(

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to export/import user theme?
« Reply #8 on: August 19, 2015, 03:16:55 am »
Look into the registry for V11: HKEY_CURRENT_USER\Software\Sparx Systems\EA400\EA\OPTIONS

THEME_DOCUMENT looks like
Code: [Select]
<DiagramThemes>
      <Themes ThemeName="testtest" Paper="14465450" ElemFillColor="14938876" ElemLineColor="0" ElemTextColor="0" ShadowClr="6118749" AttrColor="139" MethColor="4210688" NoteColor="16249847" NoteTextClr="0" NoteLineClr="0" ConstraintLineClr="0" NoteCompartmentText="8421504" Screen="14803425" ConColor="0" Behavior="8421504" ElemBorderWidth="1" ConnectorLineWidth="1" NoteItalic="0" PaperGradientFill="1" ElementGradientFill="1" FontName="ARIAL" FontSize="8" BkgImage="" Shadow="1" GRADLUM="50" GRADSTART="80" ComplexGradient="0" RoundEdges="0" UseGroupColours="0"/>
</DiagramThemes>
(a theme called testtest created by me)

and LAST_THEME contains the name of that theme

q.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: How to export/import user theme?
« Reply #9 on: August 20, 2015, 02:31:17 pm »
Quote
If only update to v12 (from v11) was free... :(
Well it's good value
Orthogonality rules
Using EA16.1 (1627) on Windows 11 Enterprise/64 bit. Repositories in SQLServer2019 DB Schema 1558.
WebEA on Pro Cloud Server 4.2.64

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: How to export/import user theme?
« Reply #10 on: August 20, 2015, 07:16:37 pm »
Quote
If only update to v12 (from v11) was free...
 :(
It is if you still have a subscription.
You get one valid for a year when you initially purchase your license.
A renewal for a year usually costs about 1/3th of the license price.

Example: corporate license renewal costs $100. That is roughly the costprice of one hour of a functional analyst.
So it is a good ROI from the moment it saves you more then 1 hour of work in a year. :o

Geert