Hello,
When redering the report, the first page has the first footer and the rest of the pages has the second footer
When exporting to docx or rtf, all the pages have the first footer.
Please try to set the ExcelSheet property of "Header" page of report template to "page1" string or any other string.
Tips:
If you set "Use Page Headers and Footers", then PageHeaders and PageFooters will appear
as MS-Word objects, and save the exact view of report is no longer possible.
But if in each page in the property "ExcelSheet" write any expression, for example,
"page1", "page2" etc., these pages will appear as separate sections of the document
with its header and footer. Pages with the same expressions in "ExcelSheet" will be joined together in one section.
Additionally.... The page border is not rendered correctly when exporting to rtf.
Tips for creating report templates for export to MS-Office:
- Use the button "Align to grid" in designer. This will reduce the number of rows and columns in the output file, and report will look better.
- Do not use the Autowidth property - this property is greatly increases the number of columns in the output file.
- To draw a frames, do not use Shapes, please use Horizontal and Vertical lines;
When exporting to Word and Excel entire report is transformed into one large continuous table.
Paragraphs 1 and 2 are very relevant, because MS-Word allows a maximum of 64 columns in the table.
If a table has more than 64 columns - a document displayed incorrectly.
You can use trick with ExcelSheet property and divide big table into sections.
And whitespaces between text seem to be bigger when exporting to rtf.
By default MS-Word use the Calibri,12 font for cells of table.
So the height of blank lines increases.
In the next prerelease build we add the new static property StiOptions.Export.Rtf.ForceLineHeight, by default false.
Please try to set this property to true.
Thank you.