Hi,
Issue here is:
When I convert document from HTML to PDF (using download option), page numbers are not showing.
Html for footer is:
1
Code for converting HTML to PDF:
<pre style=“background-color: rgb(255, 255, 255); font-family: “Courier New”; font-size: 9pt;”>input = new ByteArrayInputStream(documentDomain.getHtmlContent().getBytes(“UTF-8”));
com.aspose.pdf.Document doc = new com.aspose.pdf.Document(input);
out = new ByteArrayOutputStream();
doc.save(out, com.aspose.words.SaveFormat.PDF);
If I create page numbers everything works fine, but I don’t want to create page numbers in footer if it already exists.
Do you know what is a problem here?
This is working for Word but for PDF not.
I attached both Word and PDF.
Regards