POI merged frame is incomplete

Add the following code, properly

RegionUtil.setBorderBottom(1, region, hssfSheet, wb);
RegionUtil.setBorderTop(1, region, hssfSheet, wb);
RegionUtil.setBorderLeft(1, region, hssfSheet, wb);
RegionUtil.setBorderRight(1, region, hssfSheet, wb);

As for what is in the parameters, you can click to see the official API

Published 51 original articles · Like 4 · Visitor 7883

Guess you like

Origin blog.csdn.net/u012174809/article/details/103593145