Examples of OfficeDrawingElement


Examples of org.odftoolkit.odfdom.dom.element.office.OfficeDrawingElement

    try {
      String filePath = ResourceUtilities.getAbsolutePath(TEST_FILE);
      FileInputStream fStream = new FileInputStream(new File(filePath));
      GraphicsDocument  gdoc = GraphicsDocument.loadDocument(fStream);
      Assert.assertNotNull(gdoc);
      OfficeDrawingElement officeEle = gdoc.getContentRoot();
      Assert.assertNotNull(officeEle);
      Assert.assertEquals("office:drawing", officeEle.getNodeName());
    } catch (Exception e) {
      LOG.log(Level.SEVERE, e.getMessage(), e);
      Assert.fail(e.getMessage());
    }
   
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.