什么是需要处理注释的观看PDF中的? [英] What's needed to handle annotation viewing in a PDF?

查看:217
本文介绍了什么是需要处理注释的观看PDF中的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我工作的解析PDF内容流能够读取和处理标注运营商和也添加这些。任何人都可以阐明如何去这样做,而无需使用prebuilt库一些轻?我明白这是一项艰巨的运动,但任何指针将AP preciated。

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.

请注意:我读过从Adobe PDF格式参考了相当数量,且多了解文件作为一个对象树的概念,但我不明白如何去搞清楚,如果一个注解有(我错过这个操作符的参考?)还有,什么回调函数本身应承担任何帮助吗?感谢您的帮助。

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.

推荐答案

看PDF参考第3.6.2,版本1.7。有是包含注释该页面的一个阵列,每个注释页面树节点的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.

这篇关于什么是需要处理注释的观看PDF中的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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