Angular library for exporting HTML content to PDF using html2canvas and pdf-lib with smart page breaking