[Mapbender-commits] r5607 - trunk/mapbender/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Feb 23 09:23:52 EST 2010
Author: astrid_emde
Date: 2010-02-23 09:23:52 -0500 (Tue, 23 Feb 2010)
New Revision: 5607
Added:
trunk/mapbender/http/print/A4_portrait_template.json
trunk/mapbender/http/print/A4_portrait_template.odg
trunk/mapbender/http/print/A4_portrait_template.pdf
Log:
new template for A4 portrait
Added: trunk/mapbender/http/print/A4_portrait_template.json
===================================================================
--- trunk/mapbender/http/print/A4_portrait_template.json (rev 0)
+++ trunk/mapbender/http/print/A4_portrait_template.json 2010-02-23 14:23:52 UTC (rev 5607)
@@ -0,0 +1,181 @@
+{
+ "type" : "templatePDF",
+ "orientation" : "P",
+ "units" : "mm",
+ "format" : "a4",
+ "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" : "A4_portrait_template.pdf",
+ "useTplPage" : 1,
+ "elements" : {
+ "karte" : {
+ "type" : "map",
+ "res_dpi" : 72,
+ "x_ul" : 9.4,
+ "y_ul" : 34.1,
+ "width" : 190.4,
+ "height" : 241,
+ "coords" : 1,
+ "coords_font_family" : "Arial",
+ "coords_font_size" : 8
+ },
+ "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" : 9.2,
+ "y_ul" : 34.1,
+ "width" : 40,
+ "height" : 40
+ },
+ "titel" : {
+ "type" : "text",
+ "x_ul" : 10,
+ "y_ul" : 9,
+ "font_family" : "Arial",
+ "font_size" : 15
+ },
+ "scale" : {
+ "type" : "text",
+ "x_ul" : 32.5,
+ "y_ul" : 17,
+ "font_family" : "Arial",
+ "font_size" : 11,
+ "value" : "scale"
+ },
+ "date" : {
+ "type" : "text",
+ "x_ul" : 32.5,
+ "y_ul" : 25,
+ "font_family" : "Arial",
+ "font_size" : 11,
+ "value" : "scale"
+ },
+ "nordpfeil" : {
+ "type" : "image",
+ "x_ul" : 184,
+ "y_ul" : 49,
+ "width" : 16,
+ "height" : 16,
+ "angle" : 0,
+ "filename" : "./img/northarrow.png"
+ },
+ "kommentar1" : {
+ "type" : "para",
+ "x_ul" : 81.2,
+ "y_ul" : 18.2,
+ "font_family" : "Arial",
+ "font_size" : 11,
+ "width" : 40,
+ "height" : 6,
+ "align" : "L",
+ "border" : 0,
+ "fill" : 1,
+ "border_width" : 0.5
+ },
+ "kommentar2" : {
+ "type" : "para",
+ "x_ul" : 81.2,
+ "y_ul" : 23.6,
+ "font_family" : "Arial",
+ "font_size" : 11,
+ "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/A4_portrait_template.odg
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A4_portrait_template.odg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A4_portrait_template.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A4_portrait_template.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the Mapbender_commits
mailing list