PDF converter
A tool for converting documents, spreadsheets, presentations, and forms to PDF.
Installation
Available by default in the DocSpace Saas solution.
You can enable it following the instructions here.
Configuration
To start working with the plugin:
- Generate the API token using ConvertAPI.
- Go to Developer Tools -> Integration -> Plugins.
- Click
next to the PDF converter plugin.
- Enter the API token in the corresponding field.
Once the API token is enabled, the plugin becomes available to all users of the current DocSpace portal.
There you can also view the plugin metadata, such as the author, version, status, homepage, and description.
Usage
Audio and video files cannot be converted to PDF.
To convert a file to PDF:
- Open the Documents section or one of the available rooms.
- Right-click a file name to open the file context menu.
- Click Convert to PDF.
- Change the file name in a pop-up window and click Convert file. The converted file is saved in the same folder as the original one.
Plugin structure
Repository on GitHub: pdf-converter.
All the required files are described here.
Interfaces
The following plugin interfaces are used:
- IPlugin. Required for each plugin. It contains the plugin status (PluginStatus) variable, used to embed the plugin into the DocSpace.
- IApiPlugin. Required as we implement a third-party service (ConvertAPI).
- ISettingsPlugin and ISettings. Used to add settings block for plugin's configuration. The users will access this block from Settings -> Integration -> Plugins to adjust the plugin's parameters.
- IContextMenuPlugin and IContextMenuItem. Used to implement a context menu action.
Support
If you want to request a feature or report a bug regarding this plugin, use the issues section on GitHub.