Closed stefthedrummer closed 12 years ago
Design a Report with BarChart
Try to remove als xls or xml schemes and use JavaScript with POJOs instead. Do this by creating a ModelClass which simple getter methods which all return strings that are printed inside the report. Check your mails for examples.
Try this little snippet here
FileDialog fileDialog = new FileDialog(shell); fileDialog.setFilterExtensions(new String[] {"*.pdf"}); fileDialog.setFilterNames(new String[] {"PDF Document"}); String file = fileDialog.open(); if(file == null || file.length() == 0) return; Program.findProgram("pdf").execute(file);
Task
Design a Report with BarChart
Remove XLS/XML Schemes
Try to remove als xls or xml schemes and use JavaScript with POJOs instead. Do this by creating a ModelClass which simple getter methods which all return strings that are printed inside the report. Check your mails for examples.
Use PDFViewer instead of WebViewer
Try this little snippet here