| layout | default | ||
|---|---|---|---|
| title | vCardOOo documentation (English) | ||
| permalink | / | ||
| redirect_from |
|
Ce document en français.
The use of this software subjects you to our Terms Of Use and Data Protection Policy.
version 1.4.1
vCardOOo is part of a Suite of LibreOffice and/or OpenOffice extensions allowing to offer you innovative services in these office suites.
This extension gives you access, in LibreOffice, to your contacts present on a CardDAV server (or vCard Extensions to WebDAV).
It uses RFC 6352 to synchronize your remote address book into a local HsqlDB 2.7.4 database.
This extension is seen by LibreOffice as a database driver responding to the URL: sdbc:address:vcard:*.
Being free software I encourage you:
- To duplicate its source code.
- To make changes, corrections, improvements.
- To open issue if needed.
- To participate in the costs of CASA certification.
In short, to participate in the development of this extension.
Because it is together that we can make Free Software smarter.
The vCardOOo extension uses the OAuth2OOo extension to work.
It must therefore meet the requirement of the OAuth2OOo extension.
The vCardOOo extension uses the jdbcDriverOOo extension to work.
It must therefore meet the requirement of the jdbcDriverOOo extension.
Additionally, vCardOOo requires the jdbcDriverOOo extension to be configured to provide com.sun.star.sdb as the API level, which is the default configuration.
It seems important that the file was not renamed when it was downloaded.
If necessary, rename it before installing it.
-
Install OAuth2OOo.oxt extension
You must install this extension, if it is not already installed.
-
Install jdbcDriverOOo.oxt extension
You must install this extension, if it is not already installed.
-
Install vCardOOo.oxt extension
Restart LibreOffice after installation.
Be careful, restarting LibreOffice may not be enough.
- On Windows to ensure that LibreOffice restarts correctly, use Windows Task Manager to verify that no LibreOffice services are visible after LibreOffice shuts down (and kill it if so).
- Under Linux or macOS you can also ensure that LibreOffice restarts correctly, by launching it from a terminal with the command
sofficeand using the key combinationCtrl + Cif after stopping LibreOffice, the terminal is not active (no command prompt).
After this restart, you will be asked to install Python packages containing binary files. Please refer to the Installing Python packages section for more information.
After restarting LibreOffice, you can ensure that the extension and its driver are correctly installed by checking that the io.github.prrvchr.vCardOOo.Driver driver is listed in the Connection Pool, accessible via the menu: Tools -> Options -> LibreOffice Base -> Connections. It is not necessary to enable the connection pool.
If the driver is not listed, the reason for the driver failure can be found in the extension's logging. This log is accessible via the menu: Tools -> Options -> LibreOffice Base -> CardDAV Contacts -> Logging Options.
The vCardLog logging must first be enabled and then LibreOffice restarted to get the error message in the log.
In LibreOffice / OpenOffice go to: File -> Wizards -> Address Data Source...
The Address Book Datasource Wizard open.
In step: 1.Address Book Type:
- Select: Other external data source.
- Click button: Next.
In step: 2.Connection Settings:
- Click button: Settings.
A new wizard opens. Data source properties.
In step: 1.Advanced Properties.
In Database type list:
- Select: vCard Contacts.
- click button: Next.
In step: 2.Connection Settings.
In General: Enter the DBMS/driver-specific connection string here.
- Put the url of your Nextcloud instance (ie: nuage.distrilab.fr).
In User Authentication: User name:
- Put your username.
- Check the box: Password required
Then:
- Click button: Test connection.
In Authentication required: Password:
- Put your password.
Normally you should see: Connection Test: The connection was established successfully.
If the connection has been established, you can complete this wizard with the Finish button.
In step: 3.Table Selection.
If your data source has multiple tables, you will be asked to select the primary table.
In this case select the table: All my contacts. If necessary and before any connection it is possible to rename the main table name in: Tools -> Options -> Internet -> vCardOOo -> Main table name.
In step: 4.Field Assignment.
If necessary it is possible to rename the names of the columns of the data source using the button: Field Assignment.
Please continue this wizard with the button: Next.
In step: 5.Data Source Title.
You must create an odb file. To do this you must:
- Uncheck the box: Embed this address book definition in the current document.
- Named the odb file in the field: Location.
This odb file must also be made accessible. To do this you must:
- Check the box: Make this address book available to all modules in LibreOffice
- Named the address book in the field: Address book name.
Have fun...
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 vCardOOo extension with the help of Apache Ant, you need to:
- Install the Java SDK version 17 or higher.
- Install Apache Ant version 1.10.0 or higher.
- Install LibreOffice and its SDK version 7.x or higher.
- Clone the vCardOOo repository on GitHub into a folder.
- From this folder, move to the directory:
source/vCardOOo/ - In this directory, edit the file:
build.propertiesso that theoffice.install.dirandsdk.dirproperties point to the folders where LibreOffice and its SDK were installed, respectively. - Start the archive creation process using the command:
ant - You will find the generated archive in the subfolder:
dist/
-
LibreOffice 7.3.7.2 - Lubuntu 22.04 - Python version 3.10.12 - OpenJDK-11-JRE (amd64)
-
LibreOffice 7.5.4.2(x86) - Windows 10 - Python version 3.8.16 - Adoptium JDK Hotspot 11.0.19 (under Lubuntu 22.04 / VirtualBox 6.1.38)
-
LibreOffice 7.4.3.2(x64) - Windows 10(x64) - Python version 3.8.15 - Adoptium JDK Hotspot 11.0.17 (x64) (under Lubuntu 22.04 / VirtualBox 6.1.38)
-
LibreOffice 24.8.0.3 (x86_64) - Windows 10(x64) - Python version 3.9.19 (under Lubuntu 22.04 / VirtualBox 6.1.38)
-
Does not work with OpenOffice on Windows see bug 128569. Having no solution, I encourage you to install LibreOffice.
I encourage you in case of problem 😕
to create an issue
I will try to solve it 😄
This extension was written in order to make usable in free software (LibreOffice or OpenOffice) your personal data (your vCard) stored on a Nextcloud server.
With the eMailerOOo extension, it can be the data source for mail merge by email, to your correspondents (your vCard) coming from the Nextcloud server.
It will give you access to an information system that only larges companies are able, today, to implement.









