Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: jakson on August 03, 2015, 06:03:03 pm

Title: How to export/import user theme?
Post by: jakson 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)?
Title: Re: How to export/import user theme?
Post by: Eve 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.
Title: Re: How to export/import user theme?
Post by: jakson 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)
Title: Re: How to export/import user theme?
Post by: Eve on August 05, 2015, 08:36:04 am
Have you created any custom themes?
Title: Re: How to export/import user theme?
Post by: jakson 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.
Title: Re: How to export/import user theme?
Post by: jakson 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? :|
Title: Re: How to export/import user theme?
Post by: Takeshi K 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.
Title: Re: How to export/import user theme?
Post by: jakson 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...
 :(
Title: Re: How to export/import user theme?
Post by: qwerty 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.
Title: Re: How to export/import user theme?
Post by: skiwi on August 20, 2015, 02:31:17 pm
Quote
If only update to v12 (from v11) was free... :(
Well it's good value
Title: Re: How to export/import user theme?
Post by: Geert Bellekens 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