3.2.5
[phpmyadmin/dkf.git] / libraries / export / excel.php
blobd4b8e1a4fbde745f7cab917f6145da3ee6e25a6b
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Set of functions used to build CSV dumps of tables
6 * @package phpMyAdmin-Export-CSV
7 * @version $Id$
8 */
9 if (! defined('PHPMYADMIN')) {
10 exit;
13 /**
16 if (isset($plugin_list)) {
17 $plugin_list['excel'] = array(
18 'text' => 'strStrucExcelCSV',
19 'extension' => 'csv',
20 'mime_type' => 'text/comma-separated-values',
21 'options' => array(
22 array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'),
23 array('type' => 'bool', 'name' => 'removeCRLF', 'text' => 'strRemoveCRLF'),
24 array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'),
25 array(
26 'type' => 'select',
27 'name' => 'edition',
28 'values' => array(
29 'win' => 'Windows',
30 'mac_excel2003' => 'Excel 2003 / Macintosh',
31 'mac_excel2008' => 'Excel 2008 / Macintosh'),
32 'text' => 'strExcelEdition'),
33 array('type' => 'hidden', 'name' => 'data'),
35 'options_text' => 'strOptions',
37 } else {
38 /* Everything rest is coded in csv plugin */
39 require './libraries/export/csv.php';