Division of a document

Good morning,
I would like to know if there is a syntax to divide a doc when it is generated
THANKS

@Massy

Can you please provide more details on how you would like to divide the document? Are you looking for specific sections, pages, or something else?

I want a fixed number of document copies to be generated during the process

@Massy There is no way to divide the document automatically upon generation of the report. You can either split the document later, for example using Document.ExtractPages method, or split your data into portions and generate several reports from the same template using different portions of data.

thank you for your reply, you can enlighten me on the syntax of creating reports from currency data

@Massy You can lean about reporting syntax in our documentation:
https://docs.aspose.com/words/net/template-syntax/

Also, you can font examples in our GitHub:
https://github.com/aspose-words/Aspose.Words-for-Java/tree/master/Examples/DocsExamples/Java/src/main/java/DocsExamples/LINQ_Reporting_Engine

Thanks :slight_smile: @alexey.noskov

1 Like