PDF files are widely used for reports, invoices, contracts, and documentation, but automating tasks such as reading, extracting text, or…