exported to pdf and html