Jump to content
We've recently updated our Privacy Statement, available here ×

ramsuneetha

Members
  • Posts

    9
  • Joined

  • Last visited

ramsuneetha's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Hi All, How should i control page break or insert a new page. Please find the attached pdf and check the last page then you will come to know what was my problem. Actually i set the property Relative to tallest Object Could you please help me in this issue ASAP Thanks in advance. With BestRegards, Suneetha kodela.
  2. Hi All, Actually i am trying the code like the below. trying to export background image to Word Report using JRDocxExporter. Word Report is generating but it is not coming with background But for PDF i am able to see background What i have done wrong Could you please help me in that issue. Kindly do the needful. Thanks in advance, With BestRegards, suneetha kodela Code:JRDocxExporter exporter = new JRDocxExporter(); if (out != null) { exporter.setParameter(JRExporterParameter.OUTPUT_STREAM, out); } else { exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, path + DnBPropertiesHelper.getProperty("ORDER_FORM_REPORT_DOC_FILE")); } // Create the print list by adding the JasperPrint objects to the arraylist. This is for merging the two reports into one Doc. List printList = new ArrayList(); printList.add(jasperPrint); // This is one report with portrait page printList.add(solJasperPrint);// This is one report with LandScape page // Set the list and the output stream as parameters exporter.setParameter(JRExporterParameter.JASPER_PRINT_LIST, printList); log.debug("Parameters set for DOC Report export:" + exporter.getParameters()); // finally do export exporter.exportReport(); log.info("Successfully Exported DOC Report. Path:" + path);
  3. Hi, I am trying to count the number of occurrences of a spesific element value, and group them together. Something like this. This is the input source: [/code]so here Totally ProductName occurs 4 times i need count as 4 Please help me on this Thanks in advance, Suneetha kodela
  4. Hi All, How to start the subreports from new page using Jasper reports Actually i have one report with multiple subreports. But i have to add each subreport should be in new page in PDF report. How can i do that. Hope you do the need ful ASAP Thank in advance. Suneeetha Kodela.
  5. HI ALL, Could you please let me know, i am facing the below issue Word report generation with background image using jasper reports or word report with watermark using jasper reports Actually i am getting background image for PDF report but not coming Word report kindly help me. Hope you do the need ful Thanks & Regards, Suneetha Kodela
  6. Hi All, How to generate the helloworld report using jasper reports design api Please help me its urgent Thanks in advace.
  7. Hi , This is suneetha i am getting the following error when i tried to execute build.xml Target "clean-sample" does not exist in the project "JavaProject1". and my build.xml is the below format Kindly let me know ASAP . Please do the needful to me Thanks in advance. ------------------------------------------------------- <project name="JavaProject1" default="test" basedir="."> <description>Shows how report templates can be created using the API and not JRXML files.</description> <property name="sample.dir" value="JavaProject1"/> <property name="sample.base.name" value="NoXmlDesign" /> <property name="sample.app.name" value="${sample.base.name}App" /> <property name="sample.report.name" value="${sample.base.name}Report" /> <path id="classpath"> <pathelement location="build/classes"/> <pathelement location="../../../build/classes" /> <pathelement location="../../fonts" /> <fileset dir="java/lib"> <include name="**/*.jar"/> </fileset> </path> <target name="javac"> <mkdir dir="build/classes"/> <javac srcdir="src" destdir="build/classes" debug="true" optimize="false" deprecation="true" target="1.5" source="1.5" encoding="ISO-8859-1"> <classpath refid="classpath"/> </javac> <copy todir="build/classes"> <fileset dir="src"> <exclude name="**/*.java"/> </fileset> </copy> </target> <target name="compile" description="Compiles the report design and produces the .jasper file." depends="javac"> <mkdir dir="build/reports"/> <java classname="${sample.app.name}" fork="true"> <arg value="compile"/> <classpath refid="classpath"/> </java> </target> <target name="fill" description="Fills the compiled report design with data and produces the .jrprint file."> <ant dir="../" target="fill"/> </target> <target name="view" description="Launches the report viewer to preview the report stored in the .jrprint file."> <ant dir="../" target="view"/> </target> <target name="viewXml" description="Launches the report viewer to preview the generated report stored in an XML file."> <ant dir="../" target="viewXml"/> </target> <target name="print" description="Sends the report in the .jrprint file to the printer."> <ant dir="../" target="print"/> </target> <target name="pdf" description="Generates a PDF version of the report by converting the .jrprint file."> <ant dir="../" target="pdf"/> </target> <target name="xml" description="Generates an XML version of the report by converting the .jrprint file."> <ant dir="../" target="xml"/> </target> <target name="xmlEmbed" description="Generates an XML version of the report by converting the .jrprint file."> <ant dir="../" target="xmlEmbed"/> </target> <target name="html" description="Generates an HTML version of the report by converting the .jrprint file."> <ant dir="../" target="html"/> </target> <target name="rtf" description="Generates an RTF version of the report by converting the .jrprint file."> <ant dir="../" target="rtf"/> </target> <target name="xls" description="Generates an XLS version of the report by converting the .jrprint file using the POI library."> <ant dir="../" target="xls"/> </target> <target name="jxl" description="Generates an XLS version of the report by converting the .jrprint file using the JExcelApi library."> <ant dir="../" target="jxl"/> </target> <target name="csv" description="Generates a CSV version of the report by converting the .jrprint file."> <ant dir="../" target="csv"/> </target> <target name="odt" description="Generates an ODT version of the report by converting the .jrprint file."> <ant dir="../" target="odt"/> </target> <target name="ods" description="Generates an ODS version of the report by converting the .jrprint file."> <ant dir="../" target="ods"/> </target> <target name="docx" description="Generates a DOCX version of the report by converting the .jrprint file."> <ant dir="../" target="docx"/> </target> <target name="xlsx" description="Generates an XLSX version of the report by converting the .jrprint file."> <ant dir="../" target="xlsx"/> </target> <target name="pptx" description="Generates a PPTX version of the report by converting the .jrprint file."> <ant dir="../" target="pptx"/> </target> <target name="xhtml" description="Generates an XHTML version of the report by converting the .jrprint file."> <ant dir="../" target="xhtml"/> </target> <target name="writeXml" description="Generates the JRXML version of the report design by converting the .jasper file."> <ant dir="../" target="writeXml"/> </target> <target name="viewDesign" description="Launches the design viewer to preview the compiled report design."> <ant dir="../" target="viewDesign"/> </target> <target name="clean" description="Deletes all the generated files."> <ant dir="../" target="clean-sample"/> </target> <target name="test" description="Runs the sample."> <echo message="==================================="/> <echo message=" No XML Design Sample"/> <echo message="==================================="/> <antcall target="clean" /> <antcall target="javac" /> <antcall target="compile" /> <ant dir="../" target="test"/> </target> </project>
  8. Hi i have to generate dynamically a pdf report based on number of lines left in the current page then only i have to create new page in that report using jasper api design. Hope you do the needful. thanks in advance, suneetha
  9. Hi, could you please tell me how to read css file in jasper api design or how to read properties file using jasper api design . i am very new to jasper reports.please give me some example.Hope you do the needful . Thanks in advance, Suneetha.
×
×
  • Create New...