[Libreoffice-bugs] [Bug 114312] New: UNO services for Document Settings absent from API

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 7 14:29:54 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=114312

            Bug ID: 114312
           Summary: UNO services for Document Settings absent from API
           Product: LibreOffice
           Version: 5.4.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: fpvolquind at gmail.com

Description:
Using Java API, I am trying to change a Writer document setting (EmbedFonts).
There is no reference to either com.sun.star.document.Settings or
com.sun.star.tex.DocumentSettings on the API, although they can be found on the
online JavaDocs.
Using XMultiServiceFactory.createInstance returns a null object.
I tried the MRI extension, and the service is no listed there either.

Steps to Reproduce:
1- Bootstrap LibreOffice from the Java API, load a document.
2- Using a XMultiServiceFactory object, try to call
xMSF.createInstance("com.sun.star.tex.DocumentSettings");

Actual Results:  
Call returns null.

Expected Results:
Call should return a DocumentSettings object.


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/61.0.3163.100 Safari/537.36

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20171207/7d879ea0/attachment-0001.html>


More information about the Libreoffice-bugs mailing list