简体   繁体   中英

Exporting SSRS Matrix report to Word gives undesired custom Page size insetad of Letter

Exporting SSRS Matrix report to Word gives undesired custom Page size instead of Letter size

Even if I reduce the size of the report it changes nothing

And if I choose myself the Letter size will print without issues, it fits the page

How could I fix this?

Thanks Dan

It could be that the body width plus 5 cm ( left margin plus right margin ) was interpreted as being too big for A4 and so was upgraded to the next size larger ( A3 .) I've seen this sort of thing happen with formatting (the infamous "blank" pages in the report when viewing in print layout or exported layout) when the paper size is set to be smaller than the right margin plus the left margin plus the body width . Seems a lot of people are not even aware that the body of the report has its own sizing. And then there is this statement by MSDN

After the report is opened in Word, Word repaginates the entire report again based on the page size. Repagination may cause page breaks to be inserted in locations where you did not intend to add them and, in some instances, may cause the exported report to have two successive page breaks in a row or add blank pages. You can try to change Word's pagination by adjusting the page margins. This renderer supports only logical page breaks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM