branch develop updated (2ecd85c -> dba2541)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository tutti. See http://git.codelutin.com/tutti.git from 2ecd85c fixes #6799: [TECH] Problème de fermeture de l'écran résumé new 200f4ef fixes #6796: [IMPORT] En 3.13.1 import big fin, rendre l'erreur plus explicite new b2ca892 Add report of 2014.12.08 new abafe54 simplify test data resource new 35d8ace - introduces new module to generate report as a tool - includes it in the release process - introduces new ReportGenerationService (will replace ReportService) new 6e1312b suppression de l'ancien service de rapport + recherche du jar par defaut en mode dev new dba2541 utilisation nouveau service de generation de rapport + fixes #6589: [RAPPORT] inclure les identifiants du trait dans le nom du rapport généré (rapport Birt) The 6 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit dba2541f66d4aee12c386d95555a75779e49048b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 11:04:21 2015 +0100 utilisation nouveau service de generation de rapport + fixes #6589: [RAPPORT] inclure les identifiants du trait dans le nom du rapport généré (rapport Birt) commit 6e1312bae3ada819ebdb011b8a973d5b393b024d Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 11:03:39 2015 +0100 suppression de l'ancien service de rapport + recherche du jar par defaut en mode dev commit 35d8aceafba6cf1549035c410bc94a141804069c Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 09:36:05 2015 +0100 - introduces new module to generate report as a tool - includes it in the release process - introduces new ReportGenerationService (will replace ReportService) commit abafe54b650fc73d110fac962b139b81dfda57d1 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 09:02:42 2015 +0100 simplify test data resource commit b2ca8922dbcd1bec478365e0accf5431da6d9966 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 08:18:37 2015 +0100 Add report of 2014.12.08 commit 200f4effcfe64ababefd280fd91375eb62b5daf3 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Mar 9 19:40:05 2015 +0100 fixes #6796: [IMPORT] En 3.13.1 import big fin, rendre l'erreur plus explicite Summary of changes: pom.xml | 55 +- .../java/fr/ifremer/tutti/TuttiConfiguration.java | 79 + .../tutti/persistence/test/DatabaseResource.java | 109 +- .../config/TuttiPersistenceConfigTest.java | 2 +- LICENSE.txt => tutti-report-generator/LICENSE.txt | 0 .../README.txt | 0 tutti-report-generator/pom.xml | 127 + .../src/license/THIRD-PARTY.properties | 36 + tutti-report-generator/src/main/assembly/bin.xml | 27 + .../java/fr/ifremer/tutti/report/ReportConfig.java | 50 + .../java/fr/ifremer/tutti/report/ReportEngine.java | 118 + .../java/fr/ifremer/tutti/report/RunReport.java | 47 + tutti-service/pom.xml | 55 +- .../tutti/service/bigfin/BigfinImportContext.java | 40 +- .../service/report/ReportGenerationContext.java | 67 + .../service/report/ReportGenerationRequest.java | 54 + .../service/report/ReportGenerationResult.java | 49 + .../service/report/ReportGenerationService.java | 174 + .../ifremer/tutti/service/report/ReportModel.java | 86 - .../tutti/service/report/ReportService.java | 274 - .../resources/i18n/tutti-service_fr_FR.properties | 10 +- .../ifremer/tutti/service/ServiceDbResource.java | 7 +- .../service/bigfin/BigfinImportService2Test.java | 191 + .../report/ReportGenerationServiceTest.java | 119 + .../tutti/service/report/ReportServiceTest.java | 187 - .../allegro-tutti/common/css/common.css | 781 +- .../allegro-tutti/common/images/logo-ifremer.PNG | Bin .../allegro-tutti/common/js/common.js | 73 +- .../allegro-tutti/common/js/messages.js | 23 +- .../2014.12.08/allegro-tutti/common/js/util.js | 21 + .../allegro-tutti/common/lib/readfilecatch.jar | Bin 0 -> 6135 bytes .../allegro-tutti/common/nls/common.properties | 296 +- .../controle_data_allegro_campagne.rptdesign | 9553 +++++++++++--------- .../test/resources/report/2014.12.08/version.appup | 1 + tutti-ui-swing/pom.xml | 23 + tutti-ui-swing/src/license/THIRD-PARTY.properties | 6 +- .../src/main/assembly/full-shared-component.xml | 8 + tutti-ui-swing/src/main/assembly/standalone.xml | 8 + .../filtered-resources/tutti-help-fr.properties | 25 + .../fr/ifremer/tutti/ui/swing/TuttiUIContext.java | 11 +- .../tutti/ui/swing/content/report/ReportUI.css | 44 +- .../tutti/ui/swing/content/report/ReportUI.jaxx | 28 +- .../ui/swing/content/report/ReportUIHandler.java | 63 +- .../ui/swing/content/report/ReportUIModel.java | 55 +- .../report/actions/GenerateReportAction.java | 27 +- ...ShowReportAction.java => OpenReportAction.java} | 22 +- .../content/report/actions/SaveReportAction.java | 97 + .../report/ReportUIModel-error-validation.xml | 6 - .../resources/i18n/tutti-ui-swing_en_GB.properties | 8 + .../resources/i18n/tutti-ui-swing_fr_FR.properties | 10 +- 50 files changed, 7396 insertions(+), 5756 deletions(-) copy LICENSE.txt => tutti-report-generator/LICENSE.txt (100%) copy {tutti-ichtyometer => tutti-report-generator}/README.txt (100%) create mode 100644 tutti-report-generator/pom.xml create mode 100644 tutti-report-generator/src/license/THIRD-PARTY.properties create mode 100644 tutti-report-generator/src/main/assembly/bin.xml create mode 100644 tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportConfig.java create mode 100644 tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportEngine.java create mode 100644 tutti-report-generator/src/main/java/fr/ifremer/tutti/report/RunReport.java create mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationContext.java create mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationRequest.java create mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationResult.java create mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java delete mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportModel.java delete mode 100644 tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportService.java create mode 100644 tutti-service/src/test/java/fr/ifremer/tutti/service/bigfin/BigfinImportService2Test.java create mode 100644 tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportGenerationServiceTest.java delete mode 100644 tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportServiceTest.java copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/common/css/common.css (87%) copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/common/images/logo-ifremer.PNG (100%) copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/common/js/common.js (50%) copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/common/js/messages.js (89%) create mode 100644 tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/util.js create mode 100644 tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/lib/readfilecatch.jar copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/common/nls/common.properties (78%) copy tutti-service/src/test/resources/report/{2013.12.05 => 2014.12.08}/allegro-tutti/reports/controle_data_allegro_campagne.rptdesign (72%) create mode 100644 tutti-service/src/test/resources/report/2014.12.08/version.appup rename tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/{ShowReportAction.java => OpenReportAction.java} (58%) create mode 100644 tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/SaveReportAction.java -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 200f4effcfe64ababefd280fd91375eb62b5daf3 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Mar 9 19:40:05 2015 +0100 fixes #6796: [IMPORT] En 3.13.1 import big fin, rendre l'erreur plus explicite --- .../tutti/service/bigfin/BigfinImportContext.java | 40 +++-- .../resources/i18n/tutti-service_fr_FR.properties | 10 +- .../service/bigfin/BigfinImportService2Test.java | 191 +++++++++++++++++++++ 3 files changed, 221 insertions(+), 20 deletions(-) diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/bigfin/BigfinImportContext.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/bigfin/BigfinImportContext.java index 0bd2fd7..3f5f8c1 100644 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/bigfin/BigfinImportContext.java +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/bigfin/BigfinImportContext.java @@ -213,6 +213,8 @@ public class BigfinImportContext { if (stationFound) { + String recordId = bigfinDataRow.getRecordId(); + SpeciesOrSpeciesBatch speciesOrspeciesBatch = bigfinDataRow.getSpeciesOrSpeciesBatch(); if (speciesOrspeciesBatch.isSpecies()) { @@ -223,11 +225,11 @@ public class BigfinImportContext { Species species = speciesOrspeciesBatch.getSpecies(); - boolean speciesIsKnown = checkSpeciesIsKnown(species); + boolean speciesIsKnown = checkSpeciesIsKnown(recordId, species); if (speciesIsKnown) { - boolean speciesProtocoleIsSafe = checkSpeciesProtocol(species); + boolean speciesProtocoleIsSafe = checkSpeciesProtocol(recordId, species); if (speciesProtocoleIsSafe) { @@ -240,13 +242,25 @@ public class BigfinImportContext { // do some checks on the given species batch - boolean speciesBatchIsLeaf = checkSpeciesBatchIsLeaf(bigfinDataRow); + SpeciesBatch speciesBatch = speciesOrspeciesBatch.getBatch(); + + // Check Species batch is a leaf + boolean speciesBatchIsLeaf = checkSpeciesBatchIsLeaf(recordId, speciesBatch); if (speciesBatchIsLeaf) { - canBeAdd = true; + // Check Species protocol is safe + + boolean speciesProtocoleIsSafe = checkSpeciesProtocol(recordId, speciesBatch.getSpecies()); + + if (speciesProtocoleIsSafe) { + + canBeAdd = true; + + } } + } } else { @@ -258,17 +272,13 @@ public class BigfinImportContext { return canBeAdd; } - public boolean checkSpeciesBatchIsLeaf(BigfinDataRow bigfinDataRow) { - - Preconditions.checkArgument(bigfinDataRow.getSpeciesOrSpeciesBatch().isBatch()); - + public boolean checkSpeciesBatchIsLeaf(String recordId, SpeciesBatch batch) { - SpeciesBatch batch = bigfinDataRow.getSpeciesOrSpeciesBatch().getBatch(); boolean speciesBatchIsLeaf = batch.isChildBatchsEmpty(); if (!speciesBatchIsLeaf) { - String warning = t("tutti.service.bigfinImport.warning.speciesBatch.tooCategorized", batch.getId()); + String warning = t("tutti.service.bigfinImport.warning.speciesBatch.tooCategorized", recordId, batch.getId()); if (log.isWarnEnabled()) { log.warn(warning); } @@ -293,7 +303,7 @@ public class BigfinImportContext { } - public boolean checkSpeciesIsKnown(Species species) { + public boolean checkSpeciesIsKnown(String recordId, Species species) { boolean speciesIsKnown = true; @@ -301,7 +311,7 @@ public class BigfinImportContext { // bloquer tout si un "species" ne match pas le référentiel de Tutti : lister dans ce cas les codes non reconnus if (speciesNotRecognized.add(species)) { - String error = t("tutti.service.bigfinImport.error.species.not.found", species.getExternalCode()); + String error = t("tutti.service.bigfinImport.error.species.not.found", recordId, species.getExternalCode()); if (log.isErrorEnabled()) { log.error(error); } @@ -316,7 +326,7 @@ public class BigfinImportContext { } - public boolean checkSpeciesProtocol(Species species) { + public boolean checkSpeciesProtocol(String recordId, Species species) { boolean speciesProtocoleIsSafe = true; @@ -333,7 +343,7 @@ public class BigfinImportContext { if (speciesNotInProtocol.add(species)) { - String error = t("tutti.service.bigfinImport.warning.species.notInProtocol", speciesLabel); + String error = t("tutti.service.bigfinImport.warning.species.notInProtocol", recordId, speciesLabel); if (log.isWarnEnabled()) { log.warn(error); } @@ -348,7 +358,7 @@ public class BigfinImportContext { if (speciesInProtocolButWithoutLengthStepPmfmId.add(species)) { // bloquer toute espèce reconnue du protocole mais qui n'a pas de méthode de mesure - String error = t("tutti.service.bigfinImport.error.species.without.lengthstep", speciesLabel); + String error = t("tutti.service.bigfinImport.error.species.without.lengthstep", recordId, speciesLabel); if (log.isErrorEnabled()) { log.error(error); } diff --git a/tutti-service/src/main/resources/i18n/tutti-service_fr_FR.properties b/tutti-service/src/main/resources/i18n/tutti-service_fr_FR.properties index aeb13b0..1bc9bca 100644 --- a/tutti-service/src/main/resources/i18n/tutti-service_fr_FR.properties +++ b/tutti-service/src/main/resources/i18n/tutti-service_fr_FR.properties @@ -54,15 +54,15 @@ tutti.report.step.export.fishingOperation=Exporter le trait sélectionné tutti.report.step.generateReport=Générer le rapport tutti.report.step.load.fishingOperation=Charger le trait sélectionné tutti.service.bigfin.import.attachment.comment=Import Bigfin du %s -tutti.service.bigfinImport.error.species.not.found=L'espèce '<strong>%s</strong>' est inconnue -tutti.service.bigfinImport.error.species.without.lengthstep=L'espèce '<strong>%s</strong>' n'a pas de classe de taille associée dans le protocole. -tutti.service.bigfinImport.error.szClass.unknwon=Ligne <i>%s</i>, catégorie de taille inconnue (doit être 0, 1 ou 2) +tutti.service.bigfinImport.error.species.not.found=[Enregistrement %s] L'espèce '<strong>%s</strong>' est inconnue +tutti.service.bigfinImport.error.species.without.lengthstep=[Enregistrement %s] L'espèce '<strong>%s</strong>' n'a pas de classe de taille associée dans le protocole. +tutti.service.bigfinImport.error.szClass.unknwon=[Enregistrement %s] catégorie de taille inconnue (doit être 0, 1 ou 2) tutti.service.bigfinImport.warning.species.batch.frequenciesOnHigherLevel=Le lot de '<strong>%1s / %2s</strong>' a déjà des mensurations tutti.service.bigfinImport.warning.species.categoriesSkipped=L'espèce '<strong>%1s</strong>' a été catégorisée sans les catégories '<strong>%2s</strong>' et '<strong>%3s</strong>' tutti.service.bigfinImport.warning.species.categorySkipped=L'espèce '<strong>%1s</strong>' a été catégorisée sans la catégorie '<strong>%2s</strong>' -tutti.service.bigfinImport.warning.species.notInProtocol=L'espèce '<strong>%1s</strong>' n'est pas présente dans le protocole +tutti.service.bigfinImport.warning.species.notInProtocol=[Enregistrement %s] L'espèce '<strong>%1s</strong>' n'est pas présente dans le protocole tutti.service.bigfinImport.warning.species.tooCategorized=L'espèce '<strong>%1s</strong>' est trop catégorisée (pas limitée à '<strong>%2s</strong>' et '<strong>%3s</strong>') -tutti.service.bigfinImport.warning.speciesBatch.tooCategorized=Le lot '<strong>%1s</strong>' contient des sous catégories, on ne peut pas y ajouter des mensurations. +tutti.service.bigfinImport.warning.speciesBatch.tooCategorized=[Enregistrement %s] Le lot '<strong>%1s</strong>' contient des sous catégories, on ne peut pas y ajouter des mensurations. tutti.service.bigfinimport.error.no.protocol=Impossible de faire un import Bigfin sans protocol. tutti.service.compressZipFile.error=Erreur lors de la compression du dossier %1s dans le fichier %2s tutti.service.context.serviceInstanciation.error=Erreur lors de l'instanciation du service %s diff --git a/tutti-service/src/test/java/fr/ifremer/tutti/service/bigfin/BigfinImportService2Test.java b/tutti-service/src/test/java/fr/ifremer/tutti/service/bigfin/BigfinImportService2Test.java new file mode 100644 index 0000000..830708b --- /dev/null +++ b/tutti-service/src/test/java/fr/ifremer/tutti/service/bigfin/BigfinImportService2Test.java @@ -0,0 +1,191 @@ +package fr.ifremer.tutti.service.bigfin; + +import com.google.common.base.Charsets; +import com.google.common.base.Predicate; +import com.google.common.collect.Lists; +import com.google.common.io.Files; +import fr.ifremer.adagio.core.dao.referential.pmfm.PmfmId; +import fr.ifremer.adagio.core.dao.referential.pmfm.QualitativeValueId; +import fr.ifremer.tutti.persistence.entities.data.CatchBatch; +import fr.ifremer.tutti.persistence.entities.data.CatchBatchs; +import fr.ifremer.tutti.persistence.entities.data.Cruise; +import fr.ifremer.tutti.persistence.entities.data.Cruises; +import fr.ifremer.tutti.persistence.entities.data.FishingOperation; +import fr.ifremer.tutti.persistence.entities.data.FishingOperations; +import fr.ifremer.tutti.persistence.entities.data.SpeciesAbleBatch; +import fr.ifremer.tutti.persistence.entities.data.SpeciesAbleBatchs; +import fr.ifremer.tutti.persistence.entities.data.SpeciesBatch; +import fr.ifremer.tutti.persistence.entities.data.SpeciesBatchs; +import fr.ifremer.tutti.persistence.entities.referential.Caracteristic; +import fr.ifremer.tutti.persistence.entities.referential.CaracteristicQualitativeValue; +import fr.ifremer.tutti.persistence.entities.referential.CaracteristicQualitativeValues; +import fr.ifremer.tutti.persistence.entities.referential.Species; +import fr.ifremer.tutti.persistence.entities.referential.TuttiLocation; +import fr.ifremer.tutti.service.PersistenceService; +import fr.ifremer.tutti.service.ServiceDbResource; +import fr.ifremer.tutti.service.TuttiServiceContext; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.nuiton.util.DateUtil; + +import java.io.File; +import java.io.IOException; +import java.util.List; + +/** + * Created on 3/9/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.14 + */ +public class BigfinImportService2Test { + + /** Logger. */ + private static final Log log = LogFactory.getLog(BigfinImportService2Test.class); + + @Rule + public final ServiceDbResource dbResource = ServiceDbResource.writeDb("dbEmpty"); + + protected BigfinImportService service; + + protected PersistenceService persistenceService; + + protected ServiceDbResource.DataContext dataContext; + + protected File dataDirectory; + + protected Predicate<SpeciesAbleBatch> vracPredicate; + + public static final String PROGRAM_ID = "CAM-CGFS"; + + public static final String CRUISE_ID = "0"; + + public static final String OPERATION_1_ID = "1"; + + public static final String OPERATION_2_ID = "2"; + + public static final String OPERATION_3_ID = "0"; + + @Before + public void setUp() throws Exception { + + dataDirectory = dbResource.getConfig().getDataDirectory(); + + TuttiServiceContext serviceContext = dbResource.getServiceContext(); + + dbResource.openDataContext(); + + persistenceService = serviceContext.getService(PersistenceService.class); + service = serviceContext.getService(BigfinImportService.class); + + dataContext = dbResource.loadContext(PROGRAM_ID); + + vracPredicate = SpeciesAbleBatchs.newSpeciesAbleBatchCategoryPredicate(PmfmId.SORTED_UNSORTED.getValue(), QualitativeValueId.VRAC.getValue()); + } + + @Test + public void testASpeciesWithNoLengthPmfmInProtocol() throws IOException { + + // Load protocol + + dbResource.loadInternalProtocolFile("bigfin/", "protocol"); + + // Create cruise + + Cruise cruise = Cruises.newCruise(); + cruise.setName("MyCruise"); + cruise.setMultirigNumber(1); + cruise.setBeginDate(DateUtil.createDate(1, 5, 2014)); + cruise.setEndDate(DateUtil.createDate(21, 5, 2014)); + TuttiLocation harbour = persistenceService.getAllHarbour().get(0); + cruise.setDepartureLocation(harbour); + cruise.setReturnLocation(harbour); + cruise.setProgram(dataContext.program); + cruise.setVessel(persistenceService.getAllScientificVessel().get(0)); + cruise.setHeadOfMission(Lists.newArrayList(persistenceService.getAllPerson().get(0))); + + cruise = persistenceService.createCruise(cruise); + + // Create empty fishing operation + FishingOperation fishingOperation = FishingOperations.newFishingOperation(); + fishingOperation.setCruise(cruise); + fishingOperation.setFishingOperationNumber(1); + fishingOperation.setStationNumber("S0419"); + fishingOperation.setGearShootingStartDate(DateUtil.createDate(14, 5, 2014)); + fishingOperation.setGearShootingEndDate(DateUtil.createDate(14, 5, 2014)); + fishingOperation = persistenceService.createFishingOperation(fishingOperation); + + CatchBatch catchBatch = CatchBatchs.newCatchBatch(); + catchBatch.setFishingOperation(fishingOperation); + + persistenceService.createCatchBatch(catchBatch); + + { + String fileContent = "Study name,ID,Date,LOC,STA,COMMENT,GPS X,GPS Y,SP CODE,SPEC,LENGTH (mm),WEIGHT (g),SEX,SIZE,MT,MS\n" + + "Test,1,05/14/14 09:49:32, ,S0419, ,47.24713560992085,-1.5474773011082363, ,URANSCA,210, ,None,0,None,"; + + File importFile = dbResource.getConfig().newTempFile("bigFin1"); + Files.write(fileContent, importFile, Charsets.UTF_8); + + BigfinImportResult importResult = service.importFile(importFile, fishingOperation, catchBatch); + + int nbFrequenciesAdded = importResult.getNbFrequenciesImported(); + List<String> errors = importResult.getErrors(); + List<String> warnings = importResult.getWarnings(); + + if (log.isInfoEnabled()) { + log.info("Frequencies Imported: " + nbFrequenciesAdded); + log.info("Errors: " + errors.size()); + log.info("Warnings: " + warnings.size()); + } + + int nbNewFrequencies = 0; + Assert.assertEquals(nbNewFrequencies, nbFrequenciesAdded); + Assert.assertEquals(1, errors.size()); + Assert.assertEquals(0, warnings.size()); + + } + + // Create a species batch for the species + SpeciesBatch speciesBatch = SpeciesBatchs.newSpeciesBatch(); + speciesBatch.setFishingOperation(fishingOperation); + Species species = persistenceService.getSpeciesByReferenceTaxonId(1764); + speciesBatch.setSpecies(species); + speciesBatch.setSampleCategoryId(PmfmId.SORTED_UNSORTED.getValue()); + Caracteristic sortedUnsortedCaracteristic = persistenceService.getSortedUnsortedCaracteristic(); + CaracteristicQualitativeValue qualitativeValue = CaracteristicQualitativeValues.getQualitativeValue(sortedUnsortedCaracteristic, QualitativeValueId.SORTED_VRAC.getValue()); + speciesBatch.setSampleCategoryValue(qualitativeValue); + + speciesBatch = persistenceService.createSpeciesBatch(speciesBatch, null); + { + + String fileContent = "Study name,ID,Date,LOC,STA,COMMENT,GPS X,GPS Y,SP CODE,SPEC,LENGTH (mm),WEIGHT (g),SEX,SIZE,MT,MS\n" + + "Test,1,05/14/14 09:49:32, ,S0419, ,47.24713560992085,-1.5474773011082363, ," + speciesBatch.getId() + ",210, ,None,0,None,"; + + File importFile = dbResource.getConfig().newTempFile("bigFin1"); + Files.write(fileContent, importFile, Charsets.UTF_8); + + BigfinImportResult importResult = service.importFile(importFile, fishingOperation, catchBatch); + + int nbFrequenciesAdded = importResult.getNbFrequenciesImported(); + List<String> errors = importResult.getErrors(); + List<String> warnings = importResult.getWarnings(); + + if (log.isInfoEnabled()) { + log.info("Frequencies Imported: " + nbFrequenciesAdded); + log.info("Errors: " + errors.size()); + log.info("Warnings: " + warnings.size()); + } + + int nbNewFrequencies = 0; + Assert.assertEquals(nbNewFrequencies, nbFrequenciesAdded); + Assert.assertEquals(1, errors.size()); + Assert.assertEquals(0, warnings.size()); + } + + } +} -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit b2ca8922dbcd1bec478365e0accf5431da6d9966 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 08:18:37 2015 +0100 Add report of 2014.12.08 --- .../2014.12.08/allegro-tutti/common/css/common.css | 380 + .../allegro-tutti/common/images/logo-ifremer.PNG | Bin 0 -> 4851 bytes .../2014.12.08/allegro-tutti/common/js/common.js | 32 + .../2014.12.08/allegro-tutti/common/js/messages.js | 213 + .../2014.12.08/allegro-tutti/common/js/util.js | 21 + .../allegro-tutti/common/lib/readfilecatch.jar | Bin 0 -> 6135 bytes .../allegro-tutti/common/nls/common.properties | 138 + .../controle_data_allegro_campagne.rptdesign | 11673 +++++++++++++++++++ .../test/resources/report/2014.12.08/version.appup | 1 + 9 files changed, 12458 insertions(+) diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/css/common.css b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/css/common.css new file mode 100644 index 0000000..7d61a6b --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/css/common.css @@ -0,0 +1,380 @@ +/** + * ================================================= + * GENERAL + * ================================================= + */ + +.report { + font-family: "Verdana"; + font-size: 7pt; +} + +.page { + font-family: "Verdana"; + font-size: 7pt; +} + +.cell { + padding:1px; + vertical-align: middle; +} + +.cell-left { + padding-left:1px; + text-align: left; +} + +.cell-right { + padding-right:1px; + text-align: right; +} + +.inline { + display: inline; +} + + +/** + * ================================================= + * TEXTE + * ================================================= + */ + +.text, .label, .data { + font-size: 7pt; + font-family: "Verdana"; + padding: 0px; +} + +.label-general { + font-size: 7pt; + font-family: "Verdana"; + padding: 0px; + margin-right: 5px; + /*font-weight: bold;*/ + /*color : silver;*/ +} + +.label-sous-title { + font-size: 9pt; + font-family: "Verdana"; + padding: 0px; + margin-right: 5px; + font-weight: bold; + font-style: italic; + text-decoration: underline; +} + +.text-of-content-esp { + font-size: 6pt; + font-family: "Verdana"; + font-style:italic; + } + +.data { + text-align: center; +} + +.data-calcule { + style: italic; + color : blue; + font-style:italic; +} + +.text-important { + font-weight: bold; +} + +.text-important-couleur { + font-weight: bold; + color : #0080C0; +} + +.report-title { + font-size: 17pt; + font-family: "Verdana"; + font-weight: bold; + color: #000000; +} + +.paragraphe { + font-size:10pt; + font-family: "Verdana"; + color: #000000; + text-align: justify; + /*line-height: 90%;*/ +} + +.paragraphe2 { + font-size:8pt; + font-family: "Verdana"; + color: #000000; + text-align: justify; + margin-bottom: 10px +} + +.mtp-header-text { + font-size: 7pt; + font-family: "Verdana"; + font-weight:bold; + font-style:italic; + color: #888888; +} + +.mtp-footer-text { + font-size: 7pt; + font-family: "Verdana"; + font-style:italic; +} + + +/** + * ================================================= + * GRILLE (= GRID) + * ================================================= + */ + +.grid { + padding:0px; + vertical-align: middle; + text-align:left; +} + +.grid-cell { + font-size: 7pt; + padding:0px; + vertical-align: middle; +} + +/** + * ------------------------------------------------- + * Styles particuliers (� appliquer de mani�re explicite dans le rapport) + * ------------------------------------------------- + */ +.grid-contacts { + padding:15px; + border: 1px solid black /*white*/; + background-color: white /*#49bc7c*/; +} +.grid-header-cell { + text-align:center; + color: black /*white*/; + font-weight: bold; + background-color: white /*#49bc7c*/; + border: 1px solid black /*white*/; +} +.grid-detail-cell { + font-size: 7pt; + font-family: "Verdana"; + text-align:left; + border: 1px solid black /*white*/; +} +.grid-header-cell, .grid-detail-cell { + padding-left:2px; + padding-right:2px; + padding-bottom:1px; + padding-top:1px; + vertical-align: middle; +} + + +/** + * ================================================= + * TABLEAU (= TABLE) + * ================================================= + */ + + +.table { + font-family: "Verdana"; + text-align:left; + /*padding: 0px;*/ + margin-bottom: 10px; + border: 0px; + border-bottom: 1px solid black /*white*/; +} + +.table-header { + font-size: 7pt; + /*padding: 0px;*/ + margin: 0px; + border: 0px; + text-align:center; + color: black /*white*/; + font-weight: bold; +} + +.table-header-cell { + background-color: white /*#49bc7c*/; + border: 1px solid black /*white*/; +} + +.table-detail-cell { + font-size: 7pt; + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + line-height: 4px; +} + +.table-footer { + background-color: white /*#49bc7c*/; + font-weight: bold; + color: black /*white*/ +} + +.table-footer-cell { + border: 1px solid black /*white*/; +} + +.table-header-cell, .table-footer-cell , .table-detail-cell { + padding-left:2px; + padding-right:2px; + padding-bottom:1px; + padding-top:1px; + vertical-align: middle; +} + +/** + * ------------------------------------------------- + * Styles particuliers (� appliquer de mani�re explicite dans le rapport) + * ------------------------------------------------- + */ + +.table-detail-highlight, .table-detail-border-highlight { + background-color: #d1f0e1; +} +.table-detail-border, .table-detail-border-highlight { + border-bottom: 1px solid black /*white*/; +} + +/** + * ================================================= + * TABLEAU CROISE (= CROSS TAB) + * ================================================= + */ + +.crosstab { + text-align:left; +} + +.crosstab-header-col-up { + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + border-top: 1px solid black /*white*/; + background-color: white /*#49bc7c*/; + text-align:center; + color: black /*white*/; + font-weight: bold; +} + +.crosstab-header-col-down { + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + border-bottom: 1px solid black /*white*/; + background-color: white /*#49bc7c*/; +} + +.crosstab-header-line { + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + /*border-top: 1px solid #0080C0; + border-bottom: 1px solid #FFFFFF;*/ + padding-left:5px; + text-align:left; + font-weight:bold; + color: black; +} + +.crosstab-header-line-first { + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + border-top: 1px solid black /*white*/; + padding-left:5px; + text-align:left; + font-weight:bold; + color: black; + /*background-color: #FF0000;*/ +} + +.crosstab-header-line-left { + border-left: 1px solid black /*white*/; + /*border-bottom: 1px solid #0080C0;*/ + border-top: 1px solid black /*white*/; + padding-left:5px; + text-align:left; + font-weight:bold; + color: black; +} + +.crosstab-header-line-right { + border-right: 1px solid black /*white*/; + /*border-bottom: 1px solid #0080C0;*/ + border-top: 1px solid black /*white*/; + font-weight:bold; + color: black; +} + +.crosstab-total-line-header { + background-color: white /*#49bc7c*/; + border: 1px solid black /*white*/; + padding-left:5px; + text-align:left; + font-weight:bold; + color: black; +} + +.crosstab-total-line-cell { + background-color: white /*#49bc7c*/; + border: 1px solid black /*white*/; + text-align:center; + font-weight:bold; + color: black; +} + +.crosstab-total-col-header { + border: 1px solid black /*white*/; + background-color: white /*#49bc7c*/; + color: black /*white*/; + text-align:center; + font-weight:bold; +} + +.crosstab-total-col-cell { + text-align:center; + font-weight:bold; + color: #000000; +} + +.crosstab-detail { + border-left: 1px solid black /*white*/; + border-right: 1px solid black /*white*/; + text-align:center; +} + +.crosstab-cell { + vertical-align: middle; +} + + + + + + + + + /** + * ================================================= + * GRAPHIQUE (= CHART) + * ================================================= + */ + +.chart { + font-family: "Arial"; + font-size: 6pt; +} + + +.chart-resize { + font-family: "Arial"; + font-size: 6pt; +} \ No newline at end of file diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/images/logo-ifremer.PNG b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/images/logo-ifremer.PNG new file mode 100644 index 0000000..22471f0 Binary files /dev/null and b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/images/logo-ifremer.PNG differ diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/common.js b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/common.js new file mode 100644 index 0000000..0c488b1 --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/common.js @@ -0,0 +1,32 @@ +/* =================================================================== + * common.js + * ------------------------------------------------------------------- + * + * ------------------------------------------------------------------- + * @Author : + * @Version : + * =================================================================== */ + +/** parametres de connexion **/ +//var cnxHOME="C:\\DevSih\\Allegro_campagnes\\exportCruise-100001"; +//var cnxHOME="C:\\DevSih\\Allegro_campagnes\\exportCruise-CGFS2010\\exportCruise-100000"; +var cnxDELIMTYPE="SEMICOLON"; +var cnxCHARSET="UTF-8"; +var cnxINCLCOLUMNNAME="YES"; +var cnxINCLTYPELINE="NO"; + +/** parametres existance capture accident et macro dechets **/ +var existsCapAcc=0; +var existsMacDech=0; + +/** parametre valeur poids inconnu ou poids non calculable **/ +var outPoids=-9; + +/** variable listSpecies **/ +var LIST_SPECIES = new Array(); + +/** numero de la premiere colonne de la categorisation du lot dans le fichier catch.csv **/ +var startCateg=12; + +/** nom de la premi�re colonne apr�s les colonnes de cat�gorisations des lots **/ +var columnNameNotCateg="Code_Longueur"; \ No newline at end of file diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/messages.js b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/messages.js new file mode 100644 index 0000000..46edb0a --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/messages.js @@ -0,0 +1,213 @@ +/* =================================================================== + * message.js + * ------------------------------------------------------------------- + * Management messages (internationalization) + * ------------------------------------------------------------------- + * @Author : BODERE Erwan + * @Version : 1.0 - 19/03/2008 + * =================================================================== */ + + +/** + * Get a message with parameters + * @param messageKey key of the message + * @param params Array of values + */ +getMessageWithParameters = function(messageKey, params) { + return reportContext.getMessage(messageKey, reportContext.getLocale(), params); +} + +/** + * Get a "simple" message + * @param messageKey key of the message + */ +getMessage = function(messageKey) { + return reportContext.getMessage(messageKey, reportContext.getLocale()); +} + +/** + * Get a message with 1 parameter + * @param messageKey key of the message + * @param param1 value of the parameter + */ +getMessage = function(messageKey, param1) { + var params = new Array(1); + params[0] = "" + param1; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 2 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + */ +getMessage = function(messageKey, param1, param2) { + var params = new Array(2); + params[0] = "" + param1; + params[1] = "" + param2; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 3 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3) { + var params = new Array(3); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 4 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4) { + var params = new Array(4); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 5 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + * @param param5 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4, param5) { + var params = new Array(5); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + params[4] = "" + param5; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 6 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + * @param param5 value of the parameter + * @param param6 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4, param5, param6) { + var params = new Array(6); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + params[4] = "" + param5; + params[5] = "" + param6; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 7 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + * @param param5 value of the parameter + * @param param6 value of the parameter + * @param param7 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4, param5, param6, param7) { + var params = new Array(7); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + params[4] = "" + param5; + params[5] = "" + param6; + params[6] = "" + param7; + return getMessageWithParameters(messageKey, params); +} + + +/** + * Get a message with 8 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + * @param param5 value of the parameter + * @param param6 value of the parameter + * @param param7 value of the parameter + * @param param8 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4, param5, param6, param7, param8) { + var params = new Array(8); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + params[4] = "" + param5; + params[5] = "" + param6; + params[6] = "" + param7; + params[7] = "" + param8; + return getMessageWithParameters(messageKey, params); +} + +/** + * Get a message with 9 parameters + * @param messageKey key of the message + * @param param1 value of the parameter + * @param param2 value of the parameter + * @param param3 value of the parameter + * @param param4 value of the parameter + * @param param5 value of the parameter + * @param param6 value of the parameter + * @param param7 value of the parameter + * @param param8 value of the parameter + * @param param9 value of the parameter + */ +getMessage = function(messageKey, param1, param2, param3, param4, param5, param6, param7, param8, param9) { + var params = new Array(9); + params[0] = "" + param1; + params[1] = "" + param2; + params[2] = "" + param3; + params[3] = "" + param4; + params[4] = "" + param5; + params[5] = "" + param6; + params[6] = "" + param7; + params[7] = "" + param8; + params[8] = "" + param9; + return getMessageWithParameters(messageKey, params); +} + + +/** + * Convert a Boolean to a a local message + * @param booleanObject the boolean object to convert + * @param trueMessageKey message key for true value + * @param falseMessageKey message key for false value + */ +translateBoolean = function(booleanObject, trueMessageKey, falseMessageKey) { + var result = eval(booleanObject); + if (result){ + return getMessage(trueMessageKey); + } + return getMessage(falseMessageKey); +} \ No newline at end of file diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/util.js b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/util.js new file mode 100644 index 0000000..3d46710 --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/js/util.js @@ -0,0 +1,21 @@ +/* =================================================================== + * util.js + * ------------------------------------------------------------------- + * + * ------------------------------------------------------------------- + * @Author : + * @Version : + * =================================================================== */ + + +/** return value poids=-9 **/ + +function ctrlValue(valuePoids) { + + if (valuePoids == outPoids) { + return getMessage("poids.inconnu"); + } else { + return valuePoids; + } + +} \ No newline at end of file diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/lib/readfilecatch.jar b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/lib/readfilecatch.jar new file mode 100644 index 0000000..15702ba Binary files /dev/null and b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/lib/readfilecatch.jar differ diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/nls/common.properties b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/nls/common.properties new file mode 100644 index 0000000..5b1f511 --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/common/nls/common.properties @@ -0,0 +1,138 @@ + +annee = Ann\u00E9e : + +campagne = Campagne : + +caracteristique = Caract\u00E9ristique + +carroussel-observ = Carroussel observ\u00E9 (kg) : + +categ-lot = Cat\u00E9gorisation du lot : + +categorie = Cat\u00E9gorie + +categorie-taille = Cat\u00E9gorie de taille + +classe-taille = Classe de taille + +code-station = Code station : + +commentaire = Commentaire : + +commentaire_bis = Commentaire + +controle = Contr\u00F4le + +date = Date + +date-debut-trait = Date d\u00E9but trait : + +date-generation = Date de g\u00E9n\u00E9ration + +date-heure = Date heure + +debut-traine = D\u00E9but de tra\u00EEne + +distance-chalute = Distance chalut\u00E9e : + +engin = Engin : + +espece = Esp\u00E8ce : + +espece_bis = Esp\u00E8ce + +fin-traine = Fin de tra\u00EEne + +footer-copyright = \u00A9 2008 Ifremer - Syst\u00E8me d'Informations Halieutiques + +header-title = SIH{0} + +instruction-ctrl = Contr\u00F4le\u00A0: pour chaque page, apr\u00E8s contr\u00F4le, cocher la case en bas \u00E0 droite des pages. En cas d'erreur de saisie, barrer les valeurs en erreur et noter \u00E0 c\u00F4t\u00E9 la valeur corrig\u00E9e. Apr\u00E8s correction des valeurs dans le logiciel, entourer les valeurs saisies. + +latitude = Latitude + +localite = Locatit\u00E9 : + +longitude = Longitude + +longueur-moy = Longueur moyenne : + +mode-mensuration = Mode de mensuration : + +navire = Navire : + +nbre = Nombre + +nbre-indiv = Nombre d'individus + +nbre-indiv-capt = Nombre d'individus de cette cat\u00E9gorie captur\u00E9s : + +nbre-indiv-kg = Nombre d'individus / kg : + +num-poche = N\u00B0 poche : + +num-trait = N\u00B0 trait : + +ouverture-horiz-ailes = Ouverture horizontale aux ailes : + +ouverture-horiz-panneaux = Ouverture horizontale aux panneaux : + +ouverture-verticale = Ouverture verticale : + +page = page + +pas-mesure = Pas de mesure : + +poids = Poids (kg) + +poids.inconnu = poids inconnu +poids.moyen = Poids moyen (g) : +poids.sans-unite = Poids +poids.total = Poids TOTAL (kg) : +poids.total-dans-la-capture = Poids total de l'esp\u00E8ce cat\u00E9goris\u00E9e dans la capture (kg) : +poids.total-hors-vrac = Poids total HORS VRAC (kg) : +poids.total-inerte-trie = Poids total inerte tri\u00E9 (kg) : +poids.total-non-trie = Poids total NON TRIE (kg) : +poids.total-vivant-non-detail-trie = Poids total vivant non d\u00E9taill\u00E9 tri\u00E9 (kg) : +poids.total-vrac = Poids Total VRAC (kg) : +poids.vrac-trie = Poids VRAC tri\u00E9 (kg) : + +qui = Qui ? + +saisisseur = Saisisseur(s) : + +serie = S\u00E9rie : + +serie-partielle = S\u00E9rie partielle : + +sous-strate = Sous strate : + +sous-title.benthos = Benthos : +sous-title.capture = Capture : +sous-title.caracteristique-general-trait = Caract\u00E9ristiques g\u00E9n\u00E9rales du trait : +sous-title.caracteristique-mo = Caract\u00E9ristiques de mise en oeuvre de l'engin : +sous-title.caracteristiques = Caract\u00E9ristiques : +sous-title.especes = Esp\u00E8ces : +sous-title.macro-dechets = Macro d\u00E9chets : + +strate = Strate : + +title.bilan-capture = R\u00C9SUM\u00C9 CAPTURE +title.caracteristique-trait = CARACTERISTIQUE DU TRAIT +title.rapport = RAPPORT DE SAISIE ALLEGRO CAMPAGNE +title.rapport-capture-accidentelles = RAPPORT CAPTURE ACCIDENTELLES +title.rapport-espece-benthos = RAPPORT sur les esp\u00E8ces du BENTHOS +title.rapport-macro-dechets = RAPPORT MACRO DECHETS +title.rapport-par-espece = RAPPORT PAR ESPECE + +total = Total + +trait-rectiligne = Trait rectiligne : + +trait-valide = Trait valide : + +tremis = Tr\u00E9mis (kg) : + +valeur = Valeur + +valeur-non-calculable = valeur non calculable diff --git a/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/reports/controle_data_allegro_campagne.rptdesign b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/reports/controle_data_allegro_campagne.rptdesign new file mode 100644 index 0000000..6a23303 --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/allegro-tutti/reports/controle_data_allegro_campagne.rptdesign @@ -0,0 +1,11673 @@ +<?xml version="1.0" encoding="UTF-8"?> +<report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.23" id="1"> + <property name="createdBy">Eclipse BIRT Designer Version 4.2.1.v201209101448 Build <4.2.1.v20120918-1113></property> + <simple-property-list name="includeResource"> + <value>allegro-tutti/common/nls/common</value> + </simple-property-list> + <list-property name="includeScripts"> + <property>allegro-tutti/common/js/common.js</property> + <property>allegro-tutti/common/js/messages.js</property> + <property>allegro-tutti/common/js/util.js</property> + </list-property> + <list-property name="scriptLibs"> + <structure> + <property name="name">allegro-tutti/common/lib/readfilecatch.jar</property> + </structure> + </list-property> + <list-property name="propertyBindings"> + <structure> + <property name="name">HOME</property> + <property name="id">2421</property> + <expression name="value" type="javascript">params["rpt-param_dirfile"].value;</expression> + </structure> + <structure> + <property name="name">DELIMTYPE</property> + <property name="id">2421</property> + <expression name="value" type="javascript">cnxDELIMTYPE;</expression> + </structure> + <structure> + <property name="name">CHARSET</property> + <property name="id">2421</property> + <expression name="value" type="javascript">cnxCHARSET;</expression> + </structure> + <structure> + <property name="name">INCLCOLUMNNAME</property> + <property name="id">2421</property> + <expression name="value" type="javascript">cnxINCLCOLUMNNAME;</expression> + </structure> + <structure> + <property name="name">INCLTYPELINE</property> + <property name="id">2421</property> + <expression name="value" type="javascript">cnxINCLTYPELINE;</expression> + </structure> + </list-property> + <property name="units">in</property> + <method name="initialize"><![CDATA[reportContext.getAppContext().put("CHART_RESOLUTION", 300 );]]></method> + <property name="iconFile">/templates/blank_report.gif</property> + <property name="layoutPreference">auto layout</property> + <list-property name="cssStyleSheets"> + <structure> + <property name="fileName">allegro-tutti/common/css/common.css</property> + </structure> + </list-property> + <parameters> + <scalar-parameter name="rpt-param_codestation" id="3608"> + <property name="valueType">static</property> + <property name="isRequired">true</property> + <property name="dataType">string</property> + <property name="distinct">true</property> + <simple-property-list name="defaultValue"> + <value type="constant">0</value> + </simple-property-list> + <list-property name="selectionList"/> + <property name="paramType">simple</property> + <property name="controlType">text-box</property> + <structure name="format"> + <property name="category">Unformatted</property> + </structure> + </scalar-parameter> + <scalar-parameter name="rpt-param_numerotrait" id="3609"> + <property name="valueType">static</property> + <property name="isRequired">true</property> + <property name="dataType">integer</property> + <property name="distinct">true</property> + <simple-property-list name="defaultValue"> + <value type="constant">0</value> + </simple-property-list> + <list-property name="selectionList"/> + <property name="paramType">simple</property> + <property name="controlType">text-box</property> + <structure name="format"> + <property name="category">Unformatted</property> + </structure> + </scalar-parameter> + <scalar-parameter name="rpt-param_dirfile" id="3610"> + <property name="valueType">static</property> + <property name="dataType">string</property> + <property name="distinct">true</property> + <simple-property-list name="defaultValue"> + <value type="constant">C:\\DevSih\\Travaux\\ALLEGRO\\Allegro_campagnes\\exemple_elevation_data</value> + </simple-property-list> + <list-property name="selectionList"/> + <property name="paramType">simple</property> + <property name="controlType">text-box</property> + <structure name="format"> + <property name="category">Unformatted</property> + </structure> + </scalar-parameter> + </parameters> + <data-sources> + <oda-data-source extensionID="org.eclipse.datatools.connectivity.oda.flatfile" name="FlatFileDataSource" id="2421"> + <method name="beforeOpen"><![CDATA[ + +]]></method> + <property name="HOME">C:\DevSih\Allegro_campagnes\exportCruise-0</property> + <property name="DELIMTYPE">SEMICOLON</property> + <property name="CHARSET">UTF-8</property> + <property name="INCLCOLUMNNAME">YES</property> + <property name="INCLTYPELINE">NO</property> + <property name="TRAILNULLCOLS">NO</property> + </oda-data-source> + <script-data-source name="ScriptDataSource" id="3792"/> + </data-sources> + <data-sets> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="operation" id="2422"> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + <property name="analysis">measure</property> + <text-property name="heading">Annee</text-property> + </structure> + <structure> + <property name="columnName">Serie</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie</text-property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie_Partielle</text-property> + </structure> + <structure> + <property name="columnName">Code_Station</property> + <property name="analysis">dimension</property> + <text-property name="heading">Code_Station</text-property> + </structure> + <structure> + <property name="columnName">Id_Operation</property> + <property name="analysis">measure</property> + <text-property name="heading">Id_Operation</text-property> + </structure> + <structure> + <property name="columnName">Poche</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poche</text-property> + </structure> + <structure> + <property name="columnName">Engin</property> + <property name="analysis">dimension</property> + <text-property name="heading">Engin</text-property> + </structure> + <structure> + <property name="columnName">Navire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Navire</text-property> + </structure> + <structure> + <property name="columnName">DateDeb</property> + <property name="analysis">dimension</property> + <text-property name="heading">DateDeb</text-property> + </structure> + <structure> + <property name="columnName">LatDeb</property> + <property name="analysis">dimension</property> + <text-property name="heading">LatDeb</text-property> + </structure> + <structure> + <property name="columnName">LongDeb</property> + <property name="analysis">dimension</property> + <text-property name="heading">LongDeb</text-property> + </structure> + <structure> + <property name="columnName">DateFin</property> + <property name="analysis">dimension</property> + <text-property name="heading">DateFin</text-property> + </structure> + <structure> + <property name="columnName">LatFin</property> + <property name="analysis">dimension</property> + <text-property name="heading">LatFin</text-property> + </structure> + <structure> + <property name="columnName">LongFin</property> + <property name="analysis">dimension</property> + <text-property name="heading">LongFin</text-property> + </structure> + <structure> + <property name="columnName">Duree</property> + <property name="analysis">dimension</property> + <text-property name="heading">Duree</text-property> + </structure> + <structure> + <property name="columnName">Strate</property> + <property name="analysis">dimension</property> + <text-property name="heading">Strate</text-property> + </structure> + <structure> + <property name="columnName">Sous_Strate</property> + <property name="analysis">dimension</property> + <text-property name="heading">Sous_Strate</text-property> + </structure> + <structure> + <property name="columnName">Localite</property> + <property name="analysis">dimension</property> + <text-property name="heading">Localite</text-property> + </structure> + <structure> + <property name="columnName">Validite_OP</property> + <property name="analysis">dimension</property> + <text-property name="heading">Validite_OP</text-property> + </structure> + <structure> + <property name="columnName">Rectiligne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Rectiligne</text-property> + </structure> + <structure> + <property name="columnName">Distance</property> + <property name="analysis">measure</property> + <text-property name="heading">Distance</text-property> + </structure> + <structure> + <property name="columnName">Saisisseur</property> + <property name="analysis">dimension</property> + <text-property name="heading">Saisisseur</text-property> + </structure> + <structure> + <property name="columnName">Navire_Associe</property> + <property name="analysis">dimension</property> + <text-property name="heading">Navire_Associe</text-property> + </structure> + <structure> + <property name="columnName">Commentaire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Commentaire</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Vrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Vrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Vrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Vrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_HorsVrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_HorsVrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_HorsVrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_HorsVrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Non_Trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Non_Trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Non_Trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Non_Trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Tremis</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Tremis</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Tremis_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Tremis_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Carroussel</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Carroussel</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Carroussel_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Carroussel_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece_Vrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_Vrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vrac_Trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece_Vrac_Trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vrac_Trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_Vrac_Trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_HorsVrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece_HorsVrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_HorsVrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_HorsVrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Inerte_Trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece_Inerte_Trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Inerte_Trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_Inerte_Trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vivant_non_detaille_trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Espece_Vivant_non_detaille_trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos_Vrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_Vrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vrac_Trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos_Vrac_Trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vrac_Trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_Vrac_Trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_HorsVrac</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos_HorsVrac</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_HorsVrac_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_HorsVrac_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Inerte_Trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos_Inerte_Trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Inerte_Trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_Inerte_Trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vivant_non_detaille_trie</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Benthos_Vivant_non_detaille_trie</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Macro_Dechet</property> + <property name="analysis">measure</property> + <text-property name="heading">Poids_Total_Macro_Dechet</text-property> + </structure> + <structure> + <property name="columnName">Poids_Total_Macro_Dechet_Calcule</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poids_Total_Macro_Dechet_Calcule</text-property> + </structure> + </list-property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">if (params["rpt-param_codestation"].value=="0") { + "0"; +} else { +row["Code_Station"] +}</expression> + <simple-property-list name="value1"> + <value>params["rpt-param_codestation"].value</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">if (params["rpt-param_numerotrait"].value==0) { + 0; +} else { +row["Id_Operation"] +}</expression> + <simple-property-list name="value1"> + <value>params["rpt-param_numerotrait"].value</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + </list-property> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Engin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Navire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">DateDeb</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">LatDeb</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">LongDeb</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">DateFin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">LatFin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">LongFin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Duree</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">16</property> + <property name="name">Strate</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">17</property> + <property name="name">Sous_Strate</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">18</property> + <property name="name">Localite</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">19</property> + <property name="name">Validite_OP</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">20</property> + <property name="name">Rectiligne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">21</property> + <property name="name">Distance</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">22</property> + <property name="name">Saisisseur</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">23</property> + <property name="name">Navire_Associe</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">24</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">25</property> + <property name="name">Poids_Total</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">26</property> + <property name="name">Poids_Total_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">27</property> + <property name="name">Poids_Total_Vrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">28</property> + <property name="name">Poids_Total_Vrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">29</property> + <property name="name">Poids_Total_HorsVrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">30</property> + <property name="name">Poids_Total_HorsVrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">31</property> + <property name="name">Poids_Total_Non_Trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">32</property> + <property name="name">Poids_Total_Non_Trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">33</property> + <property name="name">Poids_Total_Tremis</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">34</property> + <property name="name">Poids_Total_Tremis_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">35</property> + <property name="name">Poids_Total_Carroussel</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">36</property> + <property name="name">Poids_Total_Carroussel_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">37</property> + <property name="name">Poids_Total_Espece</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">38</property> + <property name="name">Poids_Total_Espece_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">39</property> + <property name="name">Poids_Total_Espece_Vrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">40</property> + <property name="name">Poids_Total_Espece_Vrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">41</property> + <property name="name">Poids_Total_Espece_Vrac_Trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">42</property> + <property name="name">Poids_Total_Espece_Vrac_Trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">43</property> + <property name="name">Poids_Total_Espece_HorsVrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">44</property> + <property name="name">Poids_Total_Espece_HorsVrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">45</property> + <property name="name">Poids_Total_Espece_Inerte_Trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">46</property> + <property name="name">Poids_Total_Espece_Inerte_Trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">47</property> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">48</property> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">49</property> + <property name="name">Poids_Total_Benthos</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">50</property> + <property name="name">Poids_Total_Benthos_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">51</property> + <property name="name">Poids_Total_Benthos_Vrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">52</property> + <property name="name">Poids_Total_Benthos_Vrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">53</property> + <property name="name">Poids_Total_Benthos_Vrac_Trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">54</property> + <property name="name">Poids_Total_Benthos_Vrac_Trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">55</property> + <property name="name">Poids_Total_Benthos_HorsVrac</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">56</property> + <property name="name">Poids_Total_Benthos_HorsVrac_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">57</property> + <property name="name">Poids_Total_Benthos_Inerte_Trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">58</property> + <property name="name">Poids_Total_Benthos_Inerte_Trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">59</property> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">60</property> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">61</property> + <property name="name">Poids_Total_Macro_Dechet</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">62</property> + <property name="name">Poids_Total_Macro_Dechet_Calcule</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="nativeName">Annee</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="nativeName">Serie</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="nativeName">Serie_Partielle</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code_Station</property> + <property name="nativeName">Code_Station</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Id_Operation</property> + <property name="nativeName">Id_Operation</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Poche</property> + <property name="nativeName">Poche</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Engin</property> + <property name="nativeName">Engin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Navire</property> + <property name="nativeName">Navire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">DateDeb</property> + <property name="nativeName">DateDeb</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">LatDeb</property> + <property name="nativeName">LatDeb</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">LongDeb</property> + <property name="nativeName">LongDeb</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">DateFin</property> + <property name="nativeName">DateFin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">LatFin</property> + <property name="nativeName">LatFin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">LongFin</property> + <property name="nativeName">LongFin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Duree</property> + <property name="nativeName">Duree</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">16</property> + <property name="name">Strate</property> + <property name="nativeName">Strate</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">17</property> + <property name="name">Sous_Strate</property> + <property name="nativeName">Sous_Strate</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">18</property> + <property name="name">Localite</property> + <property name="nativeName">Localite</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">19</property> + <property name="name">Validite_OP</property> + <property name="nativeName">Validite_OP</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">20</property> + <property name="name">Rectiligne</property> + <property name="nativeName">Rectiligne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">21</property> + <property name="name">Distance</property> + <property name="nativeName">Distance</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">22</property> + <property name="name">Saisisseur</property> + <property name="nativeName">Saisisseur</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">23</property> + <property name="name">Navire_Associe</property> + <property name="nativeName">Navire_Associe</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">24</property> + <property name="name">Commentaire</property> + <property name="nativeName">Commentaire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">25</property> + <property name="name">Poids_Total</property> + <property name="nativeName">Poids_Total</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">26</property> + <property name="name">Poids_Total_Calcule</property> + <property name="nativeName">Poids_Total_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">27</property> + <property name="name">Poids_Total_Vrac</property> + <property name="nativeName">Poids_Total_Vrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">28</property> + <property name="name">Poids_Total_Vrac_Calcule</property> + <property name="nativeName">Poids_Total_Vrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">29</property> + <property name="name">Poids_Total_HorsVrac</property> + <property name="nativeName">Poids_Total_HorsVrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">30</property> + <property name="name">Poids_Total_HorsVrac_Calcule</property> + <property name="nativeName">Poids_Total_HorsVrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">31</property> + <property name="name">Poids_Total_Non_Trie</property> + <property name="nativeName">Poids_Total_Non_Trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">32</property> + <property name="name">Poids_Total_Non_Trie_Calcule</property> + <property name="nativeName">Poids_Total_Non_Trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">33</property> + <property name="name">Poids_Total_Tremis</property> + <property name="nativeName">Poids_Total_Tremis</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">34</property> + <property name="name">Poids_Total_Tremis_Calcule</property> + <property name="nativeName">Poids_Total_Tremis_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">35</property> + <property name="name">Poids_Total_Carroussel</property> + <property name="nativeName">Poids_Total_Carroussel</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">36</property> + <property name="name">Poids_Total_Carroussel_Calcule</property> + <property name="nativeName">Poids_Total_Carroussel_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">37</property> + <property name="name">Poids_Total_Espece</property> + <property name="nativeName">Poids_Total_Espece</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">38</property> + <property name="name">Poids_Total_Espece_Calcule</property> + <property name="nativeName">Poids_Total_Espece_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">39</property> + <property name="name">Poids_Total_Espece_Vrac</property> + <property name="nativeName">Poids_Total_Espece_Vrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">40</property> + <property name="name">Poids_Total_Espece_Vrac_Calcule</property> + <property name="nativeName">Poids_Total_Espece_Vrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">41</property> + <property name="name">Poids_Total_Espece_Vrac_Trie</property> + <property name="nativeName">Poids_Total_Espece_Vrac_Trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">42</property> + <property name="name">Poids_Total_Espece_Vrac_Trie_Calcule</property> + <property name="nativeName">Poids_Total_Espece_Vrac_Trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">43</property> + <property name="name">Poids_Total_Espece_HorsVrac</property> + <property name="nativeName">Poids_Total_Espece_HorsVrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">44</property> + <property name="name">Poids_Total_Espece_HorsVrac_Calcule</property> + <property name="nativeName">Poids_Total_Espece_HorsVrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">45</property> + <property name="name">Poids_Total_Espece_Inerte_Trie</property> + <property name="nativeName">Poids_Total_Espece_Inerte_Trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">46</property> + <property name="name">Poids_Total_Espece_Inerte_Trie_Calcule</property> + <property name="nativeName">Poids_Total_Espece_Inerte_Trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">47</property> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie</property> + <property name="nativeName">Poids_Total_Espece_Vivant_non_detaille_trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">48</property> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</property> + <property name="nativeName">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">49</property> + <property name="name">Poids_Total_Benthos</property> + <property name="nativeName">Poids_Total_Benthos</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">50</property> + <property name="name">Poids_Total_Benthos_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">51</property> + <property name="name">Poids_Total_Benthos_Vrac</property> + <property name="nativeName">Poids_Total_Benthos_Vrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">52</property> + <property name="name">Poids_Total_Benthos_Vrac_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_Vrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">53</property> + <property name="name">Poids_Total_Benthos_Vrac_Trie</property> + <property name="nativeName">Poids_Total_Benthos_Vrac_Trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">54</property> + <property name="name">Poids_Total_Benthos_Vrac_Trie_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_Vrac_Trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">55</property> + <property name="name">Poids_Total_Benthos_HorsVrac</property> + <property name="nativeName">Poids_Total_Benthos_HorsVrac</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">56</property> + <property name="name">Poids_Total_Benthos_HorsVrac_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_HorsVrac_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">57</property> + <property name="name">Poids_Total_Benthos_Inerte_Trie</property> + <property name="nativeName">Poids_Total_Benthos_Inerte_Trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">58</property> + <property name="name">Poids_Total_Benthos_Inerte_Trie_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_Inerte_Trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">59</property> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie</property> + <property name="nativeName">Poids_Total_Benthos_Vivant_non_detaille_trie</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">60</property> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</property> + <property name="nativeName">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">61</property> + <property name="name">Poids_Total_Macro_Dechet</property> + <property name="nativeName">Poids_Total_Macro_Dechet</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">62</property> + <property name="name">Poids_Total_Macro_Dechet_Calcule</property> + <property name="nativeName">Poids_Total_Macro_Dechet_Calcule</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Annee", "Serie", "Serie_Partielle", "Code_Station", "Id_Operation", "Poche", "Engin", "Navire", "DateDeb", "LatDeb", "LongDeb", "DateFin", "LatFin", "LongFin", "Duree", "Strate", "Sous_Strate", "Localite", "Validite_OP", "Rectiligne", "Distance", "Saisisseur", "Navire_Associe", "Commentaire", "Poids_Total", "Poids_Total_Calcule", "Poids_Total_Vrac", "Poids_Total_Vrac_Calcule", "Poids_Total_HorsVrac", "Poids_Total_HorsVrac_Calcul [...] + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Annee</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Annee</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie_Partielle</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie_Partielle</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_Station</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_Station</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id_Operation</design:name> + <design:position>5</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id_Operation</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poche</design:name> + <design:position>6</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poche</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Engin</design:name> + <design:position>7</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Engin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Navire</design:name> + <design:position>8</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Navire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>DateDeb</design:name> + <design:position>9</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>DateDeb</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>LatDeb</design:name> + <design:position>10</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>LatDeb</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>LongDeb</design:name> + <design:position>11</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>LongDeb</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>DateFin</design:name> + <design:position>12</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>DateFin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>LatFin</design:name> + <design:position>13</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>LatFin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>LongFin</design:name> + <design:position>14</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>LongFin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Duree</design:name> + <design:position>15</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Duree</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Strate</design:name> + <design:position>16</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Strate</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Sous_Strate</design:name> + <design:position>17</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Sous_Strate</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Localite</design:name> + <design:position>18</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Localite</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Validite_OP</design:name> + <design:position>19</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Validite_OP</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Rectiligne</design:name> + <design:position>20</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Rectiligne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Distance</design:name> + <design:position>21</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Distance</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Ouv_Verticale</design:name> + <design:position>22</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Ouv_Verticale</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Ouv_Horizontale_Ailes</design:name> + <design:position>23</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Ouv_Horizontale_Ailes</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Ouv_Horizontale_Panneaux</design:name> + <design:position>24</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Ouv_Horizontale_Panneaux</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Saisisseur</design:name> + <design:position>25</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Saisisseur</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Navire_Associe</design:name> + <design:position>26</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Navire_Associe</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Commentaire</design:name> + <design:position>27</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Commentaire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total</design:name> + <design:position>28</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Calcule</design:name> + <design:position>29</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Vrac</design:name> + <design:position>30</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Vrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Vrac_Calcule</design:name> + <design:position>31</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Vrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_HorsVrac</design:name> + <design:position>32</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_HorsVrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_HorsVrac_Calcule</design:name> + <design:position>33</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_HorsVrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Non_Trie</design:name> + <design:position>34</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Non_Trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Non_Trie_Calcule</design:name> + <design:position>35</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Non_Trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Tremis</design:name> + <design:position>36</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Tremis</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Tremis_Calcule</design:name> + <design:position>37</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Tremis_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Carroussel</design:name> + <design:position>38</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Carroussel</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Carroussel_Calcule</design:name> + <design:position>39</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Carroussel_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece</design:name> + <design:position>40</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Calcule</design:name> + <design:position>41</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vrac</design:name> + <design:position>42</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vrac_Calcule</design:name> + <design:position>43</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vrac_Trie</design:name> + <design:position>44</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vrac_Trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vrac_Trie_Calcule</design:name> + <design:position>45</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vrac_Trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_HorsVrac</design:name> + <design:position>46</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_HorsVrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_HorsVrac_Calcule</design:name> + <design:position>47</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_HorsVrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Inerte_Trie</design:name> + <design:position>48</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Inerte_Trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Inerte_Trie_Calcule</design:name> + <design:position>49</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Inerte_Trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vivant_non_detaille_trie</design:name> + <design:position>50</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vivant_non_detaille_trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</design:name> + <design:position>51</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos</design:name> + <design:position>52</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Calcule</design:name> + <design:position>53</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vrac</design:name> + <design:position>54</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vrac_Calcule</design:name> + <design:position>55</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vrac_Trie</design:name> + <design:position>56</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vrac_Trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vrac_Trie_Calcule</design:name> + <design:position>57</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vrac_Trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_HorsVrac</design:name> + <design:position>58</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_HorsVrac</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_HorsVrac_Calcule</design:name> + <design:position>59</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_HorsVrac_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Inerte_Trie</design:name> + <design:position>60</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Inerte_Trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Inerte_Trie_Calcule</design:name> + <design:position>61</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Inerte_Trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vivant_non_detaille_trie</design:name> + <design:position>62</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vivant_non_detaille_trie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</design:name> + <design:position>63</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Macro_Dechet</design:name> + <design:position>64</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Macro_Dechet</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poids_Total_Macro_Dechet_Calcule</design:name> + <design:position>65</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poids_Total_Macro_Dechet_Calcule</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="survey" id="2452"> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + <property name="analysis">measure</property> + <text-property name="heading">Annee</text-property> + </structure> + <structure> + <property name="columnName">Serie</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie</text-property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie_Partielle</text-property> + </structure> + <structure> + <property name="columnName">Navire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Navire</text-property> + </structure> + <structure> + <property name="columnName">Pays</property> + <property name="analysis">dimension</property> + <text-property name="heading">Pays</text-property> + </structure> + <structure> + <property name="columnName">Zone_Etude</property> + <property name="analysis">dimension</property> + <text-property name="heading">Zone_Etude</text-property> + </structure> + <structure> + <property name="columnName">Campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Campagne</text-property> + </structure> + <structure> + <property name="columnName">Id_Sismer</property> + <property name="analysis">dimension</property> + <text-property name="heading">Id_Sismer</text-property> + </structure> + <structure> + <property name="columnName">Date_Deb_Campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Date_Deb_Campagne</text-property> + </structure> + <structure> + <property name="columnName">Port_Deb_Campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Port_Deb_Campagne</text-property> + </structure> + <structure> + <property name="columnName">Date_Fin_Campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Date_Fin_Campagne</text-property> + </structure> + <structure> + <property name="columnName">Port_Fin_Campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Port_Fin_Campagne</text-property> + </structure> + <structure> + <property name="columnName">Chef_Mission</property> + <property name="analysis">dimension</property> + <text-property name="heading">Chef_Mission</text-property> + </structure> + <structure> + <property name="columnName">Resp_Salle_Tri</property> + <property name="analysis">dimension</property> + <text-property name="heading">Resp_Salle_Tri</text-property> + </structure> + <structure> + <property name="columnName">Commentaire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Commentaire</text-property> + </structure> + </list-property> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Navire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Pays</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Zone_Etude</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Id_Sismer</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Date_Deb_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Port_Deb_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Date_Fin_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">Port_Fin_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">Chef_Mission</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">Resp_Salle_Tri</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="nativeName">Annee</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="nativeName">Serie</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="nativeName">Serie_Partielle</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Navire</property> + <property name="nativeName">Navire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Pays</property> + <property name="nativeName">Pays</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Zone_Etude</property> + <property name="nativeName">Zone_Etude</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Campagne</property> + <property name="nativeName">Campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Id_Sismer</property> + <property name="nativeName">Id_Sismer</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Date_Deb_Campagne</property> + <property name="nativeName">Date_Deb_Campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Port_Deb_Campagne</property> + <property name="nativeName">Port_Deb_Campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Date_Fin_Campagne</property> + <property name="nativeName">Date_Fin_Campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">Port_Fin_Campagne</property> + <property name="nativeName">Port_Fin_Campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">Chef_Mission</property> + <property name="nativeName">Chef_Mission</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">Resp_Salle_Tri</property> + <property name="nativeName">Resp_Salle_Tri</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Commentaire</property> + <property name="nativeName">Commentaire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Annee", "Serie", "Serie_Partielle", "Navire", "Pays", "Zone_Etude", "Campagne", "Id_Sismer", "Date_Deb_Campagne", "Port_Deb_Campagne", "Date_Fin_Campagne", "Port_Fin_Campagne", "Chef_Mission", "Resp_Salle_Tri", "Commentaire" from "survey.csv" : {"Annee","Annee",INT;"Serie","Serie",STRING;"Serie_Partielle","Serie_Partielle",STRING;"Navire","Navire",STRING;"Pays","Pays",STRING;"Zone_Etude","Zone_Etude",STRING;"Campagne","Campagne" [...] + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Annee</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Annee</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie_Partielle</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie_Partielle</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Navire</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Navire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Pays</design:name> + <design:position>5</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Pays</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Zone_Etude</design:name> + <design:position>6</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Zone_Etude</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Campagne</design:name> + <design:position>7</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id_Sismer</design:name> + <design:position>8</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id_Sismer</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Date_Deb_Campagne</design:name> + <design:position>9</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Date_Deb_Campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Port_Deb_Campagne</design:name> + <design:position>10</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Port_Deb_Campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Date_Fin_Campagne</design:name> + <design:position>11</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Date_Fin_Campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Port_Fin_Campagne</design:name> + <design:position>12</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Port_Fin_Campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Chef_Mission</design:name> + <design:position>13</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Chef_Mission</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Resp_Salle_Tri</design:name> + <design:position>14</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Resp_Salle_Tri</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Commentaire</design:name> + <design:position>15</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Commentaire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="parameter" id="2788"> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + <property name="analysis">measure</property> + <text-property name="heading">Annee</text-property> + </structure> + <structure> + <property name="columnName">Serie</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie</text-property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie_Partielle</text-property> + </structure> + <structure> + <property name="columnName">Code_station</property> + <text-property name="heading">Code_station</text-property> + </structure> + <structure> + <property name="columnName">Id_Operation</property> + <property name="analysis">measure</property> + <text-property name="heading">Id_Operation</text-property> + </structure> + <structure> + <property name="columnName">Poche</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poche</text-property> + </structure> + <structure> + <property name="columnName">Code_PMFM</property> + <property name="analysis">dimension</property> + <text-property name="heading">Code_PMFM</text-property> + </structure> + <structure> + <property name="columnName">Libelle_PMFM</property> + <property name="analysis">dimension</property> + <text-property name="heading">Libelle_PMFM</text-property> + </structure> + <structure> + <property name="columnName">Valeur</property> + <property name="analysis">dimension</property> + <text-property name="heading">Valeur</text-property> + </structure> + </list-property> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Code_PMFM</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Libelle_PMFM</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Valeur</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="nativeName">Annee</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="nativeName">Serie</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="nativeName">Serie_Partielle</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code_Station</property> + <property name="nativeName">Code_station</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Id_Operation</property> + <property name="nativeName">Id_Operation</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Poche</property> + <property name="nativeName">Poche</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Code_PMFM</property> + <property name="nativeName">Code_PMFM</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Libelle_PMFM</property> + <property name="nativeName">Libelle_PMFM</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Valeur</property> + <property name="nativeName">Valeur</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Annee", "Serie", "Serie_Partielle", "Code_station", "Id_Operation", "Poche", "Code_PMFM", "Libelle_PMFM", "Valeur" from "parameter.csv" : {"Annee","Annee",INT;"Serie","Serie",STRING;"Serie_Partielle","Serie_Partielle",STRING;"Code_station","Code_station",STRING;"Id_Operation","Id_Operation",INT;"Poche","Poche",STRING;"Code_PMFM","Code_PMFM",STRING;"Libelle_PMFM","Libelle_PMFM",STRING;"Valeur","Valeur",STRING}]]></xml-property> + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Annee</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Annee</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie_Partielle</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie_Partielle</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_Station</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_Station</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id_Operation</design:name> + <design:position>5</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id_Operation</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poche</design:name> + <design:position>6</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poche</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_PMFM</design:name> + <design:position>7</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_PMFM</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Libelle_PMFM</design:name> + <design:position>8</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Libelle_PMFM</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Valeur</design:name> + <design:position>9</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Valeur</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="marineLitter" id="3166"> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + <property name="analysis">measure</property> + <text-property name="heading">Annee</text-property> + </structure> + <structure> + <property name="columnName">Serie</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie</text-property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie_Partielle</text-property> + </structure> + <structure> + <property name="columnName">Engin</property> + <property name="analysis">dimension</property> + <text-property name="heading">Engin</text-property> + </structure> + <structure> + <property name="columnName">Code_station</property> + <text-property name="heading">Code_station</text-property> + </structure> + <structure> + <property name="columnName">Id_Operation</property> + <property name="analysis">measure</property> + <text-property name="heading">Id_Operation</text-property> + </structure> + <structure> + <property name="columnName">Poche</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poche</text-property> + </structure> + <structure> + <property name="columnName">MarineLitterCategory</property> + <property name="analysis">dimension</property> + <text-property name="heading">MarineLitterCategory</text-property> + </structure> + <structure> + <property name="columnName">MarineLitterSizeCategory</property> + <property name="analysis">dimension</property> + <text-property name="heading">MarineLitterSizeCategory</text-property> + </structure> + <structure> + <property name="columnName">Number</property> + <property name="analysis">measure</property> + <text-property name="heading">Number</text-property> + </structure> + <structure> + <property name="columnName">Weight</property> + <property name="analysis">measure</property> + <text-property name="heading">Weight</text-property> + </structure> + <structure> + <property name="columnName">Commentaire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Commentaire</text-property> + </structure> + </list-property> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">MarineLitterCategory</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">MarineLitterSizeCategory</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Number</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Weight</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="nativeName">Annee</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="nativeName">Serie</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="nativeName">Serie_Partielle</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="nativeName">Engin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="nativeName">Code_station</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="nativeName">Id_Operation</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="nativeName">Poche</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">MarineLitterCategory</property> + <property name="nativeName">MarineLitterCategory</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">MarineLitterSizeCategory</property> + <property name="nativeName">MarineLitterSizeCategory</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Number</property> + <property name="nativeName">Number</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Weight</property> + <property name="nativeName">Weight</property> + <property name="dataType">decimal</property> + <property name="nativeDataType">2</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">Commentaire</property> + <property name="nativeName">Commentaire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Annee", "Serie", "Serie_Partielle", "Engin", "Code_station", "Id_Operation", "Poche", "MarineLitterCategory", "MarineLitterSizeCategory", "Number", "Weight", "Commentaire" from "marineLitter.csv" : {"Annee","Annee",INT;"Serie","Serie",STRING;"Serie_Partielle","Serie_Partielle",STRING;"Engin","Engin",STRING;"Code_station","Code_station",STRING;"Id_Operation","Id_Operation",INT;"Poche","Poche",STRING;"MarineLitterCategory","Marine [...] + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Annee</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Annee</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie_Partielle</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie_Partielle</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Engin</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Engin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_Station</design:name> + <design:position>5</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_Station</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id_Operation</design:name> + <design:position>6</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id_Operation</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poche</design:name> + <design:position>7</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poche</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Navire</design:name> + <design:position>8</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Navire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>MarineLitterCategory</design:name> + <design:position>9</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>MarineLitterCategory</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>MarineLitterSizeCategory</design:name> + <design:position>10</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>MarineLitterSizeCategory</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Number</design:name> + <design:position>11</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Number</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Weight</design:name> + <design:position>12</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Weight</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Commentaire</design:name> + <design:position>13</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Commentaire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="species" id="3256"> + <list-property name="computedColumns"> + <structure> + <property name="name">lib</property> + <expression name="expression">if (row["Code_Rubin"] == null ){ +row["Nom Scientifique"] +} else { +row["Code_Rubin"]+"-"+row["Nom Scientifique"] +}</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <list-property name="columnHints"> + <structure> + <property name="columnName">Id</property> + <property name="analysis">measure</property> + <text-property name="heading">Id</text-property> + </structure> + <structure> + <property name="columnName">Code_Rubin</property> + <property name="analysis">dimension</property> + <text-property name="heading">Code_Rubin</text-property> + </structure> + <structure> + <property name="columnName">Nom Scientifique</property> + <property name="analysis">dimension</property> + <text-property name="heading">Nom Scientifique</text-property> + </structure> + <structure> + <property name="columnName">Code campagne</property> + <property name="analysis">dimension</property> + <text-property name="heading">Code campagne</text-property> + </structure> + </list-property> + <list-property name="filter"/> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Id</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Code_Rubin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Nom Scientifique</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">lib</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <method name="beforeOpen"><![CDATA[LIST_SPECIES=new Array();]]></method> + <method name="onFetch"><![CDATA[LIST_SPECIES[row["Id"]]=row["lib"];]]></method> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Id</property> + <property name="nativeName">Id</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Code_Rubin</property> + <property name="nativeName">Code_Rubin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Nom Scientifique</property> + <property name="nativeName">Nom Scientifique</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Code campagne</property> + <property name="nativeName">Code campagne</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Id", "Code_Rubin", "Nom Scientifique", "Code campagne" from "species.csv" : {"Id","Id",INT;"Code_Rubin","Code_Rubin",STRING;"Nom Scientifique","Nom Scientifique",STRING;"Code campagne","Code campagne",STRING}]]></xml-property> + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_Rubin</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_Rubin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Nom Scientifique</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Nom Scientifique</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code campagne</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code campagne</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <oda-data-set extensionID="org.eclipse.datatools.connectivity.oda.flatfile.dataSet" name="accidentalCatch" id="3459"> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + <property name="analysis">measure</property> + <text-property name="heading">Annee</text-property> + </structure> + <structure> + <property name="columnName">Serie</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie</text-property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + <property name="analysis">dimension</property> + <text-property name="heading">Serie_Partielle</text-property> + </structure> + <structure> + <property name="columnName">Engin</property> + <property name="analysis">dimension</property> + <text-property name="heading">Engin</text-property> + </structure> + <structure> + <property name="columnName">Code_station</property> + <text-property name="heading">Code_station</text-property> + </structure> + <structure> + <property name="columnName">Id_Operation</property> + <property name="analysis">measure</property> + <text-property name="heading">Id_Operation</text-property> + </structure> + <structure> + <property name="columnName">Poche</property> + <property name="analysis">dimension</property> + <text-property name="heading">Poche</text-property> + </structure> + <structure> + <property name="columnName">BatchId</property> + <property name="analysis">measure</property> + <text-property name="heading">BatchId</text-property> + </structure> + <structure> + <property name="columnName">ReferenceTaxonId</property> + <property name="analysis">measure</property> + <text-property name="heading">ReferenceTaxonId</text-property> + </structure> + <structure> + <property name="columnName">ReferenceTaxonName</property> + <property name="analysis">dimension</property> + <text-property name="heading">ReferenceTaxonName</text-property> + </structure> + <structure> + <property name="columnName">Commentaire</property> + <property name="analysis">dimension</property> + <text-property name="heading">Commentaire</text-property> + </structure> + <structure> + <property name="columnName">CaracteristicId</property> + <property name="analysis">measure</property> + <text-property name="heading">CaracteristicId</text-property> + </structure> + <structure> + <property name="columnName">CaracteristicValue</property> + <property name="analysis">dimension</property> + <text-property name="heading">CaracteristicValue</text-property> + </structure> + </list-property> + <list-property name="parameters"/> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">BatchId</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">ReferenceTaxonId</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">ReferenceTaxonName</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">CaracteristicId</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">CaracteristicValue</property> + <property name="dataType">string</property> + </structure> + </list-property> + </structure> + <method name="onFetch"><![CDATA[existsCapAcc=existsCapAcc+1;]]></method> + <property name="dataSource">FlatFileDataSource</property> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="nativeName">Annee</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="nativeName">Serie</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="nativeName">Serie_Partielle</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="nativeName">Engin</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="nativeName">Code_station</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="nativeName">Id_Operation</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="nativeName">Poche</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">BatchId</property> + <property name="nativeName">BatchId</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">ReferenceTaxonId</property> + <property name="nativeName">ReferenceTaxonId</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">ReferenceTaxonName</property> + <property name="nativeName">ReferenceTaxonName</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Commentaire</property> + <property name="nativeName">Commentaire</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">CaracteristicId</property> + <property name="nativeName">CaracteristicId</property> + <property name="dataType">integer</property> + <property name="nativeDataType">4</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">CaracteristicValue</property> + <property name="nativeName">CaracteristicValue</property> + <property name="dataType">string</property> + <property name="nativeDataType">12</property> + </structure> + </list-property> + <xml-property name="queryText"><![CDATA[select "Annee", "Serie", "Serie_Partielle", "Engin", "Code_station", "Id_Operation", "Poche", "BatchId", "ReferenceTaxonId", "ReferenceTaxonName", "Commentaire", "CaracteristicId", "CaracteristicValue" from "accidentalCatch.csv" : {"Annee","Annee",INT;"Serie","Serie",STRING;"Serie_Partielle","Serie_Partielle",STRING;"Engin","Engin",STRING;"Code_station","Code_station",STRING;"Id_Operation","Id_Operation",INT;"Poche","Poche",STRING;"Batc [...] + <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> +<model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel"> + <Version>2.0</Version> + <design:ResultSets derivedMetaData="true"> + <design:resultSetDefinitions> + <design:resultSetColumns> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Annee</design:name> + <design:position>1</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Annee</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie</design:name> + <design:position>2</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Serie_Partielle</design:name> + <design:position>3</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Serie_Partielle</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Engin</design:name> + <design:position>4</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Engin</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Code_Station</design:name> + <design:position>5</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Code_Station</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Id_Operation</design:name> + <design:position>6</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Id_Operation</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Poche</design:name> + <design:position>7</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Poche</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Navire</design:name> + <design:position>8</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Navire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>BatchId</design:name> + <design:position>9</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>BatchId</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>ReferenceTaxonId</design:name> + <design:position>10</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>ReferenceTaxonId</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>ReferenceTaxonName</design:name> + <design:position>11</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>ReferenceTaxonName</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>Commentaire</design:name> + <design:position>12</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>Commentaire</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>CaracteristicId</design:name> + <design:position>13</design:position> + </design:identifier> + <design:nativeDataTypeCode>4</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>CaracteristicId</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + <design:resultColumnDefinitions> + <design:attributes> + <design:identifier> + <design:name>CaracteristicValue</design:name> + <design:position>14</design:position> + </design:identifier> + <design:nativeDataTypeCode>12</design:nativeDataTypeCode> + <design:precision>-1</design:precision> + <design:scale>-1</design:scale> + <design:nullability>Unknown</design:nullability> + </design:attributes> + <design:usageHints> + <design:label>CaracteristicValue</design:label> + <design:formattingHints/> + </design:usageHints> + </design:resultColumnDefinitions> + </design:resultSetColumns> + </design:resultSetDefinitions> + </design:ResultSets> +</model:DesignValues>]]></xml-property> + </oda-data-set> + <script-data-set name="catch" id="3793"> + <list-property name="resultSetHints"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Code_Taxon</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Code_Espece_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Nom_scientifique</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">Num_Ordre_V_HV_H2</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">Tot_V_HV</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Ech_V_HV</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">16</property> + <property name="name">Type_Volume_Poids_V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">17</property> + <property name="name">Unite_Volume_Poids_V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">18</property> + <property name="name">Code_Longueur</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">19</property> + <property name="name">Libelle_Longueur</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">20</property> + <property name="name">Taille</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">21</property> + <property name="name">NumOrdre_Taille_H2</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">22</property> + <property name="name">Poids_Classe_Taille</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">23</property> + <property name="name">Unite_Taille</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">24</property> + <property name="name">Precision_Mesure</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">25</property> + <property name="name">Nbr</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">26</property> + <property name="name">Poids_Reference</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">27</property> + <property name="name">Coef_Elev_Espece_Capture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">28</property> + <property name="name">Coef_Final_Elevation</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">29</property> + <property name="name">categorisation-du-lot</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">30</property> + <property name="name">species</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">31</property> + <property name="name">order</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">32</property> + <property name="name">categLotAll</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">33</property> + <property name="name">poidsTotEspCategCapture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">34</property> + <property name="name">poidsElevCapture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">35</property> + <property name="name">poidsDerCateg</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">36</property> + <property name="name">poidsTotalElevCapture</property> + <property name="dataType">decimal</property> + </structure> + </list-property> + <list-property name="columnHints"> + <structure> + <property name="columnName">Annee</property> + </structure> + <structure> + <property name="columnName">Serie</property> + </structure> + <structure> + <property name="columnName">Serie_Partielle</property> + </structure> + <structure> + <property name="columnName">Engin</property> + </structure> + <structure> + <property name="columnName">Code_Station</property> + </structure> + <structure> + <property name="columnName">Id_Operation</property> + </structure> + <structure> + <property name="columnName">Poche</property> + </structure> + <structure> + <property name="columnName">Code_Taxon</property> + </structure> + <structure> + <property name="columnName">Code_Espece_Campagne</property> + </structure> + <structure> + <property name="columnName">Nom_scientifique</property> + </structure> + <structure> + <property name="columnName">Commentaire</property> + </structure> + <structure> + <property name="columnName">V_HV</property> + </structure> + <structure> + <property name="columnName">Num_Ordre_V_HV_H2</property> + </structure> + <structure> + <property name="columnName">Tot_V_HV</property> + </structure> + <structure> + <property name="columnName">Ech_V_HV</property> + </structure> + <structure> + <property name="columnName">Type_Volume_Poids_V_HV</property> + </structure> + <structure> + <property name="columnName">Unite_Volume_Poids_V_HV</property> + </structure> + <structure> + <property name="columnName">Code_Longueur</property> + </structure> + <structure> + <property name="columnName">Libelle_Longueur</property> + </structure> + <structure> + <property name="columnName">Taille</property> + </structure> + <structure> + <property name="columnName">NumOrdre_Taille_H2</property> + </structure> + <structure> + <property name="columnName">Poids_Classe_Taille</property> + </structure> + <structure> + <property name="columnName">Unite_Taille</property> + </structure> + <structure> + <property name="columnName">Precision_Mesure</property> + </structure> + <structure> + <property name="columnName">Nbr</property> + </structure> + <structure> + <property name="columnName">Poids_Reference</property> + </structure> + <structure> + <property name="columnName">Coef_Elev_Espece_Capture</property> + </structure> + <structure> + <property name="columnName">Coef_Final_Elevation</property> + </structure> + <structure> + <property name="columnName">categorisation-du-lot</property> + </structure> + <structure> + <property name="columnName">species</property> + </structure> + <structure> + <property name="columnName">order</property> + </structure> + <structure> + <property name="columnName">categLotAll</property> + </structure> + <structure> + <property name="columnName">poidsTotEspCategCapture</property> + </structure> + <structure> + <property name="columnName">poidsElevCapture</property> + </structure> + <structure> + <property name="columnName">poidsDerCateg</property> + </structure> + <structure> + <property name="columnName">poidsTotalElevCapture</property> + </structure> + </list-property> + <structure name="cachedMetaData"> + <list-property name="resultSet"> + <structure> + <property name="position">1</property> + <property name="name">Annee</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">2</property> + <property name="name">Serie</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">3</property> + <property name="name">Serie_Partielle</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">4</property> + <property name="name">Engin</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">5</property> + <property name="name">Code_Station</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">6</property> + <property name="name">Id_Operation</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">7</property> + <property name="name">Poche</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">8</property> + <property name="name">Code_Taxon</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">9</property> + <property name="name">Code_Espece_Campagne</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">10</property> + <property name="name">Nom_scientifique</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">11</property> + <property name="name">Commentaire</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">12</property> + <property name="name">V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">13</property> + <property name="name">Num_Ordre_V_HV_H2</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">14</property> + <property name="name">Tot_V_HV</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">15</property> + <property name="name">Ech_V_HV</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">16</property> + <property name="name">Type_Volume_Poids_V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">17</property> + <property name="name">Unite_Volume_Poids_V_HV</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">18</property> + <property name="name">Code_Longueur</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">19</property> + <property name="name">Libelle_Longueur</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">20</property> + <property name="name">Taille</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">21</property> + <property name="name">NumOrdre_Taille_H2</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">22</property> + <property name="name">Poids_Classe_Taille</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">23</property> + <property name="name">Unite_Taille</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">24</property> + <property name="name">Precision_Mesure</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">25</property> + <property name="name">Nbr</property> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="position">26</property> + <property name="name">Poids_Reference</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">27</property> + <property name="name">Coef_Elev_Espece_Capture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">28</property> + <property name="name">Coef_Final_Elevation</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">29</property> + <property name="name">categorisation-du-lot</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">30</property> + <property name="name">species</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">31</property> + <property name="name">order</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">32</property> + <property name="name">categLotAll</property> + <property name="dataType">string</property> + </structure> + <structure> + <property name="position">33</property> + <property name="name">poidsTotEspCategCapture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">34</property> + <property name="name">poidsElevCapture</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">35</property> + <property name="name">poidsDerCateg</property> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="position">36</property> + <property name="name">poidsTotalElevCapture</property> + <property name="dataType">decimal</property> + </structure> + </list-property> + </structure> + <property name="dataSource">ScriptDataSource</property> + <method name="open"><![CDATA[readcatchClass = new Packages.fr.ifremer.common.readfilecatch.ReadData(); +readcatch=readcatchClass.getData(params["rpt-param_dirfile"].value,startCateg,columnNameNotCateg); +totalrows = readcatch.size(); +currentrow=0;]]></method> + <method name="fetch"><![CDATA[if (currentrow >= totalrows){ +return (false); +} + +var favrow=readcatch.get(currentrow); + +var Annee=favrow[0]; +var Code_Station=favrow[4]; +var Id_Operation=favrow[5]; +var Code_Taxon=favrow[7]; +var V_HV=favrow[11]; +var numOrder_V_HV=favrow[12]; +var nomSci=favrow[9]; + +var tot=favrow[13]; + +if (favrow[0] != ""){ +row["Annee"]=parseInt(favrow[0]); +} +row["Serie"]=favrow[1]; +row["Serie_Partielle"]=favrow[2]; +row["Engin"]=favrow[3]; +row["Code_Station"]=favrow[4]; +if (favrow[5] != ""){ +row["Id_Operation"]=parseInt(favrow[5]); +} +row["Poche"]=favrow[6]; +if (favrow[7] != ""){ +row["Code_Taxon"]=parseInt(favrow[7]); +} +row["Code_Espece_Campagne"]=favrow[8]; +row["Nom_scientifique"]=favrow[9]; +row["Commentaire"]=favrow[10]; +row["V_HV"]=favrow[11]; +if (favrow[12] != ""){ +row["Num_Ordre_V_HV_H2"]=parseInt(favrow[12]); +} +row["Tot_V_HV"]=parseFloat(favrow[13]); +row["Ech_V_HV"]=parseFloat(favrow[14]); +row["Type_Volume_Poids_V_HV"]=favrow[15]; +row["Unite_Volume_Poids_V_HV"]=favrow[16]; +if (favrow[17] != ""){ +row["Code_Longueur"]=parseInt(favrow[17]); +} +row["Libelle_Longueur"]=favrow[18]; +row["Taille"]=parseFloat(favrow[19]); +if (favrow[20] != ""){ +row["NumOrdre_Taille_H2"]=parseInt(favrow[20]); +} +row["Poids_Classe_Taille"]=parseFloat(favrow[21]); +row["Unite_Taille"]=favrow[22]; +row["Precision_Mesure"]=parseFloat(favrow[23]); +if (favrow[24] != ""){ +row["Nbr"]=parseInt(favrow[24]); +} +row["Poids_Reference"]=parseFloat(favrow[25]); +row["Coef_Elev_Espece_Capture"]=parseFloat(favrow[26]); +row["Coef_Final_Elevation"]=parseFloat(favrow[27]); +row["categorisation-du-lot"]=favrow[28]; +row["species"]=favrow[29]; +row["order"]=favrow[30]; +row["categLotAll"]=favrow[31]; +row["poidsTotEspCategCapture"]=favrow[32]; +row["poidsElevCapture"]=favrow[33]; +row["poidsDerCateg"]=favrow[34]; +row["poidsTotalElevCapture"]=favrow[35]; + + +currentrow=currentrow+1; +return (true);]]></method> + <method name="close"><![CDATA[readcatchClass = null; +readcatch = null;]]></method> + </script-data-set> + </data-sets> + <page-setup> + <simple-master-page name="Simple MasterPage Portrait" id="2"> + <property name="type">a4</property> + <property name="topMargin">5mm</property> + <property name="leftMargin">10mm</property> + <property name="bottomMargin">5mm</property> + <property name="rightMargin">10mm</property> + <property name="headerHeight">12mm</property> + <property name="footerHeight">12mm</property> + <page-header> + <grid name="HeaderGrid" id="7"> + <property name="width">100%</property> + <column id="8"> + <property name="width">120px</property> + </column> + <column id="12"> + <property name="width">80%</property> + </column> + <column id="14"/> + <row id="9"> + <cell id="10"> + <image id="15"> + <property name="height">30px</property> + <property name="width">114px</property> + <property name="source">embed</property> + <property name="imageName">logo-ifremer.PNG</property> + </image> + </cell> + <cell id="11"> + <property name="textAlign">center</property> + <property name="verticalAlign">middle</property> + </cell> + <cell id="13"/> + </row> + </grid> + </page-header> + <page-footer> + <grid name="footerGrid" id="17"> + <column id="18"/> + <column id="19"/> + <column id="20"/> + <row id="21"> + <cell id="22"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <text id="29"> + <property name="fontFamily">"Verdana"</property> + <property name="contentType">html</property> + <text-property name="content" key="date-generation"><![CDATA[]]></text-property> + </text> + </cell> + <cell id="23"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + </cell> + <cell id="24"> + <property name="fontSize">10pt</property> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <property name="textAlign">right</property> + <label id="26"> + <property name="fontFamily">"Verdana"</property> + <property name="marginRight">0pt</property> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">5px</property> + <property name="display">inline</property> + <text-property name="text" key="page"></text-property> + </label> + <auto-text name="NewAutoText21" id="2407"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="display">inline</property> + <property name="type">page-number</property> + </auto-text> + <text name="NewText111" id="2420"> + <property name="fontFamily">serif</property> + <property name="fontSize">small</property> + <property name="marginLeft">0pt</property> + <property name="marginRight">0pt</property> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="display">inline</property> + <property name="contentType">plain</property> + <text-property name="content"><![CDATA[/]]></text-property> + </text> + <auto-text name="NewAutoText111" id="2409"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="type">total-page</property> + </auto-text> + </cell> + </row> + <row id="2414"> + <cell id="2415"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <text id="3575"> + <property name="fontFamily">"Verdana"</property> + <property name="contentType">html</property> + <text-property name="content"><![CDATA[<value-of format="dd/MM/yyyy hh:mm:ss">new Date()</value-of>]]></text-property> + </text> + </cell> + <cell id="2416"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + </cell> + <cell id="2417"> + <property name="fontSize">10pt</property> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">18pt</property> + <property name="textAlign">right</property> + <label id="2418"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="marginRight">2pt</property> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="display">inline</property> + <text-property name="text" key="controle"></text-property> + </label> + <text id="2419"> + <property name="fontFamily">"Wingdings"</property> + <property name="fontSize">small</property> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="display">inline</property> + <property name="contentType">auto</property> + <text-property name="content"><![CDATA[r]]></text-property> + </text> + </cell> + </row> + </grid> + </page-footer> + </simple-master-page> + </page-setup> + <body> + <grid name="survey" id="2585"> + <property name="dataSet">survey</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <text-property name="displayName">Annee</text-property> + <expression name="expression" type="javascript">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <text-property name="displayName">Serie</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <text-property name="displayName">Serie_Partielle</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Navire</property> + <text-property name="displayName">Navire</text-property> + <expression name="expression" type="javascript">dataSetRow["Navire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Pays</property> + <text-property name="displayName">Pays</text-property> + <expression name="expression" type="javascript">dataSetRow["Pays"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Zone_Etude</property> + <text-property name="displayName">Zone_Etude</text-property> + <expression name="expression" type="javascript">dataSetRow["Zone_Etude"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Campagne</property> + <text-property name="displayName">Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Sismer</property> + <text-property name="displayName">Id_Sismer</text-property> + <expression name="expression" type="javascript">dataSetRow["Id_Sismer"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Date_Deb_Campagne</property> + <text-property name="displayName">Date_Deb_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Date_Deb_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Port_Deb_Campagne</property> + <text-property name="displayName">Port_Deb_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Port_Deb_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Date_Fin_Campagne</property> + <text-property name="displayName">Date_Fin_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Date_Fin_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Port_Fin_Campagne</property> + <text-property name="displayName">Port_Fin_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Port_Fin_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Chef_Mission</property> + <text-property name="displayName">Chef_Mission</text-property> + <expression name="expression" type="javascript">dataSetRow["Chef_Mission"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Resp_Salle_Tri</property> + <text-property name="displayName">Resp_Salle_Tri</text-property> + <expression name="expression" type="javascript">dataSetRow["Resp_Salle_Tri"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <text-property name="displayName">Commentaire</text-property> + <expression name="expression" type="javascript">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <structure name="toc"> + <expression name="expressionValue" type="javascript">row["Serie"]+" - "+row["Campagne"]+" - "+row["Annee"]</expression> + </structure> + <column id="2586"/> + <row id="2587"> + <cell id="2588"> + <list name="Trait" id="2413"> + <property name="dataSet">operation</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <text-property name="displayName">Annee</text-property> + <expression name="expression" type="javascript">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <text-property name="displayName">Serie</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <text-property name="displayName">Serie_Partielle</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <text-property name="displayName">Code_Station</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <text-property name="displayName">Id_Operation</text-property> + <expression name="expression" type="javascript">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <text-property name="displayName">Poche</text-property> + <expression name="expression" type="javascript">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Engin</property> + <text-property name="displayName">Engin</text-property> + <expression name="expression" type="javascript">dataSetRow["Engin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Navire</property> + <text-property name="displayName">Navire</text-property> + <expression name="expression" type="javascript">dataSetRow["Navire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">DateDeb</property> + <text-property name="displayName">DateDeb</text-property> + <expression name="expression" type="javascript">dataSetRow["DateDeb"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">LatDeb</property> + <text-property name="displayName">LatDeb</text-property> + <expression name="expression" type="javascript">dataSetRow["LatDeb"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">LongDeb</property> + <text-property name="displayName">LongDeb</text-property> + <expression name="expression" type="javascript">dataSetRow["LongDeb"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">DateFin</property> + <text-property name="displayName">DateFin</text-property> + <expression name="expression" type="javascript">dataSetRow["DateFin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">LatFin</property> + <text-property name="displayName">LatFin</text-property> + <expression name="expression" type="javascript">dataSetRow["LatFin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">LongFin</property> + <text-property name="displayName">LongFin</text-property> + <expression name="expression" type="javascript">dataSetRow["LongFin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Duree</property> + <text-property name="displayName">Duree</text-property> + <expression name="expression" type="javascript">dataSetRow["Duree"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Strate</property> + <text-property name="displayName">Strate</text-property> + <expression name="expression" type="javascript">dataSetRow["Strate"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Sous_Strate</property> + <text-property name="displayName">Sous_Strate</text-property> + <expression name="expression" type="javascript">dataSetRow["Sous_Strate"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Localite</property> + <text-property name="displayName">Localite</text-property> + <expression name="expression" type="javascript">dataSetRow["Localite"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Validite_OP</property> + <text-property name="displayName">Validite_OP</text-property> + <expression name="expression" type="javascript">dataSetRow["Validite_OP"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Rectiligne</property> + <text-property name="displayName">Rectiligne</text-property> + <expression name="expression" type="javascript">dataSetRow["Rectiligne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Distance</property> + <text-property name="displayName">Distance</text-property> + <expression name="expression" type="javascript">dataSetRow["Distance"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Saisisseur</property> + <text-property name="displayName">Saisisseur</text-property> + <expression name="expression" type="javascript">dataSetRow["Saisisseur"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Navire_Associe</property> + <text-property name="displayName">Navire_Associe</text-property> + <expression name="expression" type="javascript">dataSetRow["Navire_Associe"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <text-property name="displayName">Commentaire</text-property> + <expression name="expression" type="javascript">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total</property> + <text-property name="displayName">Poids_Total</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Calcule</property> + <text-property name="displayName">Poids_Total_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Vrac</property> + <text-property name="displayName">Poids_Total_Vrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Vrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Vrac_Calcule</property> + <text-property name="displayName">Poids_Total_Vrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Vrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_HorsVrac</property> + <text-property name="displayName">Poids_Total_HorsVrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_HorsVrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_HorsVrac_Calcule</property> + <text-property name="displayName">Poids_Total_HorsVrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_HorsVrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Non_Trie</property> + <text-property name="displayName">Poids_Total_Non_Trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Non_Trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Non_Trie_Calcule</property> + <text-property name="displayName">Poids_Total_Non_Trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Non_Trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Tremis</property> + <text-property name="displayName">Poids_Total_Tremis</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Tremis"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Tremis_Calcule</property> + <text-property name="displayName">Poids_Total_Tremis_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Tremis_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Carroussel</property> + <text-property name="displayName">Poids_Total_Carroussel</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Carroussel"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Carroussel_Calcule</property> + <text-property name="displayName">Poids_Total_Carroussel_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Carroussel_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece</property> + <text-property name="displayName">Poids_Total_Espece</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vrac</property> + <text-property name="displayName">Poids_Total_Espece_Vrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vrac_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_Vrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vrac_Trie</property> + <text-property name="displayName">Poids_Total_Espece_Vrac_Trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vrac_Trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vrac_Trie_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_Vrac_Trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vrac_Trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_HorsVrac</property> + <text-property name="displayName">Poids_Total_Espece_HorsVrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_HorsVrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_HorsVrac_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_HorsVrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_HorsVrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Inerte_Trie</property> + <text-property name="displayName">Poids_Total_Espece_Inerte_Trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Inerte_Trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Inerte_Trie_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_Inerte_Trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Inerte_Trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie</property> + <text-property name="displayName">Poids_Total_Espece_Vivant_non_detaille_trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vivant_non_detaille_trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</property> + <text-property name="displayName">Poids_Total_Espece_Vivant_non_detaille_trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Espece_Vivant_non_detaille_trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos</property> + <text-property name="displayName">Poids_Total_Benthos</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vrac</property> + <text-property name="displayName">Poids_Total_Benthos_Vrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vrac_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_Vrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vrac_Trie</property> + <text-property name="displayName">Poids_Total_Benthos_Vrac_Trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vrac_Trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vrac_Trie_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_Vrac_Trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vrac_Trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_HorsVrac</property> + <text-property name="displayName">Poids_Total_Benthos_HorsVrac</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_HorsVrac"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_HorsVrac_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_HorsVrac_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_HorsVrac_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Inerte_Trie</property> + <text-property name="displayName">Poids_Total_Benthos_Inerte_Trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Inerte_Trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Inerte_Trie_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_Inerte_Trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Inerte_Trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie</property> + <text-property name="displayName">Poids_Total_Benthos_Vivant_non_detaille_trie</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vivant_non_detaille_trie"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</property> + <text-property name="displayName">Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Poids_Total_Macro_Dechet</property> + <text-property name="displayName">Poids_Total_Macro_Dechet</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Macro_Dechet"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Poids_Total_Macro_Dechet_Calcule</property> + <text-property name="displayName">Poids_Total_Macro_Dechet_Calcule</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Total_Macro_Dechet_Calcule"]</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <detail> + <grid name="general" id="2804"> + <structure name="toc"> + <expression name="expressionValue">"Code Station : "+row["Code_Station"]+" - N° trait : "+row["Id_Operation"]</expression> + </structure> + <column id="2805"/> + <row id="2806"> + <cell id="2807"> + <grid name="presentation" id="2808"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue">reportContext.getMessage("title.rapport", reportContext.getLocale());</expression> + </structure> + <column id="2809"/> + <row id="2810"> + <cell id="2811"> + <label id="2812"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.rapport"></text-property> + </label> + </cell> + </row> + <row id="2813"> + <cell id="2814"> + <grid id="2815"> + <column id="2816"/> + <row id="2817"> + <cell id="2818"> + <label id="2819"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="serie"></text-property> + </label> + <text-data id="2820"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="fontWeight">bold</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Serie"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2821"> + <cell id="2822"> + <label id="2823"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="campagne"></text-property> + </label> + <text-data id="2824"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="fontWeight">bold</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Campagne"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2825"> + <cell id="2826"> + <label id="2827"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="annee"></text-property> + </label> + <text-data id="2828"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="fontWeight">bold</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Annee"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2829"> + <cell id="2830"> + <label id="2831"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="serie-partielle"></text-property> + </label> + <text-data id="2832"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="fontWeight">bold</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Serie_Partielle"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2833"> + <cell id="2834"> + <label id="2835"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="code-station"></text-property> + </label> + <data id="2836"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Code_Station</property> + </data> + </cell> + </row> + <row id="2837"> + <cell id="2838"> + <label id="2839"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="num-trait"></text-property> + </label> + <data id="2840"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Id_Operation</property> + </data> + </cell> + </row> + <row id="2841"> + <cell id="2842"> + <label id="2843"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="num-poche"></text-property> + </label> + <data id="2844"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Poche</property> + </data> + </cell> + </row> + <row id="2845"> + <cell id="2846"> + <label id="2847"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="date-debut-trait"></text-property> + </label> + <data id="2848"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">DateDeb</property> + </data> + </cell> + </row> + </grid> + <text-data id="3601"> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">true</expression> + </structure> + </list-property> + <expression name="valueExpr">var cartouche=(getMessage("serie")+" <b>"+row._outer["Serie"]+"</b>"+" / "+getMessage("campagne")+" <b>"+row._outer["Campagne"]+"</b>"+" / "+getMessage("annee")+" <b>"+row._outer["Annee"]+"</b>"+" / "+getMessage("serie-partielle")+" <b>"+row._outer["Serie_Partielle"]+"</b>"+ +"<P>"+ +getMessage("code-station")+" <b>"+row["Code_Station"]+"</b>"+" / "+getMessage("num-trait")+" <b>"+row["Id_Operation"]+"</b>"+" / "+getMessage("num-poche")+" <b>"+row["Poche"]+"</b>"+" / "+getMessage("date-debut-trait")+" <b>"+row["DateDeb"]+"</b>").replace("<b>null</b>","");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2849"> + <cell id="2850"> + <property name="paddingTop">10mm</property> + <grid id="2851"> + <column id="2852"/> + <column id="2853"/> + <column id="2854"/> + <row id="2855"> + <cell id="2856"> + <property name="style">crosstab-header-line-first</property> + </cell> + <cell id="2857"> + <property name="style">crosstab-header-line-first</property> + <label id="2858"> + <property name="textAlign">center</property> + <text-property name="text" key="qui"></text-property> + </label> + </cell> + <cell id="2859"> + <property name="style">crosstab-header-line-first</property> + <label id="2860"> + <property name="textAlign">center</property> + <text-property name="text" key="date"></text-property> + </label> + </cell> + </row> + <row id="2861"> + <property name="height">35mm</property> + <cell id="2862"> + <property name="style">grid-detail-cell</property> + <property name="verticalAlign">top</property> + <label id="2863"> + <text-property name="text" key="instruction-ctrl"></text-property> + </label> + </cell> + <cell id="2864"> + <property name="style">grid-detail-cell</property> + </cell> + <cell id="2865"> + <property name="style">grid-detail-cell</property> + </cell> + </row> + </grid> + </cell> + </row> + <row id="2866"> + <property name="pageBreakAfter">auto</property> + <cell id="2867"> + <property name="paddingTop">10mm</property> + <label id="2868"> + <property name="style">label-general</property> + <text-property name="text" key="commentaire"></text-property> + </label> + <grid id="2869"> + <column id="2870"/> + <row id="2871"> + <property name="height">140mm</property> + <cell id="2872"> + <property name="style">grid-header-cell</property> + <property name="display">block</property> + <property name="pageBreakBefore">auto</property> + <property name="showIfBlank">false</property> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + <grid name="carac-trait" id="2873"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue">getMessage("title.caracteristique-trait");</expression> + </structure> + <column id="2874"/> + <row id="2875"> + <cell id="2876"> + <label id="2877"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.caracteristique-trait"></text-property> + </label> + </cell> + </row> + <row id="2878"> + <cell id="2879"> + <grid id="2880"> + <column id="2881"/> + <row id="2882"> + <cell id="2883"> + <label id="2884"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="serie"></text-property> + </label> + <text-data id="2885"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Serie"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2886"> + <cell id="2887"> + <label id="2888"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="campagne"></text-property> + </label> + <text-data id="2889"> + <property name="fontFamily">"Verdana"</property> + <property name="fontSize">7pt</property> + <property name="display">inline</property> + <expression name="valueExpr">row._outer["Campagne"]</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="2890"> + <cell id="2891"> + <label id="2892"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.caracteristique-general-trait"></text-property> + </label> + <grid name="carac-generales1" id="2893"> + <column id="2894"/> + <row id="2895"> + <cell id="2896"> + <label id="2897"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="code-station"></text-property> + </label> + <data id="2898"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Code_Station</property> + </data> + </cell> + </row> + <row id="2899"> + <cell id="2900"> + <label id="2901"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="num-trait"></text-property> + </label> + <data id="2902"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Id_Operation</property> + </data> + </cell> + </row> + <row id="2903"> + <cell id="2904"> + <label id="2905"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="num-poche"></text-property> + </label> + <data id="2906"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Poche</property> + </data> + </cell> + </row> + <row id="2907"> + <cell id="2908"> + <label id="2909"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="strate"></text-property> + </label> + <data id="2910"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Strate</property> + </data> + </cell> + </row> + <row id="2911"> + <cell id="2912"> + <label id="2913"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="Sous_Strate"></text-property> + </label> + <data id="2914"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Sous_Strate</property> + </data> + </cell> + </row> + <row id="2915"> + <cell id="2916"> + <label id="2917"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="localite"></text-property> + </label> + <data id="2918"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Localite</property> + </data> + </cell> + </row> + <row id="2919"> + <cell id="2920"> + <property name="colSpan">1</property> + <property name="rowSpan">1</property> + <grid id="2921"> + <column id="2922"/> + <column id="2923"/> + <column id="2924"/> + <column id="2925"/> + <row id="2926"> + <cell id="2927"> + <property name="style">grid-header-cell</property> + </cell> + <cell id="2928"> + <property name="style">grid-header-cell</property> + <property name="textAlign">center</property> + <label id="2929"> + <text-property name="text" key="latitude"></text-property> + </label> + </cell> + <cell id="2930"> + <property name="style">grid-header-cell</property> + <property name="textAlign">center</property> + <label id="2931"> + <text-property name="text" key="longitude"></text-property> + </label> + </cell> + <cell id="2932"> + <property name="style">grid-header-cell</property> + <property name="textAlign">center</property> + <label id="2933"> + <text-property name="text" key="date-heure"></text-property> + </label> + </cell> + </row> + <row id="2934"> + <cell id="2935"> + <property name="style">grid-header-cell</property> + <property name="textAlign">left</property> + <label id="2936"> + <text-property name="text" key="debut-traine"></text-property> + </label> + </cell> + <cell id="2937"> + <property name="style">grid-detail-cell</property> + <data id="2938"> + <property name="textAlign">center</property> + <property name="resultSetColumn">LatDeb</property> + </data> + </cell> + <cell id="2939"> + <property name="style">grid-detail-cell</property> + <data id="2940"> + <property name="textAlign">center</property> + <property name="resultSetColumn">LongDeb</property> + </data> + </cell> + <cell id="2941"> + <property name="style">grid-detail-cell</property> + <data id="2942"> + <property name="textAlign">center</property> + <property name="resultSetColumn">DateDeb</property> + </data> + </cell> + </row> + <row id="2943"> + <cell id="2944"> + <property name="style">grid-header-cell</property> + <property name="textAlign">left</property> + <label id="2945"> + <text-property name="text" key="fin-traine"></text-property> + </label> + </cell> + <cell id="2946"> + <property name="style">grid-detail-cell</property> + <data id="2947"> + <property name="textAlign">center</property> + <property name="resultSetColumn">LatFin</property> + </data> + </cell> + <cell id="2948"> + <property name="style">grid-detail-cell</property> + <data id="2949"> + <property name="textAlign">center</property> + <property name="resultSetColumn">LongFin</property> + </data> + </cell> + <cell id="2950"> + <property name="style">grid-detail-cell</property> + <data id="2951"> + <property name="textAlign">center</property> + <property name="resultSetColumn">DateFin</property> + </data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="2952"> + <cell id="2953"> + <label id="2954"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="trait-rectiligne"></text-property> + </label> + <data id="2955"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Rectiligne</property> + </data> + </cell> + </row> + <row id="2956"> + <cell id="2957"> + <label id="2958"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="distance-chalute"></text-property> + </label> + <data id="2959"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Distance</property> + </data> + <label id="3822"> + <property name="marginLeft">1pt</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Distance"]<=0</expression> + </structure> + </list-property> + <text-property name="text">m</text-property> + </label> + <label id="3824"> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Distance"]<=0</expression> + </structure> + </list-property> + <text-property name="text"> - </text-property> + </label> + <text-data id="3823"> + <property name="fontStyle">italic</property> + <property name="color">blue</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Distance"]<=0</expression> + </structure> + </list-property> + <expression name="valueExpr">if (row["Distance"]>0){ +BirtMath.round(row["Distance"]*0.00062137119223733,1)+" NM"; +}</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2960"> + <cell id="2961"> + <label id="2962"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="trait-valide"></text-property> + </label> + <text-data id="3536"> + <property name="display">inline</property> + <expression name="valueExpr">if (row["Validite_OP"]=="Y"){ +"trait valide"; +} +if (row["Validite_OP"]=="N"){ +"trait non valide"; +} +if (row["Validite_OP"]=="?"){ +"non défini"; +}</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="2963"> + <cell id="2964"> + <label id="2965"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="navire"></text-property> + </label> + <data id="2966"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Navire</property> + </data> + <label id="3821"> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Navire_Associe"]==null</expression> + </structure> + </list-property> + <text-property name="text"> - </text-property> + </label> + <data id="3820"> + <property name="marginLeft">0pt</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Navire_Associe</property> + </data> + </cell> + </row> + <row id="2967"> + <cell id="2968"> + <label id="2969"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="engin"></text-property> + </label> + <data id="2970"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Engin</property> + </data> + </cell> + </row> + <row id="2971"> + <cell id="2972"> + <label id="2973"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="saisisseur"></text-property> + </label> + <data id="2974"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Saisisseur</property> + </data> + </cell> + </row> + <row id="2975"> + <cell id="2976"> + <label id="2977"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="commentaire"></text-property> + </label> + <data id="2978"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Commentaire</property> + </data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="2996"> + <cell id="2997"> + <label id="2998"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.caracteristiques"></text-property> + </label> + <table id="2999"> + <property name="dataSet">parameter</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <expression name="expression">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <expression name="expression">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <expression name="expression">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <expression name="expression">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <expression name="expression">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <expression name="expression">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_PMFM</property> + <expression name="expression">dataSetRow["Code_PMFM"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Libelle_PMFM</property> + <expression name="expression">dataSetRow["Libelle_PMFM"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Valeur</property> + <expression name="expression" type="javascript">dataSetRow["Valeur"]</expression> + <property name="dataType">string</property> + <property name="allowExport">true</property> + </structure> + </list-property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr">row["Id_Operation"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Id_Operation"]</value> + </simple-property-list> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr">row["Code_Station"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Code_Station"]</value> + </simple-property-list> + </structure> + </list-property> + <column id="3004"/> + <detail> + <row id="3000"> + <cell id="3001"> + <property name="style">cell</property> + <property name="borderBottomColor">#FFFFFF</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#FFFFFF</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#FFFFFF</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="borderTopColor">#FFFFFF</property> + <property name="borderTopStyle">solid</property> + <property name="borderTopWidth">1px</property> + <data id="3002"> + <property name="marginRight">0pt</property> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Libelle_PMFM</property> + </data> + <label id="3484"> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="display">inline</property> + <text-property name="text">:</text-property> + </label> + <data id="3003"> + <property name="paddingTop">1px</property> + <property name="paddingLeft">1px</property> + <property name="paddingBottom">1px</property> + <property name="paddingRight">1px</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Valeur</property> + </data> + </cell> + </row> + </detail> + </table> + </cell> + </row> + </grid> + <grid name="bilan-capture" id="3005"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakAfter">always</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue" type="javascript">getMessage("title.bilan-capture");</expression> + </structure> + <column id="3006"/> + <row id="3007"> + <cell id="3008"> + <label id="3009"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.bilan-capture"></text-property> + </label> + </cell> + </row> + <row id="3010"> + <cell id="3011"> + <text-data id="3599"> + <property name="paddingTop">10pt</property> + <expression name="valueExpr">cartouche;</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3046"> + <cell id="3047"> + <label id="3063"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.capture"></text-property> + </label> + <grid name="capture" id="3048"> + <column id="3049"/> + <row id="3050"> + <cell id="3051"> + <label id="3064"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total"></text-property> + </label> + <text-data id="3744"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3052"> + <cell id="3053"> + <label id="3065"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-vrac"></text-property> + </label> + <text-data id="3746"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Vrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Vrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3054"> + <cell id="3055"> + <label id="3066"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="carroussel-observ"></text-property> + </label> + <text-data id="3747"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Carroussel_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Carroussel"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3056"> + <cell id="3057"> + <label id="3067"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="tremis"></text-property> + </label> + <text-data id="3748"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Tremis_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Tremis"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3058"> + <cell id="3059"> + <label id="3068"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-hors-vrac"></text-property> + </label> + <text-data id="3749"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_HorsVrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_HorsVrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3060"> + <cell id="3061"> + <label id="3069"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-non-trie"></text-property> + </label> + <text-data id="3750"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Non_Trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Non_Trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="3070"> + <cell id="3071"> + <label id="3072"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.especes"></text-property> + </label> + <grid name="especes" id="3073"> + <column id="3074"/> + <row id="3075"> + <cell id="3076"> + <label id="3077"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total"></text-property> + </label> + <text-data id="3751"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3078"> + <cell id="3079"> + <label id="3080"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-vrac"></text-property> + </label> + <text-data id="3752"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_Vrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece_Vrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3090"> + <cell id="3091"> + <label id="3092"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.vrac-trie"></text-property> + </label> + <text-data id="3753"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_Vrac_Trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece_Vrac_Trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3093"> + <cell id="3094"> + <label id="3099"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-hors-vrac"></text-property> + </label> + <text-data id="3754"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_HorsVrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece_HorsVrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3097"> + <cell id="3098"> + <label id="3100"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-inerte-trie"></text-property> + </label> + <text-data id="3755"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_Inerte_Trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece_Inerte_Trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3095"> + <cell id="3096"> + <label id="3101"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-vivant-non-detail-trie"></text-property> + </label> + <text-data id="3756"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Espece_Vivant_non_detaille_trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Espece_Vivant_non_detaille_trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="3102"> + <cell id="3103"> + <label id="3104"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.benthos"></text-property> + </label> + <grid name="benthos" id="3105"> + <column id="3106"/> + <row id="3107"> + <cell id="3108"> + <label id="3109"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total"></text-property> + </label> + <text-data id="3758"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3110"> + <cell id="3111"> + <label id="3112"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-vrac"></text-property> + </label> + <text-data id="3759"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_Vrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos_Vrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3113"> + <cell id="3114"> + <label id="3115"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.vrac-trie"></text-property> + </label> + <text-data id="3760"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_Vrac_Trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos_Vrac_Trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3116"> + <cell id="3117"> + <label id="3118"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-hors-vrac"></text-property> + </label> + <text-data id="3761"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_HorsVrac_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos_HorsVrac"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3119"> + <cell id="3120"> + <label id="3121"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-inerte-trie"></text-property> + </label> + <text-data id="3762"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_Inerte_Trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos_Inerte_Trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3122"> + <cell id="3123"> + <label id="3124"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-vivant-non-detail-trie"></text-property> + </label> + <text-data id="3763"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Benthos_Vivant_non_detaille_trie_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Benthos_Vivant_non_detaille_trie"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="3125"> + <cell id="3126"> + <label id="3127"> + <property name="style">label-sous-title</property> + <property name="textUnderline">none</property> + <property name="paddingTop">5px</property> + <text-property name="text" key="sous-title.macro-dechets"></text-property> + </label> + <grid name="macro-dechets" id="3128"> + <column id="3129"/> + <row id="3130"> + <cell id="3131"> + <label id="3537"> + <property name="style">label-general</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total"></text-property> + </label> + <text-data id="3757"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Macro_Dechet_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Macro_Dechet"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + <grid name="rapport-espece" id="3181"> + <property name="pageBreakBefore">auto</property> + <structure name="toc"> + <expression name="expressionValue">getMessage("title.rapport-par-espece");</expression> + </structure> + <column id="3182"/> + <row id="3222"> + <cell id="3223"> + <list name="listCatch" id="3224"> + <property name="pageBreakInside">avoid</property> + <property name="dataSet">catch</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <text-property name="displayName">Annee</text-property> + <expression name="expression" type="javascript">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <text-property name="displayName">Serie</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <text-property name="displayName">Serie_Partielle</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Engin</property> + <text-property name="displayName">Engin</text-property> + <expression name="expression" type="javascript">dataSetRow["Engin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <text-property name="displayName">Code_Station</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <text-property name="displayName">Id_Operation</text-property> + <expression name="expression" type="javascript">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <text-property name="displayName">Poche</text-property> + <expression name="expression" type="javascript">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Taxon</property> + <text-property name="displayName">Code_Taxon</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Taxon"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Code_Espece_Campagne</property> + <text-property name="displayName">Code_Espece_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Espece_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Nom_scientifique</property> + <text-property name="displayName">Nom_scientifique</text-property> + <expression name="expression" type="javascript">dataSetRow["Nom_scientifique"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <text-property name="displayName">Commentaire</text-property> + <expression name="expression" type="javascript">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">V_HV</property> + <text-property name="displayName">V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Num_Ordre_V_HV_H2</property> + <text-property name="displayName">Num_Ordre_V_HV_H2</text-property> + <expression name="expression" type="javascript">dataSetRow["Num_Ordre_V_HV_H2"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Tot_V_HV</property> + <text-property name="displayName">Tot_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Tot_V_HV"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Ech_V_HV</property> + <text-property name="displayName">Ech_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Ech_V_HV"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Type_Volume_Poids_V_HV</property> + <text-property name="displayName">Type_Volume_Poids_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Type_Volume_Poids_V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Unite_Volume_Poids_V_HV</property> + <text-property name="displayName">Unite_Volume_Poids_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Unite_Volume_Poids_V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Longueur</property> + <text-property name="displayName">Code_Longueur</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Longueur"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Libelle_Longueur</property> + <text-property name="displayName">Libelle_Longueur</text-property> + <expression name="expression" type="javascript">dataSetRow["Libelle_Longueur"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Taille</property> + <text-property name="displayName">Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Taille"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">NumOrdre_Taille_H2</property> + <text-property name="displayName">NumOrdre_Taille_H2</text-property> + <expression name="expression" type="javascript">dataSetRow["NumOrdre_Taille_H2"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poids_Classe_Taille</property> + <text-property name="displayName">Poids_Classe_Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Classe_Taille"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Unite_Taille</property> + <text-property name="displayName">Unite_Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Unite_Taille"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Precision_Mesure</property> + <text-property name="displayName">Precision_Mesure</text-property> + <expression name="expression" type="javascript">dataSetRow["Precision_Mesure"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Nbr</property> + <text-property name="displayName">Nbr</text-property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poids_Reference</property> + <text-property name="displayName">Poids_Reference</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Reference"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Coef_Elev_Espece_Capture</property> + <text-property name="displayName">Coef_Elev_Espece_Capture</text-property> + <expression name="expression" type="javascript">dataSetRow["Coef_Elev_Espece_Capture"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Coef_Final_Elevation</property> + <text-property name="displayName">Coef_Final_Elevation</text-property> + <expression name="expression" type="javascript">dataSetRow["Coef_Final_Elevation"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">categorisation-du-lot</property> + <text-property name="displayName">categorisation-du-lot</text-property> + <expression name="expression" type="javascript">dataSetRow["categorisation-du-lot"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">species</property> + <text-property name="displayName">species</text-property> + <expression name="expression" type="javascript">dataSetRow["species"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">maxTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">MAX</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">minTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">MIN</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbI-classeTaille</property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]*dataSetRow["Taille"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbre-indiv-capt</property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]*dataSetRow["Coef_Final_Elevation"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbre-indiv-par-kg</property> + <expression name="expression" type="javascript">row["nbreindiv-total-dans-la-capture"]/row["poids-total-dans-la-capture"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poids-total-dans-la-capture</property> + <expression name="expression" type="javascript">/*if (row["sumPoidsClasseTaille"]>0 && row["sumNbr"]>0){ +row["sumPoidsClasseTaille"]*row["Coef_Final_Elevation"]*row["poidsDerCateg"]/row["sumNbr"]; +} else { +row["poidsTotEspCategCapture"]; +} */ + +row["poidsTotEspCategCapture"];</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbIclasseTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["nbI-classeTaille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbr</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Nbr"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbre-indiv-capt</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["nbre-indiv-capt"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbre-indiv-par-kg</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["sumNbre-indiv-capt"]/row["poids-total-dans-la-capture"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumPoidsClasseTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Poids_Classe_Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">order</property> + <expression name="expression" type="javascript">dataSetRow["order"]</expression> + <property name="dataType">string</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">categLotAll</property> + <expression name="expression" type="javascript">dataSetRow["categLotAll"]</expression> + <property name="dataType">string</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsTotEspCategCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsTotEspCategCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsElevCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsElevCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsDerCateg</property> + <expression name="expression" type="javascript">dataSetRow["poidsDerCateg"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbreindiv-total-dans-la-capture</property> + <expression name="expression" type="javascript">if (row["sumPoidsClasseTaille"]>0){ +row["sumNbr"]*row["Coef_Final_Elevation"]*row["poidsDerCateg"]/row["sumPoidsClasseTaille"]; +} else { +row["sumNbr"]*row["Coef_Final_Elevation"]; +}</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsMoyen-en-g</property> + <expression name="expression" type="javascript">row["poids-total-dans-la-capture"]/row["nbreindiv-total-dans-la-capture"]*1000</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsTotalElevCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsTotalElevCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + </list-property> + <property name="repeatHeader">false</property> + <property name="pageBreakInterval">9000</property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Id_Operation"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Id_Operation"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Code_Station"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Code_Station"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">lt</property> + <expression name="expr" type="javascript">row["Num_Ordre_V_HV_H2"]</expression> + <simple-property-list name="value1"> + <value>1001</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + </list-property> + <header> + <label id="3724"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.rapport-par-espece"></text-property> + </label> + </header> + <group id="3605"> + <property name="groupName">groupVracHorsVrac</property> + <expression name="keyExpr" type="javascript">row["V_HV"]</expression> + <structure name="toc"> + <expression name="expressionValue" type="javascript">row["V_HV"]</expression> + </structure> + <property name="hideDetail">false</property> + <property name="pageBreakAfter">avoid</property> + <property name="pageBreakBefore">avoid</property> + <list-property name="sort"> + <structure> + <expression name="key" type="javascript">row["V_HV"]</expression> + <property name="direction">desc</property> + <property name="strength">-1</property> + </structure> + </list-property> + </group> + <group id="3225"> + <property name="groupName">groupTaxon</property> + <property name="interval">none</property> + <property name="sortDirection">asc</property> + <expression name="keyExpr" type="javascript">(row["Num_Ordre_V_HV_H2"]+1000)+" - "+row["categorisation-du-lot"]</expression> + <structure name="toc"> + <expression name="expressionValue" type="javascript">if (row["sumPoidsClasseTaille"]>0){ + if((parseFloat(row["sumPoidsClasseTaille"]) == parseInt(row["sumPoidsClasseTaille"])) && !isNaN(row["sumPoidsClasseTaille"])){ + row["species"]+" - "+row["categorisation-du-lot"].replace("0 kg",row["sumPoidsClasseTaille"]+".0 kg"); + } else { + row["species"]+" - "+row["categorisation-du-lot"].replace("0 kg",row["sumPoidsClasseTaille"]+" kg"); + } + + +} else { +row["species"]+" - "+row["categorisation-du-lot"]; +}</expression> + </structure> + <property name="repeatHeader">false</property> + <property name="hideDetail">false</property> + <property name="pageBreakAfter">avoid</property> + <property name="pageBreakBefore">avoid</property> + <property name="pageBreakInside">avoid</property> + <list-property name="sort"> + <structure> + <expression name="key" type="javascript">row["V_HV"]</expression> + <property name="direction">desc</property> + <property name="strength">-1</property> + </structure> + <structure> + <expression name="key" type="javascript">row["Code_Espece_Campagne"]</expression> + <property name="direction">asc</property> + <property name="strength">-1</property> + </structure> + <structure> + <expression name="key" type="javascript">row["order"]</expression> + <property name="direction">asc</property> + <property name="strength">-1</property> + </structure> + </list-property> + <header> + <grid id="3674"> + <property name="pageBreakInside">avoid</property> + <structure name="toc"/> + <column id="3675"/> + <row id="3676"> + <cell id="3677"> + <property name="borderTopColor">#000000</property> + <property name="borderTopStyle">solid</property> + <property name="borderTopWidth">1px</property> + <property name="paddingTop">5mm</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0mm</property> + <property name="paddingRight">0pt</property> + <grid id="3678"> + <column id="3679"/> + <row id="3680"> + <cell id="3681"> + <property name="textAlign">center</property> + <data id="3795"> + <property name="style">report-title</property> + <property name="fontSize">small</property> + <property name="display">inline</property> + <property name="resultSetColumn">species</property> + </data> + </cell> + </row> + </grid> + <text-data id="3683"> + <property name="paddingTop">10pt</property> + <expression name="valueExpr">cartouche;</expression> + <property name="contentType">html</property> + </text-data> + <grid name="espece1" id="3684"> + <column id="3685"/> + <row id="3686"> + <cell id="3687"> + <label id="3688"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="espece"></text-property> + </label> + <data id="3794"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">species</property> + </data> + <label id="3940"> + <property name="style">cell-left</property> + <property name="marginLeft">5pt</property> + <property name="display">inline</property> + <text-property name="text">(poids élevé dans la capture = </text-property> + </label> + <data id="3941"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["poidsTotalElevCapture"]<1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poidsTotalElevCapture</property> + </data> + <data id="4284"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.###</property> + </structure> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["poidsTotalElevCapture"]>=1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poidsTotalElevCapture</property> + </data> + <label id="3942"> + <property name="style">cell-left</property> + <property name="display">inline</property> + <text-property name="text"> kg)</text-property> + </label> + </cell> + </row> + <row id="3690"> + <cell id="3691"> + <label id="3692"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="categ-lot"></text-property> + </label> + <text-data id="3819"> + <property name="display">inline</property> + <expression name="valueExpr">row["categLotAll"];</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3694"> + <cell id="3695"> + <label id="3696"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-dans-la-capture"></text-property> + </label> + <data id="3697"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"]==outPoids || row["poidsTotalElevCapture"]<1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poids-total-dans-la-capture</property> + </data> + <data id="4286"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.###</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"]==outPoids || row["poidsTotalElevCapture"] >=1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poids-total-dans-la-capture</property> + </data> + <text-data id="3765"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"] != outPoids</expression> + </structure> + </list-property> + <expression name="valueExpr">getMessage("valeur-non-calculable");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3698"> + <cell id="3699"> + <label id="3700"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="nbre-indiv-capt"></text-property> + </label> + <data id="3944"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">nbreindiv-total-dans-la-capture</property> + </data> + </cell> + </row> + <row id="3702"> + <cell id="3703"> + <label id="3704"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="nbre-indiv-kg"></text-property> + </label> + <data id="3945"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">nbre-indiv-par-kg</property> + </data> + <text-data id="3766"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"] != outPoids</expression> + </structure> + </list-property> + <expression name="valueExpr">getMessage("valeur-non-calculable");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3706"> + <cell id="3707"> + <label id="3708"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="poids.moyen"></text-property> + </label> + <data id="3946"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">poidsMoyen-en-g</property> + </data> + </cell> + </row> + <row id="3710"> + <cell id="3711"> + <label id="3712"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="longueur-moy"></text-property> + </label> + <text-data id="3713"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <expression name="valueExpr">if (row["sumNbIclasseTaille"]>0){ + + if (row["Unite_Taille"]=="mm"){ + BirtMath.round(row["sumNbIclasseTaille"]/row["sumNbr"],0); + } else { + BirtMath.round(row["sumNbIclasseTaille"]/row["sumNbr"],1); + } +}</expression> + <property name="contentType">html</property> + </text-data> + <data id="3714"> + <property name="style">data-calcule</property> + <property name="marginLeft">5pt</property> + <property name="display">inline</property> + <property name="resultSetColumn">Unite_Taille</property> + </data> + </cell> + </row> + <row id="3715"> + <cell id="3716"> + <property name="paddingTop">10pt</property> + <label id="3717"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="mode-mensuration"></text-property> + </label> + <data id="3718"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Libelle_Longueur</property> + </data> + </cell> + </row> + <row id="3719"> + <cell id="3720"> + <property name="paddingBottom">10pt</property> + <label id="3721"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="pas-mesure"></text-property> + </label> + <data id="3722"> + <property name="style">cell-left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Precision_Mesure</property> + </data> + <text-data id="3723"> + <expression name="valueExpr">reportContext.setPersistentGlobalVariable("VariablePasMesure",row["Precision_Mesure"]+"");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + <grid id="3814"> + <column id="3815"/> + <row id="3816"> + <cell id="3817"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <property name="textAlign">center</property> + <grid name="classeTaille1" id="3796"> + <property name="textAlign">left</property> + <property name="width">90mm</property> + <column id="3797"> + <property name="width">30mm</property> + </column> + <column id="3798"> + <property name="width">30mm</property> + </column> + <column id="3799"> + <property name="width">30mm</property> + </column> + <row id="3800"> + <cell id="3801"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="3802"> + <text-property name="text" key="classe-taille"></text-property> + </label> + </cell> + <cell id="3803"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="3804"> + <text-property name="text" key="nbre"></text-property> + </label> + </cell> + <cell id="3805"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="3806"> + <text-property name="text" key="poids"></text-property> + </label> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </header> + <footer> + <grid id="3514"> + <property name="marginBottom">5mm</property> + <column id="3515"/> + <row id="3516"> + <property name="textAlign">center</property> + <cell id="3517"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <grid name="classeTailleTotal" id="3520"> + <property name="width">90mm</property> + <column id="3521"> + <property name="width">30mm</property> + </column> + <column id="3522"> + <property name="width">30mm</property> + </column> + <column id="3523"> + <property name="width">30mm</property> + </column> + <row id="3524"> + <cell id="3525"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="3526"> + <property name="style">cell-right</property> + <property name="fontWeight">bold</property> + <property name="marginRight">5pt</property> + <text-property name="text" key="total"></text-property> + </label> + </cell> + <cell id="3527"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="3528"> + <property name="fontWeight">bold</property> + <property name="resultSetColumn">sumNbr</property> + </data> + </cell> + <cell id="3529"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <text-data id="3767"> + <property name="fontWeight">bold</property> + <property name="textAlign">center</property> + <property name="display">block</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["sumPoidsClasseTaille"]>0</expression> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Reference"]);</expression> + <property name="contentType">html</property> + </text-data> + <data id="3818"> + <property name="fontWeight">bold</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["sumPoidsClasseTaille"]==null || row["sumPoidsClasseTaille"] <=0</expression> + </structure> + </list-property> + <property name="resultSetColumn">sumPoidsClasseTaille</property> + </data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="3518"> + <property name="pageBreakAfter">auto</property> + <cell id="3519"> + <grid name="chart" id="3531"> + <property name="pageBreakAfter">auto</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Precision_Mesure"]==null</expression> + </structure> + </list-property> + <column id="3532"/> + <row id="3533"> + <cell id="3534"> + <property name="paddingTop">10pt</property> + <property name="paddingBottom">1mm</property> + <property name="textAlign">center</property> + <extended-item extensionName="Chart" name="chartClasseTaille" id="3576"> + <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:data="http://www.birt.eclipse.org/ChartModelData" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/Ch [...] + <Version>2.5.3</Version> + <Type>Bar Chart</Type> + <SubType>Side-by-side</SubType> + <Description> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Description> + <Block> + <Children xsi:type="layout:TitleBlock"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>false</Visible> + <Label> + <Caption> + <Value>Bar Chart Title</Value> + <Font> + <Size>16.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + </Children> + <Children xsi:type="layout:Plot"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Anchor>North</Anchor> + <Stretch>Horizontal</Stretch> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + <HorizontalSpacing>0</HorizontalSpacing> + <VerticalSpacing>0</VerticalSpacing> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <ShadowColor> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </ShadowColor> + <Insets> + <Top>0.0</Top> + <Left>0.0</Left> + <Bottom>0.0</Bottom> + <Right>0.0</Right> + </Insets> + </ClientArea> + </Children> + <Children xsi:type="layout:Legend"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>false</Visible> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>2.0</Top> + <Left>2.0</Left> + <Bottom>2.0</Bottom> + <Right>2.0</Right> + </Insets> + </ClientArea> + <Text> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Text> + <Orientation>Vertical</Orientation> + <Direction>Top_Bottom</Direction> + <Separator> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </Separator> + <Position>Right</Position> + <ItemType>Series</ItemType> + <Title> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Title> + <TitlePosition>Above</TitlePosition> + </Children> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>283.46456692913387</Width> + <Height>141.73228346456693</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Visible>true</Visible> + </Block> + <Dimension>Two_Dimensional</Dimension> + <Script> +max=0; +min=99999999999; +function afterDataSetFilled( series, dataSet, icsc ) +{ + + importPackage( Packages.java.io ); + importPackage( Packages.org.eclipse.birt.chart.model.type.impl ); + importPackage( Packages.org.eclipse.birt.chart.util); + + + //BarSeriesImpl + if( series.getClass() != BarSeriesImpl ){ + var list = dataSet.getValues(); + for( i=0;i<list.length;i++){ + val=parseFloat(list[i]); + if( val > max ){ + max = val; + } + if( val < min ){ + min = val; + } + } + } +} + + + +function beforeGeneration( chart, icsc ) +{ + +importPackage( Packages.org.eclipse.birt.chart.model.data.impl ); +xAxis = chart.getBaseAxes()[0]; + +if (min-2>0){ + min=min-2; + } else { + min=0; + } + + max=max+2; + + +xscale = xAxis.getScale(); +xscale.setMin (NumberDataElementImpl.create(parseFloat(min))); +xscale.setMax (NumberDataElementImpl.create(parseFloat(max))); +xAxis.setScale(xscale); + + +}</Script> + <Units>Points</Units> + <SeriesThickness>10.0</SeriesThickness> + <ExtendedProperties> + <Name>enable.area.alt</Name> + <Value>false</Value> + </ExtendedProperties> + <SampleData> + <BaseSampleData> + <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation> + </BaseSampleData> + <OrthogonalSampleData> + <DataSetRepresentation>5,4,12</DataSetRepresentation> + <SeriesDefinitionIndex>0</SeriesDefinitionIndex> + </OrthogonalSampleData> + </SampleData> + <Interactivity/> + <EmptyMessage> + <Caption> + <Value>This chart contains no data.</Value> + <Font> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>64</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Background> + <Outline> + <Color> + <Transparency>128</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Color> + <Visible>true</Visible> + </Outline> + <Insets> + <Top>10.0</Top> + <Left>10.0</Left> + <Bottom>10.0</Bottom> + <Right>10.0</Right> + </Insets> + <Visible>false</Visible> + </EmptyMessage> + <Axes> + <Type>Linear</Type> + <Title> + <Caption> + <Value>classe-taille=X-Axis Title</Value> + <Font> + <Size>8.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>5.0</Top> + <Left>0.0</Left> + <Bottom>0.0</Bottom> + <Right>0.0</Right> + </Insets> + <Visible>true</Visible> + </Title> + <TitlePosition>Below</TitlePosition> + <AssociatedAxes> + <Type>Linear</Type> + <Title> + <Caption> + <Value>nbre-indiv=Y-Axis Title</Value> + <Font> + <Size>8.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + <Rotation>90.0</Rotation> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>0.0</Left> + <Bottom>5.0</Bottom> + <Right>0.0</Right> + </Insets> + <Visible>true</Visible> + </Title> + <TitlePosition>Left</TitlePosition> + <SeriesDefinitions> + <Query> + <Definition></Definition> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <Series xsi:type="type:BarSeries"> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Label> + <DataDefinition> + <Definition>row["Nbr"]</Definition> + <Grouping> + <Enabled>false</Enabled> + <GroupType>Text</GroupType> + <AggregateExpression xsi:nil="true"/> + </Grouping> + </DataDefinition> + <SeriesIdentifier>Series 1</SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Inside</LabelPosition> + <Stacked>false</Stacked> + <Riser>Rectangle</Riser> + </Series> + <Grouping> + <GroupType>Text</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> + <Orientation>Vertical</Orientation> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Visible>true</Visible> + </LineAttributes> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + <LabelPosition>Left</LabelPosition> + <MajorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>196</Red> + <Green>196</Green> + <Blue>196</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Left</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </TickAttributes> + </MajorGrid> + <MinorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Across</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </TickAttributes> + </MinorGrid> + <Scale> + <Min xsi:type="data:NumberDataElement"> + <Value>0.0</Value> + </Min> + <MinorGridsPerUnit>5</MinorGridsPerUnit> + <AutoExpand>true</AutoExpand> + </Scale> + <Origin> + <Type>Min</Type> + </Origin> + <PrimaryAxis>true</PrimaryAxis> + <Percent>false</Percent> + <Aligned>false</Aligned> + <SideBySide>false</SideBySide> + </AssociatedAxes> + <SeriesDefinitions> + <Query> + <Definition></Definition> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <Series> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Label> + <DataDefinition> + <Definition>row["Taille"]</Definition> + </DataDefinition> + <SeriesIdentifier></SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Outside</LabelPosition> + <Stacked>false</Stacked> + </Series> + <Grouping> + <Enabled>false</Enabled> + <GroupType>Numeric</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> + <Orientation>Horizontal</Orientation> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Visible>true</Visible> + </LineAttributes> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + <FormatSpecifier xsi:type="attribute:JavaNumberFormatSpecifier"> + <Pattern>##.###</Pattern> + </FormatSpecifier> + <LabelPosition>Below</LabelPosition> + <Staggered>false</Staggered> + <Interval>1</Interval> + <MajorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>196</Red> + <Green>196</Green> + <Blue>196</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Below</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </TickAttributes> + </MajorGrid> + <MinorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Across</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </TickAttributes> + </MinorGrid> + <Scale> + <MinorGridsPerUnit>5</MinorGridsPerUnit> + <ShowOutside>false</ShowOutside> + <AutoExpand>false</AutoExpand> + </Scale> + <Origin> + <Type>Min</Type> + </Origin> + <PrimaryAxis>true</PrimaryAxis> + <CategoryAxis>false</CategoryAxis> + <Percent>false</Percent> + </Axes> + <Orientation>Vertical</Orientation> + <UnitSpacing>50.0</UnitSpacing> + <Rotation/> + <ReverseCategory>false</ReverseCategory> +</model:ChartWithAxes> +]]></xml-property> + <property name="outputFormat">SVG</property> + <list-property name="filter"> + <structure> + <property name="operator">is-not-null</property> + <expression name="expr">row["Taille"]</expression> + </structure> + </list-property> + <property name="inheritColumns">false</property> + <property name="height">50mm</property> + <property name="width">185mm</property> + </extended-item> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </footer> + </group> + <detail> + <grid id="3492"> + <property name="textAlign">center</property> + <column id="3493"/> + <row id="3494"> + <cell id="3495"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <grid name="classeTaille" id="3496"> + <property name="textAlign">left</property> + <property name="width">90mm</property> + <column id="3497"> + <property name="width">30mm</property> + </column> + <column id="3498"> + <property name="width">30mm</property> + </column> + <column id="3499"> + <property name="width">30mm</property> + </column> + <row id="3507"> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr">row["NumOrdre_Taille_H2"]==null</expression> + </structure> + </list-property> + <cell id="3508"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="3509"> + <property name="style">cell-right</property> + <property name="marginRight">5pt</property> + <property name="textAlign">center</property> + <property name="resultSetColumn">Taille</property> + </data> + </cell> + <cell id="3510"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="3511"> + <property name="resultSetColumn">Nbr</property> + </data> + </cell> + <cell id="3512"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <text-data id="3768"> + <property name="textAlign">center</property> + <expression name="valueExpr">ctrlValue(row["Poids_Classe_Taille"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </detail> + </list> + </cell> + </row> + </grid> + <grid name="rapport-espece-benthos" id="3327"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue">getMessage("title.rapport-espece-benthos");</expression> + </structure> + <column id="3328"/> + <row id="3329"> + <cell id="3330"> + <list name="listCatchBENTHOS" id="4168"> + <property name="pageBreakInside">avoid</property> + <property name="dataSet">catch</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <text-property name="displayName">Annee</text-property> + <expression name="expression" type="javascript">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <text-property name="displayName">Serie</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <text-property name="displayName">Serie_Partielle</text-property> + <expression name="expression" type="javascript">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Engin</property> + <text-property name="displayName">Engin</text-property> + <expression name="expression" type="javascript">dataSetRow["Engin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <text-property name="displayName">Code_Station</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <text-property name="displayName">Id_Operation</text-property> + <expression name="expression" type="javascript">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <text-property name="displayName">Poche</text-property> + <expression name="expression" type="javascript">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Taxon</property> + <text-property name="displayName">Code_Taxon</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Taxon"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Code_Espece_Campagne</property> + <text-property name="displayName">Code_Espece_Campagne</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Espece_Campagne"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Nom_scientifique</property> + <text-property name="displayName">Nom_scientifique</text-property> + <expression name="expression" type="javascript">dataSetRow["Nom_scientifique"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <text-property name="displayName">Commentaire</text-property> + <expression name="expression" type="javascript">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">V_HV</property> + <text-property name="displayName">V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Num_Ordre_V_HV_H2</property> + <text-property name="displayName">Num_Ordre_V_HV_H2</text-property> + <expression name="expression" type="javascript">dataSetRow["Num_Ordre_V_HV_H2"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Tot_V_HV</property> + <text-property name="displayName">Tot_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Tot_V_HV"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Ech_V_HV</property> + <text-property name="displayName">Ech_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Ech_V_HV"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Type_Volume_Poids_V_HV</property> + <text-property name="displayName">Type_Volume_Poids_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Type_Volume_Poids_V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Unite_Volume_Poids_V_HV</property> + <text-property name="displayName">Unite_Volume_Poids_V_HV</text-property> + <expression name="expression" type="javascript">dataSetRow["Unite_Volume_Poids_V_HV"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Longueur</property> + <text-property name="displayName">Code_Longueur</text-property> + <expression name="expression" type="javascript">dataSetRow["Code_Longueur"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Libelle_Longueur</property> + <text-property name="displayName">Libelle_Longueur</text-property> + <expression name="expression" type="javascript">dataSetRow["Libelle_Longueur"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Taille</property> + <text-property name="displayName">Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Taille"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">NumOrdre_Taille_H2</property> + <text-property name="displayName">NumOrdre_Taille_H2</text-property> + <expression name="expression" type="javascript">dataSetRow["NumOrdre_Taille_H2"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poids_Classe_Taille</property> + <text-property name="displayName">Poids_Classe_Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Classe_Taille"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Unite_Taille</property> + <text-property name="displayName">Unite_Taille</text-property> + <expression name="expression" type="javascript">dataSetRow["Unite_Taille"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Precision_Mesure</property> + <text-property name="displayName">Precision_Mesure</text-property> + <expression name="expression" type="javascript">dataSetRow["Precision_Mesure"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Nbr</property> + <text-property name="displayName">Nbr</text-property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poids_Reference</property> + <text-property name="displayName">Poids_Reference</text-property> + <expression name="expression" type="javascript">dataSetRow["Poids_Reference"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Coef_Elev_Espece_Capture</property> + <text-property name="displayName">Coef_Elev_Espece_Capture</text-property> + <expression name="expression" type="javascript">dataSetRow["Coef_Elev_Espece_Capture"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Coef_Final_Elevation</property> + <text-property name="displayName">Coef_Final_Elevation</text-property> + <expression name="expression" type="javascript">dataSetRow["Coef_Final_Elevation"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">categorisation-du-lot</property> + <text-property name="displayName">categorisation-du-lot</text-property> + <expression name="expression" type="javascript">dataSetRow["categorisation-du-lot"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">species</property> + <text-property name="displayName">species</text-property> + <expression name="expression" type="javascript">dataSetRow["species"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">maxTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">MAX</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">minTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">MIN</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbI-classeTaille</property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]*dataSetRow["Taille"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbre-indiv-capt</property> + <expression name="expression" type="javascript">dataSetRow["Nbr"]*dataSetRow["Coef_Final_Elevation"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbre-indiv-par-kg</property> + <expression name="expression" type="javascript">row["nbreindiv-total-dans-la-capture"]/row["poids-total-dans-la-capture"]</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poids-total-dans-la-capture</property> + <expression name="expression" type="javascript">/*if (row["sumPoidsClasseTaille"]>0 && row["sumNbr"]>0){ +row["sumPoidsClasseTaille"]*row["Coef_Final_Elevation"]*row["poidsDerCateg"]/row["sumNbr"]; +} else { +row["poidsTotEspCategCapture"]; +} */ +row["poidsTotEspCategCapture"];</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbIclasseTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["nbI-classeTaille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbr</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Nbr"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbre-indiv-capt</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["nbre-indiv-capt"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumNbre-indiv-par-kg</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["sumNbre-indiv-capt"]/row["poids-total-dans-la-capture"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">sumPoidsClasseTaille</property> + <property name="dataType">float</property> + <simple-property-list name="aggregateOn"> + <value>groupTaxon</value> + </simple-property-list> + <property name="aggregateFunction">SUM</property> + <list-property name="arguments"> + <structure> + <property name="name">Expression</property> + <expression name="value" type="javascript">row["Poids_Classe_Taille"]</expression> + </structure> + </list-property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">order</property> + <expression name="expression" type="javascript">dataSetRow["order"]</expression> + <property name="dataType">string</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">categLotAll</property> + <expression name="expression" type="javascript">dataSetRow["categLotAll"]</expression> + <property name="dataType">string</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsTotEspCategCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsTotEspCategCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsElevCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsElevCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsDerCateg</property> + <expression name="expression" type="javascript">dataSetRow["poidsDerCateg"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">nbreindiv-total-dans-la-capture</property> + <expression name="expression" type="javascript">if (row["sumPoidsClasseTaille"]>0){ +row["sumNbr"]*row["Coef_Final_Elevation"]*row["poidsDerCateg"]/row["sumPoidsClasseTaille"]; +} else { +row["sumNbr"]*row["Coef_Final_Elevation"]; +}</expression> + <property name="dataType">decimal</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsMoyen-en-g</property> + <expression name="expression" type="javascript">row["poids-total-dans-la-capture"]/row["nbreindiv-total-dans-la-capture"]*1000</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + <structure> + <property name="name">poidsTotalElevCapture</property> + <expression name="expression" type="javascript">dataSetRow["poidsTotalElevCapture"]</expression> + <property name="dataType">float</property> + <property name="allowExport">true</property> + </structure> + </list-property> + <property name="repeatHeader">false</property> + <property name="pageBreakInterval">9000</property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Id_Operation"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Id_Operation"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Code_Station"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Code_Station"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">ge</property> + <expression name="expr" type="javascript">row["Num_Ordre_V_HV_H2"]</expression> + <simple-property-list name="value1"> + <value>1001</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + </list-property> + <header> + <label id="4169"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.rapport-espece-benthos"></text-property> + </label> + </header> + <group id="4170"> + <property name="groupName">groupVracHorsVrac</property> + <expression name="keyExpr" type="javascript">row["V_HV"]</expression> + <structure name="toc"> + <expression name="expressionValue" type="javascript">row["V_HV"]</expression> + </structure> + <property name="hideDetail">false</property> + <property name="pageBreakAfter">avoid</property> + <property name="pageBreakBefore">avoid</property> + <list-property name="sort"> + <structure> + <expression name="key" type="javascript">row["V_HV"]</expression> + <property name="direction">desc</property> + <property name="strength">-1</property> + </structure> + </list-property> + </group> + <group id="4171"> + <property name="groupName">groupTaxon</property> + <property name="interval">none</property> + <property name="sortDirection">asc</property> + <expression name="keyExpr" type="javascript">(row["Num_Ordre_V_HV_H2"]+1000)+" - "+row["categorisation-du-lot"]</expression> + <structure name="toc"> + <expression name="expressionValue" type="javascript">if (row["sumPoidsClasseTaille"]>0){ + if((parseFloat(row["sumPoidsClasseTaille"]) == parseInt(row["sumPoidsClasseTaille"])) && !isNaN(row["sumPoidsClasseTaille"])){ + row["species"]+" - "+row["categorisation-du-lot"].replace("0 kg",row["sumPoidsClasseTaille"]+".0 kg"); + } else { + row["species"]+" - "+row["categorisation-du-lot"].replace("0 kg",row["sumPoidsClasseTaille"]+" kg"); + } + + +} else { +row["species"]+" - "+row["categorisation-du-lot"]; +}</expression> + </structure> + <property name="repeatHeader">false</property> + <property name="hideDetail">false</property> + <property name="pageBreakAfter">avoid</property> + <property name="pageBreakBefore">avoid</property> + <property name="pageBreakInside">avoid</property> + <list-property name="sort"> + <structure> + <expression name="key" type="javascript">row["V_HV"]</expression> + <property name="direction">desc</property> + <property name="strength">-1</property> + </structure> + <structure> + <expression name="key" type="javascript">row["Code_Espece_Campagne"]</expression> + <property name="direction">asc</property> + <property name="strength">-1</property> + </structure> + <structure> + <expression name="key" type="javascript">row["order"]</expression> + <property name="direction">asc</property> + <property name="strength">-1</property> + </structure> + </list-property> + <header> + <grid id="4172"> + <property name="pageBreakInside">avoid</property> + <structure name="toc"/> + <column id="4173"/> + <row id="4174"> + <cell id="4175"> + <property name="borderTopColor">#000000</property> + <property name="borderTopStyle">solid</property> + <property name="borderTopWidth">1px</property> + <property name="paddingTop">5mm</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0mm</property> + <property name="paddingRight">0pt</property> + <grid id="4176"> + <column id="4177"/> + <row id="4178"> + <cell id="4179"> + <property name="textAlign">center</property> + <data id="4180"> + <property name="style">report-title</property> + <property name="fontSize">small</property> + <property name="display">inline</property> + <property name="resultSetColumn">species</property> + </data> + </cell> + </row> + </grid> + <text-data id="4181"> + <property name="paddingTop">10pt</property> + <expression name="valueExpr">cartouche;</expression> + <property name="contentType">html</property> + </text-data> + <grid name="espece12" id="4182"> + <column id="4183"/> + <row id="4184"> + <cell id="4185"> + <label id="4186"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="espece"></text-property> + </label> + <data id="4188"> + <property name="fontWeight">bold</property> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">species</property> + </data> + <label id="4189"> + <property name="style">cell-left</property> + <property name="marginLeft">5pt</property> + <property name="display">inline</property> + <text-property name="text">(poids élevé dans la capture = </text-property> + </label> + <data id="4190"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["poidsTotalElevCapture"]<1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poidsTotalElevCapture</property> + </data> + <data id="4285"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.###</property> + </structure> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["poidsTotalElevCapture"]>=1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poidsTotalElevCapture</property> + </data> + <label id="4191"> + <property name="style">cell-left</property> + <property name="display">inline</property> + <text-property name="text"> kg)</text-property> + </label> + </cell> + </row> + <row id="4192"> + <cell id="4193"> + <label id="4194"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="categ-lot"></text-property> + </label> + <text-data id="4195"> + <property name="display">inline</property> + <expression name="valueExpr">row["categLotAll"];</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="4196"> + <cell id="4197"> + <label id="4198"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total-dans-la-capture"></text-property> + </label> + <data id="4199"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"]==outPoids || row["poidsTotalElevCapture"] <1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poids-total-dans-la-capture</property> + </data> + <data id="4287"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.###</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"]==outPoids || row["poidsTotalElevCapture"] >=1</expression> + </structure> + </list-property> + <property name="resultSetColumn">poids-total-dans-la-capture</property> + </data> + <text-data id="4200"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"] != outPoids</expression> + </structure> + </list-property> + <expression name="valueExpr">getMessage("valeur-non-calculable");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="4201"> + <cell id="4202"> + <label id="4203"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="nbre-indiv-capt"></text-property> + </label> + <data id="4204"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">nbreindiv-total-dans-la-capture</property> + </data> + </cell> + </row> + <row id="4205"> + <cell id="4206"> + <label id="4207"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="nbre-indiv-kg"></text-property> + </label> + <data id="4208"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">nbre-indiv-par-kg</property> + </data> + <text-data id="4209"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Poids_Reference"] != outPoids</expression> + </structure> + </list-property> + <expression name="valueExpr">getMessage("valeur-non-calculable");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="4210"> + <cell id="4211"> + <label id="4212"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="poids.moyen"></text-property> + </label> + <data id="4213"> + <property name="style">data-calcule</property> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.#</property> + </structure> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">poidsMoyen-en-g</property> + </data> + </cell> + </row> + <row id="4214"> + <cell id="4215"> + <label id="4216"> + <property name="style">label-general</property> + <property name="marginLeft">10pt</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="longueur-moy"></text-property> + </label> + <text-data id="4217"> + <property name="style">data-calcule</property> + <property name="display">inline</property> + <expression name="valueExpr">if (row["sumNbIclasseTaille"]>0){ + + if (row["Unite_Taille"]=="mm"){ + BirtMath.round(row["sumNbIclasseTaille"]/row["sumNbr"],0); + } else { + BirtMath.round(row["sumNbIclasseTaille"]/row["sumNbr"],1); + } +}</expression> + <property name="contentType">html</property> + </text-data> + <data id="4218"> + <property name="style">data-calcule</property> + <property name="marginLeft">5pt</property> + <property name="display">inline</property> + <property name="resultSetColumn">Unite_Taille</property> + </data> + </cell> + </row> + <row id="4219"> + <cell id="4220"> + <property name="paddingTop">10pt</property> + <label id="4221"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="mode-mensuration"></text-property> + </label> + <data id="4222"> + <property name="textAlign">left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Libelle_Longueur</property> + </data> + </cell> + </row> + <row id="4223"> + <cell id="4224"> + <property name="paddingBottom">10pt</property> + <label id="4225"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="pas-mesure"></text-property> + </label> + <data id="4226"> + <property name="style">cell-left</property> + <property name="display">inline</property> + <property name="resultSetColumn">Precision_Mesure</property> + </data> + <text-data id="4227"> + <expression name="valueExpr">reportContext.setPersistentGlobalVariable("VariablePasMesure",row["Precision_Mesure"]+"");</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + <grid id="4228"> + <column id="4229"/> + <row id="4230"> + <cell id="4231"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <property name="textAlign">center</property> + <grid name="classeTaille12" id="4232"> + <property name="textAlign">left</property> + <property name="width">90mm</property> + <column id="4233"> + <property name="width">30mm</property> + </column> + <column id="4234"> + <property name="width">30mm</property> + </column> + <column id="4235"> + <property name="width">30mm</property> + </column> + <row id="4236"> + <cell id="4237"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="4238"> + <text-property name="text" key="classe-taille"></text-property> + </label> + </cell> + <cell id="4239"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="4240"> + <text-property name="text" key="nbre"></text-property> + </label> + </cell> + <cell id="4241"> + <property name="style">grid-header-cell</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="4242"> + <text-property name="text" key="poids"></text-property> + </label> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </header> + <footer> + <grid id="4243"> + <property name="marginBottom">5mm</property> + <column id="4244"/> + <row id="4245"> + <property name="textAlign">center</property> + <cell id="4246"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <grid name="classeTailleTotal2" id="4247"> + <property name="width">90mm</property> + <column id="4248"> + <property name="width">30mm</property> + </column> + <column id="4249"> + <property name="width">30mm</property> + </column> + <column id="4250"> + <property name="width">30mm</property> + </column> + <row id="4251"> + <cell id="4252"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <label id="4253"> + <property name="style">cell-right</property> + <property name="fontWeight">bold</property> + <property name="marginRight">5pt</property> + <text-property name="text" key="total"></text-property> + </label> + </cell> + <cell id="4254"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="4255"> + <property name="fontWeight">bold</property> + <property name="resultSetColumn">sumNbr</property> + </data> + </cell> + <cell id="4256"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <text-data id="4257"> + <property name="fontWeight">bold</property> + <property name="textAlign">center</property> + <property name="display">block</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["sumPoidsClasseTaille"]>0</expression> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Reference"]);</expression> + <property name="contentType">html</property> + </text-data> + <data id="4258"> + <property name="fontWeight">bold</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["sumPoidsClasseTaille"]==null || row["sumPoidsClasseTaille"] <=0</expression> + </structure> + </list-property> + <property name="resultSetColumn">sumPoidsClasseTaille</property> + </data> + </cell> + </row> + </grid> + </cell> + </row> + <row id="4259"> + <property name="pageBreakAfter">auto</property> + <cell id="4260"> + <grid name="chart2" id="4261"> + <property name="pageBreakAfter">auto</property> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr" type="javascript">row["Precision_Mesure"]==null</expression> + </structure> + </list-property> + <column id="4262"/> + <row id="4263"> + <cell id="4264"> + <property name="paddingTop">10pt</property> + <property name="paddingBottom">1mm</property> + <property name="textAlign">center</property> + <extended-item extensionName="Chart" name="chartClasseTaille2" id="4265"> + <xml-property name="xmlRepresentation"><![CDATA[<model:ChartWithAxes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:attribute="http://www.birt.eclipse.org/ChartModelAttribute" xmlns:data="http://www.birt.eclipse.org/ChartModelData" xmlns:layout="http://www.birt.eclipse.org/ChartModelLayout" xmlns:model="http://www.birt.eclipse.org/ChartModel" xmlns:type="http://www.birt.eclipse.org/Ch [...] + <Version>2.5.3</Version> + <Type>Bar Chart</Type> + <SubType>Side-by-side</SubType> + <Description> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Description> + <Block> + <Children xsi:type="layout:TitleBlock"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>false</Visible> + <Label> + <Caption> + <Value>Bar Chart Title</Value> + <Font> + <Size>16.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + </Children> + <Children xsi:type="layout:Plot"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Anchor>North</Anchor> + <Stretch>Horizontal</Stretch> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>true</Visible> + <HorizontalSpacing>0</HorizontalSpacing> + <VerticalSpacing>0</VerticalSpacing> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <ShadowColor> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </ShadowColor> + <Insets> + <Top>0.0</Top> + <Left>0.0</Left> + <Bottom>0.0</Bottom> + <Right>0.0</Right> + </Insets> + </ClientArea> + </Children> + <Children xsi:type="layout:Legend"> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>0.0</Width> + <Height>0.0</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Visible>false</Visible> + <ClientArea> + <Outline> + <Style>Solid</Style> + <Thickness>0</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>2.0</Top> + <Left>2.0</Left> + <Bottom>2.0</Bottom> + <Right>2.0</Right> + </Insets> + </ClientArea> + <Text> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Text> + <Orientation>Vertical</Orientation> + <Direction>Top_Bottom</Direction> + <Separator> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </Separator> + <Position>Right</Position> + <ItemType>Series</ItemType> + <Title> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Title> + <TitlePosition>Above</TitlePosition> + </Children> + <Bounds> + <Left>0.0</Left> + <Top>0.0</Top> + <Width>283.46456692913387</Width> + <Height>141.73228346456693</Height> + </Bounds> + <Insets> + <Top>3.0</Top> + <Left>3.0</Left> + <Bottom>3.0</Bottom> + <Right>3.0</Right> + </Insets> + <Row>-1</Row> + <Column>-1</Column> + <Rowspan>-1</Rowspan> + <Columnspan>-1</Columnspan> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Visible>true</Visible> + </Block> + <Dimension>Two_Dimensional</Dimension> + <Script> +max=0; +min=99999999999; +function afterDataSetFilled( series, dataSet, icsc ) +{ + + importPackage( Packages.java.io ); + importPackage( Packages.org.eclipse.birt.chart.model.type.impl ); + importPackage( Packages.org.eclipse.birt.chart.util); + + + //BarSeriesImpl + if( series.getClass() != BarSeriesImpl ){ + var list = dataSet.getValues(); + for( i=0;i<list.length;i++){ + val=parseFloat(list[i]); + if( val > max ){ + max = val; + } + if( val < min ){ + min = val; + } + } + } +} + + + +function beforeGeneration( chart, icsc ) +{ + +importPackage( Packages.org.eclipse.birt.chart.model.data.impl ); +xAxis = chart.getBaseAxes()[0]; + +if (min-2>0){ + min=min-2; + } else { + min=0; + } + + max=max+2; + + +xscale = xAxis.getScale(); +xscale.setMin (NumberDataElementImpl.create(parseFloat(min))); +xscale.setMax (NumberDataElementImpl.create(parseFloat(max))); +xAxis.setScale(xscale); + + +}</Script> + <Units>Points</Units> + <SeriesThickness>10.0</SeriesThickness> + <ExtendedProperties> + <Name>enable.area.alt</Name> + <Value>false</Value> + </ExtendedProperties> + <SampleData> + <BaseSampleData> + <DataSetRepresentation>6,4,12,8,10</DataSetRepresentation> + </BaseSampleData> + <OrthogonalSampleData> + <DataSetRepresentation>5,4,12</DataSetRepresentation> + <SeriesDefinitionIndex>0</SeriesDefinitionIndex> + </OrthogonalSampleData> + </SampleData> + <Interactivity/> + <EmptyMessage> + <Caption> + <Value>This chart contains no data.</Value> + <Font> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>64</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Background> + <Outline> + <Color> + <Transparency>128</Transparency> + <Red>127</Red> + <Green>127</Green> + <Blue>127</Blue> + </Color> + <Visible>true</Visible> + </Outline> + <Insets> + <Top>10.0</Top> + <Left>10.0</Left> + <Bottom>10.0</Bottom> + <Right>10.0</Right> + </Insets> + <Visible>false</Visible> + </EmptyMessage> + <Axes> + <Type>Linear</Type> + <Title> + <Caption> + <Value>classe-taille=X-Axis Title</Value> + <Font> + <Size>8.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>5.0</Top> + <Left>0.0</Left> + <Bottom>0.0</Bottom> + <Right>0.0</Right> + </Insets> + <Visible>true</Visible> + </Title> + <TitlePosition>Below</TitlePosition> + <AssociatedAxes> + <Type>Linear</Type> + <Title> + <Caption> + <Value>nbre-indiv=Y-Axis Title</Value> + <Font> + <Size>8.0</Size> + <Bold>true</Bold> + <Alignment> + <horizontalAlignment>Center</horizontalAlignment> + <verticalAlignment>Center</verticalAlignment> + </Alignment> + <Rotation>90.0</Rotation> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>0.0</Left> + <Bottom>5.0</Bottom> + <Right>0.0</Right> + </Insets> + <Visible>true</Visible> + </Title> + <TitlePosition>Left</TitlePosition> + <SeriesDefinitions> + <Query> + <Definition></Definition> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <Series xsi:type="type:BarSeries"> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Label> + <DataDefinition> + <Definition>row["Nbr"]</Definition> + <Grouping> + <Enabled>false</Enabled> + <GroupType>Text</GroupType> + <AggregateExpression xsi:nil="true"/> + </Grouping> + </DataDefinition> + <SeriesIdentifier>Series 1</SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Inside</LabelPosition> + <Stacked>false</Stacked> + <Riser>Rectangle</Riser> + </Series> + <Grouping> + <GroupType>Text</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> + <Orientation>Vertical</Orientation> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Visible>true</Visible> + </LineAttributes> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + <LabelPosition>Left</LabelPosition> + <MajorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>196</Red> + <Green>196</Green> + <Blue>196</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Left</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </TickAttributes> + </MajorGrid> + <MinorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Across</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </TickAttributes> + </MinorGrid> + <Scale> + <Min xsi:type="data:NumberDataElement"> + <Value>0.0</Value> + </Min> + <MinorGridsPerUnit>5</MinorGridsPerUnit> + <AutoExpand>true</AutoExpand> + </Scale> + <Origin> + <Type>Min</Type> + </Origin> + <PrimaryAxis>true</PrimaryAxis> + <Percent>false</Percent> + <Aligned>false</Aligned> + <SideBySide>false</SideBySide> + </AssociatedAxes> + <SeriesDefinitions> + <Query> + <Definition></Definition> + </Query> + <SeriesPalette> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>166</Green> + <Blue>218</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>242</Red> + <Green>88</Green> + <Blue>106</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>232</Red> + <Green>172</Green> + <Blue>57</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>64</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>170</Red> + <Green>85</Green> + <Blue>85</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>192</Red> + <Green>192</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>192</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>7</Red> + <Green>146</Green> + <Blue>94</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>192</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>64</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>80</Red> + <Green>240</Green> + <Blue>120</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>0</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>0</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>64</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>128</Red> + <Green>128</Green> + <Blue>128</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>64</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Entries> + <Entries xsi:type="attribute:ColorDefinition"> + <Transparency>255</Transparency> + <Red>255</Red> + <Green>128</Green> + <Blue>0</Blue> + </Entries> + </SeriesPalette> + <Series> + <Visible>true</Visible> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>false</Visible> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>false</Visible> + </Label> + <DataDefinition> + <Definition>row["Taille"]</Definition> + </DataDefinition> + <SeriesIdentifier></SeriesIdentifier> + <DataPoint> + <Components> + <Type>Orthogonal_Value</Type> + </Components> + <Separator>, </Separator> + </DataPoint> + <LabelPosition>Outside</LabelPosition> + <Stacked>false</Stacked> + </Series> + <Grouping> + <Enabled>false</Enabled> + <GroupType>Numeric</GroupType> + <AggregateExpression>Sum</AggregateExpression> + </Grouping> + </SeriesDefinitions> + <Orientation>Horizontal</Orientation> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Visible>true</Visible> + </LineAttributes> + <Label> + <Caption> + <Value></Value> + <Font> + <Alignment/> + </Font> + </Caption> + <Background xsi:type="attribute:ColorDefinition"> + <Transparency>0</Transparency> + <Red>255</Red> + <Green>255</Green> + <Blue>255</Blue> + </Background> + <Outline> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + </Outline> + <Insets> + <Top>0.0</Top> + <Left>2.0</Left> + <Bottom>0.0</Bottom> + <Right>3.0</Right> + </Insets> + <Visible>true</Visible> + </Label> + <FormatSpecifier xsi:type="attribute:JavaNumberFormatSpecifier"> + <Pattern>##.###</Pattern> + </FormatSpecifier> + <LabelPosition>Below</LabelPosition> + <Staggered>false</Staggered> + <Interval>1</Interval> + <MajorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>196</Red> + <Green>196</Green> + <Blue>196</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Below</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>0</Red> + <Green>0</Green> + <Blue>0</Blue> + </Color> + <Visible>true</Visible> + </TickAttributes> + </MajorGrid> + <MinorGrid> + <LineAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </LineAttributes> + <TickStyle>Across</TickStyle> + <TickAttributes> + <Style>Solid</Style> + <Thickness>1</Thickness> + <Color> + <Transparency>255</Transparency> + <Red>225</Red> + <Green>225</Green> + <Blue>225</Blue> + </Color> + <Visible>false</Visible> + </TickAttributes> + </MinorGrid> + <Scale> + <MinorGridsPerUnit>5</MinorGridsPerUnit> + <ShowOutside>false</ShowOutside> + <AutoExpand>false</AutoExpand> + </Scale> + <Origin> + <Type>Min</Type> + </Origin> + <PrimaryAxis>true</PrimaryAxis> + <CategoryAxis>false</CategoryAxis> + <Percent>false</Percent> + </Axes> + <Orientation>Vertical</Orientation> + <UnitSpacing>50.0</UnitSpacing> + <Rotation/> + <ReverseCategory>false</ReverseCategory> +</model:ChartWithAxes> +]]></xml-property> + <property name="outputFormat">SVG</property> + <list-property name="filter"> + <structure> + <property name="operator">is-not-null</property> + <expression name="expr">row["Taille"]</expression> + </structure> + </list-property> + <property name="inheritColumns">false</property> + <property name="height">50mm</property> + <property name="width">185mm</property> + </extended-item> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </footer> + </group> + <detail> + <grid id="4266"> + <property name="textAlign">center</property> + <column id="4267"/> + <row id="4268"> + <cell id="4269"> + <property name="paddingTop">0pt</property> + <property name="paddingLeft">0pt</property> + <property name="paddingBottom">0pt</property> + <property name="paddingRight">0pt</property> + <grid name="classeTaille3" id="4270"> + <property name="textAlign">left</property> + <property name="width">90mm</property> + <column id="4271"> + <property name="width">30mm</property> + </column> + <column id="4272"> + <property name="width">30mm</property> + </column> + <column id="4273"> + <property name="width">30mm</property> + </column> + <row id="4274"> + <list-property name="visibility"> + <structure> + <property name="format">all</property> + <expression name="valueExpr">row["NumOrdre_Taille_H2"]==null</expression> + </structure> + </list-property> + <cell id="4275"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="4276"> + <property name="style">cell-right</property> + <property name="marginRight">5pt</property> + <property name="textAlign">center</property> + <property name="resultSetColumn">Taille</property> + </data> + </cell> + <cell id="4277"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <data id="4278"> + <property name="resultSetColumn">Nbr</property> + </data> + </cell> + <cell id="4279"> + <property name="borderBottomColor">#000000</property> + <property name="borderBottomStyle">solid</property> + <property name="borderBottomWidth">1px</property> + <property name="borderLeftColor">#000000</property> + <property name="borderLeftStyle">solid</property> + <property name="borderLeftWidth">1px</property> + <property name="borderRightColor">#000000</property> + <property name="borderRightStyle">solid</property> + <property name="borderRightWidth">1px</property> + <property name="paddingTop">0px</property> + <property name="paddingLeft">0px</property> + <property name="paddingBottom">0px</property> + <property name="paddingRight">0px</property> + <text-data id="4280"> + <property name="textAlign">center</property> + <expression name="valueExpr">ctrlValue(row["Poids_Classe_Taille"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </detail> + </list> + </cell> + </row> + </grid> + <grid name="rapport-macro-dechets" id="3332"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue">getMessage("title.rapport-macro-dechets");</expression> + </structure> + <column id="3333"/> + <row id="3334"> + <cell id="3335"> + <label id="3336"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.rapport-macro-dechets"></text-property> + </label> + </cell> + </row> + <row id="3337"> + <cell id="3338"> + <text-data id="3603"> + <property name="paddingTop">10pt</property> + <expression name="valueExpr">cartouche;</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3373"> + <cell id="3374"> + <grid name="detail-macro-dechets" id="3375"> + <column id="3376"/> + <row id="3377"> + <cell id="3378"> + <label id="3381"> + <property name="style">label-general</property> + <property name="paddingRight">0px</property> + <property name="display">inline</property> + <text-property name="text" key="poids.total"></text-property> + </label> + <text-data id="3764"> + <property name="display">inline</property> + <list-property name="highlightRules"> + <structure> + <property name="operator">eq</property> + <expression name="testExpr" type="javascript">row["Poids_Total_Macro_Dechet_Calcule"]</expression> + <simple-property-list name="value1"> + <value type="javascript">"Y"</value> + </simple-property-list> + <property name="style">data-calcule</property> + </structure> + </list-property> + <expression name="valueExpr">ctrlValue(row["Poids_Total_Macro_Dechet"]);</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3379"> + <cell id="3380"> + <property name="paddingTop">10pt</property> + <table id="3382"> + <property name="dataSet">marineLitter</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <expression name="expression">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <expression name="expression">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <expression name="expression">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Engin</property> + <expression name="expression">dataSetRow["Engin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <expression name="expression">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <expression name="expression">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <expression name="expression">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">MarineLitterCategory</property> + <expression name="expression">dataSetRow["MarineLitterCategory"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">MarineLitterSizeCategory</property> + <expression name="expression">dataSetRow["MarineLitterSizeCategory"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Number</property> + <expression name="expression">dataSetRow["Number"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Weight</property> + <expression name="expression">dataSetRow["Weight"]</expression> + <property name="dataType">decimal</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <expression name="expression">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Id_Operation"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Id_Operation"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Code_Station"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Code_Station"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + </list-property> + <column id="3401"/> + <column id="3402"/> + <column id="3403"> + <property name="width">20mm</property> + </column> + <column id="3404"> + <property name="width">20mm</property> + </column> + <column id="3405"/> + <header> + <row id="3383"> + <cell id="3384"> + <label id="3406"> + <text-property name="text" key="categorie"></text-property> + </label> + </cell> + <cell id="3385"> + <label id="3407"> + <text-property name="text" key="categorie-taille"></text-property> + </label> + </cell> + <cell id="3386"> + <label id="3408"> + <text-property name="text" key="nbre"></text-property> + </label> + </cell> + <cell id="3387"> + <label id="3409"> + <text-property name="text" key="poids.sans-unite"></text-property> + </label> + </cell> + <cell id="3388"> + <label id="3410"> + <text-property name="text" key="commentaire_bis"></text-property> + </label> + </cell> + </row> + </header> + <detail> + <row id="3389"> + <property name="style">grid-detail-cell</property> + <cell id="3390"> + <data id="3411"> + <property name="textAlign">left</property> + <property name="resultSetColumn">MarineLitterCategory</property> + </data> + </cell> + <cell id="3391"> + <data id="3412"> + <property name="resultSetColumn">MarineLitterSizeCategory</property> + </data> + </cell> + <cell id="3392"> + <data id="3413"> + <property name="resultSetColumn">Number</property> + </data> + </cell> + <cell id="3393"> + <data id="3414"> + <structure name="numberFormat"> + <property name="category">Custom</property> + <property name="pattern">#0.####</property> + </structure> + <property name="resultSetColumn">Weight</property> + </data> + </cell> + <cell id="3394"> + <data id="3415"> + <property name="resultSetColumn">Commentaire</property> + </data> + </cell> + </row> + </detail> + </table> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + <grid name="rapport-capt-accident" id="3416"> + <property name="masterPage">Simple MasterPage Portrait</property> + <property name="pageBreakBefore">always</property> + <structure name="toc"> + <expression name="expressionValue">getMessage("title.rapport-capture-accidentelles");</expression> + </structure> + <column id="3417"/> + <row id="3418"> + <cell id="3419"> + <label id="3420"> + <property name="style">report-title</property> + <property name="fontSize">medium</property> + <property name="paddingTop">0px</property> + <property name="paddingBottom">5px</property> + <property name="textAlign">center</property> + <text-property name="text" key="title.rapport-capture-accidentelles"></text-property> + </label> + </cell> + </row> + <row id="3421"> + <cell id="3422"> + <text-data id="3604"> + <property name="paddingTop">10pt</property> + <expression name="valueExpr">cartouche;</expression> + <property name="contentType">html</property> + </text-data> + </cell> + </row> + <row id="3457"> + <cell id="3458"> + <table id="3460"> + <property name="dataSet">accidentalCatch</property> + <list-property name="boundDataColumns"> + <structure> + <property name="name">Annee</property> + <expression name="expression">dataSetRow["Annee"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Serie</property> + <expression name="expression">dataSetRow["Serie"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Serie_Partielle</property> + <expression name="expression">dataSetRow["Serie_Partielle"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Engin</property> + <expression name="expression">dataSetRow["Engin"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Code_Station</property> + <expression name="expression">dataSetRow["Code_Station"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Id_Operation</property> + <expression name="expression">dataSetRow["Id_Operation"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">Poche</property> + <expression name="expression">dataSetRow["Poche"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">BatchId</property> + <expression name="expression">dataSetRow["BatchId"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">ReferenceTaxonId</property> + <expression name="expression">dataSetRow["ReferenceTaxonId"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">ReferenceTaxonName</property> + <expression name="expression">dataSetRow["ReferenceTaxonName"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">Commentaire</property> + <expression name="expression">dataSetRow["Commentaire"]</expression> + <property name="dataType">string</property> + </structure> + <structure> + <property name="name">CaracteristicId</property> + <expression name="expression">dataSetRow["CaracteristicId"]</expression> + <property name="dataType">integer</property> + </structure> + <structure> + <property name="name">CaracteristicValue</property> + <expression name="expression">dataSetRow["CaracteristicValue"]</expression> + <property name="dataType">string</property> + </structure> + </list-property> + <list-property name="filter"> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Id_Operation"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Id_Operation"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + <structure> + <property name="operator">eq</property> + <expression name="expr" type="javascript">row["Code_Station"]</expression> + <simple-property-list name="value1"> + <value>row._outer["Code_Station"]</value> + </simple-property-list> + <property name="updateAggregation">true</property> + </structure> + </list-property> + <column id="3473"/> + <column id="3474"> + <property name="width">25mm</property> + </column> + <column id="3475"> + <property name="width">40mm</property> + </column> + <header> + <row id="3461"> + <cell id="3462"> + <label id="3476"> + <text-property name="text" key="espece_bis"></text-property> + </label> + </cell> + <cell id="3463"> + <label id="3477"> + <text-property name="text" key="caracteristique"></text-property> + </label> + </cell> + <cell id="3464"> + <label id="3478"> + <text-property name="text" key="valeur"></text-property> + </label> + </cell> + </row> + </header> + <detail> + <row id="3465"> + <property name="style">grid-detail-cell</property> + <cell id="3466"> + <data id="3479"> + <property name="textAlign">left</property> + <property name="resultSetColumn">ReferenceTaxonName</property> + </data> + </cell> + <cell id="3467"> + <data id="3481"> + <property name="resultSetColumn">CaracteristicId</property> + </data> + </cell> + <cell id="3468"> + <data id="3482"> + <property name="resultSetColumn">CaracteristicValue</property> + </data> + </cell> + </row> + </detail> + </table> + </cell> + </row> + </grid> + </cell> + </row> + </grid> + </detail> + </list> + </cell> + </row> + </grid> + </body> + <list-property name="images"> + <structure> + <property name="name">logo-ifremer.PNG</property> + <property name="type">image/png</property> + <property name="data"> + iVBORw0KGgoAAAANSUhEUgAAApUAAACDCAIAAABTI3dfAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAEnFJREFUeF7tneG2 + oCiuRqvf/3nq+arPjGscC5V8iYgQ9ln3R9cUhmSDbEFP3X/+/Pnzix8IQAACEIAABOYi8ONvfiAAAQhA + AAIQmIvAr7nSJdtxCPz+/XucZMgEAhCAwGoE8PdqI+6rV5H0Txulma9jWkMAAhCAQJUA/maC3BLYxbz9 + x52kj39VbwlrCEAAAhBoRQB/tyKZOc5u5U3hFUkf/4p9eeY5QW0QgMDXBPD31yMwUv/FTnpP7c7fda8X + mkfnIw01uUAAAtMTwN/TD2HDAo4n5OfD8/1vj9q+/O/jHv1yy8778oajRigIQGBNAvh7zXE3qr4zdCFm + U+Rn5deP3xkMCEAAAhAQCeBvEdRazUQxK82KM/bC3xyqrzWxqBYCEGhHAH+3Yzl5pOJMuzj3rquaffnk + g0/6EIDAfATw93xj9lLGxcvvrRfvDltvXwQ/n6tX3pEX39mZb9P1L+kqn9a/hJ2wEIAABGIE8HeMW/Kr + Lo+1dTd7WxbPCmeXn3HffRZXvHGvP4XsHZ2fVFo9uySfKJQHAQh8RwB/f8d+4J7PH5+/vR2/3CKfJV08 + WByvavjNnff5I9B+4MEnNQhAYA4C+HuOcfoqS0WQAXuJl1QeGoo9uhjQ9VK/W+1fDS79QgACUxPA31MP + X9fkdUdO0VI8Ie928GC+xe862HQGAQgMTwB/Dz9EwyQ4hZX1JEV/HwPuQ6H3Ems5zJiTCAQgMC4B/D3u + 2AybWcxJCa46+rvPvnzYOUBiEIDA5wTw9+dDME0CxQFvAh8/KaGPvy9/EWCaGUOiEIDAmwTw95t0k8Y+ + SuWJArnWSyDphKIsCEAgQgB/R6gtfo3XOmna/4z757UsPvcoHwIQ2AngbyaDm8DnDvskgZ4H5vUC3QPG + BRCAQEYC+DvjqHap6ROJDtLp5xvxLiNMJxCAwNAE8PfQwzNgcrz8HucZYsDpQUoQgEA3Avi7G+okHe3+ + Ln4xehCrLZVGkilFGRCAQIgA/g5hW/ii/bfIljLlsMUuPBMpHQKrE8Dfq8+AcP3DKm21xMIjyIUQgMDU + BPD31MPXO3lefo/5cNB7HtAfBCAwAAH8PcAgTJLCrq6ffMfU2MpZTTKJSBMCEGhGAH83Q7lOoJU1OXLt + 68xAKoUABH4I4G+mwS2B4h/f3r9cY/89psWZyhCAwFIE8PdSwx0sll8VG1PY56yCA8xlEIDAhATw94SD + 1j1l/D2Lv49nJN2nCR1CAAJdCeDvrrjn7WwigS2e6rxzjMwhAAEXAfztwrVQ47uX34vbcYryF5qmlAqB + hQng74UHv1r65a96/1wxhcAWT5I5DQEIrEAAf68wyo9qvHPhFnRxUw5b/qMh52IIQGAGAvh7hlHqlWPx + b5tj6GH1bCbWa8rQDwQg8BkB/P0Z+pE7Ll5+76ma2qDBUARGnmPkBgEIPCSAvx8CzHn57m9+c2woHweS + yTlBqQoCEODfX2MO7IfklygqL78DLuGSbwkw2yEAgUwE2H9nGs14LecNNy+/v3XtS73HpwhXQgACgxHA + 34MNyEfpXPqbw/OXJPpt2I+mGN1CAAKNCeDvxkBnD7er5aeQ438f//itfuj9IYHZpyj5QwACGwH8vehM + 2H9VbBPzkULxW2SFLThXf6jPzy9fdMZTNgTSEcDf6YbUWVCxyS5EfikbFN7WwT15OmcHzSEAgXEJ4O9x + x6ZPZpUD831r3lZXi0TrM3z0AgEILEsAfy879BeF8/I7/GzBNIIABCDQmQD+7gz8++72T83Pqdz5mw/Z + lO/zvx9aMoAABFYigL9XGu1TrWcx700Ul4d3q5NeuL9QKCgtPYcoHgIQ+IgA/v4I/Bjd1l9+bzneubby + V5PqWU97jNEjCwhAYGkC+Hu54S9+c+z822K7mM97cd1wOVoen1GK/15u3lAwBCAwGAH8PdiAvJzO8eX3 + 3Yvwo3oLl39u5fqmv+2RwPk55uXBITwEIAABBwH87YCVqWlF0kdvdXO5qN5Ks/P+2Pu0sY3v+Z1CpnGn + FghAIA2Bs79//hf+Lz+Bv8X86yCtv2q/f/n9/0u8mjTb/8xApd/zRD1WYfZybrD1y/yHAAQgMAUB/J1c + 1Uch3cnpocsDptQvKVx+/ON2gylF6d39751C8lkxxdpEkhCAQJ0A/l5opa7Iaf+rS5fvc8grwobtzzm8 + 52924aybEIDA+ATw94r+vjst3424Cazi8oZiPvdVOTzX76jdwYFU9V5oCQEIQOArAvh7IX9XtrCXO07x + JXRAkHVDP/d3IKWv7kD6hQAEIBAjgL8z+1s5By724ndn7IrLA9Y8X1K80q4fFdxN+ieZxG4kroIABCDQ + mQD+zuzv42RSvsxSXn4X5+qXl+j6rEcL3wx6ApcPEOF+uRACEIBANwL4ezl/iy+/d7Nuc/Go/yd2LK59 + yd/HnCvZdrvN6AgCEIBAcwL4exV/71PnfGBeP4UuFNvW5c0ndOWB4FLkbyRATAhAAAIdCODvnP4uTsvv + XoQ/fPl9eXl9d15/Gng+4wPv6Sud/vr753l6RIAABCDQigD+zunv4/wQPwF76HJ943u5g281ocU0js3O + XRfavvtjw5wJBQEIQMBLAH/n9/fZ5XezZN+mH11+1r+5w1Yk6p2pYvv94CH22ls099ZMTIlmEIAABN4g + gL/zrMJ3h+R3/q5/kX4W4RZHFKT5jdsbs9nstEj+mIPL3Pj7jeEjJgQg4CKAv/P4ex9418vvwsrn2VPZ + i1/+Vf0Lc9fs9DauvPw+Hgkcn0K2LmI/3vRoDwEIQKAhAfyd0N/nDbe5NVc+Shft+O1n3oHeY/Lm/Lzh + MkQoCEAgQAB/J/f33eF5MVeOW/bKh2x3e3HzQ/TA1NR3xpfBjyI/b7iPl+Dv8OhwIQQg8CEB/J3E3+YO + u3BY5eV3/cB8n6x3h+eVJ4PARFfkWqR0+ce7epX4fH8eGDgugQAE3iaAv5P4+85hdxPovOGu72J3/e8P + CuaHbE3mruJXb+1NNt+cnzcZX4JAAAJhAvg7m7+PU6H+hXll23qeT5fH0YXLtz8WZ+nhqbldqPxUnjzM + 3pX4qNrESAMIQKA/Afy9ir/NA/Nt8hWn4uengfPn5a/OWsWvb/v71QIJDgEIQCBGAH9n9vfdXtzl8qPX + C8cfN9yx+WdeFfa3GVnc34txaAYBCECgMwH8ncrfylds+yb7LOZi8lU+Sr/cl78xd/H3G1SJCQEIJCCA + v1P5+27DXZmpyjvy4uX39gTQZ/bj7z6c6QUCEJiOAP5O6++HLi+8fv5tsT5zHX/34UwvEIDAdATwdx5/ + V/bExUn43TQVD8x7znL83ZM2fUEAAhMRwN+p/K0cax/bmMrv8IVa/W7B3xOtJqQKAQj0JIC/8/i77YF5 + INobExd/v0GVmBCAQAIC+Hsyfys77GJeKpe0/UdXGt4Ya/q7yf9/0jq6hmP0MNSe55M4x2KfxIldOxHq + WIFcNSYB/D2ZvwPTyHVgvsVXPkoPZBK4pJW/lTiuNmYt4TW9uNDs6NjAVUKTf1fO7PEy/9hV51Ct4rgg + b429P4EuvOgqXTyZVK0yJ05zAvg7ib+VTfYmZsXQ+Ntcnc1b0eXvSmOzo72BmfNlAz3+XUtXpbr56onp + xT4vsIigd/2GNV207xo3Z0LATwjg7yT+3mePqN7iwFzUf/85qqyVSlZKHFcbs9Mm66y4RXZl3tzieqXe + PGNPDOdezMHSG3hLaJ5ME9p6vbQcmQD+nsnfAcvWvzA/7sUDwTvMbGW5VNJQ4rjamJ02WWe7+Vvs6LJq + sVIX3mPjY6dNgphj1+q54Y3tbxPaYQJcOBQB/D2TvwNTRzkwF7fsgd6fX6Ks10ovShxXG7PTJuusolVX + 2mJWZnW6U/eWT/JsG8RVXZOuG+7ClRE0UccIcNVoBPB3Bn8rW+fzv80y2lwM7O22dUopxFzRvA3MTpV1 + 9ieI+VPvyLzc28Cs69xAqdSbRtF+6/ThT6A0/THFm1s4mSa0w71z4VAE8Le0+g81Zs+TGXnDXVSnLIsK + ECWOq43ZaZN1tv50oiQcMJBZmmuMmqh34/D8x1uaa/Ptaiw+dwaelhRKYQ5cOBQB/J3W37qkle37V7O2 + 1WKkxHG1MYGY0UQh3XWkxPeu/ntMs7rAY4GZcJ8GrtLEh4/LmEo5zZN5OKkC+XDJhwTw9xL+1l3+4Vzs + uQjqW6UwEGX5VtrE/F1J+0mn4TE6dtrK/fog3vUuDq5ylBIjIybQiljs+SyQJJf0IYC/0/r7OIHwd8yC + 4UNOcRt0KYZCSwExmGuHqXAzQswo4VEoEg4wCasrLO8tSfPHhVoJWJ9UWwRvp7QfkwD+Xm4qj3xafr5J + zOXv4WJkxg/ft2bkcwO9r4dSMTWgZ2KGEsWp46rkpgRxlWZWp0R7Plixp6WtXyVD2kxKAH/nnN/zbriL + G+mNFdm1GoZvbCVz0W2uxxoxYTM9MY5pOLFGM59WcfS6zNLEUGZpYpytmevHFZnG0xHA35P5e67d8/P7 + QVmtnvRixg8HNyOLQnLJ27XfarUvVCpVMDaJ0yTInm0fRAocMaXwpHLlQONBCODvyfx9nDcruLztcux1 + oUuHgZOD2AlnH6notbcaoyZxmgRRdrquFbzVkOn7b1d6NJ6UAP6e2N8ruLzhcnx5i5rxwze2GTkmb3MF + 1xM2MxRDrRlHhNP5USA8qVzl0HgQAmd//+FndgL/3Zcn+THdoG8TB/R3YBXouZMT0zPHKGUcsSj87QJF + YxcB/J3Ec1nLMN2Av4+IfDe/BVeMZoVRj7jmiiPCUfztmsMmJVc0VxU0Ho0A/s4qviR1vb1amfHDd6wZ + ObbOsv82R8Qkb0YwX1J4x65JSs0fBRQOtBmZAP5O4rmsZZgLn3clLe5GM3747jUjxzJXwrZqI9be6pHC + TLtJPiJ2M5m2DcTSmj9Y6P3SckAC+Dur+JLUpayST+4rM344uBlZFIn3gUPpV2wj1o6/RZ6VZiJq/K2D + WqEl/k7iuaxlKCvjkxvVjB8ObkbG395HE3EsTPJKHDNI2wZKSpyf65QWaYm/s4ovSV3KKvnkXjXjh4Ob + kfE3/t4niT7NzHmlh6Ll7ATwdxLPZS3DXK1iFtzvWzN++A43I8cyV8K2aiPWzvn5c+Aias7PdVArtMTf + WcWXpC5lZXxyo5rxw8HNyPib/Tf77/D9xYX/eZhLssxTRlICL1mQ/XdDsOy/FZijUcJ/CQjg76Tey1KW + sjI+uQ/N+OHgZuQ39t/hbJ9cOJqZTPJKsU2CKB152wybmLcQ2j8ngL+ziC5pHeZqFbNgh/33S68qW8ny + +dohMtQ7MsdaDNUkTpMgYsKuZsMm5qqCxk0I4O+k3stSlrla4e8joiaLgjdIq0cKc6zFxJrEaRJETNjV + bNjEXFXQuAkB/J1FdEnrMFcr/I2/i6XQnDPK0tkkiNKRt82wiXkLof1zAvg7qfeylGWuVvi7QPR8UfBG + SLn/fun1h5ftub15RzzvggizEMDfWUSXtA5ztVrN36ZX+i89+Lsnc/OO6JkMfX1LAH8n9V6WsszVCn+f + EXVeU/B3T+DmHdEzGfr6lgD+ziK6pHWYqxX+xt9vvP/eYrZ6NGm4ypt3RMO+CDU4Afyd1HtZyjJXqwX9 + bXrlIRPvmtVKcuZYi4m1ijMaZ+WRovPQiyNCs5cI4O8soktah7kWP1ywzPhPbrz3gr8a2VtyYn+/qvDY + 1H1v6L3jTvvPCeDvpN7LUpa5WsUWwf3GM+M/uUXfC25GjmHZwnpLXtzfT4h5Ub/6PBFIhku+JYC/s4gu + aR0viWp2fyvruCLjS7zeJSm3v4dCrSTjHT7az0sAfyf1Xpay8Pfd4qKQibXxLmf4O8Y5sHHH397Jmbs9 + /s4iuqR1KCvjk1vUjD9scGUpN6u7a+CqOr2/x0GtZOIaOxpPTQB/J/VelrIUAz25A834wwbfEnvpx1X1 + Cv4eBLWShmvsaDw1AfydRXRJ61D89OQONOMPG3xPzCwh0MBV9SL+Vtz5NmolB9fY0XhqAvg7qfeylKUs + iE/uQDP+sMGPiZlVeBu4ql7H34o+X0WtJOAaOxpPTQB/ZxFd0jqU1fDJHWjGHzb4OTGzFr2Bq+ql/N38 + tYULNf724srdHn8n9V6WshTlPLlFzfjDBr9LzKyoyTdr+u5fB2hmLoZqFcfszuyoOWr8bQ7KUg3wdxbR + Ja1DWSKf3LFm/GGDm4mZpW0NzDhmgwX33wWTbqjxtzkbl2qAv5N6j7IgAAEIQCA1AfydengpDgIQgAAE + khLA30kHlrIgAAEIQCA1AfydengpDgIQgAAEkhL4F9OQMdkvAe1SAAAAAElFTkSuQmCC + </property> + </structure> + </list-property> +</report> diff --git a/tutti-service/src/test/resources/report/2014.12.08/version.appup b/tutti-service/src/test/resources/report/2014.12.08/version.appup new file mode 100644 index 0000000..1ce2f14 --- /dev/null +++ b/tutti-service/src/test/resources/report/2014.12.08/version.appup @@ -0,0 +1 @@ +2014.12.08 \ No newline at end of file -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit abafe54b650fc73d110fac962b139b81dfda57d1 Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 09:02:42 2015 +0100 simplify test data resource --- .../tutti/persistence/test/DatabaseResource.java | 109 ++++++++++++++------- .../config/TuttiPersistenceConfigTest.java | 2 +- .../ifremer/tutti/service/ServiceDbResource.java | 7 +- 3 files changed, 79 insertions(+), 39 deletions(-) diff --git a/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/test/DatabaseResource.java b/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/test/DatabaseResource.java index 1b5ee80..28d38f6 100644 --- a/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/test/DatabaseResource.java +++ b/tutti-persistence/src/main/java/fr/ifremer/tutti/persistence/test/DatabaseResource.java @@ -129,6 +129,11 @@ public class DatabaseResource implements TestRule { this.destroyResources = true; } + public boolean withDb() { + return dbName!=null; + } + + public TuttiConfiguration getConfig() { return config; } @@ -172,15 +177,14 @@ public class DatabaseResource implements TestRule { Class<?> testClass; public void prepareConfig(ApplicationConfig applicationConfig, - File resourceDirectory, - boolean noConf) { + File resourceDirectory) { TuttiConfiguration.getDefaultApplicationConfig(applicationConfig); applicationConfig.setDefaultOption(TuttiConfigurationOption.DATA_DIRECTORY.getKey(), new File(resourceDirectory, "data").getAbsolutePath()); - if (!writeDb && noConf) { + if (!writeDb) { // set tutti.persistence.db.directory File dbDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "data", dbName); @@ -218,7 +222,9 @@ public class DatabaseResource implements TestRule { testClass = description.getTestClass(); - boolean defaultDbName = StringUtils.isEmpty(dbName); + boolean withDb = withDb(); + + boolean defaultDbName = withDb && StringUtils.isEmpty(dbName); if (defaultDbName) { dbName = "db"; @@ -236,35 +242,81 @@ public class DatabaseResource implements TestRule { ConverterUtil.deregister(); ConverterUtil.initConverters(); - // check that config file is in classpath (avoid to find out why it does not works...) - String configFilename = writeDb ? - "tutti-test-write" : - "tutti-test-read"; - if (!defaultDbName) { - configFilename += "-" + dbName; + ApplicationConfig applicationConfig= createApplicationConfig(defaultDbName); + + prepareConfig(applicationConfig, resourceDirectory); + + applicationConfig.parse(); + + config = new TuttiConfiguration(applicationConfig); + TuttiConfiguration.setInstance(config); + + if (withDb) { + prepareDb(); + } + + config.initConfig(); + + if (withDb) { + if (log.isInfoEnabled()) { + log.info("Use db: " + config.getJdbcUrl()); + } + } else { + if (log.isInfoEnabled()) { + log.info("No db configured."); + } + } + + if (beanFactoryReferenceLocation != null) { + TuttiPersistenceServiceLocator.initTutti( + beanFactoryReferenceLocation, + beanRefFactoryReferenceId); } - configFilename += ".properties"; - InputStream resourceAsStream = getClass().getResourceAsStream("/" + configFilename); + } - ApplicationConfig applicationConfig; + protected ApplicationConfig createApplicationConfig(boolean defaultDbName) { - boolean noConfig = resourceAsStream == null; + ApplicationConfig applicationConfig=null; + if (withDb()) { - if (noConfig) { - if (log.isWarnEnabled()) { - log.warn("No configuration file found in classpath at " + configFilename); + String configFilename = writeDb ? + "tutti-test-write" : + "tutti-test-read"; + if (!defaultDbName) { + configFilename += "-" + dbName; + } + + configFilename += ".properties"; + InputStream resourceAsStream = getClass().getResourceAsStream("/" + configFilename); + + if (resourceAsStream!=null) { + + if (log.isInfoEnabled()) { + log.info("Use configuration file found in classpath at " + configFilename); + } + + IOUtils.closeQuietly(resourceAsStream); + + applicationConfig = new ApplicationConfig(configFilename); + + } + + } + + if (applicationConfig==null) { + + if (log.isInfoEnabled()) { + log.info("Use default configuration, with no configuration from class-path"); } applicationConfig = new ApplicationConfig(); - } else { - applicationConfig = new ApplicationConfig(configFilename); } - prepareConfig(applicationConfig, resourceDirectory, noConfig); + return applicationConfig; - applicationConfig.parse(); + } + + protected void prepareDb() throws IOException { - config = new TuttiConfiguration(applicationConfig); - TuttiConfiguration.setInstance(config); File db; if (writeDb) { @@ -316,17 +368,6 @@ public class DatabaseResource implements TestRule { Preconditions.checkState("true".equals(readonly), "readonly property must be at true value in read mode test in db confg: " + dbConfig); } - config.initConfig(); - - if (log.isInfoEnabled()) { - log.info("Use db: " + config.getJdbcUrl()); - } - - if (beanFactoryReferenceLocation != null) { - TuttiPersistenceServiceLocator.initTutti( - beanFactoryReferenceLocation, - beanRefFactoryReferenceId); - } } protected final Set<File> toDetroy = Sets.newHashSet(); diff --git a/tutti-persistence/src/test/java/fr/ifremer/tutti/persistence/config/TuttiPersistenceConfigTest.java b/tutti-persistence/src/test/java/fr/ifremer/tutti/persistence/config/TuttiPersistenceConfigTest.java index fdcdc5e..770ee04 100644 --- a/tutti-persistence/src/test/java/fr/ifremer/tutti/persistence/config/TuttiPersistenceConfigTest.java +++ b/tutti-persistence/src/test/java/fr/ifremer/tutti/persistence/config/TuttiPersistenceConfigTest.java @@ -186,7 +186,7 @@ public class TuttiPersistenceConfigTest { ApplicationConfig applicationConfig = new ApplicationConfig(configFile.getAbsolutePath()); DatabaseResource databaseResource = DatabaseResource.noDb(); - databaseResource.prepareConfig(applicationConfig, datadirectory, true); + databaseResource.prepareConfig(applicationConfig, datadirectory); applicationConfig.parse(); diff --git a/tutti-service/src/test/java/fr/ifremer/tutti/service/ServiceDbResource.java b/tutti-service/src/test/java/fr/ifremer/tutti/service/ServiceDbResource.java index e2e0d5f..b2f3788 100644 --- a/tutti-service/src/test/java/fr/ifremer/tutti/service/ServiceDbResource.java +++ b/tutti-service/src/test/java/fr/ifremer/tutti/service/ServiceDbResource.java @@ -137,8 +137,7 @@ public class ServiceDbResource extends DatabaseResource { @Override public void prepareConfig(ApplicationConfig applicationConfig, - File resourceDirectory, - boolean noConf) { + File resourceDirectory) { TuttiConfiguration.getDefaultApplicationConfig(applicationConfig); @@ -146,7 +145,7 @@ public class ServiceDbResource extends DatabaseResource { TuttiConfigurationOption.BASEDIR.getKey(), resourceDirectory.getAbsolutePath()); - if (!isWriteDb() && noConf) { + if (withDb() && !isWriteDb()) { // set tutti.persistence.db.directory File dbDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "data", getDbName()); @@ -181,7 +180,7 @@ public class ServiceDbResource extends DatabaseResource { public static ServiceDbResource noDb() { return new ServiceDbResource( - "", "beanRefFactoryWitNoDb.xml", "TuttiBeanRefFactoryWithNoDb"); + null, "beanRefFactoryWitNoDb.xml", "TuttiBeanRefFactoryWithNoDb"); } protected ServiceDbResource(String dbName) { -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 35d8aceafba6cf1549035c410bc94a141804069c Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 09:36:05 2015 +0100 - introduces new module to generate report as a tool - includes it in the release process - introduces new ReportGenerationService (will replace ReportService) --- pom.xml | 55 +- .../java/fr/ifremer/tutti/TuttiConfiguration.java | 37 ++ tutti-report-generator/LICENSE.txt | 674 +++++++++++++++++++++ tutti-report-generator/README.txt | 0 tutti-report-generator/pom.xml | 127 ++++ .../src/license/THIRD-PARTY.properties | 36 ++ tutti-report-generator/src/main/assembly/bin.xml | 27 + .../java/fr/ifremer/tutti/report/ReportConfig.java | 50 ++ .../java/fr/ifremer/tutti/report/ReportEngine.java | 118 ++++ .../java/fr/ifremer/tutti/report/RunReport.java | 47 ++ tutti-service/pom.xml | 28 + .../service/report/ReportGenerationContext.java | 67 ++ .../service/report/ReportGenerationRequest.java | 54 ++ .../service/report/ReportGenerationResult.java | 49 ++ .../service/report/ReportGenerationService.java | 169 ++++++ .../report/ReportGenerationServiceTest.java | 119 ++++ tutti-ui-swing/pom.xml | 23 + tutti-ui-swing/src/license/THIRD-PARTY.properties | 6 +- .../src/main/assembly/full-shared-component.xml | 8 + tutti-ui-swing/src/main/assembly/standalone.xml | 8 + .../fr/ifremer/tutti/ui/swing/TuttiUIContext.java | 13 +- 21 files changed, 1650 insertions(+), 65 deletions(-) diff --git a/pom.xml b/pom.xml index 14a2ff2..f48dc8b 100644 --- a/pom.xml +++ b/pom.xml @@ -93,6 +93,7 @@ <modules> <module>tutti-persistence</module> <module>tutti-ichtyometer</module> + <module>tutti-report-generator</module> <module>tutti-service</module> <module>tutti-ui-swing-updater</module> <module>tutti-ui-swing</module> @@ -456,60 +457,6 @@ <artifactId>org.eclipse.birt.runtime</artifactId> <version>4.3.1-1</version> <classifier>codelutin</classifier> - <exclusions> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-util</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-xml</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-gvt</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-script</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-transcoder</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-parser</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-css</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-bridge</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-dom</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-svg-dom</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-awt-util</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-svggen</artifactId> - </exclusion> - <exclusion> - <groupId>batik</groupId> - <artifactId>batik-ext</artifactId> - </exclusion> - </exclusions> </dependency> <!-- Jdbc drivers --> diff --git a/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java b/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java index 78c5027..9a017bc 100644 --- a/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java +++ b/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java @@ -68,6 +68,8 @@ public class TuttiConfiguration extends ApplicationConfiguration { private static TuttiConfiguration instance; + private final boolean windowsOS; + public static TuttiConfiguration getInstance() { return instance; } @@ -121,10 +123,12 @@ public class TuttiConfiguration extends ApplicationConfiguration { public TuttiConfiguration(ApplicationConfig applicationConfig) { super(applicationConfig); optionKeyToNotSave = null; + this.windowsOS = System.getProperty("os.name").startsWith("Windows"); } public TuttiConfiguration(String file, String... args) { super(new ApplicationConfig()); + this.windowsOS = System.getProperty("os.name").startsWith("Windows"); applicationConfig.setEncoding(Charsets.UTF_8.name()); Set<ApplicationConfigProvider> providers = getDefaultApplicationConfig(applicationConfig); @@ -687,4 +691,37 @@ public class TuttiConfiguration extends ApplicationConfiguration { return applicationConfig.getOptionAsBoolean(TuttiConfigurationOption.FULL_BLUETOOTH_SCAN.getKey()); } + public String getJavaCommandPath() { + String path; + String commandName = windowsOS ? "java.exe" : "java"; + if (isFullLaunchMode()) { + path = getBasedir().toPath().resolve("jre").resolve("bin").resolve(commandName).toFile().getAbsolutePath(); + } else { + path = commandName; + } + return path; + } + + private File reportJarPath; + + public File getReportJarPath() { + if (reportJarPath == null) { + //FIXME Should include version in file name + String commandName = "tutti-report-generator.jar"; + if (isFullLaunchMode()) { + reportJarPath = getBasedir().toPath().resolve("tutti").resolve("report-generator").resolve(commandName).toFile(); + } else { + + if (log.isWarnEnabled()) { + log.warn("You must defined yourself the path to tutti-report-generator jar!"); + } + + } + } + return reportJarPath; + } + + public void setReportJarPath(File reportJarPath) { + this.reportJarPath = reportJarPath; + } } diff --git a/tutti-report-generator/LICENSE.txt b/tutti-report-generator/LICENSE.txt new file mode 100644 index 0000000..94a9ed0 --- /dev/null +++ b/tutti-report-generator/LICENSE.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + <program> Copyright (C) <year> <name of author> + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +<http://www.gnu.org/licenses/>. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +<http://www.gnu.org/philosophy/why-not-lgpl.html>. diff --git a/tutti-report-generator/README.txt b/tutti-report-generator/README.txt new file mode 100644 index 0000000..e69de29 diff --git a/tutti-report-generator/pom.xml b/tutti-report-generator/pom.xml new file mode 100644 index 0000000..dc9fbf8 --- /dev/null +++ b/tutti-report-generator/pom.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + #%L + Tutti :: Report Generator + %% + Copyright (C) 2015 Ifremer + %% + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as + published by the Free Software Foundation, either version 3 of the + License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public + License along with this program. If not, see + <http://www.gnu.org/licenses/gpl-3.0.html>. + #L% + --> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>fr.ifremer</groupId> + <artifactId>tutti</artifactId> + <version>3.13-SNAPSHOT</version> + </parent> + + <groupId>fr.ifremer.tutti</groupId> + <artifactId>tutti-report-generator</artifactId> + + <name>Tutti :: Report Generator</name> + + <properties> + + <maven.jar.main.class>fr.ifremer.tutti.report.RunReport</maven.jar.main.class> + </properties> + <dependencies> + + <!-- Birt --> + <dependency> + <groupId>org.eclipse.birt.runtime</groupId> + <artifactId>org.eclipse.birt.runtime</artifactId> + <classifier>codelutin</classifier> + </dependency> + + <!-- Test --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <scope>test</scope> + </dependency> + + </dependencies> + + <build> + + <plugins> + + <plugin> + <artifactId>maven-jar-plugin</artifactId> + <configuration> + <archive> + <manifest> + <useUniqueVersions>false</useUniqueVersions> + <mainClass>${maven.jar.main.class}</mainClass> + <addClasspath>true</addClasspath> + <classpathPrefix>./lib/</classpathPrefix> + </manifest> + </archive> + </configuration> + </plugin> + + <!--plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-dependencies</id> + <goals> + <goal>copy-dependencies</goal> + </goals> + <phase>prepare-package</phase> + <configuration> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>true</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + <outputDirectory>${project.build.directory}/lib</outputDirectory> + <silent>true</silent> + </configuration> + </execution> + </executions> + </plugin--> + + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <descriptor>src/main/assembly/bin.xml</descriptor> + </configuration> + </execution> + </executions> + </plugin> + + </plugins> + </build> + +</project> diff --git a/tutti-report-generator/src/license/THIRD-PARTY.properties b/tutti-report-generator/src/license/THIRD-PARTY.properties new file mode 100644 index 0000000..ede81f2 --- /dev/null +++ b/tutti-report-generator/src/license/THIRD-PARTY.properties @@ -0,0 +1,36 @@ +# Generated by org.codehaus.mojo.license.AddThirdPartyMojo +#------------------------------------------------------------------------------- +# Already used licenses in project : +# - BSD License +# - COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 +# - Eclipse Public License - v 1.0 +# - Eclipse Public License 1.0 +# - ICU License +# - Indiana University Extreme! Lab Software License, vesion 1.1.1 +# - Java HTML Tidy License +# - Lesser General Public License (LGPL) +# - Lesser General Public License (LPGL) +# - Lesser General Public License (LPGL) v 2.1 +# - MIT License +# - Mozilla Public License +# - New BSD License +# - The Apache Software License, Version 2.0 +#------------------------------------------------------------------------------- +# Please fill the missing licenses for dependencies : +# +# +#Wed Mar 11 09:10:14 CET 2015 +batik--batik-awt-util--1.6=The Apache Software License, Version 2.0 +batik--batik-bridge--1.6=The Apache Software License, Version 2.0 +batik--batik-css--1.6=The Apache Software License, Version 2.0 +batik--batik-dom--1.6=The Apache Software License, Version 2.0 +batik--batik-ext--1.6=The Apache Software License, Version 2.0 +batik--batik-gvt--1.6=The Apache Software License, Version 2.0 +batik--batik-parser--1.6=The Apache Software License, Version 2.0 +batik--batik-script--1.6=The Apache Software License, Version 2.0 +batik--batik-svg-dom--1.6=The Apache Software License, Version 2.0 +batik--batik-svggen--1.6=The Apache Software License, Version 2.0 +batik--batik-transcoder--1.6=The Apache Software License, Version 2.0 +batik--batik-util--1.6=The Apache Software License, Version 2.0 +batik--batik-xml--1.6=The Apache Software License, Version 2.0 +dom4j--dom4j--1.6.1=BSD License diff --git a/tutti-report-generator/src/main/assembly/bin.xml b/tutti-report-generator/src/main/assembly/bin.xml new file mode 100644 index 0000000..3828df6 --- /dev/null +++ b/tutti-report-generator/src/main/assembly/bin.xml @@ -0,0 +1,27 @@ +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + + <id>bin</id> + <formats> + <format>zip</format> + </formats> + + <includeBaseDirectory>false</includeBaseDirectory> + + <dependencySets> + <dependencySet> + <outputDirectory>lib</outputDirectory> + <useProjectArtifact>false</useProjectArtifact> + </dependencySet> + </dependencySets> + + <files> + <file> + <source>target/${project.build.finalName}.${project.packaging}</source> + <outputDirectory/> + <destName>${project.artifactId}.${project.packaging}</destName> + </file> + </files> + +</assembly> \ No newline at end of file diff --git a/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportConfig.java b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportConfig.java new file mode 100644 index 0000000..2e3261b --- /dev/null +++ b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportConfig.java @@ -0,0 +1,50 @@ +package fr.ifremer.tutti.report; + +import java.io.File; + +/** + * Created on 3/10/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportConfig { + + private final File reportFile; + + private final File dataDirectory; + + private final File outputFile; + + private final String stationNumber; + + private final int fishingOperationNumber; + + public ReportConfig(File reportFile, File dataDirectory, File outputFile, String stationNumber, int fishingOperationNumber) { + this.reportFile = reportFile; + this.dataDirectory = dataDirectory; + this.outputFile = outputFile; + this.stationNumber = stationNumber; + this.fishingOperationNumber = fishingOperationNumber; + } + + public File getReportFile() { + return reportFile; + } + + public File getDataDirectory() { + return dataDirectory; + } + + public String getStationNumber() { + return stationNumber; + } + + public int getFishingOperationNumber() { + return fishingOperationNumber; + } + + public File getOutputFile() { + return outputFile; + } +} diff --git a/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportEngine.java b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportEngine.java new file mode 100644 index 0000000..ae028bf --- /dev/null +++ b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/ReportEngine.java @@ -0,0 +1,118 @@ +package fr.ifremer.tutti.report; + +import org.eclipse.birt.core.exception.BirtException; +import org.eclipse.birt.core.framework.Platform; +import org.eclipse.birt.report.engine.api.EngineConfig; +import org.eclipse.birt.report.engine.api.EngineConstants; +import org.eclipse.birt.report.engine.api.EngineException; +import org.eclipse.birt.report.engine.api.IRenderOption; +import org.eclipse.birt.report.engine.api.IReportEngine; +import org.eclipse.birt.report.engine.api.IReportEngineFactory; +import org.eclipse.birt.report.engine.api.IReportRunnable; +import org.eclipse.birt.report.engine.api.IRunAndRenderTask; +import org.eclipse.birt.report.engine.api.RenderOption; + +import java.io.Closeable; +import java.io.File; +import java.util.HashMap; +import java.util.Map; +import java.util.logging.Level; + +/** + * Created on 3/10/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportEngine implements Closeable { + + private static final int RENDER_DPI = 300; + + private final IReportEngine engine; + + public ReportEngine(File reportHomeDirectory, File reportLogDirectory) { + + EngineConfig engineConfig = new EngineConfig(); + engineConfig.setBIRTHome(reportHomeDirectory.getAbsolutePath()); + engineConfig.setResourcePath(reportHomeDirectory.getAbsolutePath()); + engineConfig.setLogConfig(reportLogDirectory.getAbsolutePath(), Level.ALL); + + try { + Platform.startup(engineConfig); + } catch (BirtException e) { + throw new RuntimeException("Could not init birt", e); + } + + IReportEngineFactory factory = (IReportEngineFactory) Platform.createFactoryObject(IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY); + + engine = factory.createReportEngine(engineConfig); + + } + + public void generate(ReportConfig reportConfig) { + + IReportRunnable rptDoc; + + try { + rptDoc = engine.openReportDesign(reportConfig.getReportFile().getAbsolutePath()); + } catch (EngineException e) { + + throw new RuntimeException("Could not get report " + reportConfig.getReportFile(), e); + + } + + /** + * rpt-param_dirfile : répertoire contant les fichiers + + rpt-param_codestation : code de la station (ex: G101) + + rpt-param_numerotrait : code du trait (ex: 53) + */ + + // Create the render task + IRunAndRenderTask task = engine.createRunAndRenderTask(rptDoc); + + try { + + // Configure the render options + IRenderOption renderOption = new RenderOption(); + renderOption.setOutputFileName(reportConfig.getOutputFile().getAbsolutePath()); + renderOption.setOutputFormat(IRenderOption.OUTPUT_FORMAT_PDF); + + task.setRenderOption(renderOption); + + // Report context + Map<String, Object> context = new HashMap<>(); + context.put(EngineConstants.APPCONTEXT_CHART_RESOLUTION, RENDER_DPI); + + task.setAppContext(context); + task.setParameterValue("rpt-param_dirfile", reportConfig.getDataDirectory().getAbsolutePath()); + task.setParameterValue("rpt-param_codestation", reportConfig.getStationNumber()); + task.setParameterValue("rpt-param_numerotrait", reportConfig.getFishingOperationNumber()); + + task.run(); + + } catch (EngineException e) { + + throw new RuntimeException("Could not execute report", e); + + } finally { + + // close task + task.close(); + + } + + } + + @Override + public void close() { + + try { + engine.destroy(); + } finally { + + Platform.shutdown(); + + } + + } +} diff --git a/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/RunReport.java b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/RunReport.java new file mode 100644 index 0000000..4b00979 --- /dev/null +++ b/tutti-report-generator/src/main/java/fr/ifremer/tutti/report/RunReport.java @@ -0,0 +1,47 @@ +package fr.ifremer.tutti.report; + +import java.io.File; + +/** + * Created on 3/10/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class RunReport { + + public static void main(String... args) { + + if (args.length != 7) { + + String help = RunReport.class.getName() + " requires 6 arguments:" + + "\n\tReport Home directory" + + "\n\tReport Log directory" + + "\n\tReport file to use" + + "\n\tOutput file to generate" + + "\n\trpt-param_dirfile : répertoire contant les fichiers de données" + + "\n\trpt-param_codestation : code de la station (ex: G101)" + + "\n\trpt-param_numerotrait : code du trait (ex: 53)"; + + throw new IllegalArgumentException(help); + } + + File reportHomeDirectory = new File(args[0]); + File reportLogDirectory = new File(args[1]); + File reportFile = new File(args[2]); + File outputFile = new File(args[3]); + File dataDirectory = new File(args[4]); + String stationNumber = args[5]; + int fishingOperationNumber = Integer.valueOf(args[6]); + + ReportConfig model = new ReportConfig(reportFile, dataDirectory, outputFile, stationNumber, fishingOperationNumber); + + try (ReportEngine engine = new ReportEngine(reportHomeDirectory, reportLogDirectory)) { + + engine.generate(model); + + } + + } + +} diff --git a/tutti-service/pom.xml b/tutti-service/pom.xml index d89e841..7a19cc1 100644 --- a/tutti-service/pom.xml +++ b/tutti-service/pom.xml @@ -243,6 +243,34 @@ </executions> </plugin> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>get-report-generator-env</id> + <phase>prepare-package</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <outputDirectory> + ${project.build.directory}/tutti-report-generator + </outputDirectory> + <artifactItems> + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>tutti-report-generator</artifactId> + <version>${project.version}</version> + <type>zip</type> + <classifier>bin</classifier> + </artifactItem> + </artifactItems> + </configuration> + </execution> + + </executions> + </plugin> + </plugins> </build> diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationContext.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationContext.java new file mode 100644 index 0000000..56921e1 --- /dev/null +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationContext.java @@ -0,0 +1,67 @@ +package fr.ifremer.tutti.service.report; + +import fr.ifremer.tutti.persistence.entities.data.FishingOperation; + +import java.io.File; + +/** + * Context of report generation. + * + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportGenerationContext { + + /** + * Incoming report request. + */ + protected final ReportGenerationRequest request; + + /** + * Selected fishing operation. + */ + protected final FishingOperation fishingOperation; + + /** + * Where export is exploded. + */ + protected final File exportDirectory; + + /** + * Where to generate report. + */ + protected final File outputFile; + + public ReportGenerationContext(ReportGenerationRequest request, + FishingOperation fishingOperation, + File exportFileDirectory, + File outputFile) { + this.request = request; + this.fishingOperation = fishingOperation; + this.exportDirectory = exportFileDirectory; + this.outputFile = outputFile; + } + + public File getReport() { + return request.getReport(); + } + + public File getExportDirectory() { + return exportDirectory; + } + + public FishingOperation getFishingOperation() { + return fishingOperation; + } + + public File getOutputFile() { + return outputFile; + } + + public ReportGenerationResult toResult() { + return new ReportGenerationResult(request, outputFile); + } + +} diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationRequest.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationRequest.java new file mode 100644 index 0000000..3916416 --- /dev/null +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationRequest.java @@ -0,0 +1,54 @@ +package fr.ifremer.tutti.service.report; + +import java.io.File; +import java.io.Serializable; + +/** + * Request to generate a report. + * + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportGenerationRequest implements Serializable { + + private static final long serialVersionUID = 1L; + + /** Report to use. */ + protected File report; + + /** + * Selected cruise id (of fishing operation). + */ + protected String cruiseId; + + /** + * Selected fishing operation to report. + */ + protected String fishingOperationId; + + public File getReport() { + return report; + } + + public void setReport(File report) { + this.report = report; + } + + public String getCruiseId() { + return cruiseId; + } + + public void setCruiseId(String cruiseId) { + this.cruiseId = cruiseId; + } + + public String getFishingOperationId() { + return fishingOperationId; + } + + public void setFishingOperationId(String fishingOperationId) { + this.fishingOperationId = fishingOperationId; + } +} diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationResult.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationResult.java new file mode 100644 index 0000000..ccebd0f --- /dev/null +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationResult.java @@ -0,0 +1,49 @@ +package fr.ifremer.tutti.service.report; + +import java.io.File; +import java.io.Serializable; + +/** + * Result of a report generation. + * + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportGenerationResult implements Serializable{ + + private static final long serialVersionUID = 1L; + + /** + * Incoming request. + */ + protected final ReportGenerationRequest request; + + /** + * Where was generated the report. + */ + protected final File outputFile; + + public ReportGenerationResult(ReportGenerationRequest request, File outputFile) { + this.request = request; + this.outputFile = outputFile; + } + + public File getReport() { + return request.getReport(); + } + + public String getCruiseId() { + return request.getCruiseId(); + } + + public String getFishingOperationId() { + return request.getFishingOperationId(); + } + + public File getOutputFile() { + return outputFile; + } + +} diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java new file mode 100644 index 0000000..befa8ce --- /dev/null +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java @@ -0,0 +1,169 @@ +package fr.ifremer.tutti.service.report; + +import com.google.common.base.Preconditions; +import com.google.common.collect.Lists; +import fr.ifremer.tutti.TuttiConfiguration; +import fr.ifremer.tutti.persistence.ProgressionModel; +import fr.ifremer.tutti.persistence.entities.data.FishingOperation; +import fr.ifremer.tutti.service.AbstractTuttiService; +import fr.ifremer.tutti.service.PersistenceService; +import fr.ifremer.tutti.service.export.generic.TuttiExportService; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.nuiton.jaxx.application.ApplicationTechnicalException; + +import java.io.File; +import java.io.FileFilter; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import static org.nuiton.i18n.I18n.t; + +/** + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportGenerationService extends AbstractTuttiService { + + private static final Log log = LogFactory.getLog(ReportGenerationService.class); + + private static final FileFilter REPORT_FILTER = new FileFilter() { + @Override + public boolean accept(File pathname) { + return pathname.isFile() && + pathname.getName().endsWith(".rptdesign"); + } + }; + + public List<File> getAvailableReports() { + List<File> result = Lists.newArrayList(); + File reportDirectory = context.getConfig().getReportDirectory(); + File[] files = reportDirectory.listFiles(REPORT_FILTER); + if (files != null) { + result.addAll(Arrays.asList(files)); + } + return result; + } + + public ReportGenerationResult generateReport(ReportGenerationRequest request, ProgressionModel progressionModel) { + + Preconditions.checkNotNull(request); + Preconditions.checkNotNull(request.getReport()); + Preconditions.checkState(request.getReport().exists()); + Preconditions.checkNotNull(request.getCruiseId()); + Preconditions.checkNotNull(request.getFishingOperationId()); + + // load fishing operation + progressionModel.increments(t("tutti.report.step.load.fishingOperation")); + FishingOperation operation = getService(PersistenceService.class). + getFishingOperation(request.getFishingOperationId()); + + // export fishing operation + progressionModel.increments(t("tutti.report.step.export.fishingOperation")); + File exportDirectory = getService(TuttiExportService.class). + exportFishingOperation(request.getCruiseId(), + request.getFishingOperationId()); + + File outputFile = newOutputFile(); + + ReportGenerationContext reportContext = new ReportGenerationContext(request, + operation, + exportDirectory, + outputFile); + + progressionModel.increments(t("tutti.report.step.generateReport", request.getReport().getName())); + + ReportGenerationResult result = generateReport(reportContext); + return result; + + } + + protected File newOutputFile() { + return context.getConfig().newTempFile("tutti-report", ".pdf"); + } + + protected ReportGenerationResult generateReport(ReportGenerationContext reportContext) { + + Preconditions.checkNotNull(reportContext.getFishingOperation()); + Preconditions.checkNotNull(reportContext.getExportDirectory()); + Preconditions.checkState(reportContext.getExportDirectory().exists()); + + if (log.isInfoEnabled()) { + log.info("Will generate report using report " + reportContext.getReport().getName()); + } + + List<String> arguments = prepareCall(reportContext); + + ProcessBuilder pb = new ProcessBuilder(arguments); + + pb.inheritIO(); + + if (log.isInfoEnabled()) { + log.info("Starts java command: " + arguments); + } + + try { + + int exitCode = pb.start().waitFor(); + + if (log.isDebugEnabled()) { + log.debug("Exit Code: " + exitCode); + } + + if (exitCode != 0) { + throw new ApplicationTechnicalException("Report execution failed, see the report log directory " + context.getConfig().getReportLogDirectory()); + } + + } catch (InterruptedException | IOException e) { + throw new ApplicationTechnicalException("Could not generate report", e); + } + + if (log.isInfoEnabled()) { + log.info("Report generated at: " + reportContext.getOutputFile()); + } + + ReportGenerationResult result = reportContext.toResult(); + return result; + + } + + protected List<String> prepareCall(ReportGenerationContext reportContext) { + + TuttiConfiguration config = context.getConfig(); + + List<String> command = new ArrayList<>(); + + command.add(config.getJavaCommandPath()); + + // jvm options + command.add("-XX:MaxPermSize=128M"); + command.add("-XX:PermSize=64M"); + command.add("-XX:MaxNewSize=32M"); + command.add("-XX:NewSize=32M"); + command.add("-Xms256m"); + command.add("-Xmx1024m"); + + //command.add("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000"); + + command.add("-jar"); + command.add(config.getReportJarPath().getAbsolutePath()); + + // arguments + + command.add(config.getReportHomeDirectory().getAbsolutePath()); + command.add(config.getReportLogDirectory().getAbsolutePath()); + command.add(reportContext.getReport().getAbsolutePath()); + command.add(reportContext.getOutputFile().getAbsolutePath()); + command.add(reportContext.getExportDirectory().getAbsolutePath()); + command.add(reportContext.getFishingOperation().getStationNumber()); + command.add(reportContext.getFishingOperation().getFishingOperationNumber().toString()); + + return command; + + } + +} diff --git a/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportGenerationServiceTest.java b/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportGenerationServiceTest.java new file mode 100644 index 0000000..5dd9ce3 --- /dev/null +++ b/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportGenerationServiceTest.java @@ -0,0 +1,119 @@ +package fr.ifremer.tutti.service.report; + +import fr.ifremer.tutti.TuttiConfiguration; +import fr.ifremer.tutti.persistence.ProgressionModel; +import fr.ifremer.tutti.persistence.entities.data.FishingOperation; +import fr.ifremer.tutti.persistence.entities.data.FishingOperations; +import fr.ifremer.tutti.service.ServiceDbResource; +import fr.ifremer.tutti.service.TuttiServiceContext; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.junit.Assert; +import org.junit.Assume; +import org.junit.Before; +import org.junit.ClassRule; +import org.junit.Test; +import org.nuiton.jaxx.application.ApplicationIOUtil; +import org.nuiton.util.FileUtil; + +import java.io.File; +import java.util.List; + +/** + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class ReportGenerationServiceTest { + + @ClassRule + public static final ServiceDbResource dbResource = ServiceDbResource.noDb(); + + /** Logger. */ + private static final Log log = LogFactory.getLog(ReportGenerationServiceTest.class); + + public static final String PROGRAM_ID = "CAM-MEDITS"; + + public static final String CRUISE_ID = "100001"; + + public static final String OPERATION_1_ID = "100106"; + + protected ReportGenerationService service; + + @Before + public void setUp() throws Exception { + + TuttiServiceContext serviceContext = dbResource.getServiceContext(); + + service = serviceContext.getService(ReportGenerationService.class); + + File reportJarPath = FileUtil.getFileFromPaths(new File("target"), "tutti-report-generator", "tutti-report-generator.jar"); + Assume.assumeTrue("Could not find " + reportJarPath, reportJarPath.exists()); + TuttiConfiguration config = dbResource.getConfig(); + + config.setReportJarPath(reportJarPath); + + config.getReportLogDirectory().mkdirs(); + + } + + @Test + public void testGenerateReportFromExport() throws Exception { + + // copy report resources from class-path + File sourceDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "resources", "report", "2013.12.05"); + File targetDirectory = dbResource.getConfig().getReportHomeDirectory(); + if (log.isInfoEnabled()) { + log.info("Prepare report birt home at " + targetDirectory); + } + ApplicationIOUtil.copyDirectory(sourceDirectory, targetDirectory, "Could not copy report directory"); + + // copy export resources from class-path + File exportSourceDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "resources", "report", "exportCruise"); + File exportTargetDirectory = dbResource.getConfig().newTempFile("exportCruise"); + if (log.isInfoEnabled()) { + log.info("Prepare export at " + exportTargetDirectory); + } + ApplicationIOUtil.copyDirectory(exportSourceDirectory, exportTargetDirectory, "Could not copy report directory"); + + // get reports + List<File> availableReports = service.getAvailableReports(); + Assert.assertNotNull(availableReports); + Assert.assertFalse(availableReports.isEmpty()); + Assert.assertEquals(1, availableReports.size()); + + // get unique report file + File reportFileName = availableReports.get(0); + + ReportGenerationRequest request = new ReportGenerationRequest(); + request.setReport(reportFileName); + request.setCruiseId(CRUISE_ID); + request.setFishingOperationId(OPERATION_1_ID); + + ProgressionModel progressionModel = new ProgressionModel(); + progressionModel.setTotal(3); + + FishingOperation fishingOperation = FishingOperations.newFishingOperation(); + fishingOperation.setId(OPERATION_1_ID); + fishingOperation.setFishingOperationNumber(53); + fishingOperation.setStationNumber("G101"); + + File outputFile = service.newOutputFile(); + + // report NOT must exist + Assert.assertFalse(outputFile.exists()); + + ReportGenerationContext reportContext = new ReportGenerationContext(request, + fishingOperation, + exportTargetDirectory, + outputFile); + + // generate report + ReportGenerationResult result = service.generateReport(reportContext); + + // report must exist + Assert.assertTrue(result.getOutputFile().exists()); + } + +} diff --git a/tutti-ui-swing/pom.xml b/tutti-ui-swing/pom.xml index 1b03644..3345023 100644 --- a/tutti-ui-swing/pom.xml +++ b/tutti-ui-swing/pom.xml @@ -434,6 +434,29 @@ <silent>true</silent> </configuration> </execution> + + <execution> + <id>get-report-generator-env</id> + <phase>prepare-package</phase> + <goals> + <goal>unpack</goal> + </goals> + <configuration> + <outputDirectory> + ${project.build.directory}/tutti-report-generator + </outputDirectory> + <artifactItems> + <artifactItem> + <groupId>${project.groupId}</groupId> + <artifactId>tutti-report-generator</artifactId> + <version>${project.version}</version> + <type>zip</type> + <classifier>bin</classifier> + </artifactItem> + </artifactItems> + </configuration> + </execution> + </executions> </plugin> diff --git a/tutti-ui-swing/src/license/THIRD-PARTY.properties b/tutti-ui-swing/src/license/THIRD-PARTY.properties index 98174e1..d4a4d02 100644 --- a/tutti-ui-swing/src/license/THIRD-PARTY.properties +++ b/tutti-ui-swing/src/license/THIRD-PARTY.properties @@ -12,7 +12,6 @@ # - Common Development and Distribution License (CDDL) v1.0 # - Eclipse Distribution License (EDL), Version 1.0 # - Eclipse Public License (EPL), Version 1.0 -# - Eclipse Public License - v 1.0 # - Eclipse Public License 1.0 # - GNU Affero General Public License v3 # - GNU General Public License (GPL) @@ -23,14 +22,11 @@ # - GNU Lesser Public License # - GNU Library or Lesser General Public License # - General Public License (GPL) -# - ICU License -# - Java HTML Tidy License # - LGPL 2.1 # - Lesser General Public License (LGPL) # - Lesser General Public License (LGPL) v 3.0 # - MIT License # - MPL 1.1 -# - Mozilla Public License # - Mozilla Public License version 1.1 # - New BSD License # - Public Domain @@ -41,7 +37,7 @@ # Please fill the missing licenses for dependencies : # # -#Thu Jan 15 14:23:58 CET 2015 +#Tue Mar 10 22:51:39 CET 2015 commons-codec--commons-codec--1.2=The Apache Software License, Version 2.0 commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 dom4j--dom4j--1.6.1=BSD License diff --git a/tutti-ui-swing/src/main/assembly/full-shared-component.xml b/tutti-ui-swing/src/main/assembly/full-shared-component.xml index 23e736a..5e0123f 100644 --- a/tutti-ui-swing/src/main/assembly/full-shared-component.xml +++ b/tutti-ui-swing/src/main/assembly/full-shared-component.xml @@ -91,6 +91,14 @@ </excludes> </fileSet> + <fileSet> + <directory>target/tutti-report-generator</directory> + <outputDirectory>tutti/report-generator</outputDirectory> + <includes> + <include>**</include> + </includes> + </fileSet> + <!-- I18N component --> <fileSet> <directory>target/classes/META-INF</directory> diff --git a/tutti-ui-swing/src/main/assembly/standalone.xml b/tutti-ui-swing/src/main/assembly/standalone.xml index ad0701b..0c08a28 100644 --- a/tutti-ui-swing/src/main/assembly/standalone.xml +++ b/tutti-ui-swing/src/main/assembly/standalone.xml @@ -69,6 +69,14 @@ </fileSet> <fileSet> + <directory>target/tutti-report-generator</directory> + <outputDirectory>report-generator</outputDirectory> + <includes> + <include>**</include> + </includes> + </fileSet> + + <fileSet> <directory>src/main/assembly/standalone</directory> <outputDirectory/> <filtered>true</filtered> diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java index 7a91e01..1ca4210 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java @@ -54,6 +54,7 @@ import fr.ifremer.tutti.service.referential.ReferentialTemporaryPersonService; import fr.ifremer.tutti.service.referential.ReferentialTemporarySpeciesService; import fr.ifremer.tutti.service.referential.ReferentialTemporaryVesselService; import fr.ifremer.tutti.service.referential.TuttiReferentialSynchronizeService; +import fr.ifremer.tutti.service.report.ReportGenerationService; import fr.ifremer.tutti.service.report.ReportService; import fr.ifremer.tutti.ui.swing.content.MainUI; import fr.ifremer.tutti.ui.swing.updater.DeleteHelper; @@ -85,6 +86,7 @@ import org.nuiton.jaxx.application.ApplicationTechnicalException; import org.nuiton.jaxx.application.listener.PropagatePropertyChangeListener; import org.nuiton.jaxx.application.swing.ApplicationUIContext; import org.nuiton.jaxx.application.swing.action.ApplicationActionEngine; +import org.nuiton.jaxx.application.swing.action.ApplicationActionFactory; import org.nuiton.jaxx.application.swing.action.ApplicationActionUI; import org.nuiton.jaxx.application.swing.action.ApplicationUIAction; import org.nuiton.jaxx.application.swing.util.ApplicationErrorHelper; @@ -358,12 +360,7 @@ public class TuttiUIContext extends AbstractBean implements Closeable, UIMessage @Override public void showErrorDialog(String message, Throwable cause) { - if (actionUI != null) { - actionUI.close(); - actionUI.dispose(); - } super.showErrorDialog(message, cause); - } }; this.dataContext = serviceContext.getDataContext(); @@ -755,6 +752,10 @@ public class TuttiUIContext extends AbstractBean implements Closeable, UIMessage return serviceContext.getService(FishingOperationImportService.class); } + public ReportGenerationService getReportGenerationService() { + return serviceContext.getService(ReportGenerationService.class); + } + public ReportService getReportService() { return serviceContext.getService(ReportService.class); } @@ -984,7 +985,7 @@ public class TuttiUIContext extends AbstractBean implements Closeable, UIMessage } @Override - public TuttiActionFactory getActionFactory() { + public ApplicationActionFactory getActionFactory() { return tuttiActionFactory; } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit 6e1312bae3ada819ebdb011b8a973d5b393b024d Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 11:03:39 2015 +0100 suppression de l'ancien service de rapport + recherche du jar par defaut en mode dev --- .../java/fr/ifremer/tutti/TuttiConfiguration.java | 46 +++- tutti-service/pom.xml | 27 -- .../service/report/ReportGenerationService.java | 7 +- .../ifremer/tutti/service/report/ReportModel.java | 86 ------- .../tutti/service/report/ReportService.java | 274 --------------------- .../tutti/service/report/ReportServiceTest.java | 187 -------------- tutti-ui-swing/src/license/THIRD-PARTY.properties | 2 +- .../fr/ifremer/tutti/ui/swing/TuttiUIContext.java | 5 - 8 files changed, 51 insertions(+), 583 deletions(-) diff --git a/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java b/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java index 9a017bc..bccc1fc 100644 --- a/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java +++ b/tutti-persistence/src/main/java/fr/ifremer/tutti/TuttiConfiguration.java @@ -709,19 +709,61 @@ public class TuttiConfiguration extends ApplicationConfiguration { //FIXME Should include version in file name String commandName = "tutti-report-generator.jar"; if (isFullLaunchMode()) { + reportJarPath = getBasedir().toPath().resolve("tutti").resolve("report-generator").resolve(commandName).toFile(); + } else { - if (log.isWarnEnabled()) { - log.warn("You must defined yourself the path to tutti-report-generator jar!"); + reportJarPath = guessReportJarPath(commandName); + + if (reportJarPath == null) { + + if (log.isWarnEnabled()) { + log.warn("You must defined yourself the path to " + commandName); + } + + } else { + + if (log.isInfoEnabled()) { + log.info("Guess reportGenerarorPath: "+reportJarPath); + } } } } + return reportJarPath; + } public void setReportJarPath(File reportJarPath) { this.reportJarPath = reportJarPath; } + + protected File guessReportJarPath(String commandName) { + + { + File file = getBasedir().toPath().resolve("tutti-report-generator").resolve(commandName).toFile(); + if (file.exists()) { + return file; + } + } + + { + File file = new File("").toPath().resolve("target").resolve("tutti-report-generator").resolve(commandName).toFile(); + if (file.exists()) { + return file; + } + } + + { + File file = new File("tutti-ui-swing").toPath().resolve("target").resolve("tutti-report-generator").resolve(commandName).toFile(); + if (file.exists()) { + return file; + } + } + + return null; + + } } diff --git a/tutti-service/pom.xml b/tutti-service/pom.xml index 7a19cc1..130c27a 100644 --- a/tutti-service/pom.xml +++ b/tutti-service/pom.xml @@ -146,33 +146,6 @@ <artifactId>freemarker</artifactId> </dependency> - <!-- Birt --> - <dependency> - <groupId>org.eclipse.birt.runtime</groupId> - <artifactId>org.eclipse.birt.runtime</artifactId> - <classifier>codelutin</classifier> - </dependency> - - <!-- Required by birt --> - <dependency> - <groupId>org.apache.xmlgraphics</groupId> - <artifactId>batik-css</artifactId> - <scope>runtime</scope> - </dependency> - - <!-- Required by birt --> - <dependency> - <groupId>xml-apis</groupId> - <artifactId>xml-apis</artifactId> - <scope>runtime</scope> - </dependency> - <!-- Required by birt --> - <dependency> - <groupId>xml-apis</groupId> - <artifactId>xml-apis-ext</artifactId> - <scope>runtime</scope> - </dependency> - <!-- Logging --> <dependency> <groupId>org.slf4j</groupId> diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java index befa8ce..8d39977 100644 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java @@ -135,6 +135,10 @@ public class ReportGenerationService extends AbstractTuttiService { TuttiConfiguration config = context.getConfig(); + File reportJarPath = config.getReportJarPath(); + + Preconditions.checkState(reportJarPath!=null, "No reportJarPath configured!"); + List<String> command = new ArrayList<>(); command.add(config.getJavaCommandPath()); @@ -150,7 +154,8 @@ public class ReportGenerationService extends AbstractTuttiService { //command.add("-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8000"); command.add("-jar"); - command.add(config.getReportJarPath().getAbsolutePath()); + + command.add(reportJarPath.getAbsolutePath()); // arguments diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportModel.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportModel.java deleted file mode 100644 index 65901ad..0000000 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportModel.java +++ /dev/null @@ -1,86 +0,0 @@ -package fr.ifremer.tutti.service.report; - -/* - * #%L - * Tutti :: Service - * %% - * Copyright (C) 2012 - 2014 Ifremer - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - - -import java.io.File; -import java.io.Serializable; - -/** - * Model to execute a report (using birt). - * - * @author tchemit <chemit@codelutin.com> - * @since 2.9 - */ -public class ReportModel implements Serializable { - - private static final long serialVersionUID = 1L; - - /** Report to use. */ - protected File report; - - /** - * Selected cruise id (of fishing operation). - */ - protected String cruiseId; - - /** - * Selected fishing operation to report. - */ - protected String fishingOperationId; - - /** Where to generate the report. */ - protected File outputFile; - - public File getReport() { - return report; - } - - public void setReport(File report) { - this.report = report; - } - - public String getCruiseId() { - return cruiseId; - } - - public void setCruiseId(String cruiseId) { - this.cruiseId = cruiseId; - } - - public String getFishingOperationId() { - return fishingOperationId; - } - - public void setFishingOperationId(String fishingOperationId) { - this.fishingOperationId = fishingOperationId; - } - - public File getOutputFile() { - return outputFile; - } - - public void setOutputFile(File outputFile) { - this.outputFile = outputFile; - } -} diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportService.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportService.java deleted file mode 100644 index 9676c8f..0000000 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportService.java +++ /dev/null @@ -1,274 +0,0 @@ -package fr.ifremer.tutti.service.report; - -/* - * #%L - * Tutti :: Service - * %% - * Copyright (C) 2012 - 2014 Ifremer - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -import com.google.common.base.Preconditions; -import com.google.common.collect.Lists; -import com.google.common.collect.Maps; -import fr.ifremer.tutti.persistence.ProgressionModel; -import fr.ifremer.tutti.persistence.entities.data.FishingOperation; -import fr.ifremer.tutti.service.AbstractTuttiService; -import fr.ifremer.tutti.service.PersistenceService; -import fr.ifremer.tutti.service.TuttiServiceContext; -import fr.ifremer.tutti.service.genericformat.GenericFormatExportService; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.eclipse.birt.core.exception.BirtException; -import org.eclipse.birt.core.framework.Platform; -import org.eclipse.birt.report.engine.api.EngineConfig; -import org.eclipse.birt.report.engine.api.EngineConstants; -import org.eclipse.birt.report.engine.api.IRenderOption; -import org.eclipse.birt.report.engine.api.IReportEngine; -import org.eclipse.birt.report.engine.api.IReportEngineFactory; -import org.eclipse.birt.report.engine.api.IReportRunnable; -import org.eclipse.birt.report.engine.api.IRunAndRenderTask; -import org.eclipse.birt.report.engine.api.RenderOption; -import org.nuiton.jaxx.application.ApplicationTechnicalException; - -import java.io.File; -import java.io.FileFilter; -import java.io.IOException; -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.Arrays; -import java.util.List; -import java.util.Map; -import java.util.logging.Level; - -import static org.nuiton.i18n.I18n.t; - -/** - * To generate some reports. - * - * @author tchemit <chemit@codelutin.com> - * @since 2.9 - */ -public class ReportService extends AbstractTuttiService { - - private static final Log log = - LogFactory.getLog(ReportService.class); - - public static final FileFilter REPORT_FILTER = new FileFilter() { - @Override - public boolean accept(File pathname) { - return pathname.isFile() && - pathname.getName().endsWith(".rptdesign"); - } - }; - - public static final String REPORT_FILENAME_PATTERN = "tutti-report-%s.pdf"; - - public static final DateFormat df = new SimpleDateFormat("yyy-MM-dd_HH-mm"); - - private static final int RENDER_DPI = 300; - - protected IReportEngineFactory factory; - - protected EngineConfig engineConfig; - - protected static class ReportContext { - - /** - * Incoming reportm model. - */ - final ReportModel model; - - /** - * Selected fishing operation. - */ - final FishingOperation fishingOperation; - - /** - * Where export is exploded. - */ - final File exportDirectory; - - public ReportContext(ReportModel model, - FishingOperation fishingOperation, - File exportFileDirectory) { - this.model = model; - this.fishingOperation = fishingOperation; - this.exportDirectory = exportFileDirectory; - } - - public File getExportDirectory() { - return exportDirectory; - } - - public FishingOperation getFishingOperation() { - return fishingOperation; - } - - public File getReport() { - return model.getReport(); - } - - public File getOutputFile() { - return model.getOutputFile(); - } - } - - @Override - public void setServiceContext(TuttiServiceContext context) { - super.setServiceContext(context); - // Configure engine - - engineConfig = new EngineConfig(); - engineConfig.setBIRTHome(context.getConfig().getReportHomeDirectory().getAbsolutePath()); - engineConfig.setResourcePath(context.getConfig().getReportHomeDirectory().getAbsolutePath()); - engineConfig.setLogConfig(context.getConfig().getReportLogDirectory().getAbsolutePath(), Level.FINE); - - // Get the instance of the engine - try { - Platform.startup(engineConfig); - } catch (BirtException e) { - throw new ApplicationTechnicalException("Could not init birt", e); - } - - factory = (IReportEngineFactory) Platform.createFactoryObject( - IReportEngineFactory.EXTENSION_REPORT_ENGINE_FACTORY); - } - - public ReportModel createModel() { - - File defaultOutputFile = getDefaultOutputFile(); - ReportModel model = new ReportModel(); - model.setOutputFile(defaultOutputFile); - return model; - } - - public void generateReport(ReportModel model, - ProgressionModel progressionModel) { - - Preconditions.checkNotNull(model); - Preconditions.checkNotNull(model.getReport()); - Preconditions.checkState(model.getReport().exists()); - Preconditions.checkNotNull(model.getCruiseId()); - Preconditions.checkNotNull(model.getFishingOperationId()); - Preconditions.checkNotNull(model.getOutputFile()); - - // load fishing operation - progressionModel.increments(t("tutti.report.step.load.fishingOperation")); - FishingOperation operation = getService(PersistenceService.class). - getFishingOperation(model.getFishingOperationId()); - - // export fishing operation - progressionModel.increments(t("tutti.report.step.export.fishingOperation")); - File exportDirectory = getService(GenericFormatExportService.class). - exportFishingOperation(model.getCruiseId(), - model.getFishingOperationId()); - - ReportContext reportContext = new ReportContext(model, - operation, - exportDirectory); - - generateReport(reportContext, progressionModel); - } - - protected void generateReport(ReportContext reportContext, - ProgressionModel progressionModel) { - - Preconditions.checkNotNull(reportContext.getFishingOperation()); - Preconditions.checkNotNull(reportContext.getExportDirectory()); - Preconditions.checkState(reportContext.getExportDirectory().exists()); - - // explode input zip file - File dataDirectory = reportContext.getExportDirectory(); - - if (log.isInfoEnabled()) { - log.info("Will generate report using report " + - reportContext.getReport().getName()); - } - - progressionModel.increments(t("tutti.report.step.generateReport", reportContext.getReport().getName())); - - IReportEngine engine = factory.createReportEngine(engineConfig); - - try { - - // Get the report document - IReportRunnable rptDoc = - engine.openReportDesign(reportContext.getReport().getAbsolutePath()); - - // Report context - Map<String, Object> context = Maps.newHashMap(); - context.put(EngineConstants.APPCONTEXT_CHART_RESOLUTION, RENDER_DPI); - - /** - * rpt-param_dirfile : répertoire contant les fichiers - + rpt-param_codestation : code de la station (ex: G101) - + rpt-param_numerotrait : code du trait (ex: 53) - */ - - // Configure the render options - IRenderOption renderOption = new RenderOption(); - renderOption.setOutputFileName(reportContext.getOutputFile().getAbsolutePath()); - renderOption.setOutputFormat(IRenderOption.OUTPUT_FORMAT_PDF); - - // Create the render task - IRunAndRenderTask task = engine.createRunAndRenderTask(rptDoc); - task.setRenderOption(renderOption); - task.setAppContext(context); - task.setParameterValue("rpt-param_dirfile", dataDirectory.getAbsolutePath()); - task.setParameterValue("rpt-param_codestation", reportContext.getFishingOperation().getStationNumber()); - task.setParameterValue("rpt-param_numerotrait", reportContext.getFishingOperation().getFishingOperationNumber()); - - // render - task.run(); - - // close task - task.close(); - - if (log.isInfoEnabled()) { - log.info("Report generated at " + reportContext.getOutputFile()); - } - - } catch (Exception e) { - throw new ApplicationTechnicalException("Could not generate report", e); - } finally { - engine.destroy(); - } - } - - @Override - public void close() throws IOException { - Platform.shutdown(); - super.close(); - } - - public List<File> getAvailableReports() { - List<File> result = Lists.newArrayList(); - File reportDirectory = context.getConfig().getReportDirectory(); - File[] files = reportDirectory.listFiles(REPORT_FILTER); - if (files != null) { - result.addAll(Arrays.asList(files)); - } - return result; - } - - public File getDefaultOutputFile() { - String filename = String.format(REPORT_FILENAME_PATTERN, df.format(context.currentDate())); - File result = new File(context.getConfig().getReportBackupDirectory(), filename); - return result; - } -} diff --git a/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportServiceTest.java b/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportServiceTest.java deleted file mode 100644 index 83d5121..0000000 --- a/tutti-service/src/test/java/fr/ifremer/tutti/service/report/ReportServiceTest.java +++ /dev/null @@ -1,187 +0,0 @@ -package fr.ifremer.tutti.service.report; - -/* - * #%L - * Tutti :: Service - * %% - * Copyright (C) 2012 - 2014 Ifremer - * %% - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public - * License along with this program. If not, see - * <http://www.gnu.org/licenses/gpl-3.0.html>. - * #L% - */ - -import org.nuiton.jaxx.application.ApplicationIOUtil; -import fr.ifremer.tutti.persistence.ProgressionModel; -import fr.ifremer.tutti.persistence.entities.data.FishingOperation; -import fr.ifremer.tutti.persistence.entities.data.FishingOperations; -import fr.ifremer.tutti.service.ServiceDbResource; -import fr.ifremer.tutti.service.TuttiServiceContext; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; -import org.junit.Assert; -import org.junit.Before; -import org.junit.ClassRule; -import org.junit.Test; -import org.nuiton.util.FileUtil; - -import java.io.File; -import java.util.List; - -/** - * Created on 12/5/13. - * - * @author Tony Chemit <chemit@codelutin.com> - * @since 3.0-rc-2 - */ -public class ReportServiceTest { - - @ClassRule - public static final ServiceDbResource dbResource = - ServiceDbResource.readDb("dbMedits"); - - /** Logger. */ - private static final Log log = LogFactory.getLog(ReportServiceTest.class); - - public static final String PROGRAM_ID = "CAM-MEDITS"; - - public static final String CRUISE_ID = "100001"; - - public static final String OPERATION_1_ID = "100106"; - - protected ReportService service; - - protected ServiceDbResource.DataContext dataContext; - - @Before - public void setUp() throws Exception { - - TuttiServiceContext serviceContext = dbResource.getServiceContext(); - - dbResource.setCountryInConfig("12"); - dbResource.openDataContext(); - - dataContext = dbResource.loadContext(PROGRAM_ID, CRUISE_ID, 1, OPERATION_1_ID); - - service = serviceContext.getService(ReportService.class); - } - - @Test - public void testGenerateReport() throws Exception { - - // copy report resources from class-path - File sourceDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "resources", "report", "2013.12.05"); - File targetDirectory = dbResource.getConfig().getReportHomeDirectory(); - if (log.isInfoEnabled()) { - log.info("Prepare report birt home at " + targetDirectory); - } - ApplicationIOUtil.copyDirectory(sourceDirectory, targetDirectory, "Could not copy report directory"); - - // get reports - List<File> availableReports = service.getAvailableReports(); - Assert.assertNotNull(availableReports); - Assert.assertFalse(availableReports.isEmpty()); - Assert.assertEquals(1, availableReports.size()); - - // get unique report file - File reportFileName = availableReports.get(0); - - ReportModel model = createReportModel(); - model.setReport(reportFileName); - model.setCruiseId(CRUISE_ID); - model.setFishingOperationId(OPERATION_1_ID); - - // report must NOT exist - Assert.assertFalse(model.getOutputFile().exists()); - - ProgressionModel progressionModel = new ProgressionModel(); - progressionModel.setTotal(3); - - FishingOperation fishingOperation = FishingOperations.newFishingOperation(); - fishingOperation.setId(OPERATION_1_ID); - fishingOperation.setFishingOperationNumber(53); - fishingOperation.setStationNumber("G101"); - - - - // generate report - service.generateReport(model, progressionModel); - - // report must exist - Assert.assertTrue(model.getOutputFile().exists()); - } - - @Test - public void testGenerateReportFromExport() throws Exception { - - // copy report resources from class-path - File sourceDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "resources", "report", "2013.12.05"); - File targetDirectory = dbResource.getConfig().getReportHomeDirectory(); - if (log.isInfoEnabled()) { - log.info("Prepare report birt home at " + targetDirectory); - } - ApplicationIOUtil.copyDirectory(sourceDirectory, targetDirectory, "Could not copy report directory"); - - // copy export resources from class-path - File exportSourceDirectory = FileUtil.getFileFromPaths(new File("src"), "test", "resources", "report", "exportCruise"); - File exportTargetDirectory = dbResource.getConfig().newTempFile("exportCruise"); - if (log.isInfoEnabled()) { - log.info("Prepare export at " + exportTargetDirectory); - } - ApplicationIOUtil.copyDirectory(exportSourceDirectory, exportTargetDirectory, "Could not copy report directory"); - - // get reports - List<File> availableReports = service.getAvailableReports(); - Assert.assertNotNull(availableReports); - Assert.assertFalse(availableReports.isEmpty()); - Assert.assertEquals(1, availableReports.size()); - - // get unique report file - File reportFileName = availableReports.get(0); - - ReportModel model = createReportModel(); - model.setReport(reportFileName); - model.setCruiseId(CRUISE_ID); - model.setFishingOperationId(OPERATION_1_ID); - - // report must NOT exist - Assert.assertFalse(model.getOutputFile().exists()); - - ProgressionModel progressionModel = new ProgressionModel(); - progressionModel.setTotal(3); - - FishingOperation fishingOperation = FishingOperations.newFishingOperation(); - fishingOperation.setId(OPERATION_1_ID); - fishingOperation.setFishingOperationNumber(53); - fishingOperation.setStationNumber("G101"); - - ReportService.ReportContext reportContext = new ReportService.ReportContext( - model, - fishingOperation, - exportTargetDirectory - ); - - // generate report - service.generateReport(reportContext, progressionModel); - - // report must exist - Assert.assertTrue(model.getOutputFile().exists()); - } - - public ReportModel createReportModel() { - ReportModel model = service.createModel(); - model.setOutputFile(new File(model.getOutputFile().getAbsolutePath()+"_"+System.nanoTime())); - return model; - } -} diff --git a/tutti-ui-swing/src/license/THIRD-PARTY.properties b/tutti-ui-swing/src/license/THIRD-PARTY.properties index d4a4d02..901091a 100644 --- a/tutti-ui-swing/src/license/THIRD-PARTY.properties +++ b/tutti-ui-swing/src/license/THIRD-PARTY.properties @@ -37,7 +37,7 @@ # Please fill the missing licenses for dependencies : # # -#Tue Mar 10 22:51:39 CET 2015 +#Wed Mar 11 10:42:46 CET 2015 commons-codec--commons-codec--1.2=The Apache Software License, Version 2.0 commons-primitives--commons-primitives--1.0=The Apache Software License, Version 2.0 dom4j--dom4j--1.6.1=BSD License diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java index 1ca4210..1f04ba6 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java @@ -55,7 +55,6 @@ import fr.ifremer.tutti.service.referential.ReferentialTemporarySpeciesService; import fr.ifremer.tutti.service.referential.ReferentialTemporaryVesselService; import fr.ifremer.tutti.service.referential.TuttiReferentialSynchronizeService; import fr.ifremer.tutti.service.report.ReportGenerationService; -import fr.ifremer.tutti.service.report.ReportService; import fr.ifremer.tutti.ui.swing.content.MainUI; import fr.ifremer.tutti.ui.swing.updater.DeleteHelper; import fr.ifremer.tutti.ui.swing.util.TuttiUIUtil; @@ -756,10 +755,6 @@ public class TuttiUIContext extends AbstractBean implements Closeable, UIMessage return serviceContext.getService(ReportGenerationService.class); } - public ReportService getReportService() { - return serviceContext.getService(ReportService.class); - } - public boolean useRealPersistenceService() { return isDbExist() && isDbLoaded(); } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository tutti. See http://git.codelutin.com/tutti.git commit dba2541f66d4aee12c386d95555a75779e49048b Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Mar 11 11:04:21 2015 +0100 utilisation nouveau service de generation de rapport + fixes #6589: [RAPPORT] inclure les identifiants du trait dans le nom du rapport généré (rapport Birt) --- tutti-report-generator/pom.xml | 2 +- .../service/report/ReportGenerationService.java | 6 +- .../filtered-resources/tutti-help-fr.properties | 25 ++++++ .../fr/ifremer/tutti/ui/swing/TuttiUIContext.java | 3 +- .../tutti/ui/swing/content/report/ReportUI.css | 44 +++++----- .../tutti/ui/swing/content/report/ReportUI.jaxx | 28 ++----- .../ui/swing/content/report/ReportUIHandler.java | 63 +++++++------- .../ui/swing/content/report/ReportUIModel.java | 55 ++++++------ .../report/actions/GenerateReportAction.java | 27 ++++-- ...ShowReportAction.java => OpenReportAction.java} | 22 +++-- .../content/report/actions/SaveReportAction.java | 97 ++++++++++++++++++++++ .../report/ReportUIModel-error-validation.xml | 6 -- .../resources/i18n/tutti-ui-swing_en_GB.properties | 8 ++ .../resources/i18n/tutti-ui-swing_fr_FR.properties | 10 ++- 14 files changed, 256 insertions(+), 140 deletions(-) diff --git a/tutti-report-generator/pom.xml b/tutti-report-generator/pom.xml index dc9fbf8..44417b4 100644 --- a/tutti-report-generator/pom.xml +++ b/tutti-report-generator/pom.xml @@ -27,7 +27,7 @@ <parent> <groupId>fr.ifremer</groupId> <artifactId>tutti</artifactId> - <version>3.13-SNAPSHOT</version> + <version>3.15-SNAPSHOT</version> </parent> <groupId>fr.ifremer.tutti</groupId> diff --git a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java index 8d39977..3434bb8 100644 --- a/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java +++ b/tutti-service/src/main/java/fr/ifremer/tutti/service/report/ReportGenerationService.java @@ -7,7 +7,7 @@ import fr.ifremer.tutti.persistence.ProgressionModel; import fr.ifremer.tutti.persistence.entities.data.FishingOperation; import fr.ifremer.tutti.service.AbstractTuttiService; import fr.ifremer.tutti.service.PersistenceService; -import fr.ifremer.tutti.service.export.generic.TuttiExportService; +import fr.ifremer.tutti.service.genericformat.GenericFormatExportService; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.nuiton.jaxx.application.ApplicationTechnicalException; @@ -64,7 +64,7 @@ public class ReportGenerationService extends AbstractTuttiService { // export fishing operation progressionModel.increments(t("tutti.report.step.export.fishingOperation")); - File exportDirectory = getService(TuttiExportService.class). + File exportDirectory = getService(GenericFormatExportService.class). exportFishingOperation(request.getCruiseId(), request.getFishingOperationId()); @@ -137,7 +137,7 @@ public class ReportGenerationService extends AbstractTuttiService { File reportJarPath = config.getReportJarPath(); - Preconditions.checkState(reportJarPath!=null, "No reportJarPath configured!"); + Preconditions.checkState(reportJarPath != null, "No reportJarPath configured!"); List<String> command = new ArrayList<>(); diff --git a/tutti-ui-swing/src/main/filtered-resources/tutti-help-fr.properties b/tutti-ui-swing/src/main/filtered-resources/tutti-help-fr.properties index af81ad6..3e7f55a 100644 --- a/tutti-ui-swing/src/main/filtered-resources/tutti-help-fr.properties +++ b/tutti-ui-swing/src/main/filtered-resources/tutti-help-fr.properties @@ -1,3 +1,26 @@ +### +# #%L +# Tutti :: UI +# $Id:$ +# $HeadURL:$ +# %% +# Copyright (C) 2012 - 2015 Ifremer +# %% +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public +# License along with this program. If not, see +# <http://www.gnu.org/licenses/gpl-3.0.html>. +# #L% +### #Generated by org.nuiton.jaxx.plugin.GenerateHelpIdsMojo #Sat Mar 07 10:47:12 CET 2015 tutti.config.help=config.html @@ -394,6 +417,8 @@ tutti.replaceTemporaryVessel.help=menu.html\#menu_administration_referentiel tutti.report.action.cancel.help=report.html\#actions tutti.report.action.chooseOutputFile.help=report.html\#actions tutti.report.action.generate.help=report.html\#actions +tutti.report.action.openReport.help= +tutti.report.action.save.help= tutti.report.action.showOutputFile.help=report.html\#actions tutti.report.field.fishingOperation.help=report.html\#fields tutti.report.field.outputFile.help=report.html\#fields diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java index 1f04ba6..c16bdb4 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/TuttiUIContext.java @@ -85,7 +85,6 @@ import org.nuiton.jaxx.application.ApplicationTechnicalException; import org.nuiton.jaxx.application.listener.PropagatePropertyChangeListener; import org.nuiton.jaxx.application.swing.ApplicationUIContext; import org.nuiton.jaxx.application.swing.action.ApplicationActionEngine; -import org.nuiton.jaxx.application.swing.action.ApplicationActionFactory; import org.nuiton.jaxx.application.swing.action.ApplicationActionUI; import org.nuiton.jaxx.application.swing.action.ApplicationUIAction; import org.nuiton.jaxx.application.swing.util.ApplicationErrorHelper; @@ -980,7 +979,7 @@ public class TuttiUIContext extends AbstractBean implements Closeable, UIMessage } @Override - public ApplicationActionFactory getActionFactory() { + public TuttiActionFactory getActionFactory() { return tuttiActionFactory; } diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.css b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.css index b1adf05..f12b2d7 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.css +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.css @@ -69,28 +69,6 @@ FileEditor { _help: {"tutti.report.field.fishingOperation.help"}; } -#outputFileLabel { - text: "tutti.report.field.outputFile"; - labelFor: {outputFileField}; - toolTipText: "tutti.report.field.outputFile.tip"; - _help: {"tutti.report.field.outputFile.help"}; -} - -#outputFileField { - selectedFile: {model.getOutputFile()}; - _validatorLabel: {t("tutti.report.field.outputFile")}; - _help: {"tutti.report.field.outputFile.help"}; -} - -#showOutputFileButton { - actionIcon: open-file; - toolTipText: "tutti.report.action.showOutputFile.tip"; - i18nMnemonic: "tutti.report.action.showOutputFile.mnemonic"; - _help: {"tutti.report.action.showOutputFile.help"}; - _simpleAction: {fr.ifremer.tutti.ui.swing.content.report.actions.ShowReportAction.class}; - enabled: {model.isOutputFileExists()}; -} - #closeButton { actionIcon: cancel; text: "tutti.report.action.cancel"; @@ -109,3 +87,25 @@ FileEditor { enabled: {model.isValid()}; _help: {"tutti.report.action.generate.help"}; } + +#saveReportButton { + actionIcon: save; + text: "tutti.report.action.save"; + toolTipText: "tutti.report.action.save.tip"; + i18nMnemonic: "tutti.report.action.save.mnemonic"; + _applicationAction: {fr.ifremer.tutti.ui.swing.content.report.actions.SaveReportAction.class}; + enabled: {model.isReportDone()}; + _help: {"tutti.report.action.save.help"}; +} + +#displayReportButton { + actionIcon: open-file; + text: "tutti.report.action.openReport"; + toolTipText: "tutti.report.action.openReport.tip"; + i18nMnemonic: "tutti.report.action.openReport.mnemonic"; + _simpleAction: {fr.ifremer.tutti.ui.swing.content.report.actions.OpenReportAction.class}; + enabled: {model.isReportDone()}; + _help: {"tutti.report.action.openReport.help"}; +} + + diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.jaxx b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.jaxx index 1914f34..2549373 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.jaxx +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUI.jaxx @@ -29,7 +29,6 @@ fr.ifremer.tutti.ui.swing.util.TuttiUI fr.ifremer.tutti.ui.swing.util.TuttiUIUtil - jaxx.runtime.swing.editor.FileEditor jaxx.runtime.swing.editor.bean.BeanFilterableComboBox java.io.File @@ -53,7 +52,6 @@ uiClass='jaxx.runtime.validator.swing.ui.ImageValidationUI'> <field name='fishingOperation' component='fishingOperationComboBox'/> <field name='report' component='reportComboBox'/> - <field name='outputFile' component='outputFileField'/> </BeanValidator> <Table id='form' fill='both'> @@ -81,32 +79,20 @@ </cell> </row> - <!-- Output file (Where) --> - <row> - <cell> - <JLabel id='outputFileLabel'/> - </cell> - <cell> - <JPanel id='outputFilePanel' layout='{new BorderLayout()}'> - <FileEditor id='outputFileField' constraints='BorderLayout.CENTER' - onActionPerformed='handler.setFile(event, "outputFile")'/> - <JToolBar id='outputFileActionToolbar' constraints='BorderLayout.EAST' - layout='{new GridLayout()}'> - <JButton id='showOutputFileButton'/> - </JToolBar> - </JPanel> - </cell> - </row> - <!-- Actions --> <row anchor='south'> <cell columns='2'> - <JPanel layout='{new GridLayout(1, 0)}'> - <JButton id='closeButton'/> + <JPanel layout='{new GridLayout(0, 1)}'> <JButton id='generateButton'/> + <JPanel layout='{new GridLayout(1, 0)}'> + <JButton id='displayReportButton'/> + <JButton id='saveReportButton'/> + </JPanel> + <JButton id='closeButton'/> </JPanel> </cell> </row> + </Table> </JPanel> diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIHandler.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIHandler.java index a8afb33..67e49a0 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIHandler.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIHandler.java @@ -22,25 +22,22 @@ package fr.ifremer.tutti.ui.swing.content.report; * #L% */ -import com.google.common.base.Preconditions; +import com.google.common.collect.ImmutableSet; import com.google.common.collect.Lists; -import org.nuiton.jaxx.application.swing.util.CloseableUI; import fr.ifremer.tutti.persistence.entities.data.FishingOperation; -import fr.ifremer.tutti.service.report.ReportService; +import fr.ifremer.tutti.service.report.ReportGenerationService; import fr.ifremer.tutti.ui.swing.util.AbstractTuttiUIHandler; -import fr.ifremer.tutti.ui.swing.util.TuttiUIUtil; -import jaxx.runtime.swing.editor.FileEditor; import jaxx.runtime.validator.swing.SwingValidator; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; +import org.nuiton.jaxx.application.swing.util.CloseableUI; import javax.swing.JComponent; -import java.awt.Desktop; +import java.beans.PropertyChangeEvent; +import java.beans.PropertyChangeListener; import java.io.File; -import java.io.IOException; import java.util.List; - -import static org.nuiton.i18n.I18n.t; +import java.util.Set; /** * Handler of {@link ReportUI}. @@ -58,7 +55,7 @@ public class ReportUIHandler extends AbstractTuttiUIHandler<ReportUIModel, Repor super.beforeInit(ui); - ReportService reportService = getContext().getReportService(); + ReportGenerationService reportService = getContext().getReportGenerationService(); ReportUIModel model = new ReportUIModel(); @@ -75,12 +72,29 @@ public class ReportUIHandler extends AbstractTuttiUIHandler<ReportUIModel, Repor getContext().getPersistenceService().getAllFishingOperation(cruiseId); model.setFishingOperations(fishingOperations); - // get default output file name - File outputFile = reportService.getDefaultOutputFile(); - model.setOutputFile(outputFile); - listModelIsModify(model); + model.addPropertyChangeListener(new PropertyChangeListener() { + + Set<String> removeReportProperties= ImmutableSet.of( + ReportUIModel.PROPERTY_FISHING_OPERATION, + ReportUIModel.PROPERTY_REPORT + ); + + @Override + public void propertyChange(PropertyChangeEvent evt) { + + ReportUIModel source = (ReportUIModel) evt.getSource(); + + if (source .isReportDone() && removeReportProperties.contains(evt.getPropertyName())) { + + // there was a result and input has changed, remove result + source.setReportGenerationResult(null); + + } + + } + }); ui.setContextValue(model); } @@ -99,12 +113,6 @@ public class ReportUIHandler extends AbstractTuttiUIHandler<ReportUIModel, Repor Lists.newArrayList(model.getFishingOperations()), model.getFishingOperation()); - FileEditor outputFileField = ui.getOutputFileField(); - outputFileField.setDirectoryEnabled(false); - outputFileField.setFileEnabled(true); - outputFileField.setExts(".pdf"); - outputFileField.setExtsDescription(t("tutti.common.file.pdf")); - SwingValidator validator = ui.getValidator(); listenValidatorValid(validator, model); @@ -134,19 +142,4 @@ public class ReportUIHandler extends AbstractTuttiUIHandler<ReportUIModel, Repor return ui.getValidator(); } - public void showReport() { - - File file = getModel().getOutputFile(); - - Preconditions.checkState(file.exists()); - - Desktop desktop = TuttiUIUtil.getDesktopForBrowse(); - try { - desktop.browse(file.toURI()); - - } catch (IOException e) { - getContext().getErrorHelper().showErrorDialog(t("swing.error.cannot.open.file")); - } - } - } diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel.java index 6f096f0..22ea0f8 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel.java @@ -23,7 +23,8 @@ package fr.ifremer.tutti.ui.swing.content.report; */ import fr.ifremer.tutti.persistence.entities.data.FishingOperation; -import fr.ifremer.tutti.service.report.ReportModel; +import fr.ifremer.tutti.service.report.ReportGenerationRequest; +import fr.ifremer.tutti.service.report.ReportGenerationResult; import fr.ifremer.tutti.ui.swing.util.AbstractTuttiBeanUIModel; import org.nuiton.util.beans.Binder; import org.nuiton.util.beans.BinderFactory; @@ -37,7 +38,7 @@ import java.util.List; * @author tchemit <chemit@codelutin.com> * @since 2.9 */ -public class ReportUIModel extends AbstractTuttiBeanUIModel<ReportModel, ReportUIModel> { +public class ReportUIModel extends AbstractTuttiBeanUIModel<ReportGenerationRequest, ReportUIModel> { private static final long serialVersionUID = 1L; @@ -45,21 +46,24 @@ public class ReportUIModel extends AbstractTuttiBeanUIModel<ReportModel, ReportU public static final String PROPERTY_REPORT = "report"; - public static final String PROPERTY_FISHING_OPERATION = "fishingOperationId"; + public static final String PROPERTY_FISHING_OPERATION = "fishingOperation"; - public static final String PROPERTY_OUTPUT_FILE = "outputFile"; + public static final String PROPERTY_REPORT_DONE = "reportDone"; - public static final String PROPERTY_OUTPUT_FILE_EXISTS = "outputFileExists"; - - protected static Binder<ReportUIModel, ReportModel> toBeanBinder = + protected static Binder<ReportUIModel, ReportGenerationRequest> toBeanBinder = BinderFactory.newBinder(ReportUIModel.class, - ReportModel.class); + ReportGenerationRequest.class); protected List<File> reports; protected List<FishingOperation> fishingOperations; - protected final ReportModel editObject = new ReportModel(); + protected ReportGenerationResult reportGenerationResult; + + /** Report to use. */ + protected File report; + + protected String cruiseId; protected FishingOperation fishingOperation; @@ -86,21 +90,21 @@ public class ReportUIModel extends AbstractTuttiBeanUIModel<ReportModel, ReportU } public File getReport() { - return editObject.getReport(); + return report; } public void setReport(File report) { Object oldValue = getReport(); - editObject.setReport(report); + this.report = report; firePropertyChange(PROPERTY_REPORT, oldValue, report); } public String getCruiseId() { - return editObject.getCruiseId(); + return cruiseId; } public void setCruiseId(String cruiseId) { - editObject.setCruiseId(cruiseId); + this.cruiseId = cruiseId; } public String getFishingOperationId() { @@ -117,28 +121,21 @@ public class ReportUIModel extends AbstractTuttiBeanUIModel<ReportModel, ReportU firePropertyChange(PROPERTY_FISHING_OPERATION, oldValue, fishingOperation); } - public File getOutputFile() { - return editObject.getOutputFile(); - } - - public void setOutputFile(File outputFile) { - Object oldValue = getOutputFile(); - editObject.setOutputFile(outputFile); - firePropertyChange(PROPERTY_OUTPUT_FILE, oldValue, outputFile); - reloadOuputFile(); + public void setReportGenerationResult(ReportGenerationResult reportGenerationResult) { + this.reportGenerationResult = reportGenerationResult; + firePropertyChange(PROPERTY_REPORT_DONE, null, isReportDone()); } - public void reloadOuputFile() { - - firePropertyChange(PROPERTY_OUTPUT_FILE_EXISTS, null, isOutputFileExists()); + public File getOutputFile() { + return reportGenerationResult.getOutputFile(); } - public boolean isOutputFileExists() { - return getOutputFile() != null && getOutputFile().exists(); + public boolean isReportDone() { + return reportGenerationResult != null; } @Override - protected ReportModel newEntity() { - return new ReportModel(); + protected ReportGenerationRequest newEntity() { + return new ReportGenerationRequest(); } } diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/GenerateReportAction.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/GenerateReportAction.java index bd55550..aee6fbf 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/GenerateReportAction.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/GenerateReportAction.java @@ -24,7 +24,8 @@ package fr.ifremer.tutti.ui.swing.content.report.actions; import com.google.common.base.Preconditions; import fr.ifremer.tutti.persistence.ProgressionModel; -import fr.ifremer.tutti.service.report.ReportModel; +import fr.ifremer.tutti.service.report.ReportGenerationRequest; +import fr.ifremer.tutti.service.report.ReportGenerationResult; import fr.ifremer.tutti.ui.swing.util.actions.LongActionSupport; import fr.ifremer.tutti.ui.swing.content.report.ReportUI; import fr.ifremer.tutti.ui.swing.content.report.ReportUIHandler; @@ -40,6 +41,8 @@ import static org.nuiton.i18n.I18n.t; */ public class GenerateReportAction extends LongActionSupport<ReportUIModel, ReportUI, ReportUIHandler> { + protected ReportGenerationResult reportGenerationResult; + public GenerateReportAction(ReportUIHandler handler) { super(handler, true); } @@ -50,9 +53,10 @@ public class GenerateReportAction extends LongActionSupport<ReportUIModel, Repor if (doAction) { - // ask user to confirm overwrite if required - doAction = askOverwriteFile(getModel().getOutputFile()); + getModel().setReportGenerationResult(null); + } + return doAction; } @@ -63,17 +67,24 @@ public class GenerateReportAction extends LongActionSupport<ReportUIModel, Repor ProgressionModel progressionModel = new ProgressionModel(); setProgressionModel(progressionModel); progressionModel.setTotal(4); // get data / export / generate - ReportModel reportModel = getModel().toBean(); - getContext().getReportService().generateReport( - reportModel, progressionModel); + ReportGenerationRequest reportGenerationRequest = getModel().toBean(); + + reportGenerationResult = getContext().getReportGenerationService().generateReport(reportGenerationRequest, progressionModel); + } @Override public void postSuccessAction() { + super.postSuccessAction(); + getModel().setReportGenerationResult(reportGenerationResult); + sendMessage(t("tutti.report.generated")); - sendMessage(t("tutti.report.generated", getModel().getOutputFile())); + } - getModel().reloadOuputFile(); + @Override + protected void releaseAction() { + super.releaseAction(); + reportGenerationResult = null; } } diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/ShowReportAction.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/OpenReportAction.java similarity index 58% rename from tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/ShowReportAction.java rename to tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/OpenReportAction.java index 5c13b31..b5223dc 100644 --- a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/ShowReportAction.java +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/OpenReportAction.java @@ -1,34 +1,32 @@ package fr.ifremer.tutti.ui.swing.content.report.actions; -import com.google.common.base.Preconditions; import fr.ifremer.tutti.ui.swing.content.report.ReportUI; -import fr.ifremer.tutti.ui.swing.util.actions.SimpleActionSupport; import fr.ifremer.tutti.ui.swing.util.TuttiUIUtil; +import fr.ifremer.tutti.ui.swing.util.actions.SimpleActionSupport; import java.io.File; /** - * Created on 3/7/15. + * Created on 3/11/15. * * @author Tony Chemit - chemit@codelutin.com - * @since 3.15 + * @since 3.13.2 */ -public class ShowReportAction extends SimpleActionSupport<ReportUI> { +public class OpenReportAction extends SimpleActionSupport<ReportUI> { + private static final long serialVersionUID = 1L; - public ShowReportAction(ReportUI ui) { + public OpenReportAction(ReportUI ui) { super(ui); } - @Override protected void onActionPerformed(ReportUI ui) { - File file = ui.getModel().getOutputFile(); + File outputFile = ui.getModel().getOutputFile(); + TuttiUIUtil.browseFile(outputFile); - Preconditions.checkState(file.exists()); + } - TuttiUIUtil.openLink(file.toURI()); - } -} +} \ No newline at end of file diff --git a/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/SaveReportAction.java b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/SaveReportAction.java new file mode 100644 index 0000000..d22b999 --- /dev/null +++ b/tutti-ui-swing/src/main/java/fr/ifremer/tutti/ui/swing/content/report/actions/SaveReportAction.java @@ -0,0 +1,97 @@ +package fr.ifremer.tutti.ui.swing.content.report.actions; + +import com.google.common.base.Preconditions; +import fr.ifremer.tutti.persistence.entities.data.FishingOperation; +import fr.ifremer.tutti.ui.swing.content.report.ReportUI; +import fr.ifremer.tutti.ui.swing.content.report.ReportUIHandler; +import fr.ifremer.tutti.ui.swing.content.report.ReportUIModel; +import fr.ifremer.tutti.ui.swing.util.actions.LongActionSupport; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; +import org.nuiton.decorator.Decorator; +import org.nuiton.jaxx.application.ApplicationIOUtil; + +import java.io.File; + +import static org.nuiton.i18n.I18n.t; + +/** + * Created on 3/11/15. + * + * @author Tony Chemit - chemit@codelutin.com + * @since 3.13.2 + */ +public class SaveReportAction extends LongActionSupport<ReportUIModel, ReportUI, ReportUIHandler> { + + /** Logger. */ + private static final Log log = LogFactory.getLog(SaveReportAction.class); + + protected File file; + + public SaveReportAction(ReportUIHandler handler) { + super(handler, true); + } + + @Override + public boolean prepareAction() throws Exception { + + boolean doAction = super.prepareAction(); + + if (doAction) { + + FishingOperation fishingOperation = getModel().getFishingOperation(); + + Preconditions.checkNotNull("Can't have a null fishing operation", fishingOperation); + Preconditions.checkState(getModel().isReportDone(), "Result must be done"); + + Decorator<FishingOperation> decorator = getDecorator(FishingOperation.class, null); + + String filename = "rapport-" + decorator.toString(fishingOperation) + ".pdf"; + filename = filename.replaceAll("/", "_").replaceAll("\\s", ""); + + if (log.isInfoEnabled()) { + log.info("Default save filename: " + filename); + } + + file = saveFileWithStartDirectory( + getConfig().getReportBackupDirectory(), + false, + filename, + null, + t("tutti.report.title.choose.saveReportFile"), + t("tutti.report.action.save"), + "^.+\\.pdf$", t("tutti.common.file.pdf")); + + doAction = file != null; + + } + + return doAction; + + } + + @Override + public void doAction() throws Exception { + + File outputFile = getModel().getOutputFile(); + ApplicationIOUtil.copyFile(outputFile, file, "Could not save file to " + file); + + } + + @Override + public void postSuccessAction() { + + super.postSuccessAction(); + sendMessage(t("tutti.report.saved", file)); + + } + + @Override + protected void releaseAction() { + + super.releaseAction(); + file = null; + + } + +} \ No newline at end of file diff --git a/tutti-ui-swing/src/main/resources/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel-error-validation.xml b/tutti-ui-swing/src/main/resources/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel-error-validation.xml index df7405a..070602b 100644 --- a/tutti-ui-swing/src/main/resources/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel-error-validation.xml +++ b/tutti-ui-swing/src/main/resources/fr/ifremer/tutti/ui/swing/content/report/ReportUIModel-error-validation.xml @@ -42,10 +42,4 @@ </field-validator> </field> - <field name="outputFile"> - <field-validator type="required" short-circuit="true"> - <message>tutti.validator.error.report.outputFile.required</message> - </field-validator> - </field> - </validators> diff --git a/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_en_GB.properties b/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_en_GB.properties index cadb56e..5cb2587 100644 --- a/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_en_GB.properties +++ b/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_en_GB.properties @@ -1837,6 +1837,12 @@ tutti.report.action.cancel.tip= tutti.report.action.generate= tutti.report.action.generate.mnemonic= tutti.report.action.generate.tip= +tutti.report.action.openReport= +tutti.report.action.openReport.mnemonic= +tutti.report.action.openReport.tip= +tutti.report.action.save= +tutti.report.action.save.mnemonic= +tutti.report.action.save.tip= tutti.report.action.showOutputFile.mnemonic= tutti.report.action.showOutputFile.tip= tutti.report.field.fishingOperation= @@ -1846,7 +1852,9 @@ tutti.report.field.outputFile.tip= tutti.report.field.report= tutti.report.field.report.tip= tutti.report.generated= +tutti.report.saved= tutti.report.title= +tutti.report.title.choose.saveReportFile= tutti.resetCruise.action.cruiseReloaded= tutti.resetProgram.action.programReloaded= tutti.selectBenthos.title= diff --git a/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_fr_FR.properties b/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_fr_FR.properties index 870c766..01355d5 100644 --- a/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_fr_FR.properties +++ b/tutti-ui-swing/src/main/resources/i18n/tutti-ui-swing_fr_FR.properties @@ -1732,6 +1732,12 @@ tutti.report.action.cancel.tip=Quitter l'écran tutti.report.action.generate=Générer tutti.report.action.generate.mnemonic=G tutti.report.action.generate.tip=Générer le rapport +tutti.report.action.openReport=Ouvrir +tutti.report.action.openReport.mnemonic=O +tutti.report.action.openReport.tip=Ouvrir le dernier rapport généré +tutti.report.action.save=Enregistrer +tutti.report.action.save.mnemonic=S +tutti.report.action.save.tip=Enregistrer le dernier rapport généré tutti.report.action.showOutputFile.mnemonic=V tutti.report.action.showOutputFile.tip=Voir le rapport tutti.report.field.fishingOperation=Trait @@ -1740,8 +1746,10 @@ tutti.report.field.outputFile=Rapport tutti.report.field.outputFile.tip=Chemin où générer le rapport tutti.report.field.report=Modèle tutti.report.field.report.tip=Modèle de rapport à générer -tutti.report.generated=Le rapport a été généré dans le fichier <strong>%s</strong> +tutti.report.generated=Le rapport a été généré avec succès. +tutti.report.saved=Rapport enregistré \: <strong>%s</strong> tutti.report.title=Rapports +tutti.report.title.choose.saveReportFile=Enregistrer le rapport généré tutti.resetCruise.action.cruiseReloaded=<html><body>La campagne <strong>%s</strong> est rechargée</body></html>. tutti.resetProgram.action.programReloaded=<html><body>Le programme <strong>%s</strong> est rechargé</body></html>. tutti.selectBenthos.title=Choisissez une espèce du benthos -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm