Conjunto de cambios 369ef90 en seiven para gestion_informacion
- Fecha y hora:
- 09/08/2017 11:19:00 (hace 7 años)
- Branches:
- master
- Children:
- 396acb9
- Parents:
- 8af6001
- Fichero:
-
- 1 editado
Leyenda
- No modificado
- Añadido
- Eliminado
-
gestion_informacion/ajax.py
rc58882c r369ef90 51 51 52 52 @author Ing. Roldan Vargas (rvargas at cenditel.gob.ve) 53 @author Ing. Luis Barrios (lbarrios at cenditel.gob.ve) 53 54 @copyright <a href='http://www.gnu.org/licenses/gpl-2.0.html'>GNU Public License versión 2 (GPLv2)</a> 54 55 @date 25-05-2017 56 @date 09-08-2017 55 57 @param request <b>{object}</b> Objeto que contiene la petición 56 58 @return Devuelve un HttpResponse con el JSON correspondiente al archivo a descargar … … 91 93 sheet.col(i).width = int (250 * (len(cabecera['tag']) + 1)) 92 94 95 #Combina Columnas 93 96 if 'combine' in cabecera and cabecera['combine'] > 0: 94 97 sheet.merge(i, i, index_col, (index_col + (cabecera['combine']-1)), font_bold) 95 98 index_col = cabecera['combine'] + index_col-1 96 99 100 #Establece los Dominios 97 101 if 'dominio'in cabecera: 98 sheet.write(i, 2, cabecera['tag'], font_bold) 102 sheet.write(i, cabecera['row'], cabecera['tag'], font_bold) 103 104 #Combina Filas 99 105 if 'combine_row' in cabecera: 100 sheet.write_merge(i, i+10, 0,0, cabecera['tag'],font_bold) 101 if 'combine_row1' in cabecera: 102 sheet.write_merge(i, i+10, 1,1, cabecera['tag'],font_bold) 106 sheet.write_merge(i, i+10, cabecera['row'],cabecera['row'], cabecera['tag'],font_bold) 103 107 index_col += 1 104 108 i += 1
Nota: Vea TracChangeset
para ayuda en el uso del visor de conjuntos de cambios.