Package org.odftoolkit.simple.style.StyleTypeDefinitions

Examples of org.odftoolkit.simple.style.StyleTypeDefinitions.FrameVerticalPosition


   
    //validate
    Assert.assertEquals(FrameVerticalPosition.BELOW, image3.getVerticalPosition());
   
    //
    FrameVerticalPosition ver = FrameVerticalPosition.enumValueOf("");
    Assert.assertEquals("middle", ver.toString());
   
    FrameVerticalPosition ver1 = FrameVerticalPosition.enumValueOf("below");
    Assert.assertEquals("below", ver1.toString());
   
    FrameVerticalPosition ver2 = FrameVerticalPosition.enumValueOf("aaaa");
    Assert.assertEquals("middle", ver2.toString());
   
    //save
    //sDoc.save(ResourceUtilities.newTestOutputFile("imges.odt"));

      } catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.odftoolkit.simple.style.StyleTypeDefinitions.FrameVerticalPosition

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.