jummy-qa Posted April 7 Share Posted April 7 I have a problem when calling a jasper report from my servlet as pdf the Arabic text is not stretching and cut the text even though I'm using text adjust: StretchHeight (with English it works). I also added in the jasperreports.properties ile these net.sf.jasperreports.default.pdf.encoding=Identity-H net.sf.jasperreports.default.pdf.embedded=true Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted April 28 Share Posted April 28 check these screen shots Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted April 28 Share Posted April 28 https://shreekrishnashankhwar.wordpress.com/jasper/ For Jasper Related Solution Link to comment Share on other sites More sharing options...
Solution jummy-qa Posted May 2 Author Solution Share Posted May 2 It worked when I used the correct font, cause I notice there is sth wrong with the font. Thank you Link to comment Share on other sites More sharing options...
jummy-qa Posted May 2 Author Share Posted May 2 Do you know how can I pass the total pages number from master to sub report in JASPERREPORTS? I have master report that in the Colum header have sub report that I want to show the total pages number of the master how can I do it? Link to comment Share on other sites More sharing options...
shreekrishna.shankhwar Posted May 2 Share Posted May 2 You can use $V{PAGE_NUMBER} Inside the sub report make Evolution time to Report. It will display Total Number of Pages. Or Share the jrxml let me check what exactly you want it ? Link to comment Share on other sites More sharing options...
jummy-qa Posted May 2 Author Share Posted May 2 <columnHeader> <band height="54"> <subreport> <reportElement x="-11" y="2" width="467" height="52" uuid="6f596a36-1e4c-4533-92bc-a46ded43f489"/> <subreportParameter name="stuNumP"> <subreportParameterExpression><![CDATA[$F{STU_NUM}]]></subreportParameterExpression> </subreportParameter> <subreportParameter name="pageNumber"> <subreportParameterExpression><![CDATA[$V{PAGE_NUMBER}]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression><![CDATA["Stu_info.jasper"]]></subreportExpression> </subreport> </band> </columnHeader> the page PAGE_NUMBER here will be show in in the Stu_info as the page number i aslo want to show the total master report pages in it ex 1/ 3 the 3 is the total of how many pages i have Link to comment Share on other sites More sharing options...
jummy-qa Posted May 6 Author Share Posted May 6 On 5/2/2024 at 10:19 AM, jummy-qa said: 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