Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7FA027C98 for ; Tue, 15 Nov 2011 06:26:54 +0000 (UTC) Received: (qmail 39362 invoked by uid 500); 15 Nov 2011 06:26:54 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 39315 invoked by uid 500); 15 Nov 2011 06:26:53 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 39306 invoked by uid 99); 15 Nov 2011 06:26:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 06:26:53 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gerardo.gr90@gmail.com designates 209.85.220.175 as permitted sender) Received: from [209.85.220.175] (HELO mail-vx0-f175.google.com) (209.85.220.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Nov 2011 06:26:45 +0000 Received: by vcbfl11 with SMTP id fl11so3948504vcb.6 for ; Mon, 14 Nov 2011 22:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Br3+u3xBxwld4dqnKdcQjfai5knzbqE2eTEMcthDYVc=; b=om1I/MadGB2EOH9GZIFFzSHrwdrBSrHWGqFGxI5+zDC2Kt+iUcUq14We4Hi6hQFBzv j35qJkcC/E+yYjOtHBs7g6JvJHRuvjLYX7+H03R+xYCIYks4M5XIW9wMmSNQGFANixyO vyLfeCbt4XQ3HmuVkNId0DtT9mrexmKc310MU= MIME-Version: 1.0 Received: by 10.224.200.197 with SMTP id ex5mr15705731qab.88.1321338383397; Mon, 14 Nov 2011 22:26:23 -0800 (PST) Received: by 10.229.184.6 with HTTP; Mon, 14 Nov 2011 22:26:23 -0800 (PST) In-Reply-To: <20111115004015.GB480@localhost> References: <20111115004015.GB480@localhost> Date: Tue, 15 Nov 2011 00:26:23 -0600 Message-ID: Subject: Re: [API] Re: No addRow method in XGridDataModel interface in Oo 3.4 beta From: =?ISO-8859-1?Q?Gerardo_G=F3mez?= To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf3010ed83f8716704b1c01079 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3010ed83f8716704b1c01079 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Ariel. Thank you again for pointing me in to the right direction. I think this same error is caused in LibreOffice by this change in the UNO-AWT API. Thanks. On Mon, Nov 14, 2011 at 6:40 PM, Ariel Constenla-Haile < ariel.constenla.haile@gmail.com> wrote: > Hi Gerardo, > > On Mon, Nov 14, 2011 at 06:02:46PM -0600, Gerardo G=F3mez wrote: > > Hello. > > I've developed an extension which uses the XGridDataModel (especificall= y > a > > grid). This extension works ok on Ooo 3.3, but when i try to use it in > the > > new version, the 3.4 beta, the dialog that has the grid doesn't work at > > all. This message is shown when i try to display the dialog with the > grid: > > > > /opt/ooo-dev3/program/../basis-link/ure-link/lib/libstdc++.so.6: versio= n > > `GLIBCXX_3.4.11' not found (required by /usr/lib/libproxy.so.1) > > Failed to load module: /usr/lib/gio/modules/libgiolibproxy.so > > Exception in thread "Thread-175" java.lang.NoSuchMethodError: > > > com.sun.star.awt.grid.XGridDataModel.addRow(Ljava/lang/String;[Ljava/lang= /Object;)V > > at util.OoGridDataModel.addRow(OoGridDataModel.java:43) > > at util.OoGridDataModel.addRow(OoGridDataModel.java:39) > > at > > > org.openoffice.gdocs.ui.dialogs.ImportDialog.getDocumentsGrid(ImportDialo= g.java:811) > > at > > > org.openoffice.gdocs.ui.dialogs.ImportDialog.initComponents(ImportDialog.= java:319) > > at > > > org.openoffice.gdocs.ui.dialogs.ImportDialog.(ImportDialog.java:257= ) > > at org.openoffice.gdocs.UNOGDocs$3.run(UNOGDocs.java:262) > > at java.lang.Thread.run(Thread.java:662) > > > > I think that this problem has to do with the new version (maybe because > it > > is a beta). > > the API was changed in an incompatible way with > http://hg.services.openoffice.org/OOO340/rev/435dac48d5dd > since 3.4 you have to use css.awt.grid.XMutableGridDataModel, it should > be document on the SDK you downloaded with OOo 3.4 beta > > > Regards > -- > Ariel Constenla-Haile > La Plata, Argentina > --20cf3010ed83f8716704b1c01079--