Broken API when refering to constant sun.star.awt.ImageScaleMode.Isotropic example: Sub Main n = sun.star.awt.ImageScaleMode.Isotropic End Sub Error message: Property or method undefined: Isotropic However, Isotropic is defined in http://api.libreoffice.org/docs/idl/ref/namespacecom_1_1sun_1_1star_1_1awt_1_1ImageScaleMode.html
Actually, none of the sun.star.awt.ImageScaleMode.* modes work Fails with Isotropic Anisotropic None Works in LO 4.1.4 under Linux
[your example misses the leading "com." in "com.sun.star.awt.ImageScaleMode.Isotropic"] The members of -- unpublished -- constant group com.sun.star.awt.ImageScaleMode were renamed from title- to uppercase in <http://cgit.freedesktop.org/libreoffice/core/commit/?id=949f97ba480f96c7892602f3208467ac925fab15> "Resolves: #i121162# ImageScaleMode constants should be in UPPERCASE" (towards LO 4.2), and referencing such UNOIDL constant names is apparently case-sensitivie in Basic.