The code is
Dim wordLicense As Aspose.Words.License = New Aspose.Words.License
wordLicense.SetLicense("Aspose.Total.lic")
Dim doc As Aspose.Words.Document
'Save the document in Aspose.Pdf.Xml format into a memory stream.
doc = New Aspose.Words.Document(fileName)
'Now produce the PDF file.
fileName = System.IO.Path.ChangeExtension(fileName, ".pdf")
doc.SaveToPdf(fileName)
For the attached document. It was created from a word .doc file where bookmarks were “filled in” by aspose.words6, then the above code to reload and save to pdf. I can send the original (pre-filled) word file. For the record Aspose.PDF.dll 3.9.0.0 can convert the file with a single formatting error – the right edge of one of the tables is rendered in the wrong place. PDF of that is attached
The error:
System.ArgumentException: Need to specify story master when inserting into story other than main text.
Parameter name: position
at Ე.ᾋ.ᾑ(ᾔ Ԩ)
at Ე.ᾋ.Ը(ᾔ Ԩ, ᛧ ᴪ)
at ᝯ.Ӣ.ᲄ(Document ൲, ӣ ᩀ)
at Aspose.Words.Document.UpdatePageLayout()
at Aspose.Words.Document.get_Ӣ()
at Aspose.Words.Document.get_PageCount()
at Aspose.Words.Document.SaveToPdf(String fileName)