Class 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.
    • Constructor Detail

      • VsdxToPng

        public VsdxToPng()
    • 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