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

fsimard

Members
  • Posts

    2
  • Joined

  • Last visited

fsimard's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Hello Thedor I try the trick to add a dummy group with the isResetPageNumber to true and is not working I have a title page with the isTitleNewPage="true" and the content still start at page 2 do you have any trick i can try to reset the page number. Tks for the help Code:<jasperReport name="BaseIndividualReport" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="612" pageHeight="792" columnWidth="572" columnSpacing="0" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" whenNoDataType="NoPages" isTitleNewPage="true" isSummaryNewPage="true"scriptletClass="com.individual.jasper.HeadingsScriptlet"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <field name="id" class="java.lang.String"/> <variable name="HeadingsCollection" class="java.util.Collection" resetType="Report" calculation="System"> <initialValueExpression><![CDATA[new java.util.ArrayList()]]></initialValueExpression> </variable> <group name="MyDummyGroup" isResetPageNumber="true"/> <group name="Introduction0" > <groupExpression /> <groupHeader> etc ...
  2. Hi I am printing my report into a pdf. all my data are UTF-8 encode. When i try to make some field in bold, the special caracter are lost. i make a code example with a static text and is the same result. if any one can help me Code:<staticText> <reportElement x="64" y="139" width="128" height="18" key="staticText-1"/> <box></box> <textElement> <font fontName="Arial" pdfFontName="Helvetica-Bold" size="13" isBold="true" isPdfEmbedded ="true" pdfEncoding ="Cp1252"/> </textElement> <text><![CDATA[Éléphant]]></text> </staticText>
×
×
  • Create New...