public static function generateIDH_evolucao($block_evolucao)
 {
     $idhm = TextBuilder::getVariaveis_table(TextBuilder::$idMunicipio, "IDHM");
     //IDHM
     $idhm_r = TextBuilder::getVariaveis_table(TextBuilder::$idMunicipio, "IDHM_R");
     //IDHM_R
     $idhm_l = TextBuilder::getVariaveis_table(TextBuilder::$idMunicipio, "IDHM_L");
     //IDHM_L
     $idhm_e = TextBuilder::getVariaveis_table(TextBuilder::$idMunicipio, "IDHM_E");
     //IDHM_E
     if (TextBuilder::$type == "perfil_udh") {
         $idhm_rm = TextBuilder::getVariaveis_RM(TextBuilder::$idMunicipio, "IDHM");
     } else {
         $idhm_uf = TextBuilder::getVariaveis_Uf(TextBuilder::$idMunicipio, "IDHM");
     }
     //IDHM do Estado
     $idhm_brasil = TextBuilder::getVariaveis_Brasil("IDHM");
     //IDHM do Brasil
     $idhm_r_br = TextBuilder::getVariaveis_Brasil("IDHM_R");
     //IDHM_R
     $idhm_l_br = TextBuilder::getVariaveis_Brasil("IDHM_L");
     //IDHM_L
     $idhm_e_br = TextBuilder::getVariaveis_Brasil("IDHM_E");
     //IDHM_E
     $block_evolucao->setData("subtitulo", TextBuilder::$aba->getSubTitulo());
     //@Translate
     $block_evolucao->setData("fonte", TextBuilder::$fontePerfil);
     //----------------------------------------------------------------------------------------
     //Evolução entre os anos de 2000 e 2010
     $block_evolucao->setData("info1", "");
     if (TextBuilder::$type != "perfil_rm") {
         //@Translate
         $str1 = TextBuilder::$aba->getTexto();
         $texto1 = new Texto($str1);
         $texto1->replaceTags("municipio", TextBuilder::$nomeMunicipio);
         $texto1->replaceTags("IDHM2000", Formulas::getIDH2000($idhm));
         $texto1->replaceTags("IDHM2010", Formulas::getIDH2010($idhm));
         $texto1->replaceTags("Tx_crescimento_0010", Formulas::getTaxaCrescimento0010($idhm));
         //Cálculo do HIATO
         //$reducao_hiato_0010 = (($idhm[2]["valor"] - $idhm[1]["valor"]) / (1 - $idhm[1]["valor"])) * 100;
         $texto1->replaceTags("reducao_hiato_0010", Formulas::getReducaoHiato0010($idhm));
         //print_r(Formulas::getReducaoHiato0010puro($idhm)); die();
         if (Formulas::getReducaoHiato0010puro($idhm) >= 0) {
             $texto1->replaceTags("reduzido_aumentado", TextBuilder::$aba->getReduzido());
         } else {
             $texto1->replaceTags("reduzido_aumentado", TextBuilder::$aba->getAumentado());
         }
         //@Translate
         $texto1->replaceTags("Dimensao2000a2010", Formulas::getDimensao(TextBuilder::$lang, $idhm_r, $idhm_l, $idhm_e, array("faixa0010" => true, "faixa9100" => false, "faixa9110" => false)));
         $block_evolucao->setData("text1", $texto1->getTexto());
         //----------------------------------------------------------------------------------------
         //Evolução entre os anos de 1991 e 2000
         $block_evolucao->setData("info2", "");
         //@Translate
         $str2 = TextBuilder::$aba->getTexto2();
         $texto2 = new Texto($str2);
         $texto2->replaceTags("municipio", TextBuilder::$nomeMunicipio);
         $texto2->replaceTags("IDHM1991", Formulas::getIDH1991($idhm));
         $texto2->replaceTags("IDHM2000", Formulas::getIDH2000($idhm));
         //@NãoInclusoEmRM&UDH
         if (TextBuilder::$type != "perfil_rm" && TextBuilder::$type != "perfil_udh") {
             $texto2->replaceTags("Tx_crescimento_9100", Formulas::getTaxaCrescimento9100($idhm));
         }
         //Cálculo do HIATO
         //$reducao_hiato_9100 = (($idhm[1]["valor"] - $idhm[0]["valor"]) / (1 - $idhm[0]["valor"])) * 100;
         $texto2->replaceTags("reducao_hiato_9100", Formulas::getReducaoHiato9100($idhm));
         if (Formulas::getReducaoHiato9100puro($idhm) >= 0) {
             $texto2->replaceTags("reduzido_aumentado", TextBuilder::$aba->getReduzido());
         } else {
             $texto2->replaceTags("reduzido_aumentado", TextBuilder::$aba->getAumentado());
         }
         //@Translate
         $texto2->replaceTags("Dimensao1991a2000", Formulas::getDimensao(TextBuilder::$lang, $idhm_r, $idhm_l, $idhm_e, array("faixa0010" => false, "faixa9100" => true, "faixa9110" => false)));
         $block_evolucao->setData("text2", $texto2->getTexto());
     }
     //----------------------------------------------------------------------------------------
     //Evolução entre os anos de 1991 e 2010
     $block_evolucao->setData("info3", "");
     //@Translate
     $str3 = TextBuilder::$aba->getTexto3();
     $texto3 = new Texto($str3);
     $texto3->replaceTags("municipio", TextBuilder::$nomeMunicipio);
     $texto3->replaceTags("idhm_uf_91", number_format($idhm[0]["valor"], 3, ",", "."));
     $texto3->replaceTags("idhm_uf_00", number_format($idhm[1]["valor"], 3, ",", "."));
     $texto3->replaceTags("idhm_uf_10", number_format($idhm[2]["valor"], 3, ",", "."));
     $texto3->replaceTags("idhm_br_91", number_format($idhm_brasil[0]["valor"], 3, ",", "."));
     $texto3->replaceTags("idhm_br_00", number_format($idhm_brasil[1]["valor"], 3, ",", "."));
     $texto3->replaceTags("idhm_br_10", number_format($idhm_brasil[2]["valor"], 3, ",", "."));
     $texto3->replaceTags("Tx_crescimento_0010", Formulas::getTaxaCrescimento0010($idhm));
     //Taxa de Crescimento
     //@NãoInclusoEmRM&UDH
     if (TextBuilder::$type != "perfil_rm" && TextBuilder::$type != "perfil_udh") {
         $tx_cresc_9110 = Formulas::getTaxaCrescimento9110($idhm);
         $texto3->replaceTags("Tx_crescimento_9110", $tx_cresc_9110);
         //----------------------------------------
         //Taxa de Crescimento em relação ao BRASIL
         $tx_cresc_Brasil9110 = Formulas::getTaxaCrescimento9110BRASIL($idhm_brasil);
         if ($tx_cresc_Brasil9110 < $tx_cresc_9110) {
             $texto3->replaceTags("tx_cresc_Brasil9110", abs($tx_cresc_Brasil9110));
             $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getAcima());
             //@Translate
         } else {
             if ($tx_cresc_Brasil9110 == $tx_cresc_9110) {
                 $texto3->replaceTags("tx_cresc_Brasil9110", abs($tx_cresc_Brasil9110));
                 $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getIgual());
                 //@Translate
             } else {
                 if ($tx_cresc_Brasil9110 > $tx_cresc_9110) {
                     $texto3->replaceTags("tx_cresc_Brasil9110", abs($tx_cresc_Brasil9110));
                     $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getAbaixo());
                     //@Translate
                 }
             }
         }
         //----------------------------------------
         //Taxa de Crescimento em relação ao ESTADO
         if (TextBuilder::$type == "perfil_udh") {
             $tx_cresc_UfRm9110 = Formulas::getTaxaCrescimento9110UfRm($idhm_rm);
         } else {
             $tx_cresc_UfRm9110 = Formulas::getTaxaCrescimento9110UfRm($idhm_uf);
         }
         if ($tx_cresc_UfRm9110 < $tx_cresc_9110) {
             $texto3->replaceTags("abaixo_acima_uf", TextBuilder::$aba->getAcima());
             //@Translate
             $texto3->replaceTags("tx_cresc_Estado9110", abs($tx_cresc_UfRm9110));
         } else {
             if ($tx_cresc_UfRm9110 == $tx_cresc_9110) {
                 $texto3->replaceTags("tx_cresc_Estado9110", abs($tx_cresc_UfRm9110));
                 $texto3->replaceTags("abaixo_acima_uf", TextBuilder::$aba->getIgual());
                 //@Translate
             } else {
                 if ($tx_cresc_UfRm9110 > $tx_cresc_9110) {
                     $texto3->replaceTags("abaixo_acima_uf", TextBuilder::$aba->getAbaixo());
                     //@Translate
                     $texto3->replaceTags("tx_cresc_Estado9110", abs($tx_cresc_UfRm9110));
                 }
             }
         }
     }
     //@NãoInclusoEmRM&UDH
     //
     //
     $tx_cresc_0010 = Formulas::getTaxaCrescimento0010($idhm);
     //----------------------------------------
     //Taxa de Crescimento em relação ao BRASIL
     $tx_cresc_Brasil0010 = Formulas::getTaxaCrescimento0010BRASIL($idhm_brasil);
     if ($tx_cresc_Brasil0010 < $tx_cresc_0010) {
         $texto3->replaceTags("tx_cresc_Brasil0010", abs($tx_cresc_Brasil0010));
         $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getAcima());
         //@Translate
     } else {
         if ($tx_cresc_Brasil0010 == $tx_cresc_0010) {
             $texto3->replaceTags("tx_cresc_Brasil0010", abs($tx_cresc_Brasil0010));
             $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getIgual());
             //@Translate
         } else {
             if ($tx_cresc_Brasil0010 > $tx_cresc_0010) {
                 $texto3->replaceTags("tx_cresc_Brasil0010", abs($tx_cresc_Brasil0010));
                 $texto3->replaceTags("abaixo_acima", TextBuilder::$aba->getAbaixo());
                 //@Translate
             }
         }
     }
     //Cálculo do HIATO
     //$reducao_hiato_9110 = (($idhm[2]["valor"] - $idhm[0]["valor"]) / (1 - $idhm[0]["valor"])) * 100;
     $texto3->replaceTags("reducao_hiato_9110", Formulas::getReducaoHiato9110($idhm));
     $texto3->replaceTags("reducao_hiato_0010", Formulas::getReducaoHiato0010($idhm));
     $texto3->replaceTags("reducao_hiato_brasil_9110", Formulas::getReducaoHiato9110($idhm_brasil));
     $texto3->replaceTags("reducao_hiato_brasil_0010", Formulas::getReducaoHiato0010($idhm_brasil));
     $texto3->replaceTags("Dimensao1991a2000", Formulas::getDimensao(TextBuilder::$lang, $idhm_r, $idhm_l, $idhm_e, array("faixa0010" => false, "faixa9100" => false, "faixa9110" => true)));
     $texto3->replaceTags("Dimensao2000a2010", Formulas::getDimensao(TextBuilder::$lang, $idhm_r, $idhm_l, $idhm_e, array("faixa0010" => true, "faixa9100" => false, "faixa9110" => false)));
     $texto3->replaceTags("Dimensao1991a2000_br", Formulas::getDimensao(TextBuilder::$lang, $idhm_r_br, $idhm_l_br, $idhm_e_br, array("faixa0010" => false, "faixa9100" => false, "faixa9110" => true)));
     $texto3->replaceTags("Dimensao2000a2010_br", Formulas::getDimensao(TextBuilder::$lang, $idhm_r_br, $idhm_l_br, $idhm_e_br, array("faixa0010" => true, "faixa9100" => false, "faixa9110" => false)));
     if (Formulas::getReducaoHiato9110puro($idhm) >= 0) {
         $texto3->replaceTags("reduzido_aumentado", TextBuilder::$aba->getReduzido());
     } else {
         $texto3->replaceTags("reduzido_aumentado", TextBuilder::$aba->getAumentado());
     }
     //@Translate
     $block_evolucao->setData("text3", $texto3->getTexto());
     if (TextBuilder::$print) {
         $block_evolucao->setData("quebra", "<div style='page-break-after: always'></div>");
     } else {
         $block_evolucao->setData("quebra", "");
     }
     $block_evolucao->setData("canvasContent", TextBuilder::$aba->getChartEvolucao(TextBuilder::$idMunicipio));
 }