com.github.dreamroute.excel.helper.annotation.Cell Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of excel-helper Show documentation
Show all versions of excel-helper Show documentation
excel export base on apache poi 3.17
package com.github.dreamroute.excel.helper.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.ss.usermodel.VerticalAlignment;
/**
* sheet cell's properties
*
* @author [email protected]
*
*/
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Cell {
/**
* Horizontal Aign
*
* @return return horizontal align
*/
HorizontalAlignment horizontal() default HorizontalAlignment.CENTER;
/**
* Vertical Align
*
* @return return vertical align
*/
VerticalAlignment vertical() default VerticalAlignment.CENTER;
}