package com.gwi.xls.resource;
import java.util.Map;
import org.apache.poi.hssf.usermodel.HSSFCell;
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
public interface CssApplier {
String PATTERN_LENGTH = "\\d*\\.?\\d+\\s*(?:em|ex|cm|mm|q|in|pt|pc|px)?";
String STYLE = "style";
String TOP = "top";
String RIGHT = "right";
String BOTTOM = "bottom";
String LEFT = "left";
String WIDTH = "width";
String HEIGHT = "height";
String COLOR = "color";
String BORDER = "border";
String CENTER = "center";
String JUSTIFY = "justify";
String MIDDLE = "middle";
String FONT = "font";
String FONT_STYLE = "font-style";
String FONT_WEIGHT = "font-weight";
String FONT_SIZE = "font-size";
String FONT_FAMILY = "font-family";
String ITALIC = "italic";
String BOLD = "bold";
String NORMAL = "normal";
String TEXT_ALIGN = "text-align";
String VETICAL_ALIGN = "vertical-align";
String BACKGROUND = "background";
String BACKGROUND_COLOR = "background-color";
/**
* parse css styles
* @param style style to parse
* @return parse result
*/
Map<String, String> parse(Map<String, String> style);
/**
* apply styles
* @param cell cell to apply style
* @param cellStyle cell style
* @param style style
*/
void apply(HSSFCell cell, HSSFCellStyle cellStyle, Map<String, String> style);
}
最近下载更多
chocchow LV2
2022年9月5日
zy2858223209 LV1
2022年8月17日
wade Heng LV1
2022年5月5日
zhangchengyi LV1
2022年3月18日
zhouhainan LV1
2022年1月26日
微信网友_5764299473358848 LV1
2021年12月28日
五条悟先森 LV1
2021年12月14日
陈小哥
2021年10月31日
暂无贡献等级
zilongwuhui LV1
2021年10月19日
章鱼哥508 LV1
2021年10月18日
最近浏览更多
readqwe
2023年5月19日
暂无贡献等级
微信网友_6467077197238272 LV1
2023年5月8日
微信网友_6145740972576768 LV2
2022年12月21日
chocchow LV2
2022年9月5日
zy2858223209 LV1
2022年8月17日
wangbadan123 LV1
2022年6月13日
wade Heng LV1
2022年5月5日
fclfcl
2022年5月4日
暂无贡献等级
刘123456789 LV8
2022年4月2日
zhangchengyi LV1
2022年3月18日

