`).join('')}
`).join('')}
`;
};
// --- PDF DOWNLOAD ---
window.downloadPDF = () => {
if (typeof jspdf === 'undefined' || typeof html2canvas === 'undefined') {
alert("Could not generate PDF. A required library is missing.");
return;
}
const { jsPDF } = window.jspdf;
const pdf = new jsPDF('p', 'pt', 'a4');
const source = document.getElementById('pdf-content');
if (!source) return;
pdf.html(source, {
callback: (doc) => doc.save("Copyright-Registration-Summary.pdf"),
x: 40, y: 40,
width: 515,
windowWidth: source.scrollWidth
});
};
updateUI();
});
3. Claimant(s)
${data.claimants.map(claimant => `Name: ${claimant.name}
Address: ${claimant.address}
Disclaimer: This tool is for informational and preparatory purposes only. It is not affiliated with the U.S. Copyright Office, and this summary does not constitute a copyright registration. You must file your application officially through the eCO website.
