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

com.github.liaochong.html2excel.core.Td Maven / Gradle / Ivy

Go to download

Html2excel, is a toolkit that can directly use Html files, or use the built-in Freemarker, Groovy, Beetl and other template engine Excel builder to generate Html files, and use the Table in the Html file as an Excel template to generate Excel of any complex layout. Supports .xls and .xlsx formats, supports personalization of background colors, borders, fonts, etc., and supports merging of cells.

There is a newer version: 1.4.1
Show newest version
package com.github.liaochong.html2excel.core;

import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

/**
 * @author liaochong
 * @version 1.0
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
class Td {
    /**
     * 所在行
     */
    int row;
    /**
     * 所在列
     */
    int col;
    /**
     * 跨行数
     */
    int rowSpan;
    /**
     * 跨列数
     */
    int colSpan;
    /**
     * 内容
     */
    String content;
    /**
     * 是否为th
     */
    boolean th;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy