Package org.eclipse.birt.report.model.api

Examples of org.eclipse.birt.report.model.api.DesignElementHandle


      design.setDefaultUnits("in");
      design.setProperty("comments", "what not and what have you");

      SimpleMasterPageHandle element = efactory
          .newSimpleMasterPage("Page Master");
      DesignElementHandle footerText = efactory.newTextItem("test");
      footerText.setProperty("contentType", "html");
      footerText.setStringProperty("content", "MyTest");

      // Add in a simple page footer to our master page
      element.getPageFooter().add(footerText);

      // try to add the footer to the Master Page
View Full Code Here


    reportDesignHandle.getDataSets().add(dsHandle);

  }

  private void createMasterPages() throws ContentException, NameException {
    DesignElementHandle simpleMasterPage = elementFactory
        .newSimpleMasterPage("Master Page");//$NON-NLS-1$
    reportDesignHandle.getMasterPages().add(simpleMasterPage);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.birt.report.model.api.DesignElementHandle

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.