Jump to content

textFieldExpression with arabic text in pdf is not Stretch


jummy-qa
Go to solution Solved by jummy-qa,

Recommended Posts

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

  • 3 weeks later...
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

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

<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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...