Package org.apache.poi.xdgf.util
Class VsdxToPng
java.lang.Object
org.apache.poi.xdgf.util.VsdxToPng
Converts a Visio diagram to a PNG file.
As more elements and styles are added/supported the output will get
better, but it's very rough right now.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
renderToPng
(XDGFPage page, File outFile, double scale, ShapeRenderer renderer) static void
renderToPng
(XDGFPage page, String outFilename, double scale, ShapeRenderer renderer) static void
renderToPng
(XmlVisioDocument document, String outDirname, double scale, ShapeRenderer renderer) static void
renderToPngDir
(XDGFPage page, File outDir, double scale, ShapeRenderer renderer)
-
Constructor Details
-
VsdxToPng
public VsdxToPng()
-
-
Method Details
-
renderToPng
public static void renderToPng(XDGFPage page, String outFilename, double scale, ShapeRenderer renderer) throws IOException - Throws:
IOException
-
renderToPngDir
public static void renderToPngDir(XDGFPage page, File outDir, double scale, ShapeRenderer renderer) throws IOException - Throws:
IOException
-
renderToPng
public static void renderToPng(XDGFPage page, File outFile, double scale, ShapeRenderer renderer) throws IOException - Throws:
IOException
-
renderToPng
public static void renderToPng(XmlVisioDocument document, String outDirname, double scale, ShapeRenderer renderer) throws IOException - Throws:
IOException
-
main
- Throws:
Exception
-