# LibreOffice GSoC Final Report

## Additions - Tight integration of extensions!

The idea of additions is to better integrate extensions. On various places it should be possible to get more content from external storage. It is an “addition” as it rather provides presets than extensions like macros or templates; but the procedure behind might be similar.

On various places it should be possible to get more content such as macros or templates from external storage. This requirement is now fulfilled with the Additions Dialog.

Go extensions.libreoffice.org and search what you want to install.

Open the Extension Manager and click Add button.

Select the file to install it.

Just need to write name of the extension and click install button.

## Achievements

Extensions can be

• searched
• installed using by threads to prevent congestion

### API Connection

cURL is used to establish the connection between the dialog and the API.

### Installation

Installation is performed by the Extension Manager class functions.

### Sorting

Sorting is performed by the C++ standard sort function(std::sort). There are 3 types of sorting for extensions:

• Comment Number
• Rating

## How to add shortcut from other dialogs

The only thing should do is adding uno command with a parameter.

#### Example for template dialog with C++

uno::Sequence<beans::PropertyValue> aArgs(1);
aArgs[0].Value <<= OUString("Templates");


Detailed code: https://gerrit.libreoffice.org/c/core/+/99339