简体   繁体   English

将SSRS矩阵报告导出到Word会产生不需要的自定义Letter页面大小插图

[英]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 将SSRS矩阵报表导出到Word会给出不需要的自定义页面大小,而不是字母大小

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 . 可能是因为body width加上5厘米( left marginright margin )对于A4来说太大了,因此被升级为下一个更大的尺寸( A3 。我已经看到这种情况在格式化( (在打印版式或导出版式中查看时,报表中臭名昭著的"blank"页面),如果纸张尺寸设置为小于右边缘加左边缘加正文宽度 Seems a lot of people are not even aware that the body of the report has its own sizing. 似乎很多人甚至都不知道报告的body有其自己的大小。 And then there is this statement by MSDN 然后是MSDN的声明

After the report is opened in Word, Word repaginates the entire report again based on the page size. 在Word中打开报表后,Word会根据页面大小再次重新分页整个报表。 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. 您可以尝试通过调整页边距来更改Word的分页。 This renderer supports only logical page breaks. 此渲染器仅支持逻辑分页符。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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