Alberto González Palomo wrote on 21/09/16 at 19:45:

  I have a working Java application that uses UNO with LibreOffice 5.
  I'm using createInstanceWithContext for,
but in the documentation it says that this interface is deprecated and
we should use the "theDesktop singleton" instead:

  However I haven't found any information on how to do that.

  Is this documented anywhere, or is there any example that uses
theDesktop instead of Desktop?

  Ok, I got it working.

None of the Java examples in the SDK uses theDesktop, all use the "deprecated" Desktop.

  Now instead of:

     ("", componentContext)

  I use:

    Alberto González Palomo
    Toledo, España / Saarbrücken, Deutschland
LibreOffice mailing list

Reply via email to