类 AbstractWriteHolder
java.lang.Object
com.sh.wf.excel.metadata.AbstractHolder
com.sh.wf.excel.write.metadata.holder.AbstractWriteHolder
- 所有已实现的接口:
ConfigurationHolder,Holder,WriteHolder
-
构造器概要
构造器构造器说明AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder, Boolean convertAllFiled) -
方法概要
修饰符和类型方法说明booleanWhether need automatic merge headers.What 'ExcelWriteHeadProperty' does the currently operated cell need to executeMap<Class<? extends WriteHandler>,List<WriteHandler>> booleanIs to determine if a field needs to be ignoredprotected voidinitAnnotationConfig(List<WriteHandler> handlerList) booleanneedHead()Whether a header is required for the currently operated cellintWrites the head relative to the existing contents of the sheet.voidsetAutomaticMergeHead(Boolean automaticMergeHead) voidsetExcelWriteHeadProperty(ExcelWriteHeadProperty excelWriteHeadProperty) voidsetExcludeColumnFiledNames(Collection<String> excludeColumnFiledNames) voidsetExcludeColumnIndexes(Collection<Integer> excludeColumnIndexes) voidsetIncludeColumnFiledNames(Collection<String> includeColumnFiledNames) voidsetIncludeColumnIndexes(Collection<Integer> includeColumnIndexes) voidsetNeedHead(Boolean needHead) voidsetRelativeHeadRowIndex(Integer relativeHeadRowIndex) voidsetUseDefaultStyle(Boolean useDefaultStyle) voidsetWriteHandlerMap(Map<Class<? extends WriteHandler>, List<WriteHandler>> writeHandlerMap) protected Map<Class<? extends WriteHandler>,List<WriteHandler>> sortAndClearUpHandler(List<WriteHandler> handlerList, Map<Class<? extends WriteHandler>, List<WriteHandler>> parentHandlerMap) Map<Class<? extends WriteHandler>,List<WriteHandler>> What handler does the currently operated cell need to execute从类继承的方法 com.sh.wf.excel.metadata.AbstractHolder
converterMap, getClazz, getConverterMap, getGlobalConfiguration, getHead, getNewInitialization, globalConfiguration, isNew, setClazz, setConverterMap, setGlobalConfiguration, setHead, setNewInitialization从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 com.sh.wf.excel.metadata.ConfigurationHolder
converterMap, globalConfiguration, isNew从接口继承的方法 com.sh.wf.excel.metadata.Holder
holderType
-
构造器详细资料
-
AbstractWriteHolder
public AbstractWriteHolder(WriteBasicParameter writeBasicParameter, AbstractWriteHolder parentAbstractWriteHolder, Boolean convertAllFiled)
-
-
方法详细资料
-
initAnnotationConfig
-
sortAndClearUpHandler
protected Map<Class<? extends WriteHandler>,List<WriteHandler>> sortAndClearUpHandler(List<WriteHandler> handlerList, Map<Class<? extends WriteHandler>, List<WriteHandler>> parentHandlerMap) -
ignore
从接口复制的说明:WriteHolderIs to determine if a field needs to be ignored- 指定者:
ignore在接口中WriteHolder- 参数:
fieldName- StringcolumnIndex- Integer- 返回:
- boolean
-
getNeedHead
-
setNeedHead
-
getWriteHandlerMap
-
setWriteHandlerMap
public void setWriteHandlerMap(Map<Class<? extends WriteHandler>, List<WriteHandler>> writeHandlerMap) -
getExcelWriteHeadProperty
-
setExcelWriteHeadProperty
-
getRelativeHeadRowIndex
-
setRelativeHeadRowIndex
-
getUseDefaultStyle
-
setUseDefaultStyle
-
getAutomaticMergeHead
-
setAutomaticMergeHead
-
getExcludeColumnIndexes
-
setExcludeColumnIndexes
-
getExcludeColumnFiledNames
-
setExcludeColumnFiledNames
-
getIncludeColumnIndexes
-
setIncludeColumnIndexes
-
getIncludeColumnFiledNames
-
setIncludeColumnFiledNames
-
excelWriteHeadProperty
从接口复制的说明:WriteHolderWhat 'ExcelWriteHeadProperty' does the currently operated cell need to execute- 指定者:
excelWriteHeadProperty在接口中WriteHolder- 返回:
- ExcelWriteHeadProperty
-
writeHandlerMap
从接口复制的说明:WriteHolderWhat handler does the currently operated cell need to execute- 指定者:
writeHandlerMap在接口中WriteHolder- 返回:
- Map
-
needHead
public boolean needHead()从接口复制的说明:WriteHolderWhether a header is required for the currently operated cell- 指定者:
needHead在接口中WriteHolder- 返回:
- boolean
-
relativeHeadRowIndex
public int relativeHeadRowIndex()从接口复制的说明:WriteHolderWrites the head relative to the existing contents of the sheet. Indexes are zero-based.- 指定者:
relativeHeadRowIndex在接口中WriteHolder- 返回:
- int
-
automaticMergeHead
public boolean automaticMergeHead()从接口复制的说明:WriteHolderWhether need automatic merge headers.- 指定者:
automaticMergeHead在接口中WriteHolder- 返回:
- boolean
-