incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: [API] Re: No addRow method in XGridDataModel interface in Oo 3.4 beta
Date Tue, 15 Nov 2011 10:21:26 GMT
Hi Fernando, Gerardo, *,

On Tue, Nov 15, 2011 at 09:59:48AM +0100, Fernand Vanrie wrote:
> Ariel, Gerardo
> I am working with LibreOffice OOO340m1 (Build:302) and all new
> featers (like Backgroundcolors etc..) using the API and Basic seems
> to work:
> dlg.Model.createInstance("")
> gcolm2 = CreateUnoService("")
> gcolm2.addColumn(oCol)
> gdatam2 = CreateUnoService("")
> gdatam2.addRow(nRowCount,oData2())

because this is Basic, but in
3.4 implements XMutableGridDataModel, addRow is a method from this interface, 
not from XGridDataModel anymore:

(May be the beta SDK docs could be uploaded to )


You don't have problems in Basic of course, but in C++ and Java you have
to query the right interface, XMutableGridDataModel  instead of XGridDataModel.
Gerardo should upgrade the minimal version to 3.4 otherwise the
extension won't work.

Ariel Constenla-Haile
La Plata, Argentina

View raw message