Re: Help: Get and setting document level user variables doesn’t working before LibreOffice version 4.2.1.1.

Stephan Bergmann sbergman at redhat.com
Tue May 6 07:32:07 PDT 2014


On 05/02/2014 02:15 PM, Nikunj Banker wrote:
> The following API not working with latest version of LibreOffice:
>
> oDocumentInfo = oDocument.getDocumentInfo()
>
> iCnt = oDocumentInfo.getUserFieldCount()
>
> oDocumentInfo.getUserFieldName(iIndex)
>
> and
>
> oDocumentInfo.getUserFieldValue(iIndex)
>
> It’s found that these methods/API are depreciated, can you provide new
> API calls that are necessary to add user properties to a file/document?

see 
<https://wiki.documentfoundation.org/ReleaseNotes/4.0#XDocumentInfo_removed>

Stephan


More information about the LibreOffice mailing list