Recently, I've met a problem on how to set the text into the vertical top using XSSF, I need to put the text in the top of one cell, but when I use
cellStyle.setVerticalAlignment(CellStyle.VERTICAL_TOP);
it always show the text in the middle center of the cell, i'm so confused and don't know which method i need to change, very appreciate someone could give me some hints, thanks so much in advance!