Currently, I am using jspdf libraries with react to generate the PDF file. To maintaining securtiy standards I have to restrict Document Restrictions operation.