Mercurial > dive4elements > gnv-client
changeset 322:57a2bf630854
Completed last commit.
gnv-artifacts/trunk@384 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 30 Nov 2009 14:19:23 +0000 |
parents | a4376fd23f99 |
children | a88e15972c72 |
files | gnv-artifacts/ChangeLog gnv-artifacts/doc/conf/products/horizontalcrosssection/conf_mesh.xml gnv-artifacts/doc/conf/products/horizontalprofile/conf_instantaneouspoint.xml gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml gnv-artifacts/doc/conf/products/verticalprofile/conf_instantaneouspoint.xml gnv-artifacts/doc/conf/products/verticalprofile/conf_mesh.xml gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml gnv-artifacts/pom.xml |
diffstat | 11 files changed, 41 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gnv-artifacts/ChangeLog Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/ChangeLog Mon Nov 30 14:19:23 2009 +0000 @@ -1,3 +1,25 @@ +2009-11-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> + + * doc/conf/products/horizontalcrosssection/conf_mesh.xml, + doc/conf/products/verticalcrosssection/conf_mesh.xml, + doc/conf/products/timeseries/conf_mesh.xml, + doc/conf/products/timeseries/conf_timeseriespoint.xml, + doc/conf/products/horizontalprofile/conf_mesh.xml, + doc/conf/products/horizontalprofile/conf_instantaneouspoint.xml, + doc/conf/products/verticalprofile/conf_mesh.xml, + doc/conf/products/verticalprofile/conf_timeseriespoint.xml, + doc/conf/products/verticalprofile/conf_instantaneouspoint.xml: Added svg + to output modes (MimeType image/svg+xml). + + * pom.xml: Added batik 1.6.1 dependencies which are used to create svg + exports. + + * src/main/java/de/intevation/gnv/exports/ChartExportHelper.java: + Implemented chart export to svg. + + * src/main/java/de/intevation/gnv/transition/timeseries/TimeSeriesOutputTransition.java: + Output mode 'svg' will call svg export of ChartExportHelper. + 2009-11-30 Ingo Weinzierl <ingo.weinzierl@intevation.de> * pom.xm: Added iText 2.1.7 dependency (to create pdf's).
--- a/gnv-artifacts/doc/conf/products/horizontalcrosssection/conf_mesh.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/horizontalcrosssection/conf_mesh.xml Mon Nov 30 14:19:23 2009 +0000 @@ -121,6 +121,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> </outputsModes>
--- a/gnv-artifacts/doc/conf/products/horizontalprofile/conf_instantaneouspoint.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/horizontalprofile/conf_instantaneouspoint.xml Mon Nov 30 14:19:23 2009 +0000 @@ -176,6 +176,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
--- a/gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/horizontalprofile/conf_mesh.xml Mon Nov 30 14:19:23 2009 +0000 @@ -166,6 +166,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
--- a/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/timeseries/conf_mesh.xml Mon Nov 30 14:19:23 2009 +0000 @@ -150,6 +150,7 @@ <inputvalue name="height" type="Integer" value="400"/> </parameters> </outputsMode> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/>
--- a/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/timeseries/conf_timeseriespoint.xml Mon Nov 30 14:19:23 2009 +0000 @@ -177,6 +177,7 @@ <inputvalue name="height" type="Integer" value="400"/> </parameters> </outputsMode> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="application/pdf"/> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/>
--- a/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalcrosssection/conf_mesh.xml Mon Nov 30 14:19:23 2009 +0000 @@ -148,6 +148,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> </outputsModes> </transition>
--- a/gnv-artifacts/doc/conf/products/verticalprofile/conf_instantaneouspoint.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalprofile/conf_instantaneouspoint.xml Mon Nov 30 14:19:23 2009 +0000 @@ -77,6 +77,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
--- a/gnv-artifacts/doc/conf/products/verticalprofile/conf_mesh.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalprofile/conf_mesh.xml Mon Nov 30 14:19:23 2009 +0000 @@ -167,6 +167,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
--- a/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/doc/conf/products/verticalprofile/conf_timeseriespoint.xml Mon Nov 30 14:19:23 2009 +0000 @@ -121,6 +121,7 @@ </parameters> </outputsMode> <outputsMode name="pdf" description="PDF-Export der Daten" mime-type="application/pdf"/> + <outputsMode name="svg" description="PDF-Export der Daten" mime-type="image/svg+xml"/> <outputsMode name="csv" description="CSV-Export der Daten" mime-type="text/plain"/> <outputsMode name="odv" description="ODV-Export der Daten" mime-type="text/plain"/> <outputsMode name="statistics" description="Statistik zu den Daten" mime-type="text/xml"/>
--- a/gnv-artifacts/pom.xml Mon Nov 30 14:18:37 2009 +0000 +++ b/gnv-artifacts/pom.xml Mon Nov 30 14:19:23 2009 +0000 @@ -79,6 +79,16 @@ <version>1.0.15</version> </dependency> <dependency> + <groupId>batik</groupId> + <artifactId>batik-dom</artifactId> + <version>1.6-1</version> + </dependency> + <dependency> + <groupId>batik</groupId> + <artifactId>batik-svggen</artifactId> + <version>1.6-1</version> + </dependency> + <dependency> <groupId>com.lowagie</groupId> <artifactId>itext</artifactId> <version>2.1.7</version>