package com.ejie.aa94a.constantes;

import com.itextpdf.text.BaseColor;
import com.itextpdf.text.Font;
import com.itextpdf.text.PageSize;
import com.itextpdf.text.Rectangle;
import com.itextpdf.text.html.WebColors;

/**
 * 
 * @author GFI
 * 
 */
public class ConstantesPDF {

	/**
	 * Constructor de ConstantesPDF
	 */
	private ConstantesPDF() {
	}

	// FUENTES DEL PDF
	public static final Font tituloFont = new Font(Font.FontFamily.TIMES_ROMAN,
			20, Font.BOLD);
	public static final Font subtituloFont_eu = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.BOLD);
	public static final Font subtituloFont_es = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.NORMAL);
	public static final Font smallfont_bold = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.BOLD);
	public static final Font smallfont_underline = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.UNDERLINE | Font.BOLD);
	public static final Font smallfont = new Font(Font.FontFamily.TIMES_ROMAN,
			10, Font.NORMAL);
	public static final Font boldfont = new Font(Font.FontFamily.TIMES_ROMAN,
			10, Font.BOLD);
	public static final Font anexoCabDenfont = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.BOLD);
	public static final Font anexoDenfont = new Font(
			Font.FontFamily.TIMES_ROMAN, 10, Font.NORMAL);
	public static final Font anexoCabIntfont = new Font(
			Font.FontFamily.TIMES_ROMAN, 8, Font.BOLD);
	public static final Font anexoIntfont = new Font(
			Font.FontFamily.TIMES_ROMAN, 8, Font.NORMAL);
	public static final Font fontH1 = new Font(Font.FontFamily.TIMES_ROMAN, 14,
			Font.BOLD);
	public static final Font fontH2 = new Font(Font.FontFamily.TIMES_ROMAN, 12,
			Font.BOLD);
	public static final Font fontH2Tabla = new Font(
			Font.FontFamily.TIMES_ROMAN, 12, Font.BOLD, BaseColor.WHITE);
	public static final Font parrafo = new Font(Font.FontFamily.TIMES_ROMAN, 12);
	public static final Font parrafobold = new Font(
			Font.FontFamily.TIMES_ROMAN, 12, Font.BOLD);

	public static final Font piefont = new Font(Font.FontFamily.TIMES_ROMAN, 8,
			Font.NORMAL);

	public static final BaseColor colorCabecera = WebColors
			.getRGBColor("#9c9c9c");
	public static final BaseColor colorCeldaPar = WebColors
			.getRGBColor("#dbdbdb");

	// ////////////////////
	// CONFIGURACION PDF//
	// ////////////////////
	public static final Rectangle PAGE_SIZE_DOC = PageSize.A4;

	// IZQ
	public static final float MARG_LEFT_DOC = 36;

	// MARGEN DERECH
	public static final float MARG_RIGHT_DOC = 36;

	// Top
	public static final float MARG_TOP_DOC = 80;

	// BOTTON
	public static final float MARG_BOTTON_DOC = 54;

	public static final String DOC_TITULO = "Ayuda a la carga de bobinas";
	public static final String DOC_KEYWORDS = "Java, PDF, iText";

	public static final int NUMBER_COLUMNS_DOC = 3;

	// COLUMNAS TABLA PIE
	public static final int NUMBER_COLUMNS_PIE = 3;
	public static final float COLUM_PIE_IZQ = 100f;
	public static final float COLUM_PIE_CENT = 150f;
	public static final float COLUM_PIE_DRCH = 100f;

	// DOC PRÉSTAMO
	public static final float COLUM_IZQ = 143f;
	public static final float COLUM_CENT = 3f;
	public static final float COLUM_DRCH = 164f;

	public static final float COLUM_BOBINAS_IZQ = 20f;
	public static final float COLUM_BOBINAS_CENT = 20f;
	public static final float COLUM_BOBINAS_DRCH = 20f;

	public static final String RUTA_IMG_PDF = "ruta.img.pdf";

	public static final String PRESTAMO_PARRAFO1 = "pdf.prestamo.parrafo1";
	public static final String PRESTAMO_PARRAFO21 = "pdf.prestamo.parrafo21";
	public static final String PRESTAMO_PARRAFO22 = "pdf.prestamo.parrafo22";
	public static final String PRESTAMO_PARRAFO23 = "pdf.prestamo.parrafo23";
	public static final String PRESTAMO_FIRMA = "pdf.prestamo.firma";
	public static final String PRESTAMO_FECHA = "pdf.prestamo.fecha";

	// PIE FECHA DOC PRESTAMO
	public static final int NUMBER_COLUMNS_PIE_FECH = 3;
	public static final float COLUM_PIE_FECH_IZQ = 150f;
	public static final float COLUM_PIE_FECH_CENT = 10f;
	public static final float COLUM_PIE_FECH_DRCH = 150f;
}
