Jump to content

gibalex

Members
  • Posts

    6
  • Joined

  • Last visited

gibalex's Achievements

Rookie

Rookie (2/14)

  • First Post Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. IS it possible if i uprgrade the Jasper version the problem will be resloved .As i am using only Jasper jar to fill the value in jasperfile and exporting the content to excel , I am using only JRXlsExporter class for exporting . i am exporting the jasper file as in the following way .where printers is an ArrayList of "JasperPrint class" and filepath is just filepath for excel file JRXlsExporter xlsExporter = new JRXlsExporter(); xlsExporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, printers); xlsExporter.setParameter(JRExporterParameter.OFFSET_X, new Integer(0)); xlsExporter.setParameter(JRXlsExporterParameter.IS_ONE_PAGE_PER_SHEET, Boolean.FALSE); xlsExporter.setParameter(JRXlsExporterParameter.IS_REMOVE_EMPTY_SPACE_BETWEEN_ROWS, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.IS_WHITE_PAGE_BACKGROUND, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.IS_AUTO_DETECT_CELL_TYPE, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.IS_DETECT_CELL_TYPE, Boolean.TRUE); xlsExporter.setParameter(JRXlsExporterParameter.OUTPUT_FILE_NAME, filePath); xlsExporter.exportReport(); so can anybody help me to slove the issue
  2. Hi, I am using jasper 1.2.5 version in my Application . My Application is a j2EE application were for report part using jasper reports. In the application i am using using cross tab report in side sub report. And each cross tab will be JRDataSource which will be filled with Data from Data base procedures from the application . The problem i am facing is whenever i genrate the report it is showing huge size and once i open and save in the report file(excel file) the size will simply reduce as half. exmaple if the report genearted excel file is 40 mb .. once i open and save simply it will become as 12 Mb size JasperPrint printer = JasperFillManager.fillReport(inputStream,parameter,datasource) and exporting it into Excel using JRXlsExporter xlsExporter = new JRXlsExporter(); xlsExporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, printers); xlsExporter.exportReport(); So can anydody tell is there any problem with exporter.
  3. i am new to jasper report and ireport will somebody give a example for creating crosstab report with (using dataset to fill crosstab )
  4. hi i am using ireport tool 1.2.5 for creating jrxml, i had created a jrxml file which contain crosstab ISSUE: in my report i am using dataset to fill cross tab which is mentioned like new JRBeanCollectionDataSource($F{models}) in connection/datasourceExpression but when runtime the crosstab is not dispalying any value which is passed from my application , even the static text which is in crosstab part , but the data which is passed to main part of the report is dispalying perfectly NOTE: i feel the problem is with compilation of report because my datasource with data, i would like to know is there any specfic way to compile jrxml file which contain crosstab , or esle just tell me where is problem i am attaching my report file how it look when the report is generated and also jrxml file [file name=reportfiles.zip size=5411]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/reportfiles.zip[/file]
  5. i am using ireport 1.2.5 to create jrxml file in my report i am using crosstab which is filled by dataset which is mentioned like new JRBeanCollectionDataSource($F{models}) and also in the row and columns also there are JrFields like $F{place } issue: crosstab data's are not displaying at runtime even though there are values even the static text fields in crosstab part are not displaying but th reports main part are dispalying that is content in header parts note:i feal there is problem regarding compiling of my jrxml file . i tried to compile jrxml using ireport tool and also using using java code by importing necessary jar files in my classpath . there is no error or warning showing in compile time as well as run time so i would like to know where is the problem is please help please the file i attached how my report look like
  6. am using jasper1.2.5 for compiling .jrxml file and ireport 1.2.5 for desgin jrxml file iam using java/struts frame work for my application where for report purpose i am using jasper reports issue: when i run my application for report geneartion report which contain crosstab the crosstab part of the report will be blank . Inn my application i am filling my jasper file with jasper fill Manager and after filling my jasper file i am exporting my jasper file to excel file , but when excel file is opened the reports main part will be filled but the crosstab part will be blank even though there is data in datasource and also there is no error showing in complie time as well as run time . i tried jasper 1.3.0.jar also but result was same i used ireport tool aswell as java code for compiling the jrxml file i want to know is any specfic way for compilation of jrxml file when there is cross tab in jrxml
×
×
  • Create New...