function sheetnode_phpexcel_sheetnode_phpexcel_plugins in Sheetnode 5
Same name and namespace in other branches
- 6 modules/sheetnode_phpexcel/sheetnode_phpexcel.module \sheetnode_phpexcel_sheetnode_phpexcel_plugins()
- 7.2 modules/sheetnode_phpexcel/sheetnode_phpexcel.module \sheetnode_phpexcel_sheetnode_phpexcel_plugins()
- 7 modules/sheetnode_phpexcel/sheetnode_phpexcel.module \sheetnode_phpexcel_sheetnode_phpexcel_plugins()
Implementation of hook_sheetnode_phpexcel_plugins().
File
- modules/
sheetnode_phpexcel/ sheetnode_phpexcel.module, line 15
Code
function sheetnode_phpexcel_sheetnode_phpexcel_plugins() {
return array(
'xls' => array(
'content-type' => 'application/vnd.ms-excel',
'php-excel-type' => 'Excel5',
'input' => TRUE,
'output' => TRUE,
'short-name' => t('XLS'),
'long-name' => t('Microsoft Excel 5 (XLS)'),
),
'xlsx' => array(
'content-type' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'php-excel-type' => 'Excel2007',
'input' => TRUE,
'output' => TRUE,
'short-name' => t('XLSX'),
'long-name' => t('Microsoft Excel 2007 (XLSX)'),
),
'ods' => array(
'content-type' => 'application/vnd.oasis.opendocument.spreadsheet',
'php-excel-type' => 'OOCalc',
'input' => TRUE,
'output' => FALSE,
'short-name' => t('ODS'),
'long-name' => t('OpenOffice.org Calc (ODS)'),
),
'pdf' => array(
'content-type' => 'application/pdf',
'php-excel-type' => 'PDF',
'input' => FALSE,
'output' => TRUE,
'short-name' => t('PDF'),
'long-name' => t('Adobe Acrobat (PDF)'),
),
);
}