public final class ColumnInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
Description:
Title:首亨软件 - TSS/CRM等
构造器和说明 |
---|
ColumnInfo() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
checkAuth(ModuleContext context)
检查按钮权限
|
int |
getExportColWith() |
java.lang.String |
getGenerateColumnId() |
RuleAttr |
getRuleAttr() |
int |
getValidWidth(int width)
获取在配置区间的单元格的宽度,在真正设置时调用计算
|
boolean |
isAutoCalWidth() |
boolean |
isExport(ModuleContext context) |
boolean |
isHiddenColumn(ModuleContext context) |
void |
parser(org.jdom.Element nodeEl,
Component component) |
void |
setAttr(org.apache.poi.ss.usermodel.Row row,
org.apache.poi.ss.usermodel.Cell cell)
设置列属性
|
void |
setCellImage(ModuleContext context,
org.apache.poi.ss.usermodel.Cell cell,
java.lang.String html)
单元格中包含了图片
|
void |
setCellStyle(org.apache.poi.ss.usermodel.Cell cell,
org.apache.poi.ss.usermodel.CellStyle style,
TdDynamic tdd)
设置样式
|
void |
setCellValue(org.apache.poi.ss.usermodel.Cell cell,
java.lang.String value) |
public void parser(org.jdom.Element nodeEl, Component component)
public boolean isExport(ModuleContext context)
public boolean isHiddenColumn(ModuleContext context)
public boolean isAutoCalWidth()
public int getValidWidth(int width)
width
- public int getExportColWith()
public boolean checkAuth(ModuleContext context)
context
- ModuleContextpublic void setCellValue(org.apache.poi.ss.usermodel.Cell cell, java.lang.String value)
public void setCellImage(ModuleContext context, org.apache.poi.ss.usermodel.Cell cell, java.lang.String html)
cell
- html
- https://blog.csdn.net/qq1290869412/article/details/121521241?ops_request_misc=&request_id=&biz_id=102&utm_term=POI%20@Excel%E5%AF%BC%E5%87%BA%E5%A4%9A%E5%9B%BE%E7%89%87&utm_medium=distribute.pc_search_result.none-task-blog-2~all~sobaiduweb~default-9-121521241.142%5Ev100%5Epc_search_result_base7&spm=1018.2226.3001.4187
https://blog.csdn.net/qq_54439950/article/details/139766707public void setCellStyle(org.apache.poi.ss.usermodel.Cell cell, org.apache.poi.ss.usermodel.CellStyle style, TdDynamic tdd)
cell
- Cellstyle
- CellStyletdd
- TdDynamicpublic void setAttr(org.apache.poi.ss.usermodel.Row row, org.apache.poi.ss.usermodel.Cell cell)
row
- Rowcell
- Cellpublic RuleAttr getRuleAttr()
public java.lang.String getGenerateColumnId()