mDriveOOo logo Documentation

Ce document en français.

The use of this software subjects you to our Terms Of Use and Data Protection Policy.

version 1.3.0

Introduction:

mDriveOOo is part of a Suite of LibreOffice and/or OpenOffice extensions allowing to offer you innovative services in these office suites.

This extension allows you to work in LibreOffice on your Microsoft oneDrive files, even while offline.
It uses Microsoft Graph API to synchronize your remote Microsoft oneDrive files with the help of a local HsqlDB 2.7.2 database.
This extension is seen by LibreOffice as a Content Provider responding to the URL: vnd-microsoft://*.

Being free software I encourage you:

In short, to participate in the development of this extension. Because it is together that we can make Free Software smarter.


Requirement:

The mDriveOOo extension uses the OAuth2OOo extension to work.
It must therefore meet the requirement of the OAuth2OOo extension.

The mDriveOOo extension uses the jdbcDriverOOo extension to work.
It must therefore meet the requirement of the jdbcDriverOOo extension.
Additionally, mDriveOOo requires the jdbcDriverOOo extension to be configured to provide com.sun.star.sdb as the API level, which is the default configuration.


Installation:

It seems important that the file was not renamed when it was downloaded.
If necessary, rename it before installing it.

Restart LibreOffice after installation.
Be careful, restarting LibreOffice may not be enough.


Use:

Open your Microsoft OneDrive:

In File -> Open enter in the first drop-down list:

or

And validate not by the Open button but by the Enter key.

If you don’t give your_email@your_provider, you will be asked for…

Anonymous Urls allow you to remain anonymous (your account does not appear in the Url) while named Urls allow you to access several accounts simultaneously.

After authorizing the OAuth2OOo application to access your Microsoft OneDrive files, your OneDrive files should appear!!! normally :wink:


How to customize LibreOffice menus:

In order to be able to keep using system dialog windows for opening and saving files in LibreOffice, it is now possible to create custom menus for the commands: Open Remote and Save Remote.

In the Menu tab of the Tools -> Customize window, select Macros in Category to access the two macros: OpenRemote and SaveRemote under: My Macros -> mDriveOOo.
You will first need to add the OpenRemote macro to one of the menus with the Scope set to LibreOffice, then you will need to open the applications (Writer, Calc, Draw…) possibly using a new document, and add the OpenRemote and SaveRemote macros with the Scope set to the application you want to add the menus to.

The OpenRemote macro supports any type of Scope, while the SaveRemote macro should only be assigned to application-type scopes because it requires a document to already be open in LibreOffice.
This only needs to be done once for LibreOffice and each application, and unfortunately I haven’t found anything simpler yet.


How to build the extension:

Normally, the extension is created with Eclipse for Java and LOEclipse. To work around Eclipse, I modified LOEclipse to allow the extension to be created with Apache Ant.
To create the mDriveOOo extension with the help of Apache Ant, you need to:


Has been tested with:

I encourage you in case of problem :confused:
to create an issue
I will try to solve it :smile:


Historical:

What has been done for version 0.0.5:

What has been done for version 0.0.6:

What has been done for version 1.0.0:

What has been done for version 1.0.1:

What has been done for version 1.0.2:

What has been done for version 1.0.3:

What has been done for version 1.0.4:

What has been done for version 1.0.5:

What has been done for version 1.0.6:

What has been done for version 1.0.7:

What has been done for version 1.1.0:

What has been done for version 1.1.1:

What has been done for version 1.1.2:

What has been done for version 1.1.3:

What has been done for version 1.1.4:

What has been done for version 1.1.5:

What has been done for version 1.1.6:

What has been done for version 1.2.0:

What has been done for version 1.2.1:

What has been done for version 1.3.0:

What remains to be done for version 1.3.0: