Shivan Bhatia
Shivan Bhatia

Reputation: 38

Render SSRS Reports in .docx instead of .doc

I am using SQL Server R2 reporting service for designing reports and integrated then in ASP.Net using Report Viewer 11. When user exports the report in Word format, the extenction of report is .doc which makes the size of the report very high. Is there any was we can change the format to .docx so that the size of the file is reduced.

Upvotes: 1

Views: 3935

Answers (1)

Amit Joshi
Amit Joshi

Reputation: 16389

This could be achieved using Word Renderer.

In SQL Server Reporting Services, the default Word renderer is the version that renders to the Microsoft Word format (.docx). This is the Word option that the Export menus in a Reporting Services web portal and SharePoint list.

WORDOPENXML - Soft page-break - Displayed as "Word" in the export menu when viewing reports. The Word rendering extension renders a report as a Word document (.docx) that is compatible with Microsoft Word 2013. For more information, see Exporting to Microsoft Word.

<Extension Name="WORD" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordDocumentRenderer,Microsoft.ReportingServices.WordRendering" Visible="false"/>

<Extension Name="WORDOPENXML" Type="Microsoft.ReportingServices.Rendering.WordRenderer.WordOpenXmlRenderer.WordOpenXmlDocumentRenderer,Microsoft.ReportingServices.WordRendering"/>

Refer this link.

Upvotes: 3

Related Questions