Search in sources :

Example 1 with LoopMergeProperty

use of com.alibaba.excel.metadata.property.LoopMergeProperty in project easyexcel by alibaba.

the class AbstractWriteHolder method dealLoopMerge.

private void dealLoopMerge(List<WriteHandler> handlerList, Head head) {
    LoopMergeProperty loopMergeProperty = head.getLoopMergeProperty();
    if (loopMergeProperty == null) {
        return;
    }
    handlerList.add(new LoopMergeStrategy(loopMergeProperty, head.getColumnIndex()));
}
Also used : LoopMergeStrategy(com.alibaba.excel.write.merge.LoopMergeStrategy) LoopMergeProperty(com.alibaba.excel.metadata.property.LoopMergeProperty)

Aggregations

LoopMergeProperty (com.alibaba.excel.metadata.property.LoopMergeProperty)1 LoopMergeStrategy (com.alibaba.excel.write.merge.LoopMergeStrategy)1