Let's again obey TextareaRows (bug #1465906).
[phpmyadmin/crack.git] / libraries / export / excel.php
blob1f6d96f8f74d7800b3cc2cd9e3c12584cb3d2284
1 <?php
2 /* $Id$ */
3 // vim: expandtab sw=4 ts=4 sts=4:
5 /**
6 * Set of functions used to build CSV dumps of tables
7 */
9 if (isset($plugin_list)) {
10 $plugin_list['excel'] = array(
11 'text' => 'strStrucExcelCSV',
12 'extension' => 'csv',
13 'mime_type' => 'text/comma-separated-values',
14 'options' => array(
15 array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'),
16 array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'),
17 array('type' => 'select', 'name' => 'edition', 'values' => array('win' => 'Windows', 'mac' => 'Excel 2003 / Macintosh'), 'text' => 'strExcelEdition'),
18 array('type' => 'hidden', 'name' => 'data'),
20 'options_text' => 'strExcelOptions',
22 } else {
23 /* Everything rest is coded in csv plugin */
24 require('./libraries/export/csv.php');