Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Export using NetDiagram (Read 2705 times)
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Export using NetDiagram
Jun 10th, 2009 at 7:21am
Print Post  
Hi Stoyan,

I want to provide the following for the DiagramLite.
- PRINT
- EXPORT to pdf, jpeg etc

Here is how I buld the Diagram on the fly:
1. Empty Diagram is loaded in the client
2. I fetch the nodes and links to be created from the SERVER based on certain input in XML form.
3. Parse it and then start creating shapenodes with images and links connecting them.

Now my clients want to print & export. How can I do this.

I read the articles around "Netdiagram" server side component. So correct my understanding as what I think I would have to do:
1. I serialize the diagram using the APIs diagramlite provide.
2. Send the serailized xml to server.
3. Create object of Netdiagram from server
4. Load the NetDiagram object with the recieved serialized value.
5. Call the export APIs to create a pdf/jpeg on some virtual folder.
6. Return the URL of this to client.
7. Users can now use this URL to download the exported file.

If the above is correct, then I have a few more questions:
1. How do I present PRINT functionality

2. Will I have to purchase the NetDiagram component just for EXPORT purpose, as I donot need the NetDiagram product for any other  purpose.

3. If purchasing NetDiagram is the only choice, what is the minimum licensing version can I use. We just need the export/print.

Sorry for this big email, but my requirement is also just big Smiley

Thanks ,
Amit

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export using NetDiagram
Reply #1 - Jun 10th, 2009 at 10:25am
Print Post  
Hi Amit,

Printing could be implemented by opening the PDF file in a browser window and letting the client print it using the Adobe Reader printing functionality. The PdfExport example from the Netdiagram package shows that.

Another option is to show the diagram in JavaApplet mode; it allows printing on the client side by calling the applet's print() method, but requires JRE on the client system.

Exporting to various formats is one of our main selling points, so we are not giving it away for free Wink Email your original order id to support@mindfusion.eu, and we'll offer you some discounted upgrade price.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
jaiswalamit
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Feb 17th, 2009
Re: Export using NetDiagram
Reply #2 - Jun 10th, 2009 at 10:40am
Print Post  
Thanks for the prompt reply as always Smiley

So as I understand we will have to purchase NetDiagram also (we bought Enterprise license for Diagramlite), what's the minumu license mode we would need. Will "Single or 2-4 Developer License" suffice as there would only be one developer or at maximum 2 developers who would work on the export functionality.

Thanks,
Amit
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Export using NetDiagram
Reply #3 - Jun 10th, 2009 at 11:57am
Print Post  
I suppose a single developer is enough, and if you have purchased enterprise license we'll offer you 50% discount 8) Email us your order id and whether you need a version with source code, and we'll send you back a link for discounted NetDiagram.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint