Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: gfranz on May 27, 2013, 03:24:04 pm
-
Hello,
is there a way to tell EA to insert a line break in the name of a diagram object on a defined position? I want to limit the width of diagram objects, but currently I don't see a way to wrap the name into a second line without using spaces.
Example: Wrap
----------------------
CapabilityTransition
----------------------
into
-----------
Capability
Transition
-----------
Thanks
-
Just wondering how code generation would work with those kind of names?
-
Yes, it must be a kind of special character, like the ones you add to menu items in your IDE. And it must be ignored within EA and maybe also when accessing EA with the API. So I don't expect, that there is a way to do this and just want to make sure...
-
You can add a line break by the following steps for some type of objects, but it causes bad result for code generation and document generation...
1. select a target object in a diagram
2. press F2 and move cursor to location to add a line break
3. press Ctrl+Enter
-
Thanks a lot!
Do you also know, where this handling is stored in the database? And how?
-
It's simply in t_object.Name. Place a newline char where you want the line break.
q.
-
Thanks!