All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.tecsinapse.dataio.style.Style Maven / Gradle / Ivy

The newest version!
/*
 * Tecsinapse Data Input and Output
 *
 * License: GNU Lesser General Public License (LGPL), version 3 or later
 * See the LICENSE file in the root directory or .
 */
package br.com.tecsinapse.dataio.style;

public final class Style {

    private Style() {}

    public static final String BACKGROUND_COLOR_GRAY = "background-color: rgb(221, 221, 221);";
    public static final String FONT_SIZE_1_2_EM = "font-size: 1.2em;";
    public static final String FONT_SIZE_1_4_EM = "font-size: 1.4em;";
    public static final String FONT_SIZE_1_6_EM = "font-size: 1.6em;";
    public static final String FONT_SIZE_1_8_EM = "font-size: 1.8em;";
    public static final String FONT_WEIGHT_BOLD = "font-weight: bold;";
    public static final String TEXT_ALIGN_LEFT = "text-align: left;";
    public static final String VERTICAL_ALIGN_MIDDLE = "vertical-align: middle;";

    public static final CellStyleBorder CELL_STYLE_BORDER_DEFAULT = new CellStyleBorderDefault();

    public static final TableCellStyle TABLE_CELL_STYLE_HEADER = new TableCellStyleDefaultHeader(false);
    public static final TableCellStyle TABLE_CELL_STYLE_HEADER_BOLD = new TableCellStyleDefaultHeader(true);
    public static final TableCellStyle TABLE_CELL_STYLE_BODY = new TableCellStyleDefaultBody(false, false);
    public static final TableCellStyle TABLE_CELL_STYLE_BODY_BOLD = new TableCellStyleDefaultBody(false, true);
    public static final TableCellStyle TABLE_CELL_STYLE_BODY_CENTER = new TableCellStyleDefaultBody(true, false);
    public static final TableCellStyle TABLE_CELL_STYLE_BODY_CENTER_BOLD = new TableCellStyleDefaultBody(true, true);
    public static final TableCellStyle TABLE_CELL_STYLE_FOOTER = new TableCellStyleDefaultFooter(false);
    public static final TableCellStyle TABLE_CELL_STYLE_FOOTER_BOLD = new TableCellStyleDefaultFooter(true);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy