Cornellious Mann wrote: >Is see that in version 1.0.2 there is a >setMerge(boolean) method on HSSFCellStyle. I tried >this, but it didn't quite work when checked my output >.xls file. Does anyone know if merging is suported? >And if so, does anyone have an example of how to use >it? Thanks for any help. > >===== >Best Regards, >Cornellious Mann > >__________________________________________________ >Do You Yahoo!? >Yahoo! Tax Center - online filing with TurboTax >http://taxes.yahoo.com/ > It should be in CVS, its off of the HSSFSheet. -- addMergedRegion()
The example is here: http://cvs.apache.org/viewcvs.cgi/jakarta-poi/src/examples/src/org/apache/poi/hssf/usermodel/examples/MergedCells.java It does not work in 1.0.2. The "setMerge" refers to an obsolecent property of the XF record in Excel. We'll probably not even expose this via the usermodel in future releases since its not useful. -Andy
