I am going to assume that you want to merge cells together. If this is indeed the case, then you need to look at the addMergedRegion() method defined within the HSSFSheet class. You pass to this method an instance of the CellRangeAddress class that allows you to define the rows and columns that define the extent of the merged region.
--- On Wed, 8/27/08, Anthony Andrews <[EMAIL PROTECTED]> wrote: From: Anthony Andrews <[EMAIL PROTECTED]> Subject: Re: HSSFCell Join To: "POI Users List" <[email protected]> Date: Wednesday, August 27, 2008, 7:08 AM There is no message body in your email. --- On Wed, 8/27/08, PeWK <[EMAIL PROTECTED]> wrote: From: PeWK <[EMAIL PROTECTED]> Subject: Re: HSSFCell Join To: [email protected] Date: Wednesday, August 27, 2008, 6:08 AM Anthony Andrews wrote: > > What do you mean by 'join two or more cells together'? > > Do you mean to concatenate the cells contents together or to merge the > cells to create a merged region? > > --- On Wed, 8/27/08, PeWK <[EMAIL PROTECTED]> wrote: > From: PeWK <[EMAIL PROTECTED]> > Subject: HSSFCell Join > To: [email protected] > Date: Wednesday, August 27, 2008, 1:20 AM > > Hi, > > I am looking for a way to join two or more Cells together. > This should work for horizontal as well as for vertical joins. > I seached the poi.apache.ora documentation for a solution. If there is an > obvious way to join Cells which I missed pease just give me a hint. > Otherwise I would be glad to get some ideas. > > Thanks for your answer. > > -- > View this message in context: > http://www.nabble.com/HSSFCell-Join-tp19176664p19176664.html > Sent from the POI - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > -- View this message in context: http://www.nabble.com/HSSFCell-Join-tp19176664p19180560.html Sent from the POI - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
