1<?php
2/**
3 * Options for the odt plugin
4 *
5 * @author Andreas Gohr <andi@splitbrain.org>
6 *
7 * @package DokuWiki\Conf\Metadata
8 */
9
10$meta['tpl_dir']   = array('string');
11$meta['odt_template'] = array('string');
12$meta['showexportbutton'] = array('onoff');
13$meta['showpdfexportbutton'] = array('onoff');
14
15$meta['css_usage']     = array('multichoice', '_choices' => array('off (plugins only)', 'basic style import'));
16$meta['media_sel']     = array('string');
17$meta['css_font_size'] = array('numeric');
18$meta['css_template']  = array('dirchoice', '_dir' => DOKU_INC . 'lib/tpl/');
19
20$meta['apply_fs_to_non_css'] = array('onoff');
21
22$meta['twips_per_pixel_x'] = array('numeric');
23$meta['twips_per_pixel_y'] = array('numeric');
24
25$meta['format']        = array('multichoice', '_choices' => array('A6', 'A5', 'A4', 'A3',
26                                                                  'B6 (ISO)', 'B5 (ISO)', 'B4 (ISO)',
27                                                                  'Letter', 'Legal', 'Long Bond', 'Tabloid',
28                                                                  'B6 (JIS)', 'B5 (JIS)', 'B4 (JIS)',
29                                                                  '16 Kai', '32 Kai', 'Big 32 Kai',
30                                                                  'DL Envelope',
31                                                                  'C6 Envelope', 'C6/5 Envelope', 'C5 Envelope', 'C4 Envelope',
32                                                                  '#6 3/4 Envelope', '#7 3/4 (Monarch) Envelope',
33                                                                  '#9 Envelope', '#10 Envelope', '#11 Envelope', '#12 Envelope',
34                                                                  'Japanese Postcard'));
35$meta['orientation']   = array('multichoice', '_choices' => array('portrait', 'landscape'));
36$meta['margin_top']    = array('string', '_pattern' => '/^\d+(\.\d+)?$/');
37$meta['margin_right']  = array('string', '_pattern' => '/^\d+(\.\d+)?$/');
38$meta['margin_bottom'] = array('string', '_pattern' => '/^\d+(\.\d+)?$/');
39$meta['margin_left']   = array('string', '_pattern' => '/^\d+(\.\d+)?$/');
40
41$meta['disable_links'] = array('multichoice', '_choices' => array('No', 'Yes'));
42
43$meta['toc_maxlevel']     = array('numeric');
44$meta['toc_leader_sign']  = array('string');
45$meta['toc_indents']      = array('string');
46$meta['toc_pagebreak']    = array('multichoice', '_choices' => array('Yes', 'No'));
47$meta['toc_style']        = array('string');
48$meta['index_in_browser'] = array('multichoice', '_choices' => array('hide', 'display placeholder'));
49
50$meta['outline_list_style'] = array('multichoice', '_choices' => array('Normal', 'Numbers'));
51
52$meta['olist_label_align'] = array('multichoice', '_choices' => array('left', 'center', 'right'));
53
54$meta['convert_to_pdf'] = array('string');
55