Hi, it seems that it messes up the *.sheet xml-files. More detailed how-to (just an example):
The file %USERPROFILE%\.dia\sheets\UML.sheet contains the following: <?xml version="1.0" encoding="UTF-8" standalone="no"?> <sheet xmlns="http://www.lysator.liu.se/~alla/dia/dia-sheet-ns"> <!--Dia-Version: 0.97-pre2--> <!--File: C:\Dokumente und Einstellungen\Bart.S\.dia\sheets\UML.sheet--> <!--Date: Fri Feb 20 11:15:03 2009--> <!--For: Bart.S--> <name>UML</name> <description>Editor for UML Static Structure Diagrams</description> <contents> <!--add shapes here--> <object name="UML - Class" intdata="0"> <description>Class</description></object><object name="UML - Class" intdata="1"> <description>Template class<icon>C:\Programme\Dia\sheets\UML/umlclass_template.png</icon></description> </object><object name="UML - Note"> <description>Note</description></object><object name="UML - Dependency"> <description>Dependency</description></object><object name="UML - Realizes"> <description>Realizes, implements a specific interface</description></object><object name="UML - Generalization"> <description>Generalization, class inheritance</description></object><object name="UML - Association" intdata="0"> <description>Association, two classes are associated</description></object><object name="UML - Association" intdata="1"> <description>Aggregation, one class is part of another<icon>C:\Programme\Dia\sheets\UML/aggregation.png</icon></description> </object><object name="UML - Implements"> <description>Implements, class implements a specific interface</description></object><object name="UML - Constraint"> <description>Constraint, place a constraint on something</description></object><object name="UML - SmallPackage"> <description>Small package</description></object><object name="UML - LargePackage"> <description>Large package</description></object><object name="UML - Actor"> <description>Actor</description></object><object name="UML - Usecase"> <description>Use case</description></object><object name="UML - Lifeline"> <description>Lifeline</description></object><object name="UML - Object"> <description>Object</description></object><object name="UML - Message"> <description>Message</description></object><object name="UML - Component"> <description>Component</description></object><object name="UML - Component Feature" intdata="0"> <description>Facet</description></object><object name="UML - Component Feature" intdata="1"> <description>Receptacle<icon>C:\Programme\Dia\sheets\UML/receptacle.png</icon></description> </object><object name="UML - Component Feature" intdata="2"> <description>Event Source<icon>C:\Programme\Dia\sheets\UML/eventsource.png</icon></description> </object><object name="UML - Component Feature" intdata="3"> <description>Event Sink<icon>C:\Programme\Dia\sheets\UML/eventsink.png</icon></description> </object><object name="UML - Node"> <description>Node</description></object><object name="UML - Classicon"> <description>Class stereotype icon</description></object><object name="UML - State Term"> <description>Initial/end state</description></object><object name="UML - State"> <description>State</description></object><object name="UML - Activity"> <description>Activity</description></object><object name="UML - Branch"> <description>Branch</description></object><object name="UML - Fork"> <description>Fork/union</description></object><object name="UML - Transition"> <description>Transition</description></object><object name="Geometric - Perfect Square"> <description>Perfect square, height equals width</description></object></contents></sheet> All shapes with <icon></icon> are messed up. Dia don't show the right icons and the tooltip says "Template ClassC:\Programme\Dia\sheets\UML/umlclass_template.png" for example. There is a bug in the part that creates the custom *.sheet files, IMHO. Hope that helps! Kind Regards Bart.S ps: @Steffen: Do you have a high-res Diashapes icon? I'm developing a portable version of Diashapes too and we could use a nice icon for the splash. You could find Dia Portable and Diashapes Portable here: http://portableapps.com/node/16648 They are still Development Test Releases, but will be Pre-Releases soon. |