We purchased Aspose Total for Java, and my code is shown below
BaseDocGeneraTor.java
//set regular license
License license = new License();
InputStream in =
this.getClass()
.getClassLoader()
.getResourceAsStream(L…...setLicense(barLicence); //set pdf license com.aspose.pdf.License pdfLicense...pdfLicense = new com.aspose.pdf.License(); InputStream pdfLicenseInput...