How to create “reply” to sticky note annotation in iText

℡╲_俬逩灬. 提交于 2019-12-06 05:28:36

Taking a look at the innards of just such an annotation, I see the following:

  1. A new text note annotation with the same bounding box
  2. A new popup annotation with the same bounding box

The new text annot has an IRT (in regards to?) key in its dictionary that is an indirect reference to the first text annotation.

The creation date is stored in the "CreationDate" key, the modification date is stored under "M". The text displayed where you see "Reply 1" is in the "T" key.

All this stuff requires that you directly manipulate the annotation via the methods it inherits from PdfDictionary, put() in particular.

You'll need to read the PDF Reference a lot, particularly chapter 7 section 3, and chapter 12 section 5.

Good hunting.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!