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 voidstatic voidrenderToPng(XDGFPage page, File outFile, double scale, ShapeRenderer renderer) static voidrenderToPng(XDGFPage page, String outFilename, double scale, ShapeRenderer renderer) static voidrenderToPng(XmlVisioDocument document, String outDirname, double scale, ShapeRenderer renderer) static voidrenderToPngDir(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
-