Archivo del Autor: Ángel
Apache POI: Usage of formulas and excel functions
In order to manipulate formulas in Apache POI, we use the method setCellFormula(«formula») of HSSFCell class. Similar to Microsoft Excel, we can use mathematics formulas (A1+B2+C3, B5*A2, …) and Excel’s functions (SUM, COUNT, MAX, …). When we use excel functions, Seguir leyendo Apache POI: Usage of formulas and excel functions
Apache POI: Uso de fórmulas y funciones excel
Para utilizar fórmulas excel en Apache POI, lo haremos utilizando el método setCellFormula(«formula») de la clase HSSFCell. Al igual que desde Microsoft Excel, podemos utilizar formulas matemáticas (A1+B2+C3, B5*A2, …) o funciones propias de Excel (SUMA, CONTAR, MAX, …). Cuando Seguir leyendo Apache POI: Uso de fórmulas y funciones excel
Cómo suavizar texturas cuando se redimensionan en LibGDX (filtros I)
Cuando trabajamos con LibGDX, normalmente usaremos un tamaño de pantalla «virtual» (ya sea mediante el uso de Viewports o con matrices de transformación) con unas dimensiones determinadas, y todas nuestras texturas / imágenes tendrán un tamaño en relación a estas dimensiones. Si el Seguir leyendo Cómo suavizar texturas cuando se redimensionan en LibGDX (filtros I)
How to smooth textures when they are resized in LibGDX (filters I)
When working with LibGDX, we normally use a «vitual» screen (whether through using Viewports or with transformation matrices) with a defined dimensions, and all textures / images will have a size according to that virtual dimensions. If the viewport size Seguir leyendo How to smooth textures when they are resized in LibGDX (filters I)
Apache POI: How to define styles for excel files
In the previous entry about apache POI, we saw how to create excel files with Java and Apache POI. This time, we’ll see how to customize the style of these excel files. How to create a style for a cell Seguir leyendo Apache POI: How to define styles for excel files
Apache POI: Cómo definir estilos en archivos excel
En la entrada anterior sobre apache POI, vimos como crear archivos excel con Java y Apache POI. En esta ocasión, véremos como personalizar el estilo de los archivos excel generados. Cómo crear un estilo de celda La clase que representa Seguir leyendo Apache POI: Cómo definir estilos en archivos excel
Frame by frame animations in LibGDX
Intoduction When we need to animate our game objects, one of the methods we have is the frame by frame animations. It’s the classic animation method, and consists on drawing a serie of images that, when they are showed in Seguir leyendo Frame by frame animations in LibGDX
Animaciones cuadro por cuadro en LibGDX
Introducción A la hora de animar los elementos de nuestros videojuegos, uno de los métodos con los que contamos son las animaciones cuadro por cuadro (frame by frame). Es el método clásico de animación, y consiste en dibujar una serie de imágenes de Seguir leyendo Animaciones cuadro por cuadro en LibGDX
How to generate MS Excel files from Java with Apache POI
Commonly it’s necessary to manage Microsoft Excel files from Java applications. It can be usefull, for example, to export / import data, report generation, etc. Apache POI is a library from Apache fundation, which has become a de facto standard Seguir leyendo How to generate MS Excel files from Java with Apache POI