Previous Next

Providing the ReportDesign.initialize code

The following code in the ReportDesign.initialize method creates a file on your hard drive and adds one line to the file.

importPackage( Packages.java.io );
fos = new java.io.FileOutputStream( "c:\\logFile.txt" );
printWriter = new java.io.PrintWriter( fos );
printWriter.println( "ReportDesign.initialize" );

The preceding code performs the following tasks:

*
*
*

How to provide code for the ReportDesign.initialize script

1  
2  

Figure 22-2 Selecting the report design

Figure 22-2  Selecting the report design
3  
4  

Figure 22-3 Providing ReportDesign.initialize code

Figure 22-3  Providing ReportDesign.initialize code

(c) Copyright Actuate Corporation 2013