SSRS同步A4/US Letter格式;策略、解决方法?
我们有一个项目,涉及以 A4 和 Letter 格式生成报告。
显然,这可以动态完成,但会严重破坏格式化。
您有哪些解决方法/策略来应对这个问题?
(不,如果可以的话,我不想为每个报告创建两个版本)
We have a project that will involve reports being produced in both A4 and Letter formats.
Obviously this can be done dynamically but will screw formatting up big time.
What are your workarounds/strategies to cope with this?
(and no I don't want to create 2 versions of each report if I can help it)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也不得不处理一次双重格式。正如您所说,真正拥有两个漂亮布局的唯一选择是拥有两个版本的报告 - 没有办法解决这个问题。
我也使用过的最简单的解决方法就是采用最小的共同点:大小!
因此,您可以将报告设计为210mm x 279mm,它适合两种尺寸(当然要减去边距)。那么你遇到的问题是,A4 版本的底部会有较大的间隙,Letter 版本的侧面也会有间隙。
I had to deal with double format once as well. As you said, the only option to really have two nice layouts is to have two versions of the report - no way around that.
The easiest workaround I also used is just to go with the lowest common denominator: The size!
So you could design your report to be 210mm x 279mm and it would fit both sizes (minus margins of course). The problem you have then is that you will have a larger gap in the bottom of the A4 version and a gap to the side of the Letter version.