Alan wrote:

I’ve had to take time off this project so I apologise for the time lag.

I don't remember what the question was about,
but I forward it to the mailing list (you have mailed
it to the admin and Leonard only).



Leonard’s pointers (and Paulo’s code) were an excellent start but I can’t 
figure out how to set the UserProperties entry in the MarkInfo dictionary.



Any code snippet would be greatly appreciated



Thanks

AlanK





At 11:09 PM 1/11/2006, Alan wrote:

Thank you Leonard.

I've got a basic idea of how it works so, with your hints, I should be able

to sort it out... although at the moment I think "pretty easy" is a fairly

relative term ;-).



       Granted.



Fortunately, Paulo did the hard work by getting the framework for marked content and structure already into iText...Since Object Data is just a special case of that (and the easiest of the cases), it should not be too difficult.





LDR

Leonard Rosenthol
Wed, 11 Jan 2006 22:24:02 -0800

At 01:25 PM 1/10/2006, Alan wrote:

Can anyone give me some clues on how to add "Object Data" (accessible via the "Object Data Tool" in Adobe Reader) to a graphics object using iText?



You need to first read the PDF Reference to understand how Object Data (aka User Properties) exists inside a PDF (hint: it's structure & tagging).



Second, look at the sections of the iText sources concerned with the implementation of Marked Content and Structure.



       >From there, it's pretty easy...





Leonard




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to