1<?php
2/**
3 * Default config settings of the ODT plugin.
4 *
5 * @author Aurelien Bompard <aurelien@bompard.org>
6 * @author LarsDW223
7 * @package DokuWiki\Conf\Default
8 */
9
10// Directory of the templates in the media manager
11$conf['tpl_dir'] = 'odt';
12
13// Default ODT template (filename only)
14$conf['odt_template'] = '';
15
16$conf['showexportbutton'] = 1;
17$conf['showpdfexportbutton'] = 0;
18
19// Parameters for CSS import
20$conf['css_usage']     = 'off (plugins only)';
21$conf['media_sel']     = 'print';
22$conf['css_font_size'] = '16';
23$conf['css_template']  = 'dokuwiki';
24
25// Parameters CSS/Styles-Interworking
26$conf['apply_fs_to_non_css'] = false;
27
28// Parameters for converting pixel to points
29$conf['twips_per_pixel_x'] = '16';
30$conf['twips_per_pixel_y'] = '20';
31
32// Page format, orientation and margins in 'cm'
33$conf['format']        = 'A4';
34$conf['orientation']   = 'portrait';
35$conf['margin_top']    = '2';
36$conf['margin_right']  = '2';
37$conf['margin_bottom'] = '2';
38$conf['margin_left']   = '2';
39
40// Disable link creation?
41$conf['disable_links'] = 'No';
42
43// TOC settings
44$conf['toc_maxlevel']     = '';
45$conf['toc_leader_sign']  = '.';
46$conf['toc_indents']      = '0, 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5';
47$conf['toc_pagebreak']    = 'Yes';
48$conf['toc_style']        = 'color:black;';
49$conf['index_in_browser'] = 'hide';
50
51// Outline settings
52$conf['outline_list_style'] = 'Normal';
53
54// List-Label-Alignment (ordered lists)
55$conf['olist_label_align'] = 'right';
56
57// Conversion options
58$conf['convert_to_pdf'] = 'libreoffice --headless --convert-to pdf --outdir %outdir% %sourcefile% 2>&1';
59