Class for converting files between different formats using unoconv.
More...
Class for converting files between different formats using unoconv.
- Copyright
- 2017 Andrew Nicols andre.nosp@m.w@ni.nosp@m.cols..nosp@m.co.u.nosp@m.k
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ are_requirements_met()
static fileconverter_googledrive\converter::are_requirements_met |
( |
| ) |
|
|
static |
◆ get_supported_conversions()
fileconverter_googledrive\converter::get_supported_conversions |
( |
| ) |
|
◆ poll_conversion_status()
fileconverter_googledrive\converter::poll_conversion_status |
( |
conversion |
$conversion | ) |
|
Poll an existing conversion for status update.
- Parameters
-
conversion | $conversion | The file to be converted |
- Return values
-
Implements core_files\converter_interface.
◆ serve_test_document()
fileconverter_googledrive\converter::serve_test_document |
( |
| ) |
|
Generate and serve the test document.
- Return values
-
◆ start_document_conversion() [1/2]
Convert a document to a new format and return a conversion object relating to the conversion in progress.
- Parameters
-
core_files\conversion | $conversion | The file to be converted |
- Return values
-
◆ start_document_conversion() [2/2]
core_files\converter_interface::start_document_conversion |
( |
conversion |
$conversion | ) |
|
|
inherited |
Convert a document to a new format and return a conversion object relating to the conversion in progress.
- Parameters
-
conversion | $conversion | The file to be converted |
- Return values
-
◆ supports()
static fileconverter_googledrive\converter::supports |
( |
|
$from, |
|
|
|
$to |
|
) |
| |
|
static |
Whether a file conversion can be completed using this converter.
- Parameters
-
string | $from | The source type |
string | $to | The destination type |
- Return values
-
Implements core_files\converter_interface.
The documentation for this class was generated from the following file: