如何在没有任何PDF工具的情况下标记现有PDF [英] how to tag the EXISTING PDF without any PDF tools

查看:64
本文介绍了如何在没有任何PDF工具的情况下标记现有PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想使用记事本将标签添加到现有的PDF,然后通过文本模式通过I/O ofstream使用MFC来实现此功能.我想知道特定的原理,而不是使用
Adobe Acrobat或其他PDF工具.我想自己标记PDF!

Hello Everyone,

I want to add tags to existing PDF with notepad, and then implement this with MFC by the I/O ofstream via text-mode. I want to know specific principles rather than using
Adobe Acrobat or other PDF tools. I want to tag the PDF by myself!

Any help would be greatly appreciated!

推荐答案

您无法执行此操作,因为PDF文件不是简单的流,而是具有基于表的特定结构.您可以使用第三方库之一,例如 iTextSharp [^ ],或从Adobe获取文档规范并编写自己的文档.
You cannot do this, since PDF files are not simple streams, but have a specific table based structure. You can use one of the third-party libraries such as iTextSharp[^], or get the document specification from Adobe and write your own.


这篇关于如何在没有任何PDF工具的情况下标记现有PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆