How to insert a row between two rows in an existing excel with HSSF (Apache POI)

前端 未结 8 1065
自闭症患者
自闭症患者 2020-11-27 02:38

Somehow I manage to create new rows between two rows in an existing excel file. The problem is, some of the formatting were not include along the shifting of the rows.

8条回答
  •  南笙
    南笙 (楼主)
    2020-11-27 03:16

    I came across the same issue recently. I had to insert new rows in a document with hidden rows and faced the same issues with you. After some search and some emails in apache poi list, it seems like a bug in shiftrows() when a document has hidden rows.

提交回复
热议问题