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

br.com.tecsinapse.exporter.style.CellVAlign Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show 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.exporter.style;

import org.apache.poi.ss.usermodel.CellStyle;

public enum CellVAlign {
    CENTER(CellStyle.VERTICAL_CENTER, "vertical-align:middle;"),
    JUSTIFY(CellStyle.VERTICAL_JUSTIFY, ""),
    TOP(CellStyle.VERTICAL_TOP, "vertical-align:top;"),
    BOTTOM(CellStyle.VERTICAL_BOTTOM, "vertical-align:bottom;");

    private final short cellStyleVAlign;
    private final String css;

    CellVAlign(short cellStyleVAlign, String css) {
        this.cellStyleVAlign = cellStyleVAlign;
        this.css = css;
    }

    public short getCellStyleVAlign() {
        return cellStyleVAlign;
    }

    public String getCss() {
        return css;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy