-5

I have one vsd file i want to convert that into pdf or xml file using java code .

How to convert vsd to pdf or xml in java

bhanwar rathore
  • 328
  • 1
  • 3
  • 15
  • 1
    Obviously: `Java.convertVsdToPdf();` – Andremoniy Dec 01 '15 at 11:58
  • thanks for reply Andremoniy . can u pls giv full explanation of it i mean full java code for this . – bhanwar rathore Dec 01 '15 at 12:00
  • Sorry, no. It is `native` method. – Andremoniy Dec 01 '15 at 12:01
  • The question is pretty badly written, but in the interests of trying to help - take a look at http://poi.apache.org/hdgf/ for how to read the file in and iText to dump it out to PDF. That said, your requirements of PDF or XML seem a little strange. Probably best opening it in Visio and just printing to a PDF using CutePDF or similar? – Mike Palfrey Dec 01 '15 at 12:41

1 Answers1

0

Aspose claims to support this (example).

POI has component for reading visio files, but not rendering them.

This previous thread here on stack overflow contains a bunch to tools for outputing SVG which should be easyish to turn into a PDF.

All of this is from a quick Google search for java render visio

Saqib Razzaq
  • 1,408
  • 1
  • 10
  • 10
Michael Lloyd Lee mlk
  • 14,561
  • 3
  • 44
  • 81