forked from MapComplete/MapComplete
Fix: improve PDF-output functionality
This commit is contained in:
parent
c6283ac720
commit
215286a5af
22 changed files with 363 additions and 221 deletions
|
@ -27,6 +27,12 @@
|
|||
width="646.31287"
|
||||
height="26.69614"
|
||||
id="rect10143" />
|
||||
<rect
|
||||
x="52.013119"
|
||||
y="82.676552"
|
||||
width="85.749054"
|
||||
height="40.108173"
|
||||
id="rect13117" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="namedview7"
|
||||
|
@ -40,9 +46,9 @@
|
|||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="0.48119622"
|
||||
inkscape:cx="338.73915"
|
||||
inkscape:cy="566.29705"
|
||||
inkscape:zoom="0.44448165"
|
||||
inkscape:cx="677.19332"
|
||||
inkscape:cy="1470.2519"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="995"
|
||||
inkscape:window-x="0"
|
||||
|
@ -56,12 +62,12 @@
|
|||
inkscape:label="bg"
|
||||
style="display:inline">
|
||||
<rect
|
||||
style="fill:none;stroke:#000000;stroke-width:1.34605;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
style="fill:none;stroke:#000000;stroke-width:1.34072;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect27895"
|
||||
width="290.34955"
|
||||
height="403.45847"
|
||||
x="3.7768779"
|
||||
y="6.4455185"
|
||||
width="288.96408"
|
||||
height="402.18954"
|
||||
x="3.7742138"
|
||||
y="6.4428544"
|
||||
ry="0" />
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.456196;stroke:#000000;stroke-width:0.581828;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
|
@ -89,33 +95,33 @@
|
|||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:0.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect56707);display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan891"><tspan
|
||||
id="tspan1192"><tspan
|
||||
style="font-size:13.3333px;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan889">$map(current)</tspan></tspan></text>
|
||||
id="tspan1190">$map(current)</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,12.08115,27.672609)"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,45.266489,29.697692)"
|
||||
id="text3510"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:0;font-family:sans-serif;white-space:pre;shape-inside:url(#rect3512);fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan895"><tspan
|
||||
id="tspan1196"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan893">$general.pdf.attr
|
||||
id="tspan1194">$general.pdf.attr
|
||||
</tspan></tspan><tspan
|
||||
x="0"
|
||||
y="16.799999"
|
||||
id="tspan899"><tspan
|
||||
id="tspan1200"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan897">$general.pdf.attrBackground
|
||||
id="tspan1198">$general.pdf.attrBackground
|
||||
</tspan></tspan><tspan
|
||||
x="0"
|
||||
y="35.692733"
|
||||
id="tspan905"><tspan
|
||||
id="tspan1206"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan901">$general.pdf.generatedWith</tspan><tspan
|
||||
id="tspan1202">$general.pdf.generatedWith</tspan><tspan
|
||||
style="font-size:18.6667px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan903">
|
||||
id="tspan1204">
|
||||
</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
|
@ -129,9 +135,31 @@
|
|||
style="font-size:16px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';text-align:end;white-space:pre;shape-inside:url(#rect10143);fill:#000000;fill-opacity:0.914749;stroke:#ff0000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"><tspan
|
||||
x="1182.4844"
|
||||
y="871.91602"
|
||||
id="tspan909"><tspan
|
||||
id="tspan1210"><tspan
|
||||
style="fill-opacity:1;stroke:none"
|
||||
id="tspan907">$general.pdf.versionInfo</tspan></tspan></text>
|
||||
id="tspan1208">$general.pdf.versionInfo</tspan></tspan></text>
|
||||
<g
|
||||
id="g1402"
|
||||
style="display:inline"
|
||||
transform="translate(-0.22805341,-0.31130177)">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text13115"
|
||||
style="font-size:8px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';white-space:pre;shape-inside:url(#rect13117);fill:#000000;fill-opacity:0.559173;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"><tspan
|
||||
x="52.013672"
|
||||
y="88.953906"
|
||||
id="tspan1212">$img(layouticon)</tspan></text>
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.559173;stroke:#ff00ff;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
id="rect963"
|
||||
width="29.907761"
|
||||
height="29.907761"
|
||||
x="10.527658"
|
||||
y="12.790291"
|
||||
rx="0"
|
||||
ry="0" />
|
||||
</g>
|
||||
</g>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
|
@ -161,14 +189,14 @@
|
|||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect81706);fill:#000000;fill-opacity:1;stroke:none" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,11.738978,20.267151)"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,45.026071,20.99111)"
|
||||
id="text135030"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect135032);fill:#000000;fill-opacity:1;stroke:none"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan913"><tspan
|
||||
id="tspan1216"><tspan
|
||||
style="font-weight:bold;font-size:34.6667px;-inkscape-font-specification:'sans-serif, Bold'"
|
||||
id="tspan911">${title}</tspan></tspan></text>
|
||||
id="tspan1214">${title}</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
|
|
Before Width: | Height: | Size: 8.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
@ -15,11 +15,41 @@
|
|||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs33">
|
||||
<rect
|
||||
x="52.013117"
|
||||
y="82.676553"
|
||||
width="85.749051"
|
||||
height="40.108173"
|
||||
id="rect13117" />
|
||||
<rect
|
||||
x="44.571302"
|
||||
y="85.980285"
|
||||
width="88.070577"
|
||||
height="21.464239"
|
||||
id="rect11532" />
|
||||
<rect
|
||||
x="146.53725"
|
||||
y="50.738669"
|
||||
width="626.74933"
|
||||
height="43.564572"
|
||||
id="rect29943" />
|
||||
<rect
|
||||
x="143.94905"
|
||||
y="75.850946"
|
||||
width="356.14897"
|
||||
height="104.31819"
|
||||
id="rect20599" />
|
||||
<rect
|
||||
x="146.35217"
|
||||
y="95.193393"
|
||||
width="619.52235"
|
||||
height="67.510544"
|
||||
id="rect9427" />
|
||||
<rect
|
||||
x="39.439771"
|
||||
y="61.24773"
|
||||
width="104.91111"
|
||||
height="99.590532"
|
||||
width="29.652726"
|
||||
height="17.960281"
|
||||
id="rect7785" />
|
||||
<rect
|
||||
x="41.547712"
|
||||
|
@ -46,9 +76,9 @@
|
|||
showgrid="false"
|
||||
showguides="true"
|
||||
inkscape:guide-bbox="true"
|
||||
inkscape:zoom="1.3296534"
|
||||
inkscape:cx="4.5124542"
|
||||
inkscape:cy="96.641727"
|
||||
inkscape:zoom="1.5544701"
|
||||
inkscape:cx="130.59113"
|
||||
inkscape:cy="85.23805"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="995"
|
||||
inkscape:window-x="0"
|
||||
|
@ -72,7 +102,7 @@
|
|||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.456196;stroke:#000000;stroke-width:0.581828;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="rect28206"
|
||||
width="203.38158"
|
||||
width="203.382"
|
||||
height="35.362419"
|
||||
x="6.3702731"
|
||||
y="9.6101332"
|
||||
|
@ -80,24 +110,13 @@
|
|||
rx="4.3605742" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
transform="(0.26458333)"
|
||||
id="text4911"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect4913);fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text10253"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect10255);fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,14.472331,73.799994)"
|
||||
id="text56705"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:0.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect56707);display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan2018"><tspan
|
||||
style="font-size:13.3333px;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan2016">$map(current)</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,38.20272,27.672609)"
|
||||
|
@ -105,27 +124,12 @@
|
|||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:0;font-family:sans-serif;white-space:pre;shape-inside:url(#rect3512);fill:#000000;fill-opacity:1;stroke:#000000;stroke-opacity:1"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan2022"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan2020">$general.pdf.attr
|
||||
</tspan></tspan><tspan
|
||||
x="0"
|
||||
y="16.799999"
|
||||
id="tspan2026"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan2024">$general.pdf.attrBackground
|
||||
</tspan></tspan><tspan
|
||||
x="0"
|
||||
y="35.692733"
|
||||
id="tspan2032"><tspan
|
||||
style="font-size:16px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan2028">$general.pdf.generatedWith</tspan><tspan
|
||||
id="tspan1371"><tspan
|
||||
style="font-size:18.6667px;line-height:1.05;-inkscape-font-specification:'sans-serif, Normal'"
|
||||
id="tspan2030">
|
||||
id="tspan1369">
|
||||
</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text19136"
|
||||
style="fill:#000000;-inkscape-font-specification:'sans-serif, Normal';font-family:sans-serif;font-size:16px;text-align:center;stroke-linecap:round;stroke-linejoin:round;stroke-width:0.37795276;stroke:#000000;white-space:pre;shape-inside:url(#rect19138);stroke-opacity:1" />
|
||||
<text
|
||||
|
@ -135,21 +139,57 @@
|
|||
style="font-size:16px;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';text-align:end;white-space:pre;shape-inside:url(#rect10143);fill:#000000;fill-opacity:0.914749;stroke:#ff0000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"><tspan
|
||||
x="1182.4844"
|
||||
y="871.91602"
|
||||
id="tspan2036"><tspan
|
||||
id="tspan1375"><tspan
|
||||
style="fill-opacity:1;stroke:none"
|
||||
id="tspan2034">$general.pdf.versionInfo</tspan></tspan></text>
|
||||
id="tspan1373">$general.pdf.versionInfo</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,-1.5395742,-2.3571711)"
|
||||
id="text7783"
|
||||
style="font-size:16px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';text-align:start;white-space:pre;shape-inside:url(#rect7785);fill:#000000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"
|
||||
x="-98.273438"
|
||||
y="0"><tspan
|
||||
x="39.439453"
|
||||
y="73.804296"
|
||||
id="tspan2040"><tspan
|
||||
style="font-size:8px"
|
||||
id="tspan2038">$img(layouticon)</tspan></tspan></text>
|
||||
id="text9425"
|
||||
style="font-size:8px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';white-space:pre;shape-inside:url(#rect9427);fill:#000000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"
|
||||
transform="matrix(0.27887389,0,0,0.27887389,3.4774857,-1.6117409)"><tspan
|
||||
x="146.35156"
|
||||
y="109.84234"
|
||||
id="tspan1379"><tspan
|
||||
style="font-size:18.6667px"
|
||||
id="tspan1377">$general.pdf.attr
|
||||
</tspan></tspan><tspan
|
||||
x="146.35156"
|
||||
y="129.44238"
|
||||
id="tspan1383"><tspan
|
||||
style="font-size:18.6667px"
|
||||
id="tspan1381">$general.pdf.attrBackground
|
||||
</tspan></tspan><tspan
|
||||
x="146.35156"
|
||||
y="149.04242"
|
||||
id="tspan1387"><tspan
|
||||
style="font-size:18.6667px"
|
||||
id="tspan1385">$general.pdf.generatedWith</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text11530"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:8px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre;shape-inside:url(#rect11532);fill:#ff0000;fill-opacity:0.559173;stroke:#ff00ff;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"><tspan
|
||||
x="44.572266"
|
||||
y="92.258594"
|
||||
id="tspan1391"><tspan
|
||||
style="fill:#000000;stroke:none"
|
||||
id="tspan1389">$map(current)</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text13115"
|
||||
style="font-size:8px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';white-space:pre;shape-inside:url(#rect13117);fill:#000000;fill-opacity:0.559173;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"><tspan
|
||||
x="52.013672"
|
||||
y="88.953906"
|
||||
id="tspan1393">$img(layouticon)</tspan></text>
|
||||
<rect
|
||||
style="fill:#ffffff;fill-opacity:0.55917299;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:#ff00ff;stroke-opacity:1"
|
||||
id="rect963"
|
||||
width="29.907761"
|
||||
height="29.907761"
|
||||
x="10.527658"
|
||||
y="12.790291"
|
||||
rx="0"
|
||||
ry="0" />
|
||||
</g>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
|
@ -158,7 +198,6 @@
|
|||
style="display:inline">
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text62796"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect62798);fill:#000000;fill-opacity:1;stroke:none" />
|
||||
<text
|
||||
|
@ -174,19 +213,8 @@
|
|||
id="tspan8613-8" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="scale(0.26458333)"
|
||||
id="text81704"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect81706);fill:#000000;fill-opacity:1;stroke:none" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
transform="matrix(0.26458333,0,0,0.26458333,37.860548,20.267151)"
|
||||
id="text135030"
|
||||
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;white-space:pre;shape-inside:url(#rect135032);fill:#000000;fill-opacity:1;stroke:none"><tspan
|
||||
x="0"
|
||||
y="0"
|
||||
id="tspan2044"><tspan
|
||||
style="font-weight:bold;font-size:34.6667px;-inkscape-font-specification:'sans-serif, Bold'"
|
||||
id="tspan2042">${title}</tspan></tspan></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-weight:normal;font-size:10.5833px;line-height:1.25;font-family:sans-serif;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.264583"
|
||||
|
@ -203,5 +231,19 @@
|
|||
id="tspan53311"
|
||||
x="105.86118"
|
||||
y="129.4847" /></text>
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text20597"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:18.6667px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre;shape-inside:url(#rect20599);fill:#000000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
id="text29941"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:18.6667px;line-height:1.05;font-family:sans-serif;-inkscape-font-specification:'sans-serif, Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-east-asian:normal;white-space:pre;shape-inside:url(#rect29943);fill:#000000;stroke-width:3.77953;stroke-linecap:round;stroke-linejoin:round"
|
||||
transform="matrix(0.27887389,0,0,0.27887389,3.2770649,-0.61374399)"><tspan
|
||||
x="146.53711"
|
||||
y="77.943514"
|
||||
id="tspan1397"><tspan
|
||||
style="font-weight:bold;font-size:34.6667px;-inkscape-font-specification:'sans-serif, Bold'"
|
||||
id="tspan1395">${title}</tspan></tspan></text>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 11 KiB |
Loading…
Add table
Add a link
Reference in a new issue