<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UNO services for Document Settings absent from API"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114312">bug 114312</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>momonasmon@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UNO services for Document Settings absent from API"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114312#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - UNO services for Document Settings absent from API"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=114312">bug 114312</a>
              from <span class="vcard"><a class="email" href="mailto:momonasmon@gmail.com" title="Maxim Monastirsky <momonasmon@gmail.com>"> <span class="fn">Maxim Monastirsky</span></a>
</span></b>
        <pre>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 <a href="show_bug.cgi?id=114312#c2">comment #2</a>)
<span class="quote">> Is there any way to edit the original post?</span >
No way currently.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>