https://bugs.documentfoundation.org/show_bug.cgi?id=114312
Maxim Monastirsky <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #3 from Maxim Monastirsky <[email protected]> ---
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
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs