collaboraonline / coleat Goto Github PK
View Code? Open in Web Editor NEWCollabora OLE Automation Tool
Home Page: https://www.collaboraoffice.com/coleat/
Collabora OLE Automation Tool
Home Page: https://www.collaboraoffice.com/coleat/
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.
We tried exporting to Writer and Calc from our ERP-system using COLEAT. Unfortunately the export is aborted in both cases with a COM-related Exception:
I have attached both types of logs: Those exporting to the Microsoft Office products (using the -n option) for understanding what our ERP system tries to do. And those exporting to Collabora Office to see where it aborts.
coleat_calc_error.log
coleat_excel_trace.log
coleat_word_trace.log
coleat_writer_error.log
The ERP-system is Java-based (client & server) and connects to Office using some (to me unknown) library.
For clarification: We are NOT the developers of the ERP-system but a small company (less than 15 people) lucky to have a developer on board.
Keep up this great work! We might switch to Collabora Office as soon as COLEAT allows us to. :)
Cheers
Chris
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.