|
Hi,
I am trying to create a PDF table dynamically with values obtained from the SAX parser. My goal is to pass values back to the table cells during the SAX parsing. I am getting the following error when referencing the “table.addCell” method from outside my “main” Java class when compiling. Can you please explain how I can pass values to PDF table elements to build table dynamically? (is there any samples?)
C:\DougPDFSample\SAXPDFPrinter.java:131: cannot resolve symbol symbol : variable PDFTable location: class SAXPDFPrinter PDFTable.addCell(cellData, new Point(row,col));
public void writeCell(String cellData, int row, int col) { try { PDFTable.addCell(cellData, new Point(row,col)); } catch(DocumentException de) { System.err.println(de.getMessage()); } catch(IOException ioe) { System.err.println(ioe.getMessage()); } }
Thanks, [EMAIL PROTECTED] |
