Hi Arnaud,
Thanks for sending the file.
This issue with image in header[Defect #1775] is partially fixed internally. Unfortunately,it is not included in 4.4.0.51 release.
The word document that you have sent seem to be working fine with our latest assemblies[without any exception].
Here is a sample PDF document generated with our preview version.
DocToPDF.pdf
Could you please create Direct trac incident so that I can provide you with preview version of this fix.
Regarding Doc To PDF conversion that involves XML file,we can convert word document to PDF only by saving it as xml file. However, it allows us to save the xml file as memory stream without having to save it in disk.
Here are some code to do that.
//Create a memory stream
MemoryStream ms= new MemoryStream();
//Save the word document as XML
doc.SaveXml(ms);
//Position the pointer to begining
ms.Seek(0, SeekOrigin.Begin);
//Open saved XML document using Essential PDF.
PDFLogicDocument pdfDocument = new PDFLogicDocument();
pdfDocument.OpenXml( ms);
//Save as PDF.
pdfDocument.Save( "DocToPDF.pdf");
Here is a sample for your reference.
DocTOPDF.zip
Please take a look into it and let me know if you have any other queries.
Regards,
Dhivya.