[Libreoffice] Properties not accessible

Regina Henschel rb.henschel at t-online.de
Thu Oct 13 13:56:25 PDT 2011


Hi Knut,

Knut Olav Bøhmer schrieb:
> Hi,
>
> Why is it that some properties on some objects/services are not settable
> from BASIC?
> Like for example
> "ThisComponent.getTextSections().getByName("sectionName").IsAutomaticUpdate
> = True" has no effect
> Is it some way to "fix" it?

Try
ThisComponent.getTextSections().getByName("sectionName").setPropertyValue("IsAutomaticUpdate",true)

Kind regards
Regina


More information about the LibreOffice mailing list