To be more precise, we called a method 'setVerticalMerging(...)' after creating the two lines, in order to merge the necessary cells. Another method, 'setHorizontalMerging(...)', did the same for horizontal merging (eg. the title cells, etc...)
Unfortunately, the 'setVerticalMerging(...)' method only had to be called once, after inserting all rows, because it creates the merging regions for all rows at once. Unfortunately again, this wasn't ocumented in the code nor in the documentation... So, after inserting the first two rows (1, 2), we merged them (creationg a region for (1,2), then inserted row 3 and 4, then re-merged (1,2), then (3,4), and so on. For large amounts of rows (eg. 1000 records), this gives 1 + 2 + 3 + ... + 998 + 999 + 1000 regions (5,000,500 regions where only 1000 are needed). But I'm not so ashamed, since i was debugging another guy's work ;o), but this proves documentation is important... Thank you for your advise. -----Original Message----- sorry, I found out where the problem was, it's in our code... No POI problem, in fact. *gasp* __________ Disclaimer: This e-mail is intended for the exclusive use by the person(s) mentioned as recipient(s). This e-mail and its attachments, if any, contain confidential information and/or information protected by intellectual property rights or other rights. This e-mail does not constitute any commitment for ING or its subsidiaries except when expressly otherwise agreed in a written agreement between the intended recipient and the originating subsidiaries of ING, sender of the mail. If you receive this message by mistake, please, notify the sender with the "reply" option and delete immediately this e-mail from your system, and destroy all copies of it. You may not, directly or indirectly, use, disclose, distribute, print or copy, this e-mail or any part of it if you are not the intended recipient. You have to take at any time all necessary measures against viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
