mergedregion.java

来自「一个java生成自动生成Excel」· Java 代码 · 共 44 行

JAVA
44
字号
package net.sf.jxls.transformer;import org.apache.poi.hssf.util.Region;/** * Represents merged region * @author Leonid Vysochyn */public class MergedRegion {    private Region region;    private RowCollection rowCollection;    private int index;    public MergedRegion(Region region, RowCollection rowCollection) {        this.region = region;        this.rowCollection = rowCollection;    }    public MergedRegion(Region region, int index) {        this.region = region;        this.index = index;    }    public int getIndex() {        return index;    }    public Region getRegion() {        return region;    }    public void setRegion(Region region) {        this.region = region;    }    public RowCollection getRowCollection() {        return rowCollection;    }    public void setRowCollection(RowCollection rowCollection) {        this.rowCollection = rowCollection;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?