Hi
Thanks for your inquiry. In your case, Paragraph break mark is hidden that is why there is no line break. You can generate the similar document using code like the following:
DocumentBuilder builder = new DocumentBuilder();
// insert a paragraph with hidden paragraph end.
builder.CurrentParagraph.ParagraphBreakFont.Hidden = true;
builder.Writeln("Test");
builder.CurrentParagraph.ParagraphBreakFont.Hidden = false;
builder.Write("This is another paragraph");
// Save output
builder.Document.Save(@"Test001\out.doc");
But in this case, there is no line break only if “Show/Hide” option is disabled. This is because internally there are two options “Hidden” and “SpecialHidden”. In your document, both these options are set. But programmatically, you can set only the first.
Best regards,
Alexey Noskov
Developer/Technical Support
Aspose Auckland Team