[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libreoffice-users] Experimental macro features: How to determine object types?


On 22/10/2019 14:40, Johnny Rosenberg wrote:
Den tis 22 okt. 2019 kl 14:32 skrev Stephan Bergmann <sbergman@redhat.com <mailto:sbergman@redhat.com>>:
On 22/10/2019 14:23, Johnny Rosenberg wrote:
> *Sub Test    Dim oRange As com.sun.star.sheet.XSheetCellRange
>
oRange=ThisComponent.getSheets().getByIndex(0).getCellRangeByPosition(0,0,10,10)
>    Dim oDescriptor As com.sun.star.util.XSearchDescriptor
> oDescriptor=oRange.createSearchDescriptor() ' Gives an error
message.End
> Sub*

And how do you enable "the experimental features in Basic"?  If I
have a
working reproducer, I can take a look at why things behave oddly.

<https://gerrit.libreoffice.org/#/c/81386/> "In checkUnoObjectType, check for derived-from types too" should fix it


--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.