Advise to create regions in excel using HSSF

Discussion in 'Java' started by tegueste, Aug 29, 2009.

  1. tegueste

    tegueste

    Joined:
    Aug 29, 2009
    Messages:
    1
    Hello.

    I have a problem creating my excel file using HSSF. In excel I can merge cells using sheet.addMergedRegion(new CellRangeAddress(int firstRow, int lasRow, int firstCol, int lastCol))

    My problem is I have datatables with differents headers which contains cells with rowspan and colspan and I want to create the same structure in excel.

    I have defined the structure like you do in regular html to create the cells of a html table.

    I have tried reading recursivily this structure and place in excel but no way. Maybe there is another way to do, I don't know but it would be great if somebody can give me an advise to do this.

    thanks in advance
    tegueste, Aug 29, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David W.

    HSSF and Excel Pivot Tables

    David W., Jul 28, 2003, in forum: Java
    Replies:
    0
    Views:
    2,114
    David W.
    Jul 28, 2003
  2. tony lincoln

    excel---HSSF---not enough memory?

    tony lincoln, Mar 1, 2004, in forum: Java
    Replies:
    0
    Views:
    914
    tony lincoln
    Mar 1, 2004
  3. tony lincoln

    HSSF, excel and "out of memory"

    tony lincoln, Mar 2, 2004, in forum: Java
    Replies:
    0
    Views:
    1,507
    tony lincoln
    Mar 2, 2004
  4. sue yi  Chew

    Using HSSF to convert csv to Excel

    sue yi Chew, Mar 13, 2006, in forum: Java
    Replies:
    1
    Views:
    4,095
    vineet.arora3
    Feb 10, 2011
  5. davisoski
    Replies:
    0
    Views:
    1,446
    davisoski
    Aug 16, 2009
Loading...

Share This Page