Hi
Thanks for your inquiry.
Currently each record in a mail merge region is repeated on a separate paragraph. We are looking into providing more mail merge syntax so that repeating data in the same paragraph is possible. We will keep you informed when this is ready.
In the mean time you can try the work around provided in this thread .
If you have any further issues please feel free to ask.
Thanks,
Regarding WORDSNET-3197, it is to update you that we have closed this issue. We have introduced a new LINQ Reporting Engine which is a part of the Aspose.Words API that enables you to build reports using an extended set of reporting features. The engine enables you to reference business objects of your application in report templates directly, which agrees well with Domain-Driven Design widely used in modern software development. Moreover, the engine uses a subset of C# language in its template syntax. These features enable you as a developer to compose report templates in a familiar and intuitive way.
For example, using this new reporting engine you can repeat part of a Paragraph as follows:
DocumentBuilder builder = new DocumentBuilder();
builder.Write("The items are: <<foreach [item in items]>><<[item]>>, <</foreach>>and others.");
Document doc = builder.Document;
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, new string[]
{
"Item1",
"Item2",
"Item3"
}, "items");
doc.Save("out.docx");
Regarding WORDSNET-3197, it is to update you that we have closed this issue. We have introduced a new LINQ Reporting Engine which is a part of the Aspose.Words API that enables you to build reports using an extended set of reporting features. The engine enables you to reference business objects of your application in report templates directly, which agrees well with Domain-Driven Design widely used in modern software development. Moreover, the engine uses a subset of C# language in its template syntax. These features enable you as a developer to compose report templates in a familiar and intuitive way.
For example, using this new reporting engine you can repeat part of a Paragraph as follows:
DocumentBuilder builder = new DocumentBuilder();
builder.Write("The items are: <<foreach [item in items]>><<[item]>>, <</foreach>>and others.");
Document doc = builder.Document;
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, new string[]
{
"Item1",
"Item2",
"Item3"
}, "items");
doc.Save("out.docx");