I import the sharpsoundlib.dll (see in attached file) with AssemblyImport (with latest bugfixes). I can see the class diagram on the screen. Then I try to export the complete class diagram to a pdf file. I got an empty pdf document.
Thanks for reporting. But I'm afraid I'm not able to reproduce this... This is what I did: I started a brand new NClass instance (from SVN) and created a project and added a C#-diagram (both by double-clicking at the project explorer). Then I started the import using this settings: "Import everything except" with no rules applied and create every relation (without removing the fields used for aggregation). This results in a really huge diagram. Now I did the PDF-export using this settings: Export only selected was not checked and all margins are set to 10 points. The export itself takes some time and results in a approximately 4MB large PDF file. When I open this, everything seems to be fine.
So I guess you did something else than me. Could you give me a detailed list of steps to reproduce the bug?
Thanks and best regards,
Malte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try it again with a new instance of NClass (Gnu tarball from SVN) in VisualStudio 2010 Express on Windows Vista german version. I start the debug code of NClass. When I create a new project like you do, the Plugin-Item for the Assemblyimporter is not enabled. So I change back the revision 48 in mainform.cs. After this doing the AssemblyImporter is enabled after creating a new project. So I import the dll from the attached file like you do. Now I did the Pdf-Export with the default settings. It takes a short time and I get an empty pdf with 125.230 Bytes. There are no error messages or Exceptions when I export to pdf.
With an other (smaller) dll and a *.exe all worked fine.
I hope that you can reproduce the bug.
Regards
Hartmut
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There's a bug which prevents the import plugin from getting enabled in all cases. An active project must exist to enable the plugin (an active project is one which is displayed in bold at the project explorer). It shouldn't matter how you create a project and a diagram (creating a diagram activates the project), the results should be the same. So, I tried again and it worked again. Could you send me the saved NClass project, please?
Thanks,
Malte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the project file. I opened it and it seems to be exactly the same to the one I created with the import. I was also able to export it into a valid pdf. So I guess, the problem is not NClass nor the exporter. Could there be any impact from the system like no space left on hard drive, no write permission, a virus-scanner or a behavioural analyser? Maybe I get an idea of the problem if you send me the corrupted pdf? Could you also have a look at the PdfSharp.dll? What's the creation date of the dll and what's the exact size?
Thanks in advance,
Malte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry for the slow response. Finaly I found some time to have a look at the PDF you sent me. Well, what should I say? I can open it and it seems to be correct. It is not empty and contains all the entities of the library. So I guess your PDF-Viewer doesn't wont to open it. Which one are you using?
Malte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my Windows Vista Notebook I use the german Adobe Reader X Version 10.1.3.
In the Adobe Reader I play a little bit with "Voreinstellungen, Einheit" I change it from "Millimeter" to "Punkt". Then I can also see the diagram.
But on my Windows XP Computer with Adobe Reader Version 7 this does not work.
Do you think the Pdf Plugin work correct and I have to use a better Pdf Reader ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I try it again on my Vista Notebook, but what I tell in the last comment, it does not work anymore. But I found the general solution with my versions of Adobe Reader for the problem. I set the Option for "replace the document colors". Now the unvisible items are shown.
Hartmut
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, so the Adobe Acrobat reader seems to have a problem displaying the generated PDFs. Maybe I can find out what's the part of the pdf which confuses Acrobat Reader and change this. But this may take some time to figure it out.
Malte
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
zip file with sharpsoundlib.dll
Hi!
Thanks for reporting. But I'm afraid I'm not able to reproduce this... This is what I did: I started a brand new NClass instance (from SVN) and created a project and added a C#-diagram (both by double-clicking at the project explorer). Then I started the import using this settings: "Import everything except" with no rules applied and create every relation (without removing the fields used for aggregation). This results in a really huge diagram. Now I did the PDF-export using this settings: Export only selected was not checked and all margins are set to 10 points. The export itself takes some time and results in a approximately 4MB large PDF file. When I open this, everything seems to be fine.
So I guess you did something else than me. Could you give me a detailed list of steps to reproduce the bug?
Thanks and best regards,
Malte
Hi!
I try it again with a new instance of NClass (Gnu tarball from SVN) in VisualStudio 2010 Express on Windows Vista german version. I start the debug code of NClass. When I create a new project like you do, the Plugin-Item for the Assemblyimporter is not enabled. So I change back the revision 48 in mainform.cs. After this doing the AssemblyImporter is enabled after creating a new project. So I import the dll from the attached file like you do. Now I did the Pdf-Export with the default settings. It takes a short time and I get an empty pdf with 125.230 Bytes. There are no error messages or Exceptions when I export to pdf.
With an other (smaller) dll and a *.exe all worked fine.
I hope that you can reproduce the bug.
Regards
Hartmut
Hi again!
There's a bug which prevents the import plugin from getting enabled in all cases. An active project must exist to enable the plugin (an active project is one which is displayed in bold at the project explorer). It shouldn't matter how you create a project and a diagram (creating a diagram activates the project), the results should be the same. So, I tried again and it worked again. Could you send me the saved NClass project, please?
Thanks,
Malte
Hi,
I have send the NClass project via your Sourceforge mail address.
regards
Hartmut
Hi!
Thank you for the project file. I opened it and it seems to be exactly the same to the one I created with the import. I was also able to export it into a valid pdf. So I guess, the problem is not NClass nor the exporter. Could there be any impact from the system like no space left on hard drive, no write permission, a virus-scanner or a behavioural analyser? Maybe I get an idea of the problem if you send me the corrupted pdf? Could you also have a look at the PdfSharp.dll? What's the creation date of the dll and what's the exact size?
Thanks in advance,
Malte
Hi,
I have send the "empty" pdf with some comments via your Sourceforge mail address.
regards
Hartmut
Hi again!
Sorry for the slow response. Finaly I found some time to have a look at the PDF you sent me. Well, what should I say? I can open it and it seems to be correct. It is not empty and contains all the entities of the library. So I guess your PDF-Viewer doesn't wont to open it. Which one are you using?
Malte
Hi!
On my Windows Vista Notebook I use the german Adobe Reader X Version 10.1.3.
In the Adobe Reader I play a little bit with "Voreinstellungen, Einheit" I change it from "Millimeter" to "Punkt". Then I can also see the diagram.
But on my Windows XP Computer with Adobe Reader Version 7 this does not work.
Do you think the Pdf Plugin work correct and I have to use a better Pdf Reader ?
Hi!
I try it again on my Vista Notebook, but what I tell in the last comment, it does not work anymore. But I found the general solution with my versions of Adobe Reader for the problem. I set the Option for "replace the document colors". Now the unvisible items are shown.
Hartmut
Hi!
OK, so the Adobe Acrobat reader seems to have a problem displaying the generated PDFs. Maybe I can find out what's the part of the pdf which confuses Acrobat Reader and change this. But this may take some time to figure it out.
Malte