org.apache.poi.xdgf.util
Class VsdxToPng
java.lang.Object
org.apache.poi.xdgf.util.VsdxToPng
public class VsdxToPng
- extends java.lang.Object
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.
Method Summary |
static void |
main(java.lang.String[] args)
|
static void |
renderToPng(XDGFPage page,
java.io.File outFile,
double scale,
ShapeRenderer renderer)
|
static void |
renderToPng(XDGFPage page,
java.lang.String outFilename,
double scale,
ShapeRenderer renderer)
|
static void |
renderToPng(XmlVisioDocument document,
java.lang.String outDirname,
double scale,
ShapeRenderer renderer)
|
static void |
renderToPngDir(XDGFPage page,
java.io.File outDir,
double scale,
ShapeRenderer renderer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VsdxToPng
public VsdxToPng()
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
Copyright 2017 The Apache Software Foundation or
its licensors, as applicable.