diff flys-artifacts/doc/conf/virtual-themes.xml @ 3239:fb11bd37ddb8

Improved the structure of themes.xml; moved theme groups to own XML files. flys-artifacts/trunk@4871 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Wed, 04 Jul 2012 06:35:47 +0000
parents
children 1dca41dba135
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/doc/conf/virtual-themes.xml	Wed Jul 04 06:35:47 2012 +0000
@@ -0,0 +1,296 @@
+<themegroup name="virtual">
+    <!-- Virtual themes are following now! DO NOT USE VIRTUAL THEMES FOR 
+        FACETS! Please implement concrete themes! -->
+    <theme name="Lines" type="virtual">
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen"
+                default="true" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" />
+            <field name="linetype" type="Dash" display="Linienart"
+                default="10" />
+            <field name="showlinelabel" type="boolean"
+                display="Beschriftung anzeigen" default="false" hints="h" />
+            <field name="linelabelfont" type="Font"
+                display="Beschriftung: Schriftart" default="arial" />
+            <field name="linelabelcolor" type="Color"
+                display="Beschriftung: Schriftfarbe" default="0, 0, 0" />
+            <field name="linelabelsize" type="int"
+                display="Beschriftung: Schriftgröße" default="10" />
+            <field name="linelabelstyle" type="Style"
+                display="Beschriftung: Schriftstil" default="standard" />
+            <field name="linelabelbgcolor" type="Color"
+                display="Beschriftung: Hintergrundfarbe" default="0, 0, 0" />
+            <field name="linelabelshowbg" type="boolean"
+                display="Beschriftung: Hintergrund füllen" default="false" />
+            <!--orientation? -->
+        </fields>
+    </theme>
+
+    <theme name="Points" type="virtual">
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen"
+                default="false" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" />
+            <field name="linetype" type="Dash" display="Linienart"
+                default="10" />
+            <field name="showpoints" type="boolean" display="Punkte anzeigen"
+                default="true" />
+        </fields>
+    </theme>
+
+    <theme name="ColorLines" type="virtual">
+        <inherits>
+            <inherit from="Lines" />
+        </inherits>
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="Color.BLACK" />
+        </fields>
+    </theme>
+
+    <theme name="HiddenColorLines" type="virtual">
+        <inherits>
+            <inherit from="ColorLines" />
+        </inherits>
+        <fields>
+            <field name="showlines" type="boolean" display="Linie anzeigen"
+                default="true" hints="h" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="linetype" type="Dash" display="Linienart"
+                default="10" hints="h" />
+            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
+                default="false" hints="h" />
+            <field name="pointsize" type="int" display="Punktdicke"
+                default="5" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="ColorPoints" type="virtual">
+        <fields>
+            <field name="showpoints" type="boolean" display="Datenpunkte anzeigen"
+                default="true" />
+            <field name="pointsize" type="int" display="Punktdicke"
+                default="5" />
+            <field name="pointcolor" type="Color" display="Punktfarbe"
+                default="Color.BLACK" />
+        </fields>
+    </theme>
+
+    <theme name="MinMaxPoints" type="virtual">
+        <fields>
+            <field name="showminimum" type="boolean" display="Minimum anzeigen"
+                default="false" hints="h" />
+            <field name="showmaximum" type="boolean" display="Minimum anzeigen"
+                default="false" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="Text" type="virtual">
+        <fields>
+            <field name="font" type="Font" display="Schriftart"
+                default="arial" />
+            <field name="textcolor" type="Color" display="Schriftfarbe"
+                default="0, 0, 0" />
+            <field name="textsize" type="int" display="Schriftgröße"
+                default="10" />
+            <field name="textstyle" type="Style" display="Schriftstil"
+                default="standard" />
+        </fields>
+    </theme>
+
+    <theme name="AnnotationText" type="virtual">
+        <fields>
+            <field name="backgroundcolor" type="Color" display="Texthintergrund"
+                default="255, 255, 255" />
+            <field name="textorientation" type="boolean" display="Textausrichtung"
+                default="false" />
+            <field name="showbackground" type="boolean"
+                display="Hintergrund anzeigen" default="false" />
+        </fields>
+    </theme>
+
+    <!-- Area relevant theme(s) -->
+    <theme name="Areas">
+        <inherits>
+            <inherit from="Text" />
+        </inherits>
+        <fields>
+            <field name="backgroundcolor" type="Color" display="Texthintergrund"
+                default="255, 255, 255" />
+            <field name="showbackground" type="boolean"
+                display="Hintergrund anzeigen" default="false" />
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="Color.BLACK" />
+            <field name="showlines" type="boolean" display="Linie anzeigen"
+                default="true" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" />
+            <field name="linetype" type="Dash" display="Linienart"
+                default="10" />
+            <field name="fillcolor" type="Color" display="Fuellfarbe"
+                default="0, 100, 0" />
+            <field name="showarea" type="boolean" display="Flaeche beschriften"
+                default="false" />
+            <field name="showborder" type="boolean"
+                display="Flaechebegrenzungslinie anzeigen" default="false" />
+            <field name="transparent" type="boolean" display="Transparenz"
+                default="false" />
+        </fields>
+    </theme>
+
+
+    <!-- MAP relevant themes -->
+    <theme name="WSPLGENS" type="virtual">
+        <fields>
+            <field name="wsplgen_cat1" type="Color" display="Hintergrund"
+                default="178, 201, 215" />
+            <field name="wsplgen_cat2" type="Color" display="Hintergrund"
+                default="111, 147, 170" />
+            <field name="wsplgen_cat3" type="Color" display="Hintergrund"
+                default="66, 111, 139" />
+            <field name="wsplgen_cat4" type="Color" display="Hintergrund"
+                default="33, 79, 108" />
+            <field name="wsplgen_cat5" type="Color" display="Hintergrund"
+                default="2, 27, 42" />
+        </fields>
+    </theme>
+
+    <theme name="RiverAxes" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 205" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="3" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="Km" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="5" hints="h" />
+            <field name="textcolor" type="Color" display="Schriftfarbe"
+                default="0, 0, 0" />
+            <field name="textsize" type="int" display="Schriftgröße"
+                default="10" />
+            <field name="symbol" type="Symbol" display="Symbol"
+                default="square" />
+        </fields>
+    </theme>
+
+    <theme name="Fixpoint" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="3" hints="h" />
+            <field name="symbol" type="Symbol" display="Symbol"
+                default="point" />
+        </fields>
+    </theme>
+
+    <theme name="Floodmap" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="backgroundcolor" type="Color" display="Hintergrund"
+                default="140, 200, 130" />
+        </fields>
+    </theme>
+
+    <theme name="GaugeLocations" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="symbol" type="Symbol" display="Symbol"
+                default="point" />
+        </fields>
+    </theme>
+
+    <theme name="Qp" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 255" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="3" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="Hw" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="3" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="Catchments" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="backgroundcolor" type="Color" display="Hintergrund"
+                default="140, 200, 130" />
+        </fields>
+    </theme>
+
+    <theme name="Floodplain" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="0, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="1" hints="h" />
+            <field name="backgroundcolor" type="Color" display="Hintergrund"
+                default="140, 200, 130" />
+        </fields>
+    </theme>
+
+    <theme name="FloodmapLine" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="140, 200, 130" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="3" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="Building" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="5" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="HydrBoundariesLine" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="5" hints="h" />
+        </fields>
+    </theme>
+
+    <theme name="HydrBoundariesPoly" type="virtual">
+        <fields>
+            <field name="linecolor" type="Color" display="Linienfarbe"
+                default="255, 0, 0" />
+            <field name="linesize" type="int" display="Liniendicke"
+                default="5" hints="h" />
+            <field name="backgroundcolor" type="Color" display="Hintergrund"
+                default="140, 200, 130" />
+        </fields>
+    </theme>
+
+</themegroup>
\ No newline at end of file

http://dive4elements.wald.intevation.org