I am looking for a grid / raster in Papyrus Neon, so I am able to align the components in my UML class diagram more precisely.
Is there such an option available? If so, where do I find it?
e.g. in ArgoUML such a grid is shown by default:
My research with Google was not successful either.
The easiest way to find properties like that is to use the search box at the top of the Properties drop-down menu. Type "grid" in there ant you will see that you can set diagrams that support grids an set your desired grid for each. Note tha the way to do this will change change slightly with Papyrus Oxygen, but the capability will remain.
Note that in the diagrams's toolbar, there are also actions to align model element representations (vertically/horizontally/spaced equally) or to make there sizes the same.
I would like to display stereotype(Boundary, Control, Entity) in my sequence diagram using visio 2013 like from this link
Howefer, i can't find a suitable way to make this in Visio 2013/
Is there any way to make stereotype like what i want in Microsoft Visio 2013? Any Ideas?
Any help would be appreciated.
I have a class diagram which i created using Star Uml but now the requirement is to port it to MS Visio . Is it possible to port the .uml to a .vsd with the xml information available?
Thanks in advance.
Exporting as a Windows Metafile (WMF) and Enhanced Windows Metafile (EMF) only imports to Visio as an image.
I understood that the purpose of exporting from StarUML and importing into Visio was being able to manipulate in Visio each one of the objects created in StarUML (e.g. classes).
I haven't found a solution for doing this.
Both programs support export/import of Windows Metafile (WMF) and Enhanced Windows Metafile (EMF). So you may try those.
Exporting from StarUML as a Windows Metafile (WMF) or Enhanced Windows Metafile (EMF) and then import to Visio as a grouped shape.
It might look as an image at first look, but actually its a grouped shape. In order to edit, all you need to do is Right click on the grouped shape and "Ungroup".
Is there a way to just lay everything out in the "best" possible manner, using the entire drawing area available? Or do I have to position the various elements myself?
You can try using the "Lay Out Shapes" dialog in Visio 2003. Go to the Shape menu and click on the "Lay Out Shapes" menu item. It can have some interesting results, but it might help if you play around with it.
yes it is possible.
Check out this
You can import your database into visio and it will create diagrams from it..
I'm updating some of our legacy C++ code to use the "MFC feature pack" that Microsoft released for Visual Studio 2008. We've used the new classes to derive our application from CFrameWndEx, and are applying the Office 2007 styles to give our application a more modern appearance. This gives us gradient filled window titles, status bars etc, and the use of the ribbon toolbars.
However, our application contains some owner drawn controls, and I'd like to update these to match the color scheme used by the feature pack. Ideally I'd like to know the light and shaded toolbar colors that are currently in use.
I've had a hunt around the documentation and web and have not yet found anything. Does anyone know how to find this information out?
[Edit]
In particular we need to find out which colors are being used at runtime. You can change the appearance of your application at runtime using the new static function CMFCVisualManager::SetDefaultManager.
The following msdn page shows you what kind of styles are available, in particular the Office2007 look:
link to msdn
Have you looked in the MFC source code, which you'll find in something like
C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\src\mfc
Looks like CMFCVisualManager offers several methods for getting color information, e.g.
CMFCVisualManager::GetSmartDockingBaseGuideColors()
CMFCVisualManager::GetToolbarHighlightColor()
Take a look at the MSDN docs for CMFCVisualManager.
Good suggestion, but unfortunately they just return various shades of grey, when currently I'm running my application with the style CMFCVisualManagerOffice2007::Office2007_LunaBlue
Annoyingly the msdn help is "under construction" so doesn't even tell you what they are supposed to be doing!
afxGlobalData contains some useful information on the current colours, brushes and fonts being used by the MFC Feature Pack. In particular I use afxGlobalData.m_clrBarFace when painting my own control bar backgrounds.
(note that I am not in front of my work PC so the above syntax isn't spot on.)
Have you tried: 2007 Office System Document: UI Style Guide for Solutions and Add Ins
?
I guess you could use your favourite image editor and pick the colors from a screen grab.
"I guess you could use your favourite image editor and pick the colors from a screen grab."
This is essentially what I'm doing at the moment, and I've defined a list of constants from which I pull out the colours. Doesn't seem very elegant though!
Looks like CMFCVisualManager offers several methods for getting color information, e.g.
CMFCVisualManager::GetSmartDockingBaseGuideColors()
CMFCVisualManager::GetToolbarHighlightColor()
Take a look at the MSDN docs for CMFCVisualManager.
#GateKiller, the OP isn't developing an Office 2007 add-in, so the UI guidelines won't really help. It's an MFC application using the Visual C++ 2008 Feature Pack which allows MFC apps to take on the Office 2007 look and feel.
Good suggestion, but unfortunately they just return various shades of grey, when currently I'm running my application with the style CMFCVisualManagerOffice2007::Office2007_LunaBlue
CMFCVisualManagerOffice2007::GetTabFrameColors - the clrFace output param is grey?
Perhaps they're all masks on top of a single base hue for each theme? Assuming you can determine which color scheme is in effect with CMFCVisualManagerOffice2007::GetStyle(), perhaps you can figure out what that hue is and then do some masking with the GetxxxColor() methods.