The following configuration setting only applies to the Flow Layout.
When rendering reports in Flow Layout, Aspose.Words for Reporting Services can produce documents that consist of one section or multiple sections (one per page).
By default, the system attempts to generate documents with one section because they are easier to edit in Microsoft Word. However, when this is not possible (e.g. when page headers/footers are evaluated and thus are required to be contained in different sections), the system generates a document with one section per page.
You can explicitly specify whether you want the documents to contain one or many sections. This feature is called Flow Mode and it is only applicable to flow layout documents:
- Auto – The software decides what mode to use (default).
- Partial – Produce documents with more than one section (one per page).
- Full – Produce documents with one section.
Forcing the Partial (multiple sections) flow mode may appear especially useful in complex reports for better positioning of the content of the document.
To specify the Partial flow mode, add the following lines to the <Extension> element corresponding to a particular renderer:
<Render>
…
<Extension Name="AWDOC" Type="Aspose.Words.ReportingServices.DocRenderer,Aspose.Words.ReportingServices">
<Configuration>
<FlowMode>Partial</FlowMode>
</Configuration>
</Extension>
</Render>