Commit eddceedb3356bcc00f746ac5bb9c91c242314363

Authored by Edmar Moretti
1 parent fc1c9bd9

v6 - correção na ferramenta opções tamanho

ferramentas/opcoes_tamanho/dicionario.js
@@ -29,5 +29,10 @@ i3GEOF.opcoesTamanho.dicionario = { @@ -29,5 +29,10 @@ i3GEOF.opcoesTamanho.dicionario = {
29 en:"", 29 en:"",
30 es:"", 30 es:"",
31 it:"" 31 it:""
  32 + }],
  33 + 6: [{
  34 + pt:"Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",
  35 + en:"",
  36 + es:""
32 }] 37 }]
33 }; 38 };
34 \ No newline at end of file 39 \ No newline at end of file
ferramentas/opcoes_tamanho/index.js
@@ -102,6 +102,7 @@ i3GEOF.opcoesTamanho = { @@ -102,6 +102,7 @@ i3GEOF.opcoesTamanho = {
102 box.style.height = i3GEO.parametros.h + "px"; 102 box.style.height = i3GEO.parametros.h + "px";
103 box.style.display = "block"; 103 box.style.display = "block";
104 box.style.zIndex = 2; 104 box.style.zIndex = 2;
  105 + i3GEO.janela.tempoMsg($trad(6,i3GEOF.opcoesLegenda.dicionario));
105 } 106 }
106 catch(erro){i3GEO.janela.tempoMsg(erro);} 107 catch(erro){i3GEO.janela.tempoMsg(erro);}
107 }, 108 },
@@ -188,6 +189,7 @@ i3GEOF.opcoesTamanho = { @@ -188,6 +189,7 @@ i3GEOF.opcoesTamanho = {
188 if ((l > 5) && (a > 5)){ 189 if ((l > 5) && (a > 5)){
189 i3GEO.parametros.w = l; 190 i3GEO.parametros.w = l;
190 i3GEO.parametros.h = a; 191 i3GEO.parametros.h = a;
  192 + /*
191 $i(i3GEO.Interface.IDMAPA).style.width= l+"px"; 193 $i(i3GEO.Interface.IDMAPA).style.width= l+"px";
192 $i(i3GEO.Interface.IDMAPA).style.height= a+"px"; 194 $i(i3GEO.Interface.IDMAPA).style.height= a+"px";
193 $i(i3GEO.Interface.IDCORPO).style.width= l+"px"; 195 $i(i3GEO.Interface.IDCORPO).style.width= l+"px";
@@ -197,21 +199,22 @@ i3GEOF.opcoesTamanho = { @@ -197,21 +199,22 @@ i3GEOF.opcoesTamanho = {
197 {calc += parseInt($i("ferramentas").style.width,10);} 199 {calc += parseInt($i("ferramentas").style.width,10);}
198 if ($i("contemFerramentas")) 200 if ($i("contemFerramentas"))
199 {calc += parseInt($i("contemFerramentas").style.width,10);} 201 {calc += parseInt($i("contemFerramentas").style.width,10);}
200 - //if($i("mst"))  
201 - //{$i("mst").style.width = (l * 1) + calc + "px";}  
202 if($i("contemImg")){ 202 if($i("contemImg")){
203 $i("contemImg").style.height= a+"px"; 203 $i("contemImg").style.height= a+"px";
204 $i("contemImg").style.width= l+"px"; 204 $i("contemImg").style.width= l+"px";
205 } 205 }
  206 + */
206 temp = function(){ 207 temp = function(){
207 - i3GEO.atualiza();  
208 - i3GEO.guias.ALTURACORPOGUIAS = a; 208 + //i3GEO.atualiza();
  209 + //i3GEO.guias.ALTURACORPOGUIAS = a;
209 i3GEOF.opcoesTamanho.aguarde.visibility = "hidden"; 210 i3GEOF.opcoesTamanho.aguarde.visibility = "hidden";
  211 + /*
210 if(i3GEO.guias.TIPO === "movel") 212 if(i3GEO.guias.TIPO === "movel")
211 {i3GEO.guias.guiaMovel.reposiciona();} 213 {i3GEO.guias.guiaMovel.reposiciona();}
212 else 214 else
213 {i3GEO.guias.ajustaAltura();} 215 {i3GEO.guias.ajustaAltura();}
214 i3GEO.mapa.reposicionaDobraPagina(); 216 i3GEO.mapa.reposicionaDobraPagina();
  217 + */
215 }; 218 };
216 p = i3GEO.configura.locaplic+"/ferramentas/opcoes_tamanho/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=mudatamanho&altura="+a+"&largura="+l; 219 p = i3GEO.configura.locaplic+"/ferramentas/opcoes_tamanho/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=mudatamanho&altura="+a+"&largura="+l;
217 cp = new cpaint(); 220 cp = new cpaint();