java - Creating a header with two line in excel file with apache POI -
how can header java code apache poi?
usually merging 2 cells "projets" items.
see https://poi.apache.org/spreadsheet/quick-guide.html#mergedcells
basically define merged areas calls this
sheet.addmergedregion(new cellrangeaddress( 0, //first row (0-based) 0, //last row (0-based) 0, //first column (0-based) 1 //last column (0-based) ));
see setting value cells after merging in poi , merging cells in excel using apache poi more discussion around this.
Comments
Post a Comment