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

sumit09

Members
  • Posts

    10
  • Joined

  • Last visited

sumit09's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Collaborator Rare

Recent Badges

0

Reputation

  1. Dont leave any space between two subreports in the master report. Both sub reports should be touching. Also check, if you have left any space in details band.
  2. I have designed a report having multiple subreports, all the subreports having same font type and font size i.e times new roman and 11 respectively. When I generate the pdf in Windows 7 machine there is no issue. When exported in Windows 10, for one of the subreports font size changes to 10. All other subreports working fine. I tried to findout difference between that particular report and other subreports, but its identical. Kindly help. Thanks.
  3. Thanks for the feedback. It got resolved after I installed Times new roman font extension.
  4. Thanks for the feedback. Data1 Data2 Data3 Data4 Data4 Data4 Data4 Data4 Data4 Data4 Data4 Data4 Data4 Data11 Data12 Data13 Data14 Data14 Data14 Data14 Data14 Data14 Data14 Data21 Data22 Data23 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 Data24 This is what i am getting. Whenever the text crosses halfway mark of the text field length, new line is added below. I found that if I change markup as none from style and pdf font name from times roman to default, the issue gets resolved. But I don't want the pdf font to be default. How do I add dejavu sans in pdf font name dropdown. Pls help.
  5. Uncheck summary on new page property and try. Thanks.
  6. Is exam 3 repeating itself or the content is splitting between two pages?
  7. I am building a report in ireports 5.6.0 having multiple sub reports. The text boxes defined in those subreports are having extar bottom padding or can say a new line in inserted in the text field area when data is retrieved. Pls help!! Properties used : stretch with overflow:true stretch type : no stretch(although tried all 3 available options) position type float <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="RepaymentMemo_exposure" pageWidth="515" pageHeight="802" whenNoDataType="AllSectionsNoDetail" columnWidth="515" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" uuid="776cc7b4-88b0-48c1-b9fc-e33819327de4"> <property name="ireport.zoom" value="1.5"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="memoID_exposure" class="java.lang.Integer" isForPrompting="false"> <defaultValueExpression><![CDATA[]]></defaultValueExpression> </parameter> <queryString> <![CDATA[select ID_EXPOSURE,NM_FACILITY, FACILITY_NUM, PRINC_OUTSTANDING_AMT, DPD, COLLATERAL,dt_updt from RECALL_EXPOSURE where memo_ID=$P{memoID_exposure} order by ID_EXPOSURE]]> </queryString> <field name="ID_EXPOSURE" class="java.math.BigDecimal"/> <field name="NM_FACILITY" class="java.lang.String"/> <field name="FACILITY_NUM" class="java.lang.String"/> <field name="PRINC_OUTSTANDING_AMT" class="java.math.BigDecimal"/> <field name="DPD" class="java.lang.String"/> <field name="COLLATERAL" class="java.lang.String"/> <field name="DT_UPDT" class="java.sql.Timestamp"/> <variable name="principle amount" class="java.math.BigDecimal" calculation="Sum"> <variableExpression><![CDATA[$F{PRINC_OUTSTANDING_AMT}]]></variableExpression> <initialValueExpression><![CDATA[]]></initialValueExpression> </variable> <background> <band splitType="Stretch"/> </background> <title> <band height="45" splitType="Stretch"> <staticText> <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="0" y="0" width="128" height="45" backcolor="#99CCFF" uuid="2aa51829-876d-41b6-ba05-f0470583ebc4"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <text><![CDATA[Facility]]></text> </staticText> <staticText> <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="291" y="0" width="224" height="45" backcolor="#99CCFF" uuid="31ea73bb-8b94-4d10-9beb-fd7c153852f8"/> <box leftPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <text><![CDATA[Collateral]]></text> </staticText> <staticText> <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="255" y="0" width="36" height="45" backcolor="#99CCFF" uuid="cdc9abf5-70e7-4ae9-86ee-8a88ab98604f"/> <box leftPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <text><![CDATA[DPD]]></text> </staticText> <staticText> <reportElement stretchType="RelativeToTallestObject" mode="Opaque" x="128" y="0" width="57" height="45" backcolor="#99CCFF" uuid="0fe0f7b7-821c-4529-84e9-4d883444d429"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <text><![CDATA[Facility No.]]></text> </staticText> <textField isStretchWithOverflow="true"> <reportElement mode="Opaque" x="185" y="0" width="70" height="45" backcolor="#99CCFF" uuid="16cb80a9-d1df-4b5f-a50a-26ff51edb76a"/> <box leftPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <textFieldExpression><![CDATA[(($F{DT_UPDT}!=null)?("Total Outstanding as at "+new SimpleDateFormat("dd/MM/yyyy").format($F{DT_UPDT})+" (S$) "):("Total Outstanding as at (S$)"))]]></textFieldExpression> </textField> </band> </title> <detail> <band height="15" splitType="Prevent"> <frame> <reportElement positionType="Float" x="0" y="0" width="515" height="15" uuid="be4b7492-19dc-4576-ac2b-ced2bdd65cf6"/> <box> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="0" y="0" width="128" height="15" uuid="3a0b59da-da3b-413a-b2b3-3cf5e6b70cbc"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Roman"/> </textElement> <textFieldExpression><![CDATA[$F{NM_FACILITY}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="128" y="0" width="57" height="15" uuid="21f18610-9387-4446-b000-6898d45751a3"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Roman"/> </textElement> <textFieldExpression><![CDATA[$F{FACILITY_NUM}]]></textFieldExpression> </textField> <textField pattern="#,##0.00" isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="185" y="0" width="70" height="15" uuid="c82c4a69-e5ce-4b12-b756-96a9f43e50ee"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement textAlignment="Right" verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Roman"/> </textElement> <textFieldExpression><![CDATA[$F{PRINC_OUTSTANDING_AMT}]]></textFieldExpression> </textField> <textField isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToTallestObject" isPrintRepeatedValues="false" x="255" y="0" width="36" height="15" uuid="1b5628af-782d-4ab1-aa7f-2f60f59a76c6"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Roman"/> </textElement> <textFieldExpression><![CDATA[$F{DPD}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="#,##0.00" isBlankWhenNull="true"> <reportElement positionType="Float" isPrintRepeatedValues="false" x="291" y="0" width="224" height="15" uuid="8f15bb92-85fa-4b17-86b3-c93a3f25f485"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement textAlignment="Justified" verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Roman"/> </textElement> <textFieldExpression><![CDATA[$F{COLLATERAL}]]></textFieldExpression> </textField> </frame> </band> </detail> <summary> <band height="20"> <frame> <reportElement positionType="Float" x="0" y="0" width="515" height="20" uuid="11663fb0-5887-4d67-9c64-ce31d06ce760"/> <box> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <staticText> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="0" width="128" height="20" uuid="d10502c2-bf23-4d3e-95d1-4db5402ec573"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.0"/> <bottomPen lineWidth="0.0"/> <rightPen lineWidth="0.25"/> </box> <textElement textAlignment="Left" verticalAlignment="Top"> <font size="11" isBold="false" pdfFontName="Times-Bold"/> </textElement> <text><![CDATA[Grand Total]]></text> </staticText> <staticText> <reportElement positionType="Float" x="291" y="0" width="224" height="20" uuid="76700e82-0945-4d69-bca9-66a7183676a4"/> <box> <leftPen lineWidth="0.25"/> </box> <textElement> <font size="11"/> </textElement> <text><![CDATA[]]></text> </staticText> <textField pattern="#,##0.00" isBlankWhenNull="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="185" y="0" width="70" height="20" isPrintWhenDetailOverflows="true" uuid="55c2fc2e-5a7e-4d86-8600-cd1d2d1b7037"/> <box leftPadding="2" rightPadding="2"> <topPen lineWidth="0.25"/> <leftPen lineWidth="0.25"/> <bottomPen lineWidth="0.25"/> <rightPen lineWidth="0.25"/> </box> <textElement textAlignment="Right" verticalAlignment="Top" markup="styled"> <font size="11" pdfFontName="Times-Bold"/> </textElement> <textFieldExpression><![CDATA[$V{principle amount}]]></textFieldExpression> </textField> </frame> </band> </summary> </jasperReport>
  8. yes.. plz That would help me. My id is sumit.iiit09@gmail.com Thanks!!!
  9. Hi frnzz, Recently i started working with IReports. I am new to this. i need multiple checkboxes as parameters and then execute want to execute query with those parameters. Please help ASAP.... Thanks in advance
×
×
  • Create New...