[Mapbender-commits] r7711 - trunk/mapbender/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 17 09:44:44 EDT 2011
Author: mh
Date: 2011-03-17 06:44:44 -0700 (Thu, 17 Mar 2011)
New Revision: 7711
Added:
trunk/mapbender/http/print/A0_landscape_template.json
trunk/mapbender/http/print/A0_landscape_template.odg
trunk/mapbender/http/print/A0_landscape_template.pdf
trunk/mapbender/http/print/A1_landscape_template.json
trunk/mapbender/http/print/A1_landscape_template.odg
trunk/mapbender/http/print/A1_landscape_template.pdf
Log:
Add Print-Templates for A1 and A0
Added: trunk/mapbender/http/print/A0_landscape_template.json
===================================================================
--- trunk/mapbender/http/print/A0_landscape_template.json (rev 0)
+++ trunk/mapbender/http/print/A0_landscape_template.json 2011-03-17 13:44:44 UTC (rev 7711)
@@ -0,0 +1,160 @@
+{
+ "type" : "templatePDF",
+ "orientation" : "L",
+ "units" : "mm",
+ "format" : "a0",
+ "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" : "../print/A0_landscape_template.pdf",
+ "useTplPage" : 1,
+ "elements" : {
+ "karte" : {
+ "type" : "map",
+ "res_dpi" : 72,
+ "x_ul" : 22.2,
+ "y_ul" : 15.2,
+ "width" : 1061.6,
+ "height" : 809.6,
+ "coords" : 1,
+ "coords_font_family" : "Arial",
+ "coords_font_size" : 7
+ },
+ "minikarte" : {
+ "type" : "overview",
+ "res_dpi" : 72,
+ "x_ul" : 1091,
+ "y_ul" : 677,
+ "width" : 86,
+ "height" : 86
+ },
+ "titel" : {
+ "type" : "text",
+ "x_ul" : 1123.7,
+ "y_ul" : 798,
+ "font_family" : "Arial",
+ "font_size" : 14
+ },
+ "scale" : {
+ "type" : "text",
+ "x_ul" : 1103,
+ "y_ul" : 789.6,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "scale"
+ },
+ "date" : {
+ "type" : "text",
+ "x_ul" : 1146,
+ "y_ul" : 789.6,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "date"
+ },
+ "nordpfeil" : {
+ "type" : "image",
+ "x_ul" : 1099.1,
+ "y_ul" : 775,
+ "width" : 6,
+ "height" : 12,
+ "angle" : 0,
+ "filename" : "../print/img/northarrow_simple.png"
+ },
+ "kommentar1" : {
+ "type" : "para",
+ "x_ul" : 1089.6,
+ "y_ul" : 801.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" : 1089.6,
+ "y_ul" : 808.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/A0_landscape_template.odg
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A0_landscape_template.odg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A0_landscape_template.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A0_landscape_template.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A1_landscape_template.json
===================================================================
--- trunk/mapbender/http/print/A1_landscape_template.json (rev 0)
+++ trunk/mapbender/http/print/A1_landscape_template.json 2011-03-17 13:44:44 UTC (rev 7711)
@@ -0,0 +1,160 @@
+{
+ "type" : "templatePDF",
+ "orientation" : "L",
+ "units" : "mm",
+ "format" : "a1",
+ "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" : "../print/A1_landscape_template.pdf",
+ "useTplPage" : 1,
+ "elements" : {
+ "karte" : {
+ "type" : "map",
+ "res_dpi" : 72,
+ "x_ul" : 22.2,
+ "y_ul" : 15.2,
+ "width" : 713.6,
+ "height" : 563.6,
+ "coords" : 1,
+ "coords_font_family" : "Arial",
+ "coords_font_size" : 7
+ },
+ "minikarte" : {
+ "type" : "overview",
+ "res_dpi" : 72,
+ "x_ul" : 743,
+ "y_ul" : 431,
+ "width" : 86,
+ "height" : 85.6
+ },
+ "titel" : {
+ "type" : "text",
+ "x_ul" : 775.7,
+ "y_ul" : 552,
+ "font_family" : "Arial",
+ "font_size" : 14
+ },
+ "scale" : {
+ "type" : "text",
+ "x_ul" : 755,
+ "y_ul" : 543.6,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "scale"
+ },
+ "date" : {
+ "type" : "text",
+ "x_ul" : 798,
+ "y_ul" : 543.6,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "date"
+ },
+ "nordpfeil" : {
+ "type" : "image",
+ "x_ul" : 751.1,
+ "y_ul" : 529,
+ "width" : 6,
+ "height" : 12,
+ "angle" : 0,
+ "filename" : "../print/img/northarrow_simple.png"
+ },
+ "kommentar1" : {
+ "type" : "para",
+ "x_ul" : 741.6,
+ "y_ul" : 555.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" : 741.6,
+ "y_ul" : 562.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/A1_landscape_template.odg
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A1_landscape_template.odg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A1_landscape_template.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A1_landscape_template.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the Mapbender_commits
mailing list