Better parameter sets for merge. Fixed bug with setting font name.

This commit is contained in:
jhoneill
2018-10-08 21:35:19 +01:00
parent 91a7c17341
commit 3835ceeebb
5 changed files with 141 additions and 123 deletions

View File

@@ -156,7 +156,7 @@
}}
#region Apply formatting
$params = @{}
foreach ($p in @('Underline','Bold','Italic','StrikeThru','FontSize', 'FontShift','NumberFormat','TextRotation',
foreach ($p in @('Underline','Bold','Italic','StrikeThru', 'FontName', 'FontSize', 'FontShift','NumberFormat','TextRotation',
'WrapText', 'HorizontalAlignment','VerticalAlignment', 'Height', 'FontColor'
'BorderAround', 'BorderBottom', 'BorderTop', 'BorderLeft', 'BorderRight', 'BorderColor',
'BackgroundColor', 'BackgroundPattern', 'PatternColor')) {