[Mapbender-commits] r5519 - trunk/mapbender/http/print
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Feb 19 06:11:50 EST 2010
Author: astrid_emde
Date: 2010-02-19 06:11:49 -0500 (Fri, 19 Feb 2010)
New Revision: 5519
Added:
trunk/mapbender/http/print/A3_landscape_template.json
trunk/mapbender/http/print/A3_landscape_template.odg
trunk/mapbender/http/print/A3_landscape_template.pdf
trunk/mapbender/http/print/A4_landscape_template.json
trunk/mapbender/http/print/A4_landscape_template.odg
trunk/mapbender/http/print/A4_landscape_template.pdf
Log:
templates json, pdf and odg for A3, A4 landscape
Added: trunk/mapbender/http/print/A3_landscape_template.json
===================================================================
--- trunk/mapbender/http/print/A3_landscape_template.json (rev 0)
+++ trunk/mapbender/http/print/A3_landscape_template.json 2010-02-19 11:11:49 UTC (rev 5519)
@@ -0,0 +1,181 @@
+{
+ "type" : "templatePDF",
+ "orientation" : "L",
+ "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" : "Kommentar1",
+ "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_landscape_template.pdf",
+ "useTplPage" : 1,
+ "elements" : {
+ "karte" : {
+ "type" : "map",
+ "res_dpi" : 72,
+ "x_ul" : 8.8,
+ "y_ul" : 15.2,
+ "width" : 292,
+ "height" : 259.5,
+ "coords" : 1,
+ "coords_font_family" : "Arial",
+ "coords_font_size" : 11
+ },
+ "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" : 311.5,
+ "y_ul" : 15.2,
+ "width" : 101.25,
+ "height" : 90
+ },
+ "titel" : {
+ "type" : "text",
+ "x_ul" : 9,
+ "y_ul" : 11.5,
+ "font_family" : "Arial",
+ "font_size" : 24
+ },
+ "scale" : {
+ "type" : "text",
+ "x_ul" : 347,
+ "y_ul" : 172.4,
+ "font_family" : "Arial",
+ "font_size" : 20,
+ "value" : "scale"
+ },
+ "date" : {
+ "type" : "text",
+ "x_ul" : 347,
+ "y_ul" : 158.7,
+ "font_family" : "Arial",
+ "font_size" : 20,
+ "value" : "scale"
+ },
+ "nordpfeil" : {
+ "type" : "image",
+ "x_ul" : 322,
+ "y_ul" : 125,
+ "width" : 24,
+ "height" : 24,
+ "angle" : 0,
+ "filename" : "./img/northarrow.png"
+ },
+ "kommentar1" : {
+ "type" : "para",
+ "x_ul" : 312.5,
+ "y_ul" : 203,
+ "font_family" : "Arial",
+ "font_size" : 20,
+ "width" : 45,
+ "height" : 7,
+ "align" : "L",
+ "border" : 0,
+ "fill" : 1,
+ "border_width" : 0.5
+ },
+ "kommentar2" : {
+ "type" : "para",
+ "x_ul" : 312.5,
+ "y_ul" : 215,
+ "font_family" : "Arial",
+ "font_size" : 20,
+ "width" : 45,
+ "height" : 7,
+ "align" : "L",
+ "border" : 0,
+ "fill" : 1,
+ "border_width" : 0.5
+ }
+ }
+ }
+ ]
+}
\ No newline at end of file
Added: trunk/mapbender/http/print/A3_landscape_template.odg
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A3_landscape_template.odg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A3_landscape_template.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A3_landscape_template.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A4_landscape_template.json
===================================================================
--- trunk/mapbender/http/print/A4_landscape_template.json (rev 0)
+++ trunk/mapbender/http/print/A4_landscape_template.json 2010-02-19 11:11:49 UTC (rev 5519)
@@ -0,0 +1,181 @@
+{
+ "type" : "templatePDF",
+ "orientation" : "L",
+ "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" : "Kommentar1",
+ "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_landscape_template.pdf",
+ "useTplPage" : 1,
+ "elements" : {
+ "karte" : {
+ "type" : "map",
+ "res_dpi" : 72,
+ "x_ul" : 8.8,
+ "y_ul" : 13.6,
+ "width" : 203.5,
+ "height" : 180.8,
+ "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" : 222.3,
+ "y_ul" : 13.6,
+ "width" : 67.5,
+ "height" : 60
+ },
+ "titel" : {
+ "type" : "text",
+ "x_ul" : 9,
+ "y_ul" : 10,
+ "font_family" : "Arial",
+ "font_size" : 14
+ },
+ "scale" : {
+ "type" : "text",
+ "x_ul" : 245,
+ "y_ul" : 123.8,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "scale"
+ },
+ "date" : {
+ "type" : "text",
+ "x_ul" : 245,
+ "y_ul" : 114,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "value" : "scale"
+ },
+ "nordpfeil" : {
+ "type" : "image",
+ "x_ul" : 230,
+ "y_ul" : 85.5,
+ "width" : 16,
+ "height" : 16,
+ "angle" : 0,
+ "filename" : "./img/northarrow.png"
+ },
+ "kommentar1" : {
+ "type" : "para",
+ "x_ul" : 219,
+ "y_ul" : 145,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "width" : 45,
+ "height" : 7,
+ "align" : "L",
+ "border" : 0,
+ "fill" : 1,
+ "border_width" : 0.5
+ },
+ "kommentar2" : {
+ "type" : "para",
+ "x_ul" : 219,
+ "y_ul" : 152.5,
+ "font_family" : "Arial",
+ "font_size" : 12,
+ "width" : 45,
+ "height" : 7,
+ "align" : "L",
+ "border" : 0,
+ "fill" : 1,
+ "border_width" : 0.5
+ }
+ }
+ }
+ ]
+}
\ No newline at end of file
Property changes on: trunk/mapbender/http/print/A4_landscape_template.json
___________________________________________________________________
Added: svn:executable
+ *
Added: trunk/mapbender/http/print/A4_landscape_template.odg
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A4_landscape_template.odg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/mapbender/http/print/A4_landscape_template.pdf
===================================================================
(Binary files differ)
Property changes on: trunk/mapbender/http/print/A4_landscape_template.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the Mapbender_commits
mailing list