简体   繁体   English

导出到MS Word时,导出A4报告会创建Letter或A3纸张尺寸

[英]Exporting A4 report creates Letter or A3 paper size when exporting to MS Word

I have a simple report created in BIDS 2008 and deployed to a SSRS 2008 server. 我在BIDS 2008中创建了一个简单的报表,并将其部署到SSRS 2008服务器。 It has the following report properties: 它具有以下报告属性:

  • page unit: Centimeters 页单位:厘米
  • page size: 页面大小:
    • Orientasion: Landscape 东方:风景
    • paper sise: A4 纸张尺寸:A4
    • width : 29,7cm 宽度:29.7厘米
    • Height: 21cm 身高:21cm
  • all margins are 2,5cm 所有边距是2.5厘米

Showing and printing this report works fine on a A4 paper. 显示和打印此报告可以在A4纸上正常工作。 Exporting to different formats works great as well, except the format I made the report for. 导出为其他格式也很好,除了我制作报告所用的格式。 The Word files end up with an Letter paper size or A3 size. Word文件以信纸尺寸或A3尺寸结尾。

Does anyone have a solution for this problem? 有人对此问题有解决方案吗?

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. 可能是机身宽度加上5厘米(左边距加上右边距)对于A4来说太大了,因此被升级到了下一个更大的尺寸(A3。)我已经看到这种事情在格式化( (在打印版式或导出版式中查看时,报表中臭名昭著的“空白”页)),而纸张尺寸设置为小于右边缘加左边缘加正文宽度时。 Seems a lot of people are not even aware that the body of the report has its own sizing. 似乎很多人甚至都不知道报告的正文有其自己的大小。 Hope this helps someone out there. 希望这可以帮助某人。

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

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