Hello from Germany!
I added the follwing code in <pagefooter>, to sow a little company icon there. But it doesn't work. I can't find the class org/jfree/pixie/wmf/WmfFile
Please help. Does anywhere have a example, how to rpint an icon in PageHeader/PageFooter?
the code:
<imageref name="logo" x="0" y="0" width="100" height="100" src="logo.gif" />
DEBUG: If text layouting is working as expected, no further action is required.
java.lang.NoClassDefFoundError: org/jfree/pixie/wmf/WmfFile
at org.jfree.report.filter.ImageLoadFilter.getValue(ImageLoadFilter.java:128)
at org.jfree.report.filter.templates.ImageURLElementTemplate.getValue(ImageURLElementTemplate.java:122)
at org.jfree.report.Element.getValue(Element.java:258)
at org.jfree.report.content.ImageContentFactoryModule.createContentForElement(ImageContentFactoryModule.java:90)
at org.jfree.report.content.DefaultContentFactory.createContentForElement(DefaultContentFactory.java:121)
at org.jfree.report.layout.AbstractBandLayoutManager.getElementContentBounds(AbstractBandLayoutManager.java:232)
at org.jfree.report.layout.StaticLayoutManager.computePreferredSize(StaticLayoutManager.java:270)
at org.jfree.report.layout.StaticLayoutManager.preferredLayoutSize(StaticLayoutManager.java:360)
at org.jfree.report.layout.BandLayoutManagerUtil.doLayout(BandLayoutManagerUtil.java:165)
at org.jfree.report.modules.output.pageable.base.pagelayout.SimplePageLayouter.doLayout(SimplePageLayouter.java:693)
at org.jfree.report.modules.output.pageable.base.pagelayout.SimplePageLayouter.print(SimplePageLayouter.java:650)
at org.jfree.report.modules.output.support.pagelayout.SimplePageLayoutDelegate.reportStarted(SimplePageLayoutDelegate.java:426)
at org.jfree.report.modules.output.pageable.base.pagelayout.SimplePageLayouter.reportStarted(SimplePageLayouter.java:289)
at org.jfree.report.function.LevelledExpressionList.reportStarted(LevelledExpressionList.java:162)
at org.jfree.report.states.ReportState.fireReportStartedEvent(ReportState.java:668)
at org.jfree.report.states.PostReportInitializedState.advance(PostReportInitializedState.java:75)
at org.jfree.report.modules.output.pageable.base.PageableReportProcessor.processPage(PageableReportProcessor.java:692)
at org.jfree.report.modules.output.pageable.base.PageableReportProcessor.processPrintedPages(PageableReportProcessor.java:464)
at org.jfree.report.modules.output.pageable.base.PageableReportProcessor.repaginate(PageableReportProcessor.java:381)
at org.jfree.report.modules.gui.base.ReportPane.repaginate(ReportPane.java:848)
at org.jfree.report.modules.gui.base.PreviewProxyBase$RepaginationRunnable.run(PreviewProxyBase.java:691)
at org.jfree.report.util.Worker.run(Worker.java:151)


I added the follwing code in <pagefooter>, to sow a little company icon there. But it doesn't work. I can't find the class org/jfree/pixie/wmf/WmfFile
Reply With Quote