We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Differing Page Header/ Footer


We are looking at purchasing Aspose.Words for Reporting Services (SSRS). We are already using Aspose Slides for Reporting Services.

Can you please provide more detail on how to render a report in Flow Layout vs Positioned Layout . Can we produce an example of either / both formats directly from the development environment ( Visual Studio 2017) or does the rdl need to be deployed to a ssrs server first

Can you please provides a response for each question below. If the answer is different using Flow Layout vs Positioned Layout then please clarify.

Main Question 1

I note that Aspose Words supports headers and footers; however we have a requirement that the page footer be different on the initial page / final page, vs the remainder of the document. The report will have a cover page / summarise page, with different content. The standard renderer to a docx file ( from the Server) doesn’t support this , and only provides one header/footer used throughout the rendered document.

If your product does support this , the please provide details on how it should be implemented/code and if there are any limitations.

Detail Question 1.a

If we code a textbox located in the page header/Footer using the following code, will it be rendered correctly in word docx

=iif(Globals!OverallPageNumber=1,"Header Page text"

,iif(Globals!OverallPageNumber=Globals!OverallTotalPages,"Final Page Text"

,"Main report Text"))

Detail Question 1.b

If we place 3 rectangles on top of each other , and then use the code simular to the below to show/hide ach rectangle based upon the rectangle’s visibility property, will the appropriate rectangle be displayed

=iif(Globals!OverallPageNumber=,1, True



Thanks for your inquiry.

Yes, you can achieve your requirements using Aspose.Words for Reporting Services. Please read the following articles.

Document Layout Flow vs. Positioned
Integrating Manually with Visual Studio Report Designer
Integrate with Microsoft Report Viewer in Local Mode

We suggest you please try the latest version of Aspose.Word for Reporting Services 18.9. If you face any issue, please ZIP and attach your RDL, output and expected output Word documents here for our reference. We will then provide you more information about your query.