Consecutive print

Hy,

I wanted to know whether there is any way to print a collection consecutive in a word merge field.
The merge field is located in a tableStart/End area.

e.g.

Test1, Test2, Test2, …

instead of

Test1
Test2
Test3



Thanks

Hi Franz,


Thanks for your inquiry. Unfortunately, Aspose.Words does not support the requested feature at the moment. However, we had already logged this feature request as WORDSNET-3197 in our issue tracking system. You will be notified via this forum thread once this feature is available. We apologize for your inconvenience.

In the mean time you can try the work around shared at following forum thread. Hope this helps you.
https://forum.aspose.com/t/72092

The issues you have found earlier (filed as WORDSNET-3197) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(6)

Hi Franz,


Thanks for being patient.

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]>>, <>and others.”);
Document doc = builder.getDocument();

ArrayList arrList = new ArrayList();
arrList.add(“Item1”);
arrList.add(“Item2”);
arrList.add(“Item3”);

ReportingEngine engine = new ReportingEngine();
engine.buildReport(doc, arrList, “items”);

doc.save(getMyDir() + “out.docx”);

For more details, please visit this article:

I hope, this helps.

Best regards,