Hi there
Here is a small example of code that demonstrates the problem.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.PageSetup.LineStartingNumber = 1;
builder.PageSetup.LineNumberCountBy = 1;
builder.Document.Styles[StyleIdentifier.LineNumber].Font.Size = 7.5;
builder.InsertHtml("<p>Line1<br />Line2<br />Line3<br />Line4<p>";
doc.Save("MyWordDoc.docx", SaveFormat.Docx);
doc.Save("MyPdfDoc.pdf", SaveFormat.Pdf);
Notice how the line numbers in the resulting Word-document have the correct size;
Notice how the line numbers in the resulting Pdf-file have the wrong size;
The same problem occurs if I make a word document in Word2007, set the line number style to have a size of 7.5. Save it. Load that document with Aspose.Word like: Document doc = new Document(“MyWordTemplate.docx”); Using this document instead of setting the style in code gives the same result: word-document has correct line number size, pdf-file has wrong line number size.