IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Documents Java Discussion :

[RAPPORT] Problème à la génération d'état avec JasperReports


Sujet :

Documents Java

  1. #1
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut [RAPPORT] Problème à la génération d'état avec JasperReports
    Bonjour,

    Je développe actuellement un logiciel dans lequel je dois inclure des rapports.

    J'ai choisi d'utiliser JasperReports car j'en ai entendu que du bien en collaboration avec iReport pour le Designer.

    Donc je fait mon état avec iReport je génère le fichier .jrxml pour JR...

    En fait je suis le tutorial http://ericreboisson.developpez.com/...jasper-report/

    donc mon code :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    package testR;
     
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.SQLException;
    import java.util.HashMap;
    import java.util.Map;
     
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperCompileManager;
    //import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    import net.sf.jasperreports.engine.design.JasperDesign;
    import net.sf.jasperreports.engine.xml.JRXmlLoader;
    import net.sf.jasperreports.view.JasperViewer;
     
    import com.mysql.jdbc.Driver;
     
    public class Rapport {
     
        public static void main(String[] args) {
     
            // - Paramètres de connexion à la base de données
            String url = "jdbc:mysql://localhost/tims";
            String login = "root";
            String password = "mysql1";
     
            try {
                // - Connexion à la base
                Driver monDriver = new com.mysql.jdbc.Driver();
                DriverManager.registerDriver(monDriver);
                Connection connection = DriverManager.getConnection(url, login, password);
     
                // - Chargement et compilation du rapport
                JasperDesign jasperDesign = JRXmlLoader.load("test.jrxml");
                JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
                // - Paramètres à envoyer au rapport
                Map parameters = new HashMap();
                parameters.put("Titre", "Titre");
                // - Execution du rapport
                JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, connection);
                // - Création du rapport au format PDF
                //JasperExportManager.exportReportToPdfFile(jasperPrint, "D:\\iReport-0.5.1\\classic.pdf");
                JasperViewer.viewReport(jasperPrint);
     
            } catch (JRException e) {
     
                e.printStackTrace();
            } catch (SQLException e) {
     
                e.printStackTrace();
            }
     
        }
    }
    et à la compil j'obitens une erreur :

    java.io.IOException: CreateProcess: javac -classpath D:\Seb-pgh\projet\testrapport\bin;D:\Seb-pgh\projet\testrapport\commons-beanutils-1.5.jar;D:\Seb-pgh\projet\testrapport\mysql-connector-java-3.1.11-bin.jar;D:\Seb-pgh\projet\testrapport\jasperreports-1.2.0.jar;D:\Seb-pgh\projet\testrapport\itext-1.3.1.jar;D:\Seb-pgh\projet\testrapport\commons-logging-1.0.2.jar;D:\Seb-pgh\projet\testrapport\commons-digester-1.7.jar;D:\Seb-pgh\projet\testrapport\commons-collections-2.1.jar;D:\Seb-pgh\projet\testrapport\mysql-connector-java-3.1.8-bin.jar D:\Seb-pgh\projet\testrapport\ActDec_1143621679140_290363.java error=2

    Je ne sais pas d'ou vient la dernière ligne et j'ai bezau chercher je ne trouve pas la solution à mon problème :/

    Quelqu'un aurait-t-il une idée ?

  2. #2
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    c'est parsqu'il ne trouve pas "javac", tu dois configurer ireport et lui indiquer où trouver le compilo ;-)

  3. #3
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    En fait iReport ne me sert qu'a génèrer le .jrxml mais la compilation qui ne marche pas je la fait à partir de mon programme.

    Lorsque je compile avec iReport tout marche bien il me sort le rapport mais c'est pour le sortir dans mon appli que ca ne fonctionne plus et qu'il me met l'erreur donc je ne pense pas que la configuration d'iReport soit mauvaise (et puis j'ai vérifier et c'est déjà configurer :/)

    Je vais essayer de voir par rapport aux sources d'iReport mais c'est pas gagné...

    Si tu es sur que c'est ca tu pourrais développer un peu s'il te plait ?

    Merci.

  4. #4
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    ben je ne vois rien d'autre à développer en fait :-)
    je pensais que tu utilisais IReport...
    Tu utilise quoi comme IDE? c'est peut-être là que c'est mal configuré...

  5. #5
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    Eclipse.

    Mais la compilation d'autres programme ne pose aucun problème

    En fait je veux intégrer les rapports que j'ai créer (via iReport pour ne pas avoir à générer le fichier .jrxml à la main) dans mon appli mais j'ai une erreur à la compilation

    Cette erreur vient apparement de cette ligne
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    JasperDesign jasperDesign = JRXmlLoader.load("test.jrxml");
    Mais je sais pas pourquoi et j'ai essayer plein de possibilités mais rien n'y fait

  6. #6
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    hmmm comme ça je vois pas trop... tu utilise la bonne version de jasperreports % à celle qu'il y a dans ireport?

    rem: Perso j'utilisais le .jasper directement (au lieu des jrxml) , ça évite de les compiler au runtime

  7. #7
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    oui meme version puisque recuperer dans iReport.

    Je vais essayer en utilisant le .jasper on verra si ca peut marcher

    Moi c'est vraiment la derniere ligne dernière ligne d'erreur que je ne comprend pas vraiment
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    D:\Seb-pgh\projet\testrapport\ActDec_1143621679140_290363.java error=2
    Mais bon je vais tenter comme ca. Merci de ton aide.

    Si quelqu'un connait le problème (même la solution c'est encore mieux )... Merci

  8. #8
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    que je comprenne bien :-)
    C'est à la compil de ton prog ou à la compil du rapport que tu obtiens cette erreur?

  9. #9
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    Non à la compil du rapport et comme je compile le rapport à la compilation du programme c'est aussi à la compilation du programme mais en utilisant le rapport déjà compilé j'ai réussi à le faire marcher.

    Mais c'est vrai que j'aimerais quand même comprendre mon erreur parce que même si ca marche maintenant, je vois pas pourquoi ca ne marchai pas tout à l'heure...

    Mais merci beaucoup bidi pour tes précieux conseils

  10. #10
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    par curiosité, je viens de tester et ça fonctionne très bien chez moi :-)
    es-tu sur qu'il trouve tous les jars? parcequ'une IOException à la compil, à part de là (dans ton cas) je ne vois pas bien d'où ça pourrait venir...

  11. #11
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    bah ui note, je vois pas pq il les trouverait pas :-)
    essaye peut-être en d/l la version de JasperReports directement de leur site, ainsi que les libs associées...

  12. #12
    Membre expert
    Avatar de moritan
    Homme Profil pro
    Développeur Java
    Inscrit en
    Juin 2005
    Messages
    687
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : France, Manche (Basse Normandie)

    Informations professionnelles :
    Activité : Développeur Java

    Informations forums :
    Inscription : Juin 2005
    Messages : 687
    Points : 3 135
    Points
    3 135
    Par défaut
    D'après ta ligne de commande toute ton appli est dans des jar.
    Ton ereur IO vient qu'il ne trouve pas ton fichier xml(Problème de chemin relatif).

    As-tu mis ton fichier dans ton jar ? si oui regarde dans la faq il y a un truc la dessus.
    Sinon le répertoire ou se trouve ton fichier est-il dans le classpath?

  13. #13
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    Ma classe rapport n'est pas dans un .jar, c'est juste jasperreport qui est dans un jar avec les differents composants pour l'utiliser.

    Et mon fichier (que ce soit le .jasper ou je .jrxml) est a la base du classpath.

    La solution de bidi fonctionne (à savoir d'utiliser directement le fichier compilé) mais le problème c'est qu'elle ferme la porte à une création dynamique d'état, ce qui va probablement etre problèmatique par la suite...

    Donc je cherche toujours la solution...

  14. #14
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    je te dis, réessaye avec les nouveaux jar parceque moi je n'ai pas eu ce prob...

  15. #15
    Futur Membre du Club
    Inscrit en
    Mars 2006
    Messages
    6
    Détails du profil
    Informations forums :
    Inscription : Mars 2006
    Messages : 6
    Points : 7
    Points
    7
    Par défaut
    Non à la compil du rapport et comme je compile le rapport à la compilation du programme c'est aussi à la compilation du programme mais en utilisant le rapport déjà compilé j'ai réussi à le faire marcher.
    Y a qqchose que je comprend pas. Comment tu compiles ton report en même temps que ton appli. D'après ce que j'avais compris au départ de ton post la compilation du report se faisait à l'exécution de l'appli et on à sa compil ??

    D:\Seb-pgh\projet\testrapport\ActDec_1143621679140_290363.java error=2
    Sinon à touu hasard, as-tu ouvert ton fichier jrxml pour vérifier qu'il n'y aurait pas qqchose dedans qui gêne la compile ? Le nom de fichier me rappelle le nom des fichiers java temporaires créés par iReport lorsque tu demandes le preview d'un report.

  16. #16
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    C'est quand il execute une des deux lignes d'instructions
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    JasperDesign jasperDesign = JRXmlLoader.load("test.jrxml"); 
                JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
    (désolé je sais plus laquelle et j'ai pas le programme sous la main la)

    que ca ne marche plus.

    Apres j'avais remarqué que le fichier sur lequel il me générait l'erreur ressemblait au fichier générer par iReport mais je n'aboutis à rien de ce côté la. Quand au fichier jrxml pareil...

    Je le posterai des que je l'aurais à disposition mais je pense pas qu'il soit en cause puisque c'est iReport qui le génère (enfin je pense que c'est plus moi qui fait l'erreur que le programme qui marche chez tout le monde )

    Bidi quand tu dit avec les nouveaux jar tu veux dire avec d'autre que je trouve sur les sites de jasperreports et autres ?

  17. #17
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    <?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="test"
    		 columnCount="1"
    		 printOrder="Vertical"
    		 orientation="Landscape"
    		 pageWidth="842"
    		 pageHeight="595"
    		 columnWidth="782"
    		 columnSpacing="0"
    		 leftMargin="30"
    		 rightMargin="30"
    		 topMargin="20"
    		 bottomMargin="20"
    		 whenNoDataType="NoPages"
    		 isTitleNewPage="false"
    		 isSummaryNewPage="false">
    	<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.*" />
     
    	<parameter name="NOM_Ch" isForPrompting="false" class="java.lang.String">
    		<defaultValueExpression ><![CDATA["test"]]></defaultValueExpression>
    	</parameter>
    	<parameter name="CLE_CH" isForPrompting="false" class="java.lang.String">
    		<defaultValueExpression ><![CDATA["1"]]></defaultValueExpression>
    	</parameter>
    	<queryString><![CDATA[SELECT DATE_JOUR, DISPO,REPOS, TRAVAIL, DOUBLE_EQUIP, CONDUITE, AUTRE, CUMUL_T_C_D_DE, JOUR 
    FROM t_jour 
    WHERE CLE_CHAUFFEUR=$P{CLE_CH}]]></queryString>
     
    	<field name="DATE_JOUR" class="java.sql.Date"/>
    	<field name="DISPO" class="java.lang.Integer"/>
    	<field name="REPOS" class="java.lang.Integer"/>
    	<field name="TRAVAIL" class="java.lang.Integer"/>
    	<field name="DOUBLE_EQUIP" class="java.lang.Integer"/>
    	<field name="CONDUITE" class="java.lang.Integer"/>
    	<field name="AUTRE" class="java.lang.Integer"/>
    	<field name="CUMUL_T_C_D_DE" class="java.lang.Integer"/>
    	<field name="JOUR" class="java.lang.String"/>
     
    		<background>
    			<band height="0"  isSplitAllowed="true" >
    			</band>
    		</background>
    		<title>
    			<band height="45"  isSplitAllowed="true" >
    				<rectangle radius="0" >
    					<reportElement
    						mode="Opaque"
    						x="4"
    						y="2"
    						width="775"
    						height="41"
    						forecolor="#000000"
    						backcolor="#CCCCCC"
    						key="rectangle-1"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</rectangle>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="99"
    						y="8"
    						width="241"
    						height="34"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-1"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-Bold" size="28" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[Rapport d'activité]]></text>
    				</staticText>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="501"
    						y="27"
    						width="277"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Right" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.String"><![CDATA["Chauffeur : " + $P{NOM_Ch}]]></textFieldExpression>
    				</textField>
    			</band>
    		</title>
    		<pageHeader>
    			<band height="30"  isSplitAllowed="true" >
    			</band>
    		</pageHeader>
    		<columnHeader>
    			<band height="20"  isSplitAllowed="true" >
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="1"
    						y="1"
    						width="63"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-2"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[Date]]></text>
    				</staticText>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="149"
    						y="0"
    						width="0"
    						height="19"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-5"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="108"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-4"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[C]]></text>
    				</staticText>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="150"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-5"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[T]]></text>
    				</staticText>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="192"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-6"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[D]]></text>
    				</staticText>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="233"
    						y="0"
    						width="0"
    						height="19"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-10"
    						stretchType="NoStretch"
    						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="275"
    						y="0"
    						width="0"
    						height="19"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-11"
    						stretchType="NoStretch"
    						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="317"
    						y="0"
    						width="0"
    						height="19"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-12"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="234"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-7"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[DE]]></text>
    				</staticText>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="276"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-8"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="10" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[Autre]]></text>
    				</staticText>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="359"
    						y="0"
    						width="0"
    						height="19"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-17"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<staticText>
    					<reportElement
    						mode="Transparent"
    						x="318"
    						y="1"
    						width="40"
    						height="17"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="staticText-9"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica-BoldOblique" size="5" isBold="true" isItalic="true" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<text><![CDATA[C+T+D+DE]]></text>
    				</staticText>
    			</band>
    		</columnHeader>
    		<detail>
    			<band height="16"  isSplitAllowed="true" >
    				<rectangle radius="0" >
    					<reportElement
    						mode="Opaque"
    						x="0"
    						y="0"
    						width="782"
    						height="16"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="rectangle-2"
    						stretchType="NoStretch"
    						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"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="192"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Center" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{DISPO}]]></textFieldExpression>
    				</textField>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="65"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-4"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="23"
    						y="1"
    						width="41"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.util.Date"><![CDATA[$F{DATE_JOUR}]]></textFieldExpression>
    				</textField>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="1"
    						y="1"
    						width="22"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Middle" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.String"><![CDATA[$F{JOUR}]]></textFieldExpression>
    				</textField>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="107"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-7"
    						stretchType="NoStretch"
    						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="149"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-8"
    						stretchType="NoStretch"
    						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="191"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-9"
    						stretchType="NoStretch"
    						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="233"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-13"
    						stretchType="NoStretch"
    						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="275"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-14"
    						stretchType="NoStretch"
    						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="317"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-15"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="150"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{TRAVAIL}]]></textFieldExpression>
    				</textField>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="108"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{CONDUITE}]]></textFieldExpression>
    				</textField>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="66"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{REPOS}]]></textFieldExpression>
    				</textField>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="234"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{DOUBLE_EQUIP}]]></textFieldExpression>
    				</textField>
    				<line direction="TopDown">
    					<reportElement
    						mode="Opaque"
    						x="359"
    						y="1"
    						width="0"
    						height="15"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="line-16"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" 
    />
    				</line>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="276"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.Integer"><![CDATA[$F{AUTRE}]]></textFieldExpression>
    				</textField>
    				<textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None"  hyperlinkTarget="Self" >
    					<reportElement
    						mode="Transparent"
    						x="318"
    						y="1"
    						width="40"
    						height="14"
    						forecolor="#000000"
    						backcolor="#FFFFFF"
    						key="textField-1"
    						stretchType="NoStretch"
    						positionType="FixRelativeToTop"
    						isPrintRepeatedValues="true"
    						isRemoveLineWhenBlank="false"
    						isPrintInFirstWholeBand="false"
    						isPrintWhenDetailOverflows="false"/>
    					<box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/>
    					<textElement textAlignment="Left" verticalAlignment="Top" rotation="None" lineSpacing="Single">
    						<font fontName="Arial" pdfFontName="Helvetica" size="10" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="false" pdfEncoding ="Cp1252" isStrikeThrough="false" />
    					</textElement>
    				<textFieldExpression   class="java.lang.String"><![CDATA[$F{AUTRE}" +"< $F{AUTRE}]]></textFieldExpression>
    				</textField>
    			</band>
    		</detail>
    		<columnFooter>
    			<band height="30"  isSplitAllowed="true" >
    			</band>
    		</columnFooter>
    		<pageFooter>
    			<band height="50"  isSplitAllowed="true" >
    			</band>
    		</pageFooter>
    		<lastPageFooter>
    			<band height="50"  isSplitAllowed="true" >
    			</band>
    		</lastPageFooter>
    		<summary>
    			<band height="50"  isSplitAllowed="true" >
    			</band>
    		</summary>
    </jasperReport>
    Voilà à quoi ressemble mon .jrxml sachant que je l'ai coupé sinon j'en met 3 pages ....

  18. #18
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    Bidi quand tu dit avec les nouveaux jar tu veux dire avec d'autre que je trouve sur les sites de jasperreports et autres ?
    oui, c'est bien ça :-) tu vas sur le site de jasper et tu prends le gros zip du projet avec les libs de dépendance et tt ça :-)

  19. #19
    Membre habitué
    Profil pro
    Inscrit en
    Juin 2005
    Messages
    260
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2005
    Messages : 260
    Points : 131
    Points
    131
    Par défaut
    J'ai essayé ca fait pareil

    PS : sais-tu sous iReport comment faire la somme de plusieurs fields différents et la somme total de toutes les valeurs d'un field (en gros je veux faire $P{...} + $P{...} et aussi Sum(...) mais il me fait des erreurs de compilation donc je suppose qu'il y a une syntaxe)

    (dsl c'est pas trop la section mais puisqu'on en parle ...).

  20. #20
    Membre actif Avatar de bidi
    Profil pro
    Inscrit en
    Octobre 2004
    Messages
    262
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations forums :
    Inscription : Octobre 2004
    Messages : 262
    Points : 266
    Points
    266
    Par défaut
    heu... ça fait longtemps :-) d'après ce que je me rapelle, tu dois créer un variable, lui donner un type et alors tu peux donner une expression (la même syntaxe qu'en java) mais je sais plus exactement, je n'ai pas ireport sous la main :-)

Discussions similaires

  1. Génération de XLS avec JasperReport et PHP
    Par tahiworld dans le forum Jasper
    Réponses: 8
    Dernier message: 18/07/2008, 23h56
  2. [RMI] Problème de génération de skeletton avec rmic
    Par destructive dans le forum Java EE
    Réponses: 1
    Dernier message: 18/01/2008, 11h37
  3. Problème de génération de pdf avec Birt
    Par nabolo dans le forum BIRT
    Réponses: 2
    Dernier message: 15/11/2007, 09h36
  4. [Forms]Problème de génération de fmx avec forms
    Par estalol1 dans le forum Forms
    Réponses: 4
    Dernier message: 11/01/2007, 12h08
  5. Réponses: 2
    Dernier message: 19/02/2006, 16h10

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo