Merge pull request #4319 from MaximilianKrambach/callListLandscape

print callLists on landscape paper
This commit is contained in:
Emanuel Schütze 2019-02-12 17:27:05 +01:00 committed by GitHub
commit 724ba74fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ export class PdfDocumentService {
pdfMake.vfs = await this.initVfs();
const result = {
pageSize: 'A4',
pageOrientation: landscape ? landscape : 'portrait',
pageOrientation: landscape ? 'landscape' : 'portrait',
pageMargins: customMargins || [75, 90, 75, 75],
defaultStyle: {
font: 'PdfFont',