we are creating a component using Aspose.Words for .Net
The component takes as it’s input an xml-file containing data and an Microsoft Office Word 2013 word template file (.dotx).
It uses the input to build a new Word document (.docx) file, which is then saved as a .pdf-file.
(We actually just save the document built with format .docx and .pdf).
We have noticed an error when Aspose saves the .pdf-file.
If we take the .docx file that our component outputs and
1) Open this file in Microsoft Office Word
2) Save it with format .pdf.
We get a different result than if we do this with Aspose!
Attached you’ll find a .zip-file with the input file:
And two output-files:
Populated_header_mansave.pdf (which is the .pdf file manually saved with Word)
TestNewPDF.pdf (which is the .pdf file saved by Aspose.word).
The simple c#-code used to save the second output file is a console application with the following code:
static void Main(string args)
Aspose.Words.License license = new License();
Aspose.Words.Document d = new Document(@“C:\Users\jacobs\Documents\word2xmltest\Output\Populated_header.docx”);
Is there an error in Aspose.Word ?