Examples of extractParts()


Examples of org.openxml4j.document.OpenXMLDocument.extractParts()

      // Open the package
      OpenXMLDocument docx = OpenXMLDocument.open(demoCore.getTestRootPath() + "sample.docx",
          PackageAccess.READ);

      // Extract available thumbnails
      docx.extractParts(docx.getThumbnails(), destFile);

      System.out.println("Thumbnail(s) successfully extracted !");
    } catch (OpenXML4JException e) {
      e.printStackTrace();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.