Hi,
I am using poi version 1.5.1 on Red Hat Linux 9.0
Java version 1.4.2
The import statements and the errors are as follows:-
import java.io.*;
import org.apache.poi.hssf.usermodel.*;
import org.apache.poi.hssf.usermodel.HSSFWorkbook.*;
import org.apache.poi.hssf.util.*;
import org.apache.poi.hssf.record.*;
import java.sql.*;
import java.util.*;
public class FooterTest
{
public FooterTest()
{
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet sheet = wb.createSheet("Sheet1");
startRow = 1;
row = sheet.createRow(startRow);
short startLine = 1;
string = "abc";
HSSFCell cell = row.createCell(col);
cell.setCellValue(string);
HSSFFooter footer = sheet.getFooter();
xxxx
}
Compilation Error:
{Note: Don't refer to the line number. I extracted the
relevant program lines only.}
FooterTest.java:35: cannot resolve symbol
symbol : class HSSFFooter
location: class FooterTest
HSSFFooter footer = sheet.getFooter();
^
FooterTest.java:35: cannot resolve symbol
symbol : method getFooter ()
location: class
org.apache.poi.hssf.usermodel.HSSFSheet
HSSFFooter footer = sheet.getFooter();
^
2 errors
rgds,
__________________________________
Do you Yahoo!?
Find out what made the Top Yahoo! Searches of 2003
http://search.yahoo.com/top2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]