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

Maxim Monastirsky <momonas...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |momonas...@gmail.com

--- Comment #3 from Maxim Monastirsky <momonas...@gmail.com> ---
I can't reproduce the problem under Fedora 27 with LO 5.4.4.2-1.fc27. This code
works perfectly for me:

XComponent xComp = xCLoader.loadComponentFromURL("private:factory/swriter",
"_blank", 0, new PropertyValue[0]);
XMultiServiceFactory xMSF =
UnoRuntime.queryInterface(XMultiServiceFactory.class, xComp);
Object xSettings = xMSF.createInstance("com.sun.star.text.DocumentSettings");
XPropertySet xDocProps = UnoRuntime.queryInterface(XPropertySet.class,
xSettings);
xDocProps.setPropertyValue("EmbedFonts", new Boolean(true));

Does this minimal example work for you?

(In reply to Fernando Volquind from comment #2)
> Is there any way to edit the original post?
No way currently.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to