Add exportPdf directive