'Delphi+ Linux + OpenOffice/LibreOffice

Is this combination of three viable somehow or should I use only any two of them? For working with OpenOffice in Windows I use the code like this:

var AApp, ADesktop: Variant;
begin
....
    AApp := CreateOleObject('com.sun.star.ServiceManager');
    ADesktop := AApp.CreateInstance('com.sun.star.frame.Desktop');
...
end;

For obvious reasons (no Ole) it can't be directly transferred in Linux. Then how to make conversion of the Word/Excel documents to PDF/image files using Delphi on Linux?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source