Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
DelphiTech Partner

Professional Delphi Library for Automating the LibreOffice


LibreOffice is one of the most used, popular, powerful, and free office suite, used by millions of people around the world. Moreover, deployed so many business solutions to automate or process documents.

Since LibreOffice is open-source and free, there are already available libraries to automate and work with LibreOffice from several programming languages. To connect your Delphi projects to LibreOffice we can use Libre library by WINSOFT that offers you a complete API. 

Libre by WINSOFT is a commercial library and gives complete support for LibreOffice APIs and upgrade options to new APIs. Here you can register a license to distribute this library in your Delphi projects.


  • Complete LibreOffice API supported
  • Available for Delphi 7 – 10.4
  • Source code included in registered versions only


Please, follow this short video on how to configure the Libre library to your RAD Studio

And be sure to install the LibreOffice suite to your PC, because without it you can not see your results. In this demo, we are using the latest LibreOffice version 7.0.0

Moreover, you should add the Libre unit to your uses list.


Our demo is huge and we try to emphasize the essential parts to you. But, you can watch this action video on this demo. You can find more features in this library.

So, let’s start from a simple one, creating a text document. For this, you should declare and create instances of Libre interfaces.

  • ILibre
  • XTextDocument
  • XText
  • XStorable

LibreOffice has some functions that minimize document processing. For instance, the replace function. Here is how we can handle this function in our text document.

Moreover, you can export your “odt” documents into PDF, DOC, DOCX, TXT, RTF. Here is the solution to convert the LibreOffice document into a PDF.

Additionally, with the Libre library you can work with LibreOffice Impress, LibreOffice Base, LibreOffice Draw, LibreOffice Calc. You have an option to create even math formulas and apply them to process data. 

Here is how we can create a spreadsheet and apply a formula.

Head over and check out the full WINSOFT Libre library.

Like what you see? You can get the Libre Component Library and over 100 other fantastic WinSoft components with our Enterprise Component Pack. For a limited time, when you purchase RAD Studio Enterprise or Architect Edition at special Upgrade Pricing, you will also get this package of third-party software worth over $13,000, including the full WinSoft Component Library, at NO EXTRA COST! Step up to RAD Studio 10.4.1 today!

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Software Developer | CS(CyberSec) Undergrad at APU Malaysia | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.