Return-Path: X-Original-To: apmail-poi-user-archive@www.apache.org Delivered-To: apmail-poi-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E2B9011E5F for ; Sat, 23 Aug 2014 03:15:25 +0000 (UTC) Received: (qmail 7514 invoked by uid 500); 23 Aug 2014 03:15:25 -0000 Delivered-To: apmail-poi-user-archive@poi.apache.org Received: (qmail 7468 invoked by uid 500); 23 Aug 2014 03:15:25 -0000 Mailing-List: contact user-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Users List" Delivered-To: mailing list user@poi.apache.org Received: (qmail 7450 invoked by uid 99); 23 Aug 2014 03:15:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 03:15:25 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kriegerd@yahoo.com designates 98.138.229.30 as permitted sender) Received: from [98.138.229.30] (HELO nm37.bullet.mail.ne1.yahoo.com) (98.138.229.30) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2014 03:15:17 +0000 Received: from [127.0.0.1] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 23 Aug 2014 03:14:56 -0000 Received: from [98.138.226.178] by nm37.bullet.mail.ne1.yahoo.com with NNFMP; 23 Aug 2014 03:12:10 -0000 Received: from [66.196.81.173] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 23 Aug 2014 03:12:10 -0000 Received: from [98.139.212.248] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 23 Aug 2014 03:12:10 -0000 Received: from [127.0.0.1] by omp1057.mail.bf1.yahoo.com with NNFMP; 23 Aug 2014 03:12:10 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 93203.66005.bm@omp1057.mail.bf1.yahoo.com Received: (qmail 55188 invoked by uid 60001); 23 Aug 2014 03:12:10 -0000 X-YMail-OSG: iHDaxOgVM1njkzUttBgCimumoJnpGDrZnhgL3PbUFljctmD t17jxtRz8M2aV4frDA26sd8ghNfp7xizIogXRU6ggCS8E9g2BEgtqIQ6YyAd ZYsj0PT26jcZyzOUST1J_iwuepmaqK_GlEJeNh774SkahjJYpvDYoBdFXqxg yY7jXfXHaPEcCbE55KlvuSw_QmzPfi79H_Nn9XNFSKf1YtRHu5PZzfu1kkVs mH5kxVsAc2mnsgVLlRbBxpcy1_oUx39vp8WuUdU4k7QEtl5YjDLej8g5Ph.n .ooXI5QXCFKHVCGm8uMEOg7PbmPbLGZH6B1XO17C2z2QVANg9T4uGnsNWBzJ iPkMq.YT0REUoxboNAxNtkN71oO9.gHOn1yGGBLB0g7ys3YHrbgGUlRxOOQD PEUQ1wJQLuu1bscKdumkDs_wLGJuLD4YF6tB8VQHY0w2lAPgCoEfC9mODzU2 sHvE3Y4QqlDYlKNV9CczoUsHjxLyKM4_d3RZ_mkVikw8TpYlJyXtK7mqk_4E CdWlSzWP.vSa2iLZwchqX0BDhs5MW9ESGoyHG0_5iCfv3P_aG5vCAkQp1izK ufw-- Received: from [71.105.239.37] by web161305.mail.bf1.yahoo.com via HTTP; Fri, 22 Aug 2014 20:12:09 PDT X-Rocket-MIMEInfo: 002.001,SGVsbG8gZXZlcnlvbmUswqAKCkkndmUgYmVlbiBoaXJlZCB0byB1cGRhdGUgdGhlIGRlcGVuZGVuY2llcyBmcm9tIGFuIG9sZCBzeXN0ZW0gd2hpY2ggaW5jbHVkZXMgcG9pIHRvIGNyZWF0ZSBFeGNlbCBmaWxlcy4gSSd2ZSB1c2VkIFBvaSBidXQgYWJvdXQgNyB5ZWFycyBhZ28uCgpJJ20gYSBsaXR0bGUgY29uZnVzZWQgd2l0aCB0aGUgY2hhbmdlIG9mwqB3b3JrYm9vay5zZXRSZXBlYXRpbmdSb3dzQW5kQ29sdW1ucygpIGFuZCB0aGUgZmFjdCB0aGF0IG5vdyBpdCdzIGJlZW4gc3BsaXQgaW50byB0d28gbWUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.201.700 Message-ID: <1408763529.5703.YahooMailNeo@web161305.mail.bf1.yahoo.com> Date: Fri, 22 Aug 2014 20:12:09 -0700 From: Alejandro Salas Reply-To: Alejandro Salas Subject: Help migrating setRepeatingRowsAndColumns. To: "user@poi.apache.org" MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1854988078-917850343-1408763529=:5703" X-Virus-Checked: Checked by ClamAV on apache.org --1854988078-917850343-1408763529=:5703 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello everyone,=A0=0A=0AI've been hired to update the dependencies from an = old system which includes poi to create Excel files. I've used Poi but abou= t 7 years ago.=0A=0AI'm a little confused with the change of=A0workbook.set= RepeatingRowsAndColumns() and the fact that now it's been split into two me= thods and=A0CellRangeAddress.=0A=0AOne of the calls I have encountered is t= he following:=0Aworkbook.setRepeatingRowsAndColumns(0, 0, 0, 0, 1);=0A=0A= =0ANow, looking at the deprecated code that translates into:=0Asheet.setRep= eatingRows(new CellRangeAddress(0, 1, -1, -1));=0A=0Asheet.setRepeatingColu= mns(new CellRangeAddress(-1, -1, 0, 0));=0A=A0=0AIs there a better way to d= o it?=0AAny pointers are appreciated.=0A=0AThanks! --1854988078-917850343-1408763529=:5703--