Ssrs Subreport Export To Pdf
I am having major page break issues when exporting from SSRs (Microsoft SQL Server Report Builder) to PDF. The preview is showing the report working perfectly, but when exported, it creates major page break issues (creates white space in the reports). SSRS honors two major render formats. First, the soft page-break render includes the report preview, Word, Excel, and HTML and is more designed for reports which are displayed on a screen. To the contrary, the hard page-break format is utilized by pdf and image format among others, and is more designed for physical printing of reports.
I'm using SSRS 2008, and in visual studio during preview, then save to pdf. the bookmarks don't export, or atleast the PDF reader dosn't think there are any (in Adobe Reader, click Document - Navigation - Bookmark (but bookmarks is missing))
Print To Pdf
Has anybody ever exported thier SSRS bookmarks with the report? And had them working?
Thanks
1 Answer
You have to use the DocumentMapLable available in Properties.
Here's the documentationf or PDF export for SSRS 2008 R2
Document MapIf there are any document map labels present in the report, a document outline is added to the PDF file. Each document map label appears as an entry in the document outline in the order that it appears in the report. In Acrobat, a target bookmark is added to the document outline only if the page it is on is rendered.
If only a single page is rendered, no document outline is added. The document map is arranged hierarchically to reflect the level of nesting in the report. The document outline is accessible in Acrobat under the Bookmarks tab. Clicking an entry within the document outline causes the document to go to the bookmarked location.
BookmarksBookmarks are not supported in PDF rendering.