I try to evaluate the word to pdf function. However I was not able to create the same pdf as office create. There is only one page from word but there are two pages in the pdf. I use the simplest code as follows.
Document doc = new Document("/Users/vincent/Downloads/Problem2.doc");
String output = “/Users/vincent/Downloads/Problem2.pdf”;
doc.save(output);
Please advice. I will attach the origin word and two pdfs for your to check.
Thanks
Problem.zip (272.5 KB)
Please note that Aspose.Words requires TrueType fonts when rendering document to fixed-page formats (JPEG, PNG, PDF or XPS). You need to install fonts that are used in your document on the machine where you are converting documents to PDF. Please refer to the following articles:
Using TrueType Fonts
Manipulating and Substitution TrueType Fonts
Please also get 30 days temporary license and apply it before document conversion.
Thanks. I got it fixed after applying temporary license.