[Mapbender-commits] r7671 - in trunk/mapbender/http/print: . img

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 2 10:15:21 EST 2011


Author: astrid_emde
Date: 2011-03-02 07:15:21 -0800 (Wed, 02 Mar 2011)
New Revision: 7671

Added:
   trunk/mapbender/http/print/A2_landscape_template.json
   trunk/mapbender/http/print/A2_landscape_template.odg
   trunk/mapbender/http/print/A2_landscape_template.pdf
   trunk/mapbender/http/print/img/northarrow_simple.png
Log:
A2 Format for A2 landscape print, also north arrow

Added: trunk/mapbender/http/print/A2_landscape_template.json
===================================================================
--- trunk/mapbender/http/print/A2_landscape_template.json	                        (rev 0)
+++ trunk/mapbender/http/print/A2_landscape_template.json	2011-03-02 15:15:21 UTC (rev 7671)
@@ -0,0 +1,160 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "L",
+    "units" : "mm",
+    "format" : "a2",
+    "controls" : [
+    	{
+    		"id" : "title",
+    		"label" : "Titel",
+    		"type" : "text",
+    		"size" : 20,
+    		"pageElementsLink" : {
+    			"titel" : "value"
+    		}
+    	},
+    	{
+    		"id" : "dpi",
+    		"label" : "DPI",
+    		"type" : "select",
+    		"size" : 20,
+    		"pageElementsLink" : {
+    			"karte" : "res_dpi"
+    		},
+    		"options" : [
+    			{
+    			"value" : "72",
+    			"label" : "normal (72 dpi)"
+    			},{
+    			"value" : "288",
+    			"label" : "hoch (288 dpi)"
+    			}
+    		]
+    	},
+    	{
+    		"id" : "comment1",
+    		"label" : "Kommentar 1 (30 Zeichen)",
+    		"type" : "textarea",
+    		"size" : 5,
+    		"pageElementsLink" : {
+    			"kommentar1" : "value"
+    		}
+    	},
+    	{
+    		"id" : "comment2",
+    		"label" : "Kommentar 2 (30 Zeichen)",
+    		"type" : "textarea",
+    		"size" : 5,
+    		"pageElementsLink" : {
+    			"kommentar2" : "value"
+    		}
+    	},
+    	{
+    		"id" : "angle",
+    		"label" : "Winkel",
+    		"type" : "text",
+    		"pageElementsLink" : {
+    			"nordpfeil" : "angle",
+    			"karte" : "angle",
+    			"minikarte" : "angle"
+    		}
+    	},
+    	{
+    		"id" : "coordinates",
+    		"type" : "hidden"
+    	},
+    	{
+    		"id" : "scale",
+    		"label" : "Maßstab",
+    		"type" : "text",
+    		"pageElementsLink" : {
+    			"scale" : "value"
+    		}
+    	}
+    ],
+    "pages" : [
+    	{
+    	 "tpl" : "A2_landscape_template.pdf",
+    	 "useTplPage" : 1,
+    	 "elements" : {
+	    	 "karte" : {
+    			"type" : "map",
+    			"res_dpi" : 72,
+    			"x_ul" : 22.2,
+	    		"y_ul" : 15.2,
+	    		"width" : 461.6,
+    			"height" : 384.6,
+    			"coords" : 1,
+    			"coords_font_family" : "Arial",
+    			"coords_font_size" : 7
+	   			},
+	   		"minikarte" : {
+    			"type" : "overview",
+    			"res_dpi" : 72,
+    			"x_ul" : 491,
+	    		"y_ul" : 252,
+	    		"width" : 86,
+    			"height" : 86
+	   			},
+	   		"titel" : {
+    			"type" : "text",
+    			"x_ul" : 523.7,
+	    		"y_ul" : 373,
+	    		"font_family" : "Arial",
+	    		"font_size" : 14
+	   			},
+	   		"scale" : {
+    			"type" : "text",
+    			"x_ul" : 506,
+	    		"y_ul" : 364.7,
+	    		"font_family" : "Arial",
+	    		"font_size" : 12,
+				"value" : "scale"
+	   		},
+	   		"date" : {
+    			"type" : "text",
+    			"x_ul" : 549.8,
+	    		"y_ul" : 364.7,
+	    		"font_family" : "Arial",
+	    		"font_size" : 12,
+				"value" : "date"
+	   		},
+	   		"nordpfeil" : {
+    			"type" : "image",
+    			"x_ul" : 499,
+	    		"y_ul" : 350,
+	    		"width" : 6,
+	    		"height" : 12,
+	    		"angle" : 0,
+				"filename" : "./img/northarrow_simple.png"
+	   		},
+	   		"kommentar1" : {
+    			"type" : "para",
+    			"x_ul" : 489.8,
+	    		"y_ul" : 376.8,
+	    		"font_family" : "Arial",
+	    		"font_size" : 12,
+	    		"width" : 45,
+	    		"height" : 4,
+	    		"align" : "L",
+	    		"border" : 0,
+	    		"fill" : 1,
+	    		"border_width" : 0.5
+	   			},
+	   		"kommentar2" : {
+    			"type" : "para",
+    			"x_ul" : 489.8,
+	    		"y_ul" : 383.8,
+	    		"font_family" : "Arial",
+	    		"font_size" : 12,
+	    		"width" : 45,
+	    		"height" : 4,
+	    		"align" : "L",
+	    		"border" : 0,
+	    		"fill" : 1,
+	    		"border_width" : 0.5
+	   			}
+	   		}
+	   	}
+	]
+}
\ No newline at end of file

Added: trunk/mapbender/http/print/A2_landscape_template.odg
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/A2_landscape_template.odg
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/A2_landscape_template.pdf
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/A2_landscape_template.pdf
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: trunk/mapbender/http/print/img/northarrow_simple.png
===================================================================
(Binary files differ)


Property changes on: trunk/mapbender/http/print/img/northarrow_simple.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the Mapbender_commits mailing list