Commit a5df543b98db11d59adaa0c379b66bb1f8db65c8

Authored by Edmar Moretti
1 parent fd3b7677

v6.0 - correção na impressão pdf

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-&gt;SetFont(&#39;Arial&#39;,&#39;&#39;,9); @@ -148,7 +148,7 @@ $pdf-&gt;SetFont(&#39;Arial&#39;,&#39;&#39;,9);
148 //$pdf->Text(14,$nH+3,"Sistema de Refer&ecirc;ncia: SAD69"); 148 //$pdf->Text(14,$nH+3,"Sistema de Refer&ecirc;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;