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

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


      outputFile.delete();
    }
  }

  private static void initDesigner() throws BirtException {
    DesignConfig config = new DesignConfig();
    Platform.startup(config);
    IDesignEngineFactory factory = (IDesignEngineFactory) Platform.createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
    IDesignEngine engine = factory.createDesignEngine(config);
    SessionHandle session = engine.newSessionHandle(ULocale.ENGLISH);
View Full Code Here


   */
  public static void main(String[] args) {
    try {
      // create the report design engine configuration pointing to the
      // BIRT runtime
      DesignConfig dconfig = new DesignConfig();
      dconfig.setBIRTHome("C:/BIRT_RUNTIME_2_2/birt-runtime-2_2_0/ReportEngine");
      IDesignEngine engine = null;

      // try to start up the eclipse platform to load any plugins and
      // create
      // a new design engine
View Full Code Here

  }

  private boolean createReport(String reportName, List dataSetNames) {
    try {
      DesignConfig dconfig = new DesignConfig();
      DataSetHandle dataSetHandleToUse = null;
      DataSourceHandle dataSourceHandle = null;
      dconfig.setBIRTHome("C:/BIRT_RUNTIME_2_2/birt-runtime-2_2_0/ReportEngine");
      IDesignEngine dengine = null;

      // try to start up the eclipse platform
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform
          .createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
View Full Code Here

  }

  @SuppressWarnings("rawtypes")
  void buildReport(List cols, String fromClause) throws IOException, SemanticException {
    //Configure the Engine and start the Platform
    DesignConfig config = new DesignConfig();

    config.setProperty("BIRT_HOME", "d:/Libraries/birt-runtime-4_2_0/ReportEngine");
    IDesignEngine engine = null;

    try {
      Platform.startup(config);
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform.createFactoryObject(IDesignEngineFactory.EXTENSION_DESIGN_ENGINE_FACTORY);
View Full Code Here

  }

  void createReport() throws SemanticException, IOException {
   
    // Configure the Engine and start the Platform
    DesignConfig config = new DesignConfig();
    IDesignEngine engine = null;
    try {

      Platform.startup(config);
      IDesignEngineFactory factory = (IDesignEngineFactory) Platform
View Full Code Here

TOP

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

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.