[Mapbender-commits] r5605 - trunk/mapbender/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Feb 23 09:08:45 EST 2010


Author: astrid_emde
Date: 2010-02-23 09:08:44 -0500 (Tue, 23 Feb 2010)
New Revision: 5605

Added:
   trunk/mapbender/http/print/A3_portrait_template.json
   trunk/mapbender/http/print/A3_portrait_template.odg
   trunk/mapbender/http/print/A3_portrait_template.pdf
Log:
new template for A3 portrait

Added: trunk/mapbender/http/print/A3_portrait_template.json
===================================================================
--- trunk/mapbender/http/print/A3_portrait_template.json	                        (rev 0)
+++ trunk/mapbender/http/print/A3_portrait_template.json	2010-02-23 14:08:44 UTC (rev 5605)
@@ -0,0 +1,181 @@
+{
+    "type" : "templatePDF",
+    "orientation" : "P",
+    "units" : "mm",
+    "format" : "a3",
+    "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" : "56",
+    			"label" : "niedrig (56)"
+    			},{
+    			"value" : "72",
+    			"label" : "normal (72)"
+    			},{
+    			"value" : "144",
+    			"label" : "hoch (dpi)"
+    			}
+    		]
+    	},
+    	{
+    		"id" : "comment1",
+    		"label" : "Kommentar 1",
+    		"type" : "textarea",
+    		"size" : 5,
+    		"pageElementsLink" : {
+    			"kommentar1" : "value"
+    		}
+    	},
+    	{
+    		"id" : "comment2",
+    		"label" : "Kommentar 2",
+    		"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" : "A3_portrait_template.pdf",
+    	 "useTplPage" : 1,
+    	 "elements" : {
+	    	 "karte" : {
+    			"type" : "map",
+    			"res_dpi" : 72,
+    			"x_ul" : 11.3,
+	    		"y_ul" : 39.6,
+	    		"width" : 274.8,
+    			"height" : 350.4,
+    			"coords" : 1,
+    			"coords_font_family" : "Arial",
+    			"coords_font_size" : 9
+	   			},
+	   		"messung" : {
+    			"type" : "measure",
+    			"do_fill" : 0,
+    			"fill_color" : {
+    				"r" : 255,
+    				"g" : 0,
+    				"b" : 0
+    				},
+    			"do_stroke" : 0,
+    			"stroke_color" : {
+    				"r" : 0,
+    				"g" : 0,
+    				"b" : 0
+    				},
+    			"line_style" : {
+    				"width" : 1.0
+    				}
+	   			},
+	   		"minikarte" : {
+    			"type" : "overview",
+    			"res_dpi" : 72,
+    			"x_ul" : 11.3,
+	    		"y_ul" : 39.6,
+	    		"width" : 60,
+    			"height" : 60
+	   			},
+	   		"titel" : {
+    			"type" : "text",
+    			"x_ul" : 10.5,
+	    		"y_ul" : 10,
+	    		"font_family" : "Arial",
+	    		"font_size" : 17
+	   			},
+	   		"scale" : {
+    			"type" : "text",
+    			"x_ul" : 37.5,
+	    		"y_ul" : 20.1,
+	    		"font_family" : "Arial",
+	    		"font_size" : 14,
+				"value" : "scale"
+	   		},
+	   		"date" : {
+    			"type" : "text",
+    			"x_ul" : 37.5,
+	    		"y_ul" : 29.9,
+	    		"font_family" : "Arial",
+	    		"font_size" : 14,
+				"value" : "scale"
+	   		},
+	   		"nordpfeil" : {
+    			"type" : "image",
+    			"x_ul" : 264,
+	    		"y_ul" : 59,
+	    		"width" : 20,
+	    		"height" : 20,
+	    		"angle" : 0,
+				"filename" : "./img/northarrow.png"
+	   		},
+	   		"kommentar1" : {
+    			"type" : "para",
+    			"x_ul" : 114,
+	    		"y_ul" : 22,
+	    		"font_family" : "Arial",
+	    		"font_size" : 14,
+	    		"width" : 40,
+	    		"height" : 6,
+	    		"align" : "L",
+	    		"border" : 0,
+	    		"fill" : 1,
+	    		"border_width" : 0.5
+	   			},
+	   		"kommentar2" : {
+    			"type" : "para",
+    			"x_ul" : 114,
+	    		"y_ul" : 29,
+	    		"font_family" : "Arial",
+	    		"font_size" : 14,
+	    		"width" : 40,
+	    		"height" : 6,
+	    		"align" : "L",
+	    		"border" : 0,
+	    		"fill" : 1,
+	    		"border_width" : 0.5
+	   			}
+	   		}
+	   	}
+	]
+}
\ No newline at end of file

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


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

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


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



More information about the Mapbender_commits mailing list