Class XmlVisioDocument

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class XmlVisioDocument
    extends POIXMLDocument
    This is your high-level starting point for working with Visio XML documents (.vsdx). Currently, only read support has been implemented, and the API is not mature and is subject to change. For more information about the visio XML format (with an XSD 1.0 schema), you can find documentation at https://msdn.microsoft.com/en-us/library/hh645006(v=office.12).aspx That document lacks in some areas, but you can find additional documentation and an updated XSD 1.1 schema at https://msdn.microsoft.com/en-us/library/office/jj684209(v=office.15).aspx Each provides different details, but the SharePoint reference has better documentation and is more useful.
    • Constructor Detail

      • XmlVisioDocument

        public XmlVisioDocument​(OPCPackage pkg)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • XmlVisioDocument

        public XmlVisioDocument​(java.io.InputStream is)
                         throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • getPages

        public java.util.Collection<XDGFPage> getPages()
        Returns:
        pages ordered by page number