Your IP : 3.144.188.17
<?
namespace Bitrix\Transformer;
/**
* Class Document
* High-level logic to work with commands for documents.
*
* Make transformation of a document (.doc, .xls, .pdf and others formats) supported by Libre Office
* Correct transformation:
* .doc|.docx|.ods => pdf|jpg|txt|text
* .xls|.xlsx|.odt => pdf|jpg|csv
* .pdf => jpg.
*
* @package Bitrix\Transformer
*/
class DocumentTransformer extends FileTransformer
{
const PDF = 'pdf';
const TXT = 'txt';
const TEXT = 'text';
const CSV = 'csv';
protected function getCommandName()
{
return 'Bitrix\TransformerController\Document';
}
protected function getFileTypeName()
{
return 'Document';
}
}