带有页脚图像的 Excel 到 pdf 转换
我需要一种方法将我的 Excel 文件转换为可以有任意行的 pdf 文件。但每页的行数是一个常数,并且每页的页脚中都应有一个图像。 一个例子是,如果我有 150 行,每页常量为 100,那么我需要获得一个包含两页的 pdf 文件,并且每页都应该有一个页脚图像?
知道我该怎么做吗?我正在考虑为此编写一个小程序。但我需要关于根据易用性使用哪种工具进行转换的建议。 我还在考虑维护一个提供所需详细信息的常量文件。例如行数、页脚图像位置、文件位置等。
谢谢。等待回复。
编辑:
好吧,我有 1000 个这样的文件,我不可能打开每个文件并添加页脚等并将其另存为 pdf。我需要自动化这个。
I need a way to convert my excel files to pdf that can have any no of rows. but the no of rows per each page is a constant and each page should have an image in the footer.
an example would be if i have 150 rows and the constants per page is 100 then i need to get a pdf file with two pages and each of these pages should have a footer image?
any idea how I can go about the same. I am thinking about writing a small program for the same. But I need suggestion regarding which tool to use for the conversion depending on the ease of use.
I am also thinking about maintaining a constants file that feeds in the required details. like no of rows, footer image location, file location etc.
Thanks. waiting for a reply.
Edit:
Well guys I have 1000 of such files and I cant possibly open each one of these files and add footer etc and saving it as pdf. I need to automate this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试PDF 转换器服务。它提供基于 Web 服务的接口来执行转换。您还可以指定水印来添加每页页脚的图像。
Try the PDF Converter Services. It provides a web services based interface to carry out the conversion. You can also specify a watermark to add an image to the footer of each page.