Commit a5df543b98db11d59adaa0c379b66bb1f8db65c8
1 parent
fd3b7677
Exists in
master
and in
7 other branches
v6.0 - correção na impressão pdf
Showing
2 changed files
with
4 additions
and
3 deletions
Show diff stats
ferramentas/imprimir/a4lpaisagempdf.htm
@@ -8,7 +8,8 @@ | @@ -8,7 +8,8 @@ | ||
8 | <body class="yui-skin-sam"> | 8 | <body class="yui-skin-sam"> |
9 | </body> | 9 | </body> |
10 | <script type="text/javascript" > | 10 | <script type="text/javascript" > |
11 | -var titulo=window.prompt("Digite o titulo do mapa:") | ||
12 | -window.location="a4lpaisagempdf.php?titulo="+titulo+"&interface="+window.opener.i3GEO.Interface.ATUAL+"&mapexten="+window.opener.i3GEO.parametros.mapexten | 11 | +var titulo=window.prompt("Digite o titulo do mapa:"); |
12 | +var ext = window.opener.i3GEO.util.extOSM2Geo(window.opener.i3GEO.parametros.mapexten); | ||
13 | +window.location="a4lpaisagempdf.php?titulo="+titulo+"&interface="+window.opener.i3GEO.Interface.ATUAL+"&mapexten="+ext; | ||
13 | </script> | 14 | </script> |
14 | </html> | 15 | </html> |
15 | \ No newline at end of file | 16 | \ No newline at end of file |
ferramentas/imprimir/a4lpaisagempdf.php
@@ -148,7 +148,7 @@ $pdf->SetFont('Arial','',9); | @@ -148,7 +148,7 @@ $pdf->SetFont('Arial','',9); | ||
148 | //$pdf->Text(14,$nH+3,"Sistema de Referência: SAD69"); | 148 | //$pdf->Text(14,$nH+3,"Sistema de Referência: SAD69"); |
149 | $pdf->Image("../../imagens/i3geo1.jpg", 23, $nH+5, 25); | 149 | $pdf->Image("../../imagens/i3geo1.jpg", 23, $nH+5, 25); |
150 | $pdf->SetFont('Arial','',9); | 150 | $pdf->SetFont('Arial','',9); |
151 | -$textMsg = "Projeção Geográfica"; | 151 | +$textMsg = ""; |
152 | $xMsg = 292/2 - $pdf->GetStringWidth($textMsg)/2; | 152 | $xMsg = 292/2 - $pdf->GetStringWidth($textMsg)/2; |
153 | $pdf->Text($xMsg,$nH+28,$textMsg); | 153 | $pdf->Text($xMsg,$nH+28,$textMsg); |
154 | $wLegendaMax = 63; | 154 | $wLegendaMax = 63; |