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

auvrm1

Members
  • Posts

    3
  • Joined

  • Last visited

auvrm1's Achievements

Newbie

Newbie (1/14)

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

Recent Badges

0

Reputation

  1. Hi, I have a report with several subreports.. I want to have a Endline after the end of report.. I want it be exactly underneath the last data in the page. If its's in the middle, ENdline should come in middle..etc.. Any idea.. thanks! and also...i don't want the line to come in a separate page... for ex: if the data fills all the two pages..., i dont need a third page with that end line.. it should somehow fit in the 2nd page itself...
  2. Hi, when i use the page break element, am getting the following error Code:[jrc] Jan 11, 2007 8:57:00 AM org.apache.commons.digester.Digester error [jrc] SEVERE: Parse Error at line 354 column 23: Element type "break" must be declared. [jrc] org.xml.sax.SAXParseException: Element type "break" must be declared. [jrc] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) [jrc] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) [jrc] at org.apache.commons.digester.Digester.parse(Digester.java:1572) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167) [jrc] at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151) [jrc] at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:107) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.compile(JRAntCompileTask.java:398) [jrc] at net.sf.jasperreports.ant.JRAntCompileTask.execute(JRAntCompileTask.java:252) [jrc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [jrc] at org.apache.tools.ant.Task.perform(Task.java:364) [jrc] at org.apache.tools.ant.Target.execute(Target.java:341) [jrc] at org.apache.tools.ant.Target.performTasks(Target.java:369) [jrc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216) [jrc] at org.apache.tools.ant.Project.executeTarget(Project.java:1185) [jrc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40) [jrc] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32) [jrc] at org.apache.tools.ant.Project.executeTargets(Project.java:1068) [jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423) [jrc] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137) can you please suggest me whats wrong or how to declare the break element. Thanks mg72 wrote: Hi, do not use iReport to create the break-element because iReport-designer does not save the element into the layout-file. Youe may insert the break under the band-tag, e.g.: Code:[code] <band> ..... <break type="Page"> <reportElement x="0" y="17" width="784" height="1" key="element-1"/> </break> </band> Marcus
  3. Can someone point me to any example for how to use this new page break element? thanks AK JasperReports 1.3.0. new <break> element to better control page and column breaks in reports;
×
×
  • Create New...