Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic visio import / export via java applet mode? (Read 4251 times)
chieh
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 64
Joined: Aug 18th, 2010
visio import / export via java applet mode?
Oct 30th, 2014 at 2:01pm
Print Post  
Hello
We are currently using  version 2014 R1 of netdiagram. We would like to ask will netdiagram allow us to import Visio diagrams into web service via Java applet? and also is it possible to export the current diagram to visio?

if it have this kinds of feature, is there any example for these?

note: our environment is asp.net 4.5, iis 6, and 2014 r1 of netdiagram

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import / export via java applet mode?
Reply #1 - Oct 30th, 2014 at 2:52pm
Print Post  
Hi,

You can import or export only on server side using the VisioImporter and VisioExporter .NET classes. To use them, add references to MindFusion.Diagramming.Import.Visio.dll and MindFusion.Diagramming.Export.Visio.dll assemblies.

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


I love YaBB 1G - SP1!

Posts: 64
Joined: Aug 18th, 2010
Re: visio import / export via java applet mode?
Reply #2 - Oct 31st, 2014 at 10:13am
Print Post  
Hello Stoyo,

Thanks for your message, Does it mean no for Java applet application? sorry, i don't get it on your previous message.

If user cannot import/export diagram from Java applet, is there any solution for import/export ?

We did develop the project for a while, we don't want to re-develop it , so is there any bridge that can be connected between diagram displayed by Java applet and the one on server side which means can use the solution you provided based on Java applet.

many thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: visio import / export via java applet mode?
Reply #3 - Oct 31st, 2014 at 10:52am
Print Post  
Hi,

That means you cannot use Java API to import or export directly into/from the applet, but will need a postback / round-trip to the server. I.e. you can still upload the Visio files to server, import them into the diagram there using .NET, and the users will see the result in the applet when the page reloads.

In fact we have support for Visio2013 format in our JDiagram component, but the import/export classes are not included with the NetDiagram's applet subset of it; the applet has to run in sandbox mode with recent versions of Java and cannot access the file system anyway.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint