We are using the TableStart mergefiled to input values from our data. We want to have this data fill in accross the document first before creating a new line.
Desired Result:
Data1 Data2 Data3 Data4
Data5 Data6 etc…
How can we accomplish something like this?
Hi Brent,
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 by Alexey in this thread here.
If you have any further issues please feel free to ask.
Thanks,
Regarding WORDSNET-3197, 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: <><>, <>and others.");
Document doc = builder.Document;
ReportingEngine engine = new ReportingEngine();
engine.BuildReport(doc, new string[]
{
"Item1",
"Item2",
"Item3"
}, "items");
doc.Save("out.docx");