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

Examples of org.eclipse.birt.report.model.api.ReportDesignHandle.saveAs()


      label.setText("Hello, World!");
      CellHandle cell = (CellHandle) row.getCells().get(0);
      cell.getContent().add(label);

      // save the report design
      design.saveAs("c:/TEMP/sample.rptdesign");
      design.close();
      System.out.println("Finished");
    } catch (ContentException e) {
      e.printStackTrace();
    } catch (NameException e) {
View Full Code Here


      reportDesign.setDefaultUnits("in");
      reportDesign.setProperty("comments", reportName);
      reportDesign.setProperty(IReportRunnable.TITLE, reportName);

      // save report design
      reportDesign.saveAs("C:/eclipse/GWTBirt/BIRTGwt/src/reports/"
          + reportName + ".rptdesign");

      return true;
    } catch (ContentException e) {
      // TODO Auto-generated catch block
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.