2002 JI Open Discussion Posted August 18, 2006 Share Posted August 18, 2006 By: Enrico Goosen - enricogoosen Subreport width less than Master report? 2003-05-13 01:31 Hi, It appears that the sub report has less space available? My subreport doesn't display at x=0...it seems indented? Take a look at my code: <detail> <band height="45"> <subreport isUsingCache="false"> <reportElement x="0" y="5" width="802" height="40" backcolor="#FFCC99" isPrintRepeatedValues="false" isPrintWhenDetailOverflows="false" isRemoveLineWhenBlank="true"/> <dataSourceExpression> (new dori.jasper.engine.data.JRBeanCollectionDataSource(java.util.Collections.EMPTY_LIST)) </dataSourceExpression> <subreportExpression class="dori.jasper.engine.JasperReport"> ($P{renderer}.compileReportDesign((za.co.bridgept.knowhow.model.Question)$F{question},$V{cnt})) </subreportExpression> </subreport> </band> </detail> How can I determine how much page width I have available? Enrico By: Teodor Danciu - teodord RE: Subreport width less than Master report? 2003-05-13 12:19 Hi, Your subreport template has some page margins, doesn't it? I hope this helps. Teodor By: Enrico Goosen - enricogoosen RE: Subreport width less than Master report? 2003-05-14 23:38 Thanks...I didn't think of that :-) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now