GithubHelp home page GithubHelp logo

collaboraonline / coleat Goto Github PK

View Code? Open in Web Editor NEW
4.0 22.0 1.0 334 KB

Collabora OLE Automation Tool

Home Page: https://www.collaboraoffice.com/coleat/

C++ 98.70% Shell 1.29% C 0.02%
ole automation windows office mso collaboraoffice com libreoffice collabora-office

coleat's Introduction

Note: This project is pining for the fjords at the moment. It might get
re-animated at some stage if somebody needs something like this, but
I hope (and suspect) that will not happen.

COLEAT = Collabora OLE Automation Translator

    IMPORTANT: Note that for the redirection to Collabora Office to
    work, you need Collabora Office 6.0 or later.

COLEAT (coleat.exe) is an application that runs another application
(passed on its command line) in one of two modes: Either as such, but
with various amounts of logging and tracing output, or redirecting the
app's use of Word and Excel COM components to Collabora Office ones
instead.

Terminology:
    The program being run under COLEAT is called the "wrapped client
    application".

    The application offering Automation or COM services that the
    client application is supposed to use is called the "original
    application".

    The one that the client application gets redirected to instead is
    the "replacement application".

(Even though I use Word, Excel, and Collabora Office here as examples,
COLEAT could also be built to work against some other OLE Automation
and COM service offering application, and redirect use of that to
another replacement application.)

With no options, COLEAT does just the redirection functionality. I.e.
if you run it on a client application (written in VB6, C++, VBScript,
or some other programming language) that starts Word to open a
document, and do something on it, COLEAT will make it instead start
Collabora Office and open the document in that, and do the
corresponding operations on the document. Note: For now, the
functionality available in Collabora Office that matches that in Word
closely enough is fairly limited.

With the -n option, no redirection takes place, and the client
application should work as it does without being wrapped by COLEAT.
The only difference is that by also using the -t option, you will get
tracing output describing the API of the target app (Word or Excel)
used.

There is also an option -v that gives verbose output than -t, but it
is mostly intended as a debugging tool for COLEAT itself.

COLEAT needs to be installed so that the four .exe files and two .dll
files are in the same folder.

Summary: Use it like this, in a Command Prompt window:

coleat -n -t cscript demo.vbs

to run the included demo.vbs VBScript program, that opens a couple of
documents in Word and does some (very) simple things with them.

or:

coleat -n -t demo.exe

to run the included demo.exe VB6 program, that does the same.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.