Re: Export xsl, Save diagram error

2009-06-04 Thread Loek Bergman
Hi David, I have not seen your code, so it is a pure guess. What I can think of is that you still have a hook on the original file. If you nullify the hook on the original file it might work. Something like this: File fl = getFile(fileName); //work on file //save file File newFile = getFile(fil

Re: Export xsl, Save diagram error

2009-06-04 Thread Loek Bergman
(fileName); newFile.save(); The first file might prevent your new file from updating. Setting the first hook on the file to null or only having a reference to a file using a local variable in your methods might solve this kind of problem. Is this an idea? With kind regards, Loek 2009/6/4 Loek

Re: Export xsl, Save diagram error

2009-06-04 Thread Loek Bergman
> > Procedure > > > > > > > > > > > > I've remove all others templates because the error is still here whithout > them... > > Best regards > > > > > 2009/6/4 Loek Berg

Re: Export xsl, Save diagram error

2009-06-04 Thread Loek Bergman
follow > you, what do you purpose to simplify the reference before the type of the > object ? > > Your exemple with Spaceships is interresting but I don't think that the *UML > - State* template is called for *UML - State Term* objects. I will check > that in few minutes... >

Re: adding a line result in a line without an arrow

2009-06-11 Thread Loek Bergman
Hi PoWah, If you start DIA you will get several distinct windows. One of them has the name 'Dia' and the version you are using. In that window you see at the bottom your arrow. There you can define what kind of arrow you would like to have - or just a straight line - if that is what you wish. W

Re: read visio drawing in a word document

2009-06-12 Thread Loek Bergman
Hi PoWah, Independent if the solution provided by Michael Ross will work, I do not know, but have you used print screen? With Paint you could select the visio diagram. Or you could paste the image first in Paint, then save it and try opening that in Dia. With kind regards, Loek 2009/6/12 PoW

Re: Question

2009-07-21 Thread Loek Bergman
Hello liang chang, As far as I know is a .dia file a binary, so it will not open in any text editor. To view the content of a .dia file you could export it to svg. That you can read in almost any text editor. With kind regards, Loek Bergman 2009/7/20 CHANG L. > > Dear Madam or Sir

Re: Print DIA

2009-07-27 Thread Loek Bergman
Hi Marjorie, There is no print preview functionality in DIA. Printing a diagram of DIA is most often used within the context of a document. In my case that is Open Office. Within that context it is important how it shows. At that time it is converted to some type of image. I do not need it myself