As long as you are running on Windows and stand alone - that is to say that you 
do not want to run Visio on a server - then it is possible to use OLE/COM to 
manipulate Visio using Java code.

There are a variety of options open to you including SWT, Jacob and others I am 
sure. What you actually do is create a running instance of the Vision 
application, 'connect' to that and then execute VBA like commands. Almost 
anything that you can do with Vision can be accomplished in the way - in 
effect, you are 'running' macros. I have no experience of manipulating Vision 
like this but have used OLE to work with Excel and Word from Java code. There 
are problems - speed, the fact that the application were not intended to be 
used in this manner, etc, but it is possible should all else fail.

--- On Tue, 12/30/08, Ashok Kumar <[email protected]> wrote:
From: Ashok Kumar <[email protected]>
Subject: Re: Visio File Extraction
To: "POI Users List" <[email protected]>
Date: Tuesday, December 30, 2008, 4:05 AM

Hi Nick,
Thanks again for your response.. I will get back to you with the vsdump
output and VSD generation part.

Thanks,
Ashok.

On Mon, Dec 29, 2008 at 10:54 PM, Nick Burch <[email protected]> wrote:

> On Mon, 29 Dec 2008, Ashok Kumar wrote:
>
>> The link to vsdump in the POI page goes to 404 page, upon googling I
>> landed on to a unix package (is vsdump a linux utililty ?).. If that
is it,
>> I will try to run that over my files and let you know the output.
>>
>
> vsdump is a linux utility, yes. It's the only other open source
project for
> visio files I know of. I'll fix the link on the website in a day or
two,
> when I can get my development machine online again
>
>  I would also like to know if there are way to create a VSD file using
java
>> ? I understand from the project page that it is in the road map.....
is that
>> something still being developed?
>>
>
> It's not possible right now, alas. I'd like to add support, but
it'd be a
> lot of work, and no-one's interested in sponsoring it. If you're
keen to
> work on it though, do let me know and I'll try to help you get
started, work
> on it etc.
>
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



      

Reply via email to