Bonjour à tous. Je développe une application en java et je désire générer des rapports quelconques. J'utilise éclipse j'ai ajouter les jar nécessaires dans mon éclipse. Ensuite j'ai télécharger et installer iReport. J'ai configurer le datasource pour se connecter à l'application. J'ai créer un nouveau rapport sur la base d'une requête sur ma base de données tout s'affiche bien dans la page preview de mon rapport. Maintenant je désire utiliser ce rapport dans mon application. j'ai mis mon rapport en jrxml dans un repertoire que je renseigne dans ma fonction chargeEtCompile.
Voici la fonction en question.
J'ai mis en commentaire le rôle de la fonction. Maintenant je désire avoir les fonctionnalité suivante sur mon rapport. Aperçu avant impression voici son 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 public static void chargeEtcompile(String rapport){ try{ // Etape 1 : Jasper doit savoir où se trouve le fichier jrxml, ici reçu en paramètre puis nommé design design = JRXmlLoader.load("C:\\Users\\Maitre GIMS\\workspace\\Swecom_Gestion\\src\\jasper\\"+rapport); // Etape 2 : il compile le fichier jrxml et génère le fichier binaire Jasper, ici nommé report report = JasperCompileManager.compileReport(design); // Etape 3 : on alimente le fichier Jasper en données en fonction de la commande sélectionnée HashMap<String, Object> mesParametres = new HashMap<String, Object>(); mesParametres.put("code_client", new String("%")); mesParametres.put("recherche_article", new String('%'+getRecherche_article()+'%')); mesParametres.put(code_facture, new String(getCode_facture())); print = JasperFillManager.fillReport(report, mesParametres, param.conn); }catch(JRException e){ JOptionPane.showMessageDialog(null, "La compilation du rapport a échoué : \n"+e.getMessage()+ "\nVeuillez contacter votre administrateur","Erreur", JOptionPane.ERROR_MESSAGE); } }
Et le bouton qui est sensé lancé l'opération de génération de mon aperçu à ce code.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11 public static void apercu(String rapport) { chargeEtcompile(rapport); try { JasperViewer.viewReport(print,false); } catch(Exception e){ JOptionPane.showMessageDialog(null, "Erreur lors de l'aperçu : \n"+e.getMessage()+ "\nVeuillez contacter votre administrateur","Erreur", JOptionPane.ERROR_MESSAGE); } }
Mais quand je clique sur le bouton aperçu j'ai l'erreur suivante ?
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 private JLabel getJLab_Apercu() { if (jLab_Apercu == null) { jLab_Apercu = new JLabel("Aper\u00E7u de la facture"); jLab_Apercu.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR)); jLab_Apercu.addMouseListener(new MouseAdapter() { public void mouseClicked(MouseEvent arg0) { if(table.getSelectedRow() == -1){ JOptionPane.showMessageDialog(null, "Vous devez sélectionner" + " une facture pour afficher l'aperçu"); }else{ // le code de la commande sélectionnée dans le JTable // est transmis à la classe JasperMySQL // le mutateur va mettre à jour la propriété dans cette classe JasperMySQL_Parametres.setCode_facture(code_facture); // le document jrxml est transmis à la classe JasperMySQL JasperMySQL_Parametres.apercu("facture1.jrxml"); } } }); jLab_Apercu.setIcon(new ImageIcon(FenTableFactures.class.getResource("/images/gestion/apercu3.png"))); jLab_Apercu.setForeground(Color.WHITE); jLab_Apercu.setFont(new Font("Segoe UI", Font.BOLD, 12)); jLab_Apercu.setBounds(30, 107, 200, 47); } return jLab_Apercu; }
Bref toutes les fonctions que je fait sur mon rapport me renvoient toutes la même erreur c'est à dire l'impression, l'exportation en divers format pdf, html, docx, odt. Quelqu'un aurait t'il une idée pur me sortir de là. Et aussi en lisant l'érreur on me parle du fichier xml ligne 2 colonne 453 j'ai regardé aussi dans ce fichier je voit pas de quoi ça parle puisque le caractère 453 c'est la balise fermante du xml à cette ligne. voici le fichier jrxml au complet.
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 janv. 14, 2015 8:43:36 AM org.apache.commons.digester.Digester error Grave: Parse Error at line 2 column 453: cvc-complex-type.3.2.2 : L'attribut 'uuid' n'est pas autorisé dans l'élément 'jasperReport'. org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 453; cvc-complex-type.3.2.2 : L'attribut 'uuid' n'est pas autorisé dans l'élément 'jasperReport'. at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processAttributes(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.commons.digester.Digester.parse(Digester.java:1892) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:241) at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:228) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:216) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:170) at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:154) at controle.etat.JasperMySQL_Parametres.chargeEtcompile(JasperMySQL_Parametres.java:72) at controle.etat.JasperMySQL_Parametres.apercu(JasperMySQL_Parametres.java:93) at dialogue.FenTableFactures$3.mouseClicked(FenTableFactures.java:155) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$000(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
Dans l'attente d'une suite à mon probèmemerci et beaucoup de courage à tous.
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 <?xml version="1.0" encoding="UTF-8"?> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Facture1" language="groovy" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="bc668d14-9cd5-4804-826b-be16386adaaf"> <property name="ireport.zoom" value="1.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <parameter name="CODE_FACTURE" class="java.lang.String"> <defaultValueExpression><![CDATA[]]></defaultValueExpression> </parameter> <queryString> <![CDATA[SELECT fa.*,f.*,cl.*,a.* FROM facture_article AS fa, facture AS f, client AS cl, article AS a WHERE cl.CODE_CLIENT LIKE f.CODE_CLIENT AND a.CODE_ARTICLE LIKE fa.CODE_ARTICLE AND fa.CODE_FACTURE LIKE $P{CODE_FACTURE} AND f.CODE_FACTURE LIKE $P{CODE_FACTURE}]]> </queryString> <field name="CODE_ARTICLE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="CODE_FACTURE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="QUANTITE" class="java.lang.Integer"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="TOTAL" class="java.lang.Double"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="PRIX_UNITAIRE" class="java.lang.Double"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="CODE_UTILISATEUR" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="CODE_CLIENT" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="CODE_AGENCE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="LIBELLE_FACTURE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="DATECREATION" class="java.sql.Timestamp"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="MONTANT_FACTURE" class="java.lang.Double"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="PERIODE_FACTURATION" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="NOM_CLIENT" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="LIBELLE_CLIENT" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="SOLDE" class="java.lang.Double"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="ETAT_CLIENT" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="ADRESSE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="TELEPHONE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="EMAIL" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="NUMERO_CONTRIBUABLE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="PRENOM" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="REGISTRE_COMMERCE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="VILLE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="CODE_CATEGORIE" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="DESIGNATION" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="TAXABLE" class="java.lang.Boolean"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <title> <band height="212" splitType="Stretch"> <image> <reportElement x="0" y="24" width="159" height="87" uuid="3963015a-9b4c-4557-93f4-460aa7216097"/> <imageExpression><![CDATA["E:\\Projet Java\\ico swecom\\logo.png"]]></imageExpression> </image> <staticText> <reportElement x="180" y="0" width="100" height="18" uuid="b385c659-f984-43ab-9b01-708a307839b2"/> <textElement> <font fontName="Verdana" size="12" isBold="true"/> </textElement> <text><![CDATA[De]]></text> </staticText> <line> <reportElement x="180" y="24" width="178" height="1" forecolor="#666666" uuid="3fc15d2d-0bca-4dc8-a1f4-3583c2b7012a"/> <graphicElement> <pen lineWidth="0.25"/> </graphicElement> </line> <staticText> <reportElement x="375" y="0" width="100" height="18" uuid="7665f1ed-4c9a-40aa-8105-80c77b9edf53"/> <textElement> <font fontName="Verdana" size="12" isBold="true"/> </textElement> <text><![CDATA[A]]></text> </staticText> <line> <reportElement x="377" y="23" width="178" height="1" forecolor="#666666" uuid="408c061e-c597-4889-b289-c019bde31fde"/> <graphicElement> <pen lineWidth="0.25"/> </graphicElement> </line> <staticText> <reportElement x="180" y="29" width="116" height="15" uuid="0c889fad-5961-427d-8af0-85d76491b38c"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[SWECOM PLC DOUALA]]></text> </staticText> <staticText> <reportElement x="180" y="41" width="90" height="15" uuid="5c73ff71-3b54-4d22-8cf9-34faa6e2d188"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[RC :]]></text> </staticText> <staticText> <reportElement x="180" y="52" width="90" height="15" uuid="59cd08c9-1dd7-4218-bc42-40a866414ec8"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[N° CONTRIBUABLE :]]></text> </staticText> <staticText> <reportElement x="180" y="63" width="90" height="15" uuid="74460f93-238e-4541-987b-c3dcba0c7702"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[ADRESSE :]]></text> </staticText> <staticText> <reportElement x="180" y="74" width="90" height="15" uuid="6f5fd714-67b4-4a34-97fa-e06c9d1790c4"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[TELEPHONE :]]></text> </staticText> <staticText> <reportElement x="180" y="84" width="90" height="15" uuid="6ed0f2b4-2347-4a00-aef9-4abcc5558b46"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[PO BOX / BP :]]></text> </staticText> <staticText> <reportElement x="180" y="95" width="90" height="15" uuid="5d798b25-72f3-409d-8acf-3da371cc0072"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[SITE WEB :]]></text> </staticText> <staticText> <reportElement x="180" y="104" width="93" height="15" uuid="c78dabb7-559b-4ef2-ba5c-44ac04136686"/> <textElement> <font fontName="Segoe UI" size="8" isBold="true"/> </textElement> <text><![CDATA[REGIME D'IMPOSITION :]]></text> </staticText> <staticText> <reportElement x="275" y="41" width="95" height="15" uuid="e4b8ad03-60b9-4d3a-b29b-25c6c7b4dbfc"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[TPPCR/RC/LBE/2010/B/0319/M/03/2013]]></text> </staticText> <staticText> <reportElement x="275" y="52" width="90" height="15" uuid="8dcbb3ed-6fe5-4e8a-a7a6-a4023684240e"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[M091000033353P]]></text> </staticText> <staticText> <reportElement x="275" y="63" width="90" height="15" uuid="f14689fe-ba6c-4e49-a43f-ee712f631b5e"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[Akwa, Rue Joffres]]></text> </staticText> <staticText> <reportElement x="275" y="74" width="90" height="15" uuid="9c78ba44-10fe-41ae-9f3e-302ef82cb03b"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[333426266]]></text> </staticText> <staticText> <reportElement x="275" y="84" width="90" height="15" uuid="fa19cdf9-27f8-4922-ab44-eaf8a5ae38c0"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[110 Limbe Cameroon]]></text> </staticText> <staticText> <reportElement x="275" y="95" width="90" height="15" uuid="84d1a0e7-1b54-45d4-ba3b-025e6a2fdc66"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[www.swecomplc.com]]></text> </staticText> <staticText> <reportElement x="275" y="104" width="90" height="15" uuid="ea614061-2bc1-496e-8ae9-eb1d176e4512"/> <textElement> <font fontName="Verdana" size="8" isBold="false"/> </textElement> <text><![CDATA[Réel]]></text> </staticText> <staticText> <reportElement x="375" y="29" width="90" height="15" uuid="41bdd638-6e08-4ad2-b555-8d76a8f0a790"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[NOM :]]></text> </staticText> <staticText> <reportElement x="375" y="41" width="90" height="15" uuid="8f8d1c21-23e1-4e07-a58e-021538a9d0dc"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[RC :]]></text> </staticText> <staticText> <reportElement x="375" y="52" width="90" height="15" uuid="c6770ea5-2354-42c6-a6f9-b95053295cd7"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[N° CONTRIBUABLE :]]></text> </staticText> <staticText> <reportElement x="375" y="63" width="90" height="15" uuid="60b3b8a6-178b-4781-bd41-af38529182ff"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[ADRESSE :]]></text> </staticText> <staticText> <reportElement x="375" y="74" width="90" height="15" uuid="ad645822-b7cb-4356-ad74-98b7a34fa912"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[TELEPHONE :]]></text> </staticText> <staticText> <reportElement x="375" y="84" width="90" height="15" uuid="8253a61f-41e6-419c-8a3a-1dd430dd735a"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[EMAIL :]]></text> </staticText> <staticText> <reportElement x="375" y="95" width="90" height="15" uuid="fb6af5b6-247a-4482-93c6-bc7a15af1fe8"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[AGENCE :]]></text> </staticText> <staticText> <reportElement x="375" y="104" width="96" height="15" uuid="bc14c5a3-0cfb-4dc0-b602-37f3de387197"/> <textElement> <font fontName="Verdana" size="8" isBold="true"/> </textElement> <text><![CDATA[PERIODE FACTUREE :]]></text> </staticText> <staticText> <reportElement x="336" y="129" width="139" height="27" forecolor="#FF0000" uuid="a87a6e9a-80b2-43c9-9720-e7ae26368f8d"/> <textElement> <font size="18" isBold="true" isItalic="true" isUnderline="false" isStrikeThrough="false"/> </textElement> <text><![CDATA[ORIGINAL]]></text> </staticText> <staticText> <reportElement x="18" y="171" width="100" height="20" uuid="3c4f4cea-c503-4a86-a862-408b30d81ffe"/> <textElement> <font fontName="Verdana" size="12" isBold="true"/> </textElement> <text><![CDATA[Facture N° :]]></text> </staticText> </band> </title> <pageHeader> <band height="15" splitType="Stretch"/> </pageHeader> <columnHeader> <band height="40" splitType="Stretch"> <staticText> <reportElement mode="Opaque" x="0" y="0" width="138" height="40" backcolor="#0099CC" uuid="3c2bca95-6a5a-452c-8a14-f28c5993de9a"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Désignation]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="138" y="0" width="64" height="40" backcolor="#0099CC" uuid="4795c2a4-b880-4afe-a7ff-0117f11811bc"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Quantité]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="202" y="0" width="83" height="40" backcolor="#0099CC" uuid="ca47a535-2702-45ea-bb57-2f740d72b196"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[Prix unitaire]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="285" y="0" width="73" height="40" backcolor="#0099CC" uuid="9f8f3459-242a-4f95-86f5-3f90470b0d8f"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[Taux TVA]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="358" y="0" width="74" height="40" backcolor="#0099CC" uuid="71acb98c-4b81-4dd3-b651-96032e5f8e34"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Remise]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="432" y="0" width="123" height="40" backcolor="#0099CC" uuid="5543bdb9-f159-4147-b33a-137d4de26f97"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Total]]></text> </staticText> <line> <reportElement x="285" y="39" width="147" height="1" uuid="364d19bb-7cd4-4fc4-a5f5-c98d6dde6dcd"/> </line> </band> </columnHeader> <detail> <band height="35" splitType="Stretch"> <textField> <reportElement x="0" y="0" width="138" height="35" uuid="5bd330b0-f5ec-4659-b784-24e1a58666ea"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font size="12"/> <paragraph leftIndent="10"/> </textElement> <textFieldExpression><![CDATA[$F{DESIGNATION}]]></textFieldExpression> </textField> <textField> <reportElement x="138" y="0" width="64" height="35" uuid="da2a97a8-ae97-4766-bdca-39d1321b872e"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12"/> <paragraph leftIndent="10"/> </textElement> <textFieldExpression><![CDATA[$F{QUANTITE}]]></textFieldExpression> </textField> <textField> <reportElement x="202" y="0" width="83" height="35" uuid="1bed0892-a1d6-49fa-b4e4-b200d403943b"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> <paragraph leftIndent="10"/> </textElement> <textFieldExpression><![CDATA[$F{PRIX_UNITAIRE}]]></textFieldExpression> </textField> <textField> <reportElement x="432" y="0" width="123" height="35" uuid="8da3ab05-5cb7-4138-ab90-b15e35aecc97"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12"/> <paragraph leftIndent="10"/> </textElement> <textFieldExpression><![CDATA[$F{TOTAL}]]></textFieldExpression> </textField> <line> <reportElement x="285" y="34" width="147" height="1" uuid="b4815c38-9b14-4508-b5a7-5d604196b274"/> </line> </band> </detail> <columnFooter> <band height="43" splitType="Stretch"/> </columnFooter> <pageFooter> <band height="63" splitType="Stretch"> <image hAlign="Center" vAlign="Middle"> <reportElement x="18" y="2" width="506" height="61" uuid="b2f223b1-c6c6-4927-8b7f-c8f4838ce74c"/> <imageExpression><![CDATA["E:\\Projet Java\\ico swecom\\pied.png"]]></imageExpression> </image> </band> </pageFooter> <summary> <band height="344" splitType="Stretch"> <staticText> <reportElement x="2" y="0" width="553" height="11" uuid="3965032a-b685-45e4-b96f-b702b33e23ce"/> <text><![CDATA[Static text]]></text> </staticText> <textField> <reportElement x="432" y="0" width="123" height="30" uuid="d8430479-f133-45b4-b969-69ef3ec40631"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{MONTANT_FACTURE}]]></textFieldExpression> </textField> <staticText> <reportElement x="285" y="0" width="147" height="30" uuid="4fb3feba-81af-451a-8d37-446fa8559f88"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <text><![CDATA[Total HT]]></text> </staticText> <staticText> <reportElement x="285" y="30" width="147" height="30" uuid="70c060d4-755f-426b-9e3f-eee5f6a0b83b"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <text><![CDATA[TVA]]></text> </staticText> <textField> <reportElement x="432" y="60" width="123" height="30" forecolor="#FF6600" uuid="09033464-f9f7-47fe-b1c0-1d8258e66b36"/> <box> <pen lineWidth="1.0" lineColor="#000000"/> <topPen lineWidth="1.0" lineColor="#000000"/> <leftPen lineWidth="1.0" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineColor="#000000"/> <rightPen lineWidth="1.0" lineColor="#000000"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{MONTANT_FACTURE}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="285" y="60" width="147" height="30" forecolor="#FFFFFF" backcolor="#FF6600" uuid="ec928c06-7afd-4015-8043-7ab80dd25bae"/> <box> <pen lineWidth="1.0" lineColor="#000000"/> <topPen lineWidth="1.0" lineColor="#000000"/> <leftPen lineWidth="1.0" lineColor="#000000"/> <bottomPen lineWidth="1.0" lineColor="#000000"/> <rightPen lineWidth="1.0" lineColor="#000000"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <text><![CDATA[TOTAL TTC]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="18" y="225" width="162" height="25" backcolor="#0099CC" uuid="fd56f6c7-a34d-4c8c-a795-4f63141a99d8"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Verdana" size="12" isBold="true"/> </textElement> <text><![CDATA[Situation du Client]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="18" y="249" width="162" height="25" backcolor="#0099CC" uuid="54f0b45b-0798-4cfe-9cb2-75d2bb6aef33"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Facture du Mois]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="18" y="274" width="162" height="25" backcolor="#0099CC" uuid="a428b0be-b70f-4a0d-8a00-66b87110b9bc"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Left" verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[Arriérés]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="18" y="299" width="162" height="25" backcolor="#0099CC" uuid="50b5022f-754c-44d6-9a37-4bd355aaac90"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement verticalAlignment="Middle"> <font size="12" isBold="true"/> <paragraph leftIndent="10"/> </textElement> <text><![CDATA[NET A PAYER]]></text> </staticText> <textField> <reportElement x="180" y="249" width="162" height="25" uuid="3369e696-d605-42a1-96e4-4bc900b9e35c"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{MONTANT_FACTURE}]]></textFieldExpression> </textField> <textField> <reportElement x="180" y="299" width="162" height="25" uuid="f809b0aa-fd3e-4d09-916b-1163e09537e0"/> <box> <pen lineWidth="1.0"/> <topPen lineWidth="1.0"/> <leftPen lineWidth="1.0"/> <bottomPen lineWidth="1.0"/> <rightPen lineWidth="1.0"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA[$F{MONTANT_FACTURE}]]></textFieldExpression> </textField> <line> <reportElement x="342" y="274" width="1" height="25" uuid="d27e3301-098f-45e1-b76b-a3188b8b3a17"/> </line> <image> <reportElement x="358" y="271" width="181" height="73" uuid="1fccf342-84d5-4036-bd59-84f85ae891cd"/> <imageExpression><![CDATA["E:\\Projet Java\\ico swecom\\signature.jpg"]]></imageExpression> </image> </band> </summary> </jasperReport>
Partager