SuiteCRM-Core/lib/PDF/LegacyMPDF/configMapping.php
Clemente Raposo d075ac6581 Squashed 'public/legacy/' changes from 23d711b70..bb959a145
bb959a145 SuiteCRM 7.12.1 release changes
9ad0a7fe5 Use wildcard rather than the defunct "_all" field
d9f34d544 Prevent Email Reminders - Inactive Users
72557797d Create Standardised isEnabled User Check
c1f5c8c62 Fix #8432 - Remove index limit from mssql index names upon create and repair
edf9ff254 Fix #9217 - Revert "Fix Users index incompatible with MSSQL"
91035782b Fix #9119 - Rebuild theme cache after custom property changed in Studio
dd000459c Fix typo in word administrator
8bb65887d Fix Issue #9192: Fix duplication of folders_rel table entries.
4104e5c5c Fix #9367 - Update PDF template warning
86b04461a Fix #9358 - Meeting invite notification emails not sending to all invitees.
e55657e18 Fix #6994: Update pollMonitoredInboxesAOP to check SugarFolder has been retrieved correctly.
8211f43fb Update PDF references
63d63e520 Implement PDF extension
75553a9ee Update MPDF structure
1960e8364 Fix rebuild scss

git-subtree-dir: public/legacy
git-subtree-split: bb959a1451f926ccf5bb7b0da1909435e5450d05
2021-11-22 10:21:47 +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'
];