We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Word 2000/2003


I am using aspose.words version and the latest version of Aspose.PDF/PDF.Kit. When converting word docs to PDF, we sometime get a page of meta tags not shown in the word document it self. The problem occurs when a word 2003 document is opened in word 2000 and then converted to PDF. Is there some way we could remove meta tags in the convert process, or maybe check the document for possible issues? See attached documents.

Here is the code I used (VB):

Dim Doc As Aspose.Words.Document = New Aspose.Words.Document(objStream)
'Read the document in Aspose.Pdf.Xml format into Aspose.Pdf.
Doc.SaveOptions.ExportImagesFolder = "C:\WebAppLogs\"
Dim xmlStream As New System.IO.MemoryStream()

Doc.Save(xmlStream, Aspose.Words.SaveFormat.AsposePdf)
xmlStream.Position = 0

pdf.BindXML(xmlStream, Nothing)
pdf.IsImagesInXmlDeleteNeeded = True
'pdf security
pdf.Security = New Aspose.Pdf.Security()
pdf.Security.IsContentsModifyingAllowed = Me.chkPDFTextEditcopy.Checked
pdf.Security.IsCopyingAllowed = Me.chkPDFTextEditcopy.Checked
pdf.Security.IsPrintingAllowed = Me.ChkPDFPrint.Checked
pdf.Security.Is128BitsEncrypted = True
pdf.CompressionLevel = 9
pdf.IsTruetypeFontMapCached = True
pdf.TruetypeFontMapPath = System.IO.Path.GetTempPath()


Henning, Oslo

Hi<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your request. Your document contains this content at the beginning. If you open the document using MS Word and enable “Show Grid Lines” option from “Table” menu, you will see one pixel line at the top of your document. This line is a table. You can specify its height to see its content.

When you convert this document to PDF, Aspose.Words produces an intermediate XML. If you open this XML you will see that height of this table is 1.

<Table ColumnWidths="494.45" MarginLeft="-5.4" DefaultCellPaddingLeft="5.4" DefaultCellPaddingRight="5.4">

<Row FixedRowHeight="1">

However, for some reason, Aspose.Pdf ignores this and shows whole table.

In additional, I would like to advise you using new Aspose.Words Rendering Engine to convert your document to PDF. The code is pretty simple:

Document doc = new Document("in.doc");


You can download the latest version of Aspose.Words from here:


Best regards.