0
0
Fork 0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2025-02-12 09:18:42 +00:00
salesagility_SuiteCRM/lib/PDF/LegacyMPDF/configMapping.php
Dillon-Brown 75553a9ee0 Update MPDF structure
Signed-off-by: Dillon-Brown <dillon.brown@salesagility.com>

(cherry picked from commit e01080fe95)
2021-11-22 10:15:25 +00:00

15 lines
657 B
PHP

<?php
return $configOptions = [
'mode' => $options['mode'] ?? '',
'page_size' => $options['page_size'] ?? 'A4',
'default_font_size' => $options['fontSize'] ?? 11,
'default_font' => $options['font'] ?? 'DejaVuSansCondensed',
'margin_left' => $options['margin_left'] ?? 15,
'margin_right' => $options['margin_right'] ?? 15,
'margin_top' => $options['margin_top'] ?? 16,
'margin_bottom' => $options['margin_bottom'] ?? 16,
'margin_header' => $options['margin_header'] ?? 9,
'margin_footer' => $options['margin_footer'] ?? 9,
'orientation' => $options['orientation'] ?? 'P',
'unit' => $options['unit'] ?? 'mm'
];