简体   繁体   English

将报告呈现为pdf后,将pdf添加到Reporting Services报告中

[英]Add a pdf to a Reporting Services report after rendering report as pdf

We are using Reporting Services to generate a purchase order, which is rendered as pdf before displaying on the screen. 我们正在使用Reporting Services生成采购订单,该订单在显示在屏幕上之前会以pdf格式呈现。 The report works well, as is, except that now we have to add a Terms & Conditions page to every PO. 该报告按原样运行良好,只是现在我们必须向每个PO添加“条款和条件”页面。 I've tried placing it in the footer, setting it to display only on the last page--this didn't work. 我尝试将其放置在页脚中,将其设置为仅在最后一页显示-这没有用。 I've also tried adding it to the body, setting the "Page Break Before" property to "true". 我还尝试将其添加到主体,将“ Page Break Before”属性设置为“ true”。 This works, except that it looks like there is still space reserved for the header (ie the header's "show on last page" property is set to false). 这可行,除了看起来仍然为标题保留了空间(即,标题的“在最后一页显示”属性设置为false)。 I can't get the Terms & conditions to fill the page. 我无法填写该条款和条件。

Does anyone know how I could attach or bind the pdf generated by reporting services with a pdf version of the Terms & Conditions sheet? 有谁知道我如何使用“条款与条件”表的pdf版本附加或绑定报告服务生成的pdf?

Note: We are using ASP & VB.NET 2.0, Visual Studio 2005, & SQL Server 2005. 注意:我们使用的是ASP和VB.NET 2.0,Visual Studio 2005和SQL Server 2005。

iTextSharp(Java版本iText的端口)是一个很好的开源库,我们正用来做到这一点。

A similar question that may satisfy your requirements was posted and answered later today: 今天稍后发布并回答了一个可能满足您要求的类似问题:

Combine two (or more) PDF's 合并两个(或多个)PDF

Check out the PDFSharp...that looks interesting. 查看PDFSharp ...看起来很有趣。

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

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