Package org.apache.poi.xdgf.util
Class VsdxToPng
- java.lang.Object
-
- org.apache.poi.xdgf.util.VsdxToPng
-
public class VsdxToPng extends java.lang.ObjectConverts 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 Constructor Description VsdxToPng()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)static voidrenderToPng(XDGFPage page, java.io.File outFile, double scale, ShapeRenderer renderer)static voidrenderToPng(XDGFPage page, java.lang.String outFilename, double scale, ShapeRenderer renderer)static voidrenderToPng(XmlVisioDocument document, java.lang.String outDirname, double scale, ShapeRenderer renderer)static voidrenderToPngDir(XDGFPage page, java.io.File outDir, double scale, ShapeRenderer renderer)
-
-
-
Method Detail
-
renderToPng
public static void renderToPng(XDGFPage page, java.lang.String outFilename, double scale, ShapeRenderer renderer) throws java.io.IOException
- Throws:
java.io.IOException
-
renderToPngDir
public static void renderToPngDir(XDGFPage page, java.io.File outDir, double scale, ShapeRenderer renderer) throws java.io.IOException
- Throws:
java.io.IOException
-
renderToPng
public static void renderToPng(XDGFPage page, java.io.File outFile, double scale, ShapeRenderer renderer) throws java.io.IOException
- Throws:
java.io.IOException
-
renderToPng
public static void renderToPng(XmlVisioDocument document, java.lang.String outDirname, double scale, ShapeRenderer renderer) throws java.io.IOException
- Throws:
java.io.IOException
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-