I am trying to Convert XML to PDF using groovy through inputstream and aspose.jar following below:
below is my code:
def Document = new Document("...dir/template.docx");
PdfSaveOptions saveOptions = new PdfSaveOptions(…...below is my code: def document = new Document("...dir/template.docx");...new ByteArrayOutputStrea(); document.Save(out, saveOptions); getting...