Package org.odftoolkit.odfdom.dom.element.office

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

Related Classes of org.odftoolkit.odfdom.dom.element.office.OfficeDrawingElement

Copyright © 2018 www.massapicom. 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.