public static function generateTRABALHO1($block_trabalho)
 {
     $t_ativ18m = TextBuilder_EN::getVariaveis_table(TextBuilder_EN::$idMunicipio, "T_ATIV18M");
     //T_ATIV18M
     $t_des18m = TextBuilder_EN::getVariaveis_table(TextBuilder_EN::$idMunicipio, "T_DES18M");
     //T_DES18M
     if (TextBuilder_EN::$print) {
         $block_trabalho->setData("quebra", "<div style='page-break-after: always'></div>");
     } else {
         $block_trabalho->setData("quebra", "");
     }
     $block_trabalho->setData("fonte", TextBuilder_EN::$fontePerfil);
     $block_trabalho->setData("titulo", "Labour");
     //@Translate
     $block_trabalho->setData("canvasContent", getChartTrabalho(TextBuilder_EN::$idMunicipio, TextBuilder_EN::$lang));
     $block_trabalho->setData("subtitulo", "");
     $block_trabalho->setData("info", "");
     //@Translate
     $str1 = "Between 2000 and 2010, the <b>activity rate</b> of the population aged 18 years or older (that is, the percentage of \n            the economically-active population) increased from [tx_ativ_18m_00]% in 2000 to [tx_ativ_18m_10]% in 2010.\n            At the same time, the <b>unemployment rate</b> (that is, the percentage of the economically-active,\n            but unemployed, population) increased from [tx_des18m_00]% in 2000 to [tx_des18m_10]% in 2010.";
     $texto1 = new Texto($str1);
     $texto1->replaceTags("municipio", TextBuilder_EN::$nomeMunicipio);
     $texto1->replaceTags("tx_ativ_18m_00", Formulas::getTxAtiv18m00($t_ativ18m));
     $texto1->replaceTags("tx_ativ_18m_10", Formulas::getTxAtiv18m10($t_ativ18m));
     $texto1->replaceTags("tx_des18m_00", Formulas::getTxDes18m00($t_des18m));
     $texto1->replaceTags("tx_des18m_10", Formulas::getTxDes18m10($t_des18m));
     $block_trabalho->setData("text1", $texto1->getTexto());
     $block_trabalho->setData("text2", "");
 }
 public static function generateTRABALHO1($block_trabalho)
 {
     $t_ativ18m = TextBuilder_ES::getVariaveis_table(TextBuilder_ES::$idMunicipio, "T_ATIV18M");
     //T_ATIV18M
     $t_des18m = TextBuilder_ES::getVariaveis_table(TextBuilder_ES::$idMunicipio, "T_DES18M");
     //T_DES18M
     if (TextBuilder_ES::$print) {
         $block_trabalho->setData("quebra", "<div style='page-break-after: always'></div>");
     } else {
         $block_trabalho->setData("quebra", "");
     }
     $block_trabalho->setData("fonte", TextBuilder_ES::$fontePerfil);
     $block_trabalho->setData("titulo", "Trabajo");
     //@Translate
     $block_trabalho->setData("canvasContent", getChartTrabalho(TextBuilder_ES::$idMunicipio, TextBuilder_ES::$lang));
     $block_trabalho->setData("subtitulo", "");
     $block_trabalho->setData("info", "");
     //@Translate
     $str1 = "Entre el 2000 y 2010, la <b>tasa de actividad</b> de la población de 18 años o más (es decir, el porcentaje de esa población que era económicamente activa) paso de un \n            [tx_ativ_18m_00]% en el 2000 a un [tx_ativ_18m_10]% en 2010. Asimismo, su <b>tasa de desempleo</b> (es decir, el porcentaje de la población económicamente activa que estaba desocupada) pasó de un \n            [tx_des18m_00]% en el 2000 a un [tx_des18m_10]% en 2010.";
     $texto1 = new Texto($str1);
     $texto1->replaceTags("municipio", TextBuilder_ES::$nomeMunicipio);
     $texto1->replaceTags("tx_ativ_18m_00", Formulas::getTxAtiv18m00($t_ativ18m));
     $texto1->replaceTags("tx_ativ_18m_10", Formulas::getTxAtiv18m10($t_ativ18m));
     $texto1->replaceTags("tx_des18m_00", Formulas::getTxDes18m00($t_des18m));
     $texto1->replaceTags("tx_des18m_10", Formulas::getTxDes18m10($t_des18m));
     $block_trabalho->setData("text1", $texto1->getTexto());
     $block_trabalho->setData("text2", "");
 }