Retrieving of the content of stream objects
- From: Leonard Rosenthol <leonardr (at) pdfsages.com>
- Date: Thu, 09 Feb 2006 08:06:33 -0500
At 04:39 AM 2/9/2006, A. S. Golub wrote:
I've already made routine that reads the set of basic "properties" from
annotation dictionary into special value-object, that is used for
re-creation of rough copy of annotation later.
Yes, it sounds like - at least for the simple stuff - you've
got it handled. The only area that isn't covered would be the case
of an annotation (like a Stamp) where there is more than one stream
that needs to be stored.
Now I'm solving an inverse problem : how to create PDF annotation using
pre-populated value-object (container of annotation properties) and iText
library.
This way worked for all simple properties, untill I've enocunered streams.
This type of data is a mixed type, and I was confused not knowing how to
handle this type of data.
Look at how setAppearance() works - that what it is doing,
setting a stream.
You pointed out that I must go low level - and I did. After additional
examining of PDF Reference it seemed to me that I've found the right way of
setting the annotation appeearance, but before starting the implementation I
asked you to check my logic.
Yes, you are definitely on the right path!!
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:leonardr (at) pdfsages.com>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions