Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index

[tdf-discuss] Re: Remove ActiveX from LibreOffice

If you search for "Microsoft Excel Automation" you'll find many references
online of how ActiveX is used in other applications to allow the Excel
engine to compute things in a spreadsheet form.  Were the same ability
well-documented in LibreOffice, many people would switch as LibreOffice is
free, and Excel costs hundreds of dollars.

I urge you not to remove it, but to improve it for simpler integration.  It
should work like this:

lo = CreateObject("libreoffice.application")"c:\path\to\my\document\file.ext")
lo.visible = .t.

And in that way, an application can directly integrate operations into
their app which loads LibreOffice.  Note that these examples are in Visual
Basic, but the same general form works from any application, including C++
(see below):

Here are some automation examples for Excel, Word, Outlook, and PowerPoint:

A more example-by-example based tutorial:

Here's a code snippet on how to access ActiveX from another application
using C++ from MSDN:

ActiveX allows applications to integrate each other, and to have windowed
portions within an application which are actually a "portal" through to the
other application, though it appears to be fully integrated.  It is a
powerful tool.  And as I say, I have not used LibreOffice for integration
because I could not find good documentation on how to do it, whereas there
are many online resources on how to use Microsoft Office integration.  If
the documentation were better, Windows people would use it as it is highly

Best regards,
Rick C. Hodgin

On Mon, Jan 11, 2016 at 9:52 AM, James E Lang <> wrote:

-----Original Message-----
From: Bryan Quigley <>
To: libreoffice <>
Sent: Sun, 10 Jan 2016 15:41
Subject: Re: Remove ActiveX from LibreOffice


My position on ActiveX is to leave it (lest we break applications in the
wild,) and to *announce its deprecation* with two goals: first, solicit the
feedback of LO ActiveX consumers and, if so inclined to continue using it,
help in its support. And second, to flag a date in the future when ActiveX
will be completely removed from LO codebase, pending sufficient reason and
support by its consumers.

[Just to toss in a comment from a NOT NECESSARILY typical USER, I would
probably fail to see any depreciation notice unless it were thrown in my
face each time I used the feature until I say (in effect), "all right,
Enough Already, SHUT UP!" aka, "Don't show this notice again." The same
should apply to revising any existing menu accelerators. --jl]


LibreOffice mailing list

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.