处理 PDF 中的注释查看需要什么?

发布于 2024-09-13 12:04:14 字数 226 浏览 3 评论 0原文

大家好,我正在解析 PDF 内容流,以便能够读取和处理注释运算符并添加这些运算符。任何人都可以阐明如何在不使用预构建库的情况下执行此操作吗?我知道这是一项艰巨的工作,但任何指示将不胜感激。

注意:我已经阅读了 Adob​​e 的大量 PDF 参考资料,并且大部分了解文件作为对象树的概念,但我不明白如何确定注释是否存在(我是否错过了)参考文献中的这个运算符?)另外,对于回调函数本身应该负责什么有什么帮助吗?感谢您的帮助。

Hey everyone, I am working on parsing the PDF content stream to be able to read and handle annotation operators and also to add these. Can anyone shed some light on how to go about doing this, without using a prebuilt library? I understand it is a daunting exercise, but any pointers would be appreciated.

Note: I've read a fair amount of the PDF Reference from Adobe, and mostly understand the concept of the file being an object tree, yet I don't understand how to go about figuring out if an annotation is there ( did i miss this operator in the reference? ) Also, any help on what the callback functions themselves should be responsible for? Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

画离情绘悲伤 2024-09-20 12:04:22

我写了一篇关于表单和注释的文章,其中包含一些关于它们如何存在于 PDF 文件中的有用的一般描述。链接是 http: //pdf.jpedal.org/java-pdf-blog/bid/42171/Understanding-the-PDF-file-format-interactive-elements

I wrote an article on Forms and Annotations which contains some useful general description on ho they exist in the PDF file. Link is http://pdf.jpedal.org/java-pdf-blog/bid/42171/Understanding-the-PDF-file-format-interactive-elements

临走之时 2024-09-20 12:04:21

请参阅 PDF 参考 1.7 版的第 3.6.2 节。每个带有注释的页面树节点都有一个“Annots”键,其中包含该页面的注释数组。每个注释都指向其在页面上的位置,而不是在内容流中包含页面运算符。

Look at section 3.6.2 of the PDF Reference, version 1.7. There is a "Annots" key for each Page tree node with annotations that contains an array of the annotations for that page. Each annotation points to its location on the page rather than having a page operator in the content stream.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文