diff --git a/docs/SymptomsCausedByDrugs/js/PdfCreator.js b/docs/SymptomsCausedByDrugs/js/PdfCreator.js index 070e904f702..8bf21973582 100644 --- a/docs/SymptomsCausedByDrugs/js/PdfCreator.js +++ b/docs/SymptomsCausedByDrugs/js/PdfCreator.js @@ -3,8 +3,11 @@ class PdfCreator { static createPdf() { const documentDefinition = { content: [ - { text: 'Customizing Page Size and Orientation', fontSize: 16, bold: true }, - { text: 'This PDF has custom page size and orientation.' }, + { text: 'EU Safety Signal (All drugs)', fontSize: 16, alignment: 'center', margin: [0, 0, 0, 20], bold: true }, + { text: 'Worst Drugs', fontSize: 12, alignment: 'left', margin: [0, 10, 0, 10], bold: true }, + { text: 'table' }, + { text: 'Strongest Symptoms', fontSize: 12, alignment: 'left', margin: [0, 10, 0, 10], bold: true }, + { text: 'table' }, ] } return pdfMake.createPdf(documentDefinition);