Book a Demo

Author Topic: Save Font size & color using saved style  (Read 6570 times)

Keith Slarke

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Save Font size & color using saved style
« on: September 27, 2015, 12:14:31 am »
Do any of the later versions of EA have the ability to keep the font color and size as well as the background color for an object or activity using Save as style?

I am using version 10.0
« Last Edit: September 28, 2015, 07:09:57 pm by KeithSlarke »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Can you save Font size & color using saved sty
« Reply #1 on: September 27, 2015, 05:09:51 am »
Save to where?

q.

Keith Slarke

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Can you save Font size & color using saved sty
« Reply #2 on: September 27, 2015, 06:18:13 am »
Quote
Save to where?
q.

Sorry I have edited the post

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Save Font size & color using saved style
« Reply #3 on: September 27, 2015, 07:21:02 am »
You can save it in the painter and (IIRC) it will last over a session. It's not possible to save it to some kind of file. Maybe if you inspect the registry you can save/restore certain setting.

q.

Keith Slarke

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Save Font size & color using saved style
« Reply #4 on: September 27, 2015, 06:44:19 pm »
Quote
You can save it in the painter and (IIRC) it will last over a session. It's not possible to save it to some kind of file. Maybe if you inspect the registry you can save/restore certain setting.

q.

Not possible is a very big statement and can stop a lot of people from even looking at the question. I can already save the color and outline using the "save as style" function so it is possible and that is definitely persistent between sessions. My question is can the save as style function save the font size and color in a later version?


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Save Font size & color using saved style
« Reply #5 on: September 28, 2015, 03:17:47 am »
The Save Style does not write a file. So you can not "save" it. It's just internal. If people ask to save it's usually meant to go to a file. If you're happy with that, fine. It's still possible.

q.

Keith Slarke

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Save Font size & color using saved style
« Reply #6 on: September 28, 2015, 07:08:55 pm »
Thank you Qwerty, I see my terminology was miss leading. None the less my question still stands using styles (re worded)

Do any of the later versions of EA have the ability to keep the font color and size as well as the background color for an object or activity using Save as style?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Save Font size & color using saved style
« Reply #7 on: September 28, 2015, 08:08:38 pm »
I rarely use that feature but just tested with V12. It keeps font, fill and line size. The Save did not seem to save while Save as New Style did the trick (EAUI).

q.

Keith Slarke

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: Save Font size & color using saved style
« Reply #8 on: September 28, 2015, 08:23:12 pm »
That is interesting I found it did save it but you have to reload the style you have just changed. I think this is why I thought it was not working.

Could I ask you to check to see if you can save the size of the diagram element?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Save Font size & color using saved style
« Reply #9 on: September 28, 2015, 09:14:30 pm »
The size of an element has never been saved (AFAIK). It's just the style attributes. It might be possible to do that with template packages. IIRC the size (and style?) is saved with MDGs when you save the elements via diagram profile export.

q.

VKN

  • EA User
  • **
  • Posts: 187
  • Karma: +9/-1
    • View Profile
Re: Save Font size & color using saved style
« Reply #10 on: September 29, 2015, 09:44:23 am »
Quote
Could I ask you to check to see if you can save the size of the diagram element?
Yes. This is what you're looking for:

http://www.sparxsystems.com/enterprise_architect_user_guide/12.0/modeling_basics/using_element_templates.html
« Last Edit: September 29, 2015, 09:45:15 am by VKN »