public abstract class AbstractRowHeightStyleStrategy extends Object implements RowWriteHandler, NotRepeatExecutor
| 构造器和说明 |
|---|
AbstractRowHeightStyleStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterRowCreate(WriteSheetHolder writeSheetHolder,
WriteTableHolder writeTableHolder,
org.apache.poi.ss.usermodel.Row row,
Integer relativeRowIndex,
Boolean isHead)
Called after the row is created
|
void |
afterRowDispose(WriteSheetHolder writeSheetHolder,
WriteTableHolder writeTableHolder,
org.apache.poi.ss.usermodel.Row row,
Integer relativeRowIndex,
Boolean isHead)
Called after all operations on the row have been completed.This method is not called when fill the data.
|
void |
beforeRowCreate(WriteSheetHolder writeSheetHolder,
WriteTableHolder writeTableHolder,
Integer rowIndex,
Integer relativeRowIndex,
Boolean isHead)
Called before create the row
|
protected abstract void |
setContentColumnHeight(org.apache.poi.ss.usermodel.Row row,
int relativeRowIndex)
Sets the height of content
|
protected abstract void |
setHeadColumnHeight(org.apache.poi.ss.usermodel.Row row,
int relativeRowIndex)
Sets the height of header
|
String |
uniqueValue()
To see if it's the same executor
|
public String uniqueValue()
NotRepeatExecutoruniqueValue 在接口中 NotRepeatExecutorpublic void beforeRowCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, Integer rowIndex, Integer relativeRowIndex, Boolean isHead)
RowWriteHandlerbeforeRowCreate 在接口中 RowWriteHandlerwriteTableHolder - Nullable.It is null without using table writes.relativeRowIndex - Nullable.It is null in the case of fill data.isHead - Nullable.It is null in the case of fill data.public void afterRowCreate(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Integer relativeRowIndex, Boolean isHead)
RowWriteHandlerafterRowCreate 在接口中 RowWriteHandlerwriteTableHolder - Nullable.It is null without using table writes.relativeRowIndex - Nullable.It is null in the case of fill data.isHead - Nullable.It is null in the case of fill data.public void afterRowDispose(WriteSheetHolder writeSheetHolder, WriteTableHolder writeTableHolder, org.apache.poi.ss.usermodel.Row row, Integer relativeRowIndex, Boolean isHead)
RowWriteHandlerafterRowDispose 在接口中 RowWriteHandlerwriteTableHolder - Nullable.It is null without using table writes.relativeRowIndex - Nullable.It is null in the case of fill data.isHead - Nullable.It is null in the case of fill data.protected abstract void setHeadColumnHeight(org.apache.poi.ss.usermodel.Row row,
int relativeRowIndex)
row - relativeRowIndex - protected abstract void setContentColumnHeight(org.apache.poi.ss.usermodel.Row row,
int relativeRowIndex)
row - relativeRowIndex - Copyright © 2018–2021 Alibaba Group. All rights reserved.