Examples of newDrawLineElement()


Examples of org.odftoolkit.odfdom.dom.element.draw.DrawPageElement.newDrawLineElement()

      //page.setOdfAttribute( OdfName.newName( OdfNamespace.newName(OdfDocumentNamespace.DRAW), "master-page-name" ), "Default" );
      page.setDrawNameAttribute("page1");
      page.setDrawStyleNameAttribute("dp1");
      page.setDrawMasterPageNameAttribute("Default");

      DrawLineElement line = page.newDrawLineElement("6cm", "10cm", "15cm", "20cm");
      //line.setOdfAttribute( OdfName.newName( OdfNamespace.newName(OdfDocumentNamespace.DRAW), "style-name" ), "gr1" );
      //line.setOdfAttribute( OdfName.newName( OdfNamespace.newName(OdfDocumentNamespace.DRAW), "text-style-name" ), "P1" );
      //line.setOdfAttribute( OdfName.newName( OdfNamespace.newName(OdfDocumentNamespace.DRAW), "layer" ), "layout" );
      line.setDrawStyleNameAttribute("gr1");
      line.setDrawTextStyleNameAttribute("P1");
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.