comparison artifacts/doc/conf/themes/second.xml @ 7119:988dde49ae65

Fix area label rendering. Previously the showarealabel setting was neither parsed nor used to decide if the arealabel should be drawn. It is mostly off but enabled for Cross Sections. It is now also shown in the style editors in case someone got used to it ;)
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 24 Sep 2013 18:13:51 +0200
parents 30b6ff8fd688
children 20313093ba96
comparison
equal deleted inserted replaced
7118:4605d6ca4ee9 7119:988dde49ae65
150 <field name="areabordercolor" type="Color" default="0, 0, 0" 150 <field name="areabordercolor" type="Color" default="0, 0, 0"
151 display="Begrenzungslinienfarbe" hints="hidden" /> 151 display="Begrenzungslinienfarbe" hints="hidden" />
152 <field name="showarea" type="boolean" display="Flaeche anzeigen" 152 <field name="showarea" type="boolean" display="Flaeche anzeigen"
153 default="true" hints="hidden" /> 153 default="true" hints="hidden" />
154 <field name="showarealabel" type="boolean" 154 <field name="showarealabel" type="boolean"
155 display="Flächenbeschriftung anzeigen" default="false" hints="hidden" /> 155 display="Flächenbeschriftung anzeigen" default="false"/>
156 </fields> 156 </fields>
157 </theme> 157 </theme>
158 <!-- top level classes defining additional attributes--> 158 <!-- top level classes defining additional attributes-->
159 <theme name="LongitudinalSection"> 159 <theme name="LongitudinalSection">
160 <inherits> 160 <inherits>
1183 <field name="areabordercolor" type="Color" default="0, 0, 0" 1183 <field name="areabordercolor" type="Color" default="0, 0, 0"
1184 display="Begrenzungslinienfarbe" hints="hidden" /> 1184 display="Begrenzungslinienfarbe" hints="hidden" />
1185 <field name="showarea" type="boolean" display="Flaeche anzeigen" 1185 <field name="showarea" type="boolean" display="Flaeche anzeigen"
1186 default="true" hints="hidden" /> 1186 default="true" hints="hidden" />
1187 <field name="showarealabel" type="boolean" 1187 <field name="showarealabel" type="boolean"
1188 display="Flächenbeschriftung anzeigen" default="false" hints="hidden" /> 1188 display="Flächenbeschriftung anzeigen" default="false"/>
1189 </fields> 1189 </fields>
1190 </theme> 1190 </theme>
1191 1191
1192 1192
1193 1193
1252 <field name="areabordercolor" type="Color" default="0, 0, 0" 1252 <field name="areabordercolor" type="Color" default="0, 0, 0"
1253 display="Begrenzungslinienfarbe" hints="hidden" /> 1253 display="Begrenzungslinienfarbe" hints="hidden" />
1254 <field name="showarea" type="boolean" display="Flaeche anzeigen" 1254 <field name="showarea" type="boolean" display="Flaeche anzeigen"
1255 default="true" hints="hidden" /> 1255 default="true" hints="hidden" />
1256 <field name="showarealabel" type="boolean" 1256 <field name="showarealabel" type="boolean"
1257 display="Flächenbeschriftung anzeigen" default="false" hints="hidden" /> 1257 display="Flächenbeschriftung anzeigen" default="true"/>
1258 </fields> 1258 </fields>
1259 </theme> 1259 </theme>
1260 1260
1261 1261
1262 1262
1453 <field name="areabordercolor" type="Color" default="0, 0, 0" 1453 <field name="areabordercolor" type="Color" default="0, 0, 0"
1454 display="Begrenzungslinienfarbe" hints="hidden" /> 1454 display="Begrenzungslinienfarbe" hints="hidden" />
1455 <field name="showarea" type="boolean" display="Flaeche anzeigen" 1455 <field name="showarea" type="boolean" display="Flaeche anzeigen"
1456 default="true" hints="hidden" /> 1456 default="true" hints="hidden" />
1457 <field name="showarealabel" type="boolean" 1457 <field name="showarealabel" type="boolean"
1458 display="Flächenbeschriftung anzeigen" default="false" hints="hidden" /> 1458 display="Flächenbeschriftung anzeigen" default="false"/>
1459 </fields> 1459 </fields>
1460 </theme> 1460 </theme>
1461 1461
1462 <theme name="FixingCalculatedPoint"> 1462 <theme name="FixingCalculatedPoint">
1463 <inherits> 1463 <inherits>

http://dive4elements.wald.intevation.org