1<?php
2
3$meta['pagesize']         = array('string');
4$meta['orientation']      = array('multichoice', '_choices' => array('portrait', 'landscape'));
5$meta['font-size']        = array('numeric');
6$meta['doublesided']      = array('onoff');
7$meta['toc']              = array('onoff');
8$meta['toclevels']        = array('string', '_pattern' => '/^(|[1-5]-[1-5])$/');
9$meta['headernumber']     = array('onoff');
10$meta['maxbookmarks']     = array('numeric');
11$meta['template']         = array('dirchoice', '_dir' => DOKU_PLUGIN . 'dw2pdf/tpl/');
12$meta['output']           = array('multichoice', '_choices' => array('browser', 'file'));
13$meta['usecache']         = array('onoff');
14$meta['usestyles']        = array('string');
15$meta['qrcodescale']       = array('string', '_pattern' => '/^(|\d+(\.\d+)?)$/');
16$meta['showexportbutton'] = array('onoff');
17