PDF exporter can now handle multiple pages