Jump to content

ireport et PHP : FATAL ERROR:NO USABLE FONTS


ktrinad

Recommended Posts

By: eric - greatmaster

ireport et PHP : FATAL ERROR:NO USABLE FONTS

2003-11-27 07:55

Hi,

 

i'm trying to use ireport with PHP by calling the ireport and JASPER api from PHP.

 

Then i call a java class to compile reports and modify on the fly parameters.

 

I use php on APACHE with CGI.

I have a FATAL ERROR:NO USABLE FONTS FOUND when i try to modify the .XML with the ireport API.

 

Is there someone who ever tried that ???

What is this error ?

 

Thanks

 

eric

 

the code of my class follows :

 

<code>

import dori.jasper.engine.*;

import dori.jasper.view.*;

import it.businesslogic.ireport.connection.*;

import it.businesslogic.ireport.*;

import java.util.*;

import java.lang.*;

 

public class PHPJRConnector

{

private HashMap parametres;

public PHPJRConnector(){

this.parametres = new HashMap();

}

public String run(String srcFileName, String dstFileName)

{

try {

dori.jasper.engine.JasperPrint print=null;

dori.jasper.engine.JRExporter exporter=null;

////////////////////////////////////////////////

// CONNEXION A LA BASE DE DONNEES

////////////////////////////////////////////////

 

JDBCConnection maConnection = new JDBCConnection();

maConnection.setJDBCDriver("com.mysql.jdbc.Driver");

maConnection.setUrl("jdbc:mysql://dep.ac-orleans-tours.fr/deptest");

//maConnection.setDatabase("deptest");

maConnection.setUsername("dep");

maConnection.setPassword("pozv68");

 

////////////////////////////////////////////////

// EXPORTATION DU RAPPORT EN PDF

////////////////////////////////////////////////

 

print = dori.jasper.engine.JasperFillManager.fillReport(

srcFileName,

null,

maConnection.getConnection());

 

exporter = new dori.jasper.engine.export.JRPdfExporter();

exporter.setParameter(

JRExporterParameter.OUTPUT_FILE_NAME,dstFileName);

exporter.setParameter(

JRExporterParameter.JASPER_PRINT,print);

exporter.exportReport();

 

return "YES";

} catch (Exception ex)

{

return "ERREUR!";

}

}

 

public void addParametre(String nom,String valeur){

//System.out.print(nom+" "+valeur+" "+this.parametres);

this.parametres.put(nom,valeur);

}

public HashMap getParametres(){

return parametres;

}

 

public void modifieXML(String srcFileName, String dstFileName){

HashMap m = this.getParametres();

 

Report rapport = new Report(srcFileName);

Vector v = new Vector();

 

// Ajouter deux param tres

/*

JRParameter p1 = new JRParameter("session","java.lang.String",false);

p1.setDefaultValueExpression("new String("2002")");

v.add(p1);

JRParameter p2 = new JRParameter("serie","java.lang.String",false);

p2.setDefaultValueExpression("new String("S-SCI")");

v.add(p2);

*/

// Modifier des param tres existants

 

v = rapport.getParameters();

Enumeration enum = v.elements();

while (enum.hasMoreElements())

{

it.businesslogic.ireport.JRParameter p = (it.businesslogic.ireport.JRParameter)enum.nextElement();

if (m.containsKey(p.getName().toString()))

p.setDefaultValueExpression(m.get(p.getName()).toString());

}

rapport.setParameters(v);

rapport.saveXMLFile(dstFileName);

}

 

public void compileXML(String srcXML,String dstJASPER){

JasperCompileManager compilateur = new JasperCompileManager();

try{

compilateur.compileReportToFile(srcXML,

dstJASPER);

System.out.print(" OK :-)");

}catch (JRException jrex){

System.out.print("ERREURS de compilation :-(");

}

}

}

 

</code>

 

 

By: Giulio Toffoli - gt78SourceForge.net SubscriberProject Admin

RE: ireport et PHP : FATAL ERROR:NO USABLE FONTS

2003-11-27 08:16

 

Try to test your class outside PHP.

 

Check that you have an Xserver running (or java 1.4 with the parameter java.awt.headless=true, or xvb running).

 

BE sure that your fonts (if you use TTF fonts) are in the classpath.

 

Could be an error in XML, be sure that your pdf text encoding for textfields is set to Cp1250 and not CP1259 (note the case of the first two chars).

 

Giulio

 

 

 

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-27 23:51

i tested my class in a JAVA environment by calling it in a main function. It works fine, i generate without any problem the PDF.

 

I'm going to see the fonts, i'm under win32, with apache. I didn't know that it uses TTF fonts.

 

And i'm going to see the java.awt.headless=true. It's a parameter to put in php ????

 

thanks a lot for the help !!!

 

see you very soon !

 

By: Giulio Toffoli - gt78SourceForge.net SubscriberProject Admin

RE: ireport et PHP : FATAL ERROR:NO USABLE FONTS

2003-11-28 00:52

java.awt.headless is not useful under win32. So the problem is not here.

 

What means "when i try to modify the .XML with the ireport API" ? What are you doing exactly?

 

Giulio

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 04:12

i'm trying to add a parameter to .xml representing the report i build with ireport.

 

But, in order to pass parameters dynamicly to the report i must modify this .xml and recompile it and then export the PDF.

That's what i try to do . I manage to do this in pure JAVA but when i call the java class from php i have an error !!!

 

to be continued ...

 

 

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 04:18

" Could be an error in XML, be sure that your pdf text encoding for textfields is set to Cp1250 and not CP1259 (note the case of the first two chars).

"

 

what do you mean when you say this ?

How can i change this encoding for textfields ?

 

eric

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 04:37

the error happens when i try to call this JAVA method :

 

public void modifieXML(String srcFileName, String dstFileName){

HashMap m = this.getParametres();

 

Report rapport = new Report(srcFileName);

Vector v = new Vector();

// Modifier des param tres existants

 

v = rapport.getParameters();

Enumeration enum = v.elements();

while (enum.hasMoreElements())

{

it.businesslogic.ireport.JRParameter p = (it.businesslogic.ireport.JRParameter)enum.nextElement();

if (m.containsKey(p.getName().toString()))

p.setDefaultValueExpression(m.get(p.getName()).toString());

}

rapport.setParameters(v);

rapport.saveXMLFile(dstFileName);

}

 

I added the ttf fonts located in c:windowsfonts but no change i have always the same error in APACHE log:

 

FATAL ERROR : NO USABLE FONTS FOUND

 

However calling this method (i use NETBEANS) in a java main causes no problems !!

So ?

 

I'm going to take a look to the it.businesslogic.ireport.Report class to see what it needs !!!!

 

...

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 04:58

my pdfencoding is CP1252

 

is it correct ?

 

eric

 

By: Giulio Toffoli - gt78SourceForge.net SubscriberProject Admin

RE: ireport et PHP : FATAL ERROR:NO USABLE FONTS

2003-11-28 05:00

I dont understand why you are using a similar method to set parameters value...

 

Is as set global variables in a program and recompile before start it instead to simply pass parameters on a command line!

 

Anyway, an attribute of textfield tag in XML is pdfEncoding. In certain cases iReport put an invalid value (CPXXXX instead CpXXXX). This can be result in a font error.

You have only to open the XML file loaded as src to check the encoding used. Anyway the problem is throwed when the print is generated, and not saving the XML....

 

Take a look to the it.businesslogic.ireport.Report class is a good start of point.

 

Only a little think. iReport is GPLed, not LGPL, so the use of the *code* of iReport or part of it (not JasperReports) is covered by GPL license and it's not fisible use this code in commercial solutions. I'm sure that your work is covered by a GPL license. If not you should ask for a proper license.

 

I hope this helps you.

 

Giulio

 

Giulio

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 06:42

i changed my pdfEncoding="CP1252" in pdfEncoding="Cp1252" but no improvement !!!!

always FATAL ERROR:NO USABLE FONT FOUND

ARE the correct fonts in the ireport or jasperreport packages or in WINDOWS ?

 

One more question :

 

i need to generate pdf relative to parameter choosen by users in a php form. So How could i do this without modifying the .xml files and recompile them ?????

 

thanks a lot for support :-)

 

By: Giulio Toffoli - gt78SourceForge.net SubscriberProject Admin

RE: ireport et PHP : FATAL ERROR:NO USABLE FONTS

2003-11-28 08:13

A parameter is a think that can be have a default value, but generally the value is supplied by the user.

 

The core jasperReports method to fill a report is:

 

fillReport

 

This method take as function parameter an HashMap trought wich you can pass to report engine values for parameters.

 

Example:

 

 

java.util.HashMap map = new java.util.HashMap();

map.put("IDCustomer",new Integer(1234));

 

String customer_report = "com/elvox/catalog/print/customer.jasper";

 

dori.jasper.engine.JasperPrint print=null;

dori.jasper.engine.JasperReport report = dori.jasper.engine.JasperManager.loadReport(cl.getResourceAsStream( customer_report ));

print = dori.jasper.engine.JasperFillManager.fillReport( report , map,this.getConnection());

dori.jasper.engine.JRExporter exporter = new dori.jasper.engine.export.JRPdfExporter();

String fileName = "customer.pdf";

 

exporter.setParameter(dori.jasper.engine.JRExporterParameter.OUTPUT_FILE_NAME,fileName);

exporter.setParameter(dori.jasper.engine.JRExporterParameter.JASPER_PRINT,print);

exporter.exportReport();

 

______________________________

Giulio

 

By: eric - greatmaster

RE: ireport et PHP : FATAL ERROR:NO USABLE FO

2003-11-28 08:14

The fonts used in the XML are SansSerif and Helvetica. But i don't have sansSerif.ttf in the c:windowsfonts i put in the classpath.

How could i know the name of the fonts mentionned in the XML ?

 

Here is the XML of my report :

 

<?xml version="1.0" encoding="UTF-8" ?>

<!-- Created with iReport - A designer for JasperReports -->

<!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">

<jasperReport

name="notesAuBac"

columnCount="1"

printOrder="Vertical"

orientation="Portrait"

pageWidth="595"

pageHeight="842"

columnWidth="535"

columnSpacing="0"

leftMargin="30"

rightMargin="30"

topMargin="20"

bottomMargin="20"

whenNoDataType="NoPages"

isTitleNewPage="false"

isSummaryNewPage="false">

<parameter name="session" isForPrompting="false" class="java.lang.String"/>

<parameter name="serie" isForPrompting="false" class="java.lang.String"/>

<queryString><![CDATA[sELECT *

FROM `etat_BCG`

WHERE session LIKE '$P!{session}%'

and serie LIKE '$P!{serie}%'

ORDER BY

session,

cod_eta,

serie,

mati re]]></queryString>

<field name="identifiant_s rie" class="java.lang.String"/>

<field name="candidatsAcad mie" class="java.lang.Double"/>

<field name="candidats" class="java.lang.Integer"/>

<field name="ecartEtab" class="java.lang.Double"/>

<field name="moyEtab" class="java.lang.Double"/>

<field name="maxiAcad" class="java.lang.Double"/>

<field name="miniAcad" class="java.lang.Double"/>

<field name="mediAcad" class="java.lang.Double"/>

<field name="moyAcad" class="java.lang.Double"/>

<field name="mati re" class="java.lang.String"/>

<field name="cod_mat" class="java.lang.String"/>

<field name="libelle_court_diplome" class="java.lang.String"/>

<field name="cod_osp" class="java.lang.String"/>

<field name="cod_spe" class="java.lang.String"/>

<field name="libelle_etab" class="java.lang.String"/>

<field name="uaidnc" class="java.lang.String"/>

<field name="uaidnp" class="java.lang.String"/>

<field name="cod_eta" class="java.lang.String"/>

<field name="serie" class="java.lang.String"/>

<field name="session" class="java.lang.String"/>

<field name="libelle_long_diplome" class="java.lang.String"/>

<group name="session" isStartNewColumn="false" isStartNewPage="false" isResetPageNumber="false" isReprintHeaderOnEachPage="false" minHeightToStartNewPage="0" >

<groupExpression><![CDATA[$F{session}]]></groupExpression>

<groupHeader>

<band height="0" isSplitAllowed="true" >

</band>

</groupHeader>

<groupFooter>

<band height="0" isSplitAllowed="true" >

</band>

</groupFooter>

</group>

<group name="cod_eta" isStartNewColumn="false" isStartNewPage="false" isResetPageNumber="false" isReprintHeaderOnEachPage="false" minHeightToStartNewPage="0" >

<groupExpression><![CDATA[$F{cod_eta}]]></groupExpression>

<groupHeader>

<band height="0" isSplitAllowed="true" >

</band>

</groupHeader>

<groupFooter>

<band height="21" isSplitAllowed="true" >

<rectangle radius="0" >

<reportElement

mode="Opaque"

x="5"

y="0"

width="524"

height="20"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</rectangle>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="135"

y="0"

width="0"

height="20"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="388"

y="0"

width="0"

height="20"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<staticText>

<reportElement

mode="Opaque"

x="10"

y="3"

width="122"

height="13"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[Nombre de candidats]]></text>

</staticText>

<textField isStretchWithOverflow="false" pattern="#" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="139"

y="3"

width="244"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{candidatsAcad mie}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="391"

y="3"

width="133"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Integer"><![CDATA[$F{candidats}]]></textFieldExpression>

</textField>

</band>

</groupFooter>

</group>

<group name="serie" isStartNewColumn="false" isStartNewPage="true" isResetPageNumber="false" isReprintHeaderOnEachPage="false" minHeightToStartNewPage="0" >

<groupExpression><![CDATA[$F{serie}]]></groupExpression>

<groupHeader>

<band height="0" isSplitAllowed="true" >

</band>

</groupHeader>

<groupFooter>

<band height="0" isSplitAllowed="true" >

</band>

</groupFooter>

</group>

<background>

<band height="0" isSplitAllowed="true" >

</band>

</background>

<title>

<band height="13" isSplitAllowed="true" >

<staticText>

<reportElement

mode="Opaque"

x="7"

y="2"

width="178"

height="11"

forecolor="#CCCCCC"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="false" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[Notes au Baccalaur at]]></text>

</staticText>

</band>

</title>

<pageHeader>

<band height="101" isSplitAllowed="true" >

<rectangle radius="0" >

<reportElement

mode="Opaque"

x="135"

y="51"

width="394"

height="29"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToBottom"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</rectangle>

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="8"

y="5"

width="518"

height="22"

forecolor="#41237E"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[$F{uaidnp} + " " + $F{uaidnc}]]></textFieldExpression>

</textField>

<staticText>

<reportElement

mode="Opaque"

x="7"

y="29"

width="79"

height="16"

forecolor="#41237E"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[baccalaur at]]></text>

</staticText>

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="89"

y="29"

width="314"

height="16"

forecolor="#41237E"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[$F{libelle_long_diplome}]]></textFieldExpression>

</textField>

<staticText>

<reportElement

mode="Opaque"

x="411"

y="29"

width="48"

height="16"

forecolor="#41237E"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[session]]></text>

</staticText>

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="460"

y="29"

width="50"

height="16"

forecolor="#41237E"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[$F{session}]]></textFieldExpression>

</textField>

<staticText>

<reportElement

mode="Opaque"

x="144"

y="56"

width="239"

height="17"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[Acad mie]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="393"

y="56"

width="124"

height="17"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[Etablissement]]></text>

</staticText>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="388"

y="51"

width="0"

height="28"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<rectangle radius="0" >

<reportElement

mode="Opaque"

x="5"

y="78"

width="524"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</rectangle>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="135"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<staticText>

<reportElement

mode="Opaque"

x="12"

y="80"

width="117"

height="17"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="10" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[Epreuve]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="137"

y="79"

width="60"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[moyenne]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="201"

y="79"

width="61"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[m diane]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="265"

y="79"

width="59"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[minimum]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="329"

y="79"

width="56"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[maximum]]></text>

</staticText>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="200"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="264"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="328"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="388"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<staticText>

<reportElement

mode="Opaque"

x="393"

y="79"

width="59"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="8" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[moyenne]]></text>

</staticText>

<staticText>

<reportElement

mode="Opaque"

x="465"

y="79"

width="59"

height="19"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Center" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<text><![CDATA[ cart

acad mie]]></text>

</staticText>

<line direction="TopDown">

<reportElement

mode="Opaque"

x="458"

y="78"

width="0"

height="23"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

</band>

</pageHeader>

<columnHeader>

<band height="0" isSplitAllowed="true" >

</band>

</columnHeader>

<detail>

<band height="22" isSplitAllowed="true" >

<rectangle radius="0" >

<reportElement

mode="Opaque"

x="5"

y="0"

width="524"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</rectangle>

<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="8"

y="2"

width="123"

height="16"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Left" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="6" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.String"><![CDATA[$F{mati re}]]></textFieldExpression>

</textField>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="135"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="200"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="264"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="328"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="388"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<line direction="BottomUp">

<reportElement

mode="Opaque"

x="458"

y="0"

width="0"

height="21"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" />

</line>

<textField isStretchWithOverflow="false" pattern="##.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="138"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{moyAcad}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="##.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="203"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{mediAcad}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="##.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="268"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{miniAcad}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="##.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="331"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{maxiAcad}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="##.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="394"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#FFFFFF"

positionType="FixRelativeToTop"

isPrintRepeatedValues="true"

isRemoveLineWhenBlank="false"

isPrintInFirstWholeBand="false"

isPrintWhenDetailOverflows="false"/>

<textElement textAlignment="Right" verticalAlignment="Middle" lineSpacing="Single">

<font fontName="SansSerif" pdfFontName="Helvetica" size="7" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />

</textElement>

<textFieldExpression class="java.lang.Double"><![CDATA[$F{moyEtab}]]></textFieldExpression>

</textField>

<textField isStretchWithOverflow="false" pattern="#0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" > <reportElement

mode="Opaque"

x="465"

y="4"

width="52"

height="11"

forecolor="#000000"

backcolor="#

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...