Leonard,
Regarding your questions:
Q1: Can you indicate me where can I get this 'slide notes' sample and the name of associated source file ?
What I would like to do:
1- get a copy of an annotated page
2- remove annotations
3- reference the 'Contents' stream in the 'Resource' of the page as an XObject/Form, giving it a unique name (call it Xmain)
4- change the 'Content' of the page so that rather than referencing directly the stream, it references a array of streams and in the 1st stream, it will reference a the 'Xmain' Xobject
I am right now using the PdfCopy class:
1- I can get the copy
2- remove annotations
But I can't change the content: from a 'Contents' stream to a 'Contents' array referencing a 'Stream' content.
I am confused about the way I should reference the stream in the array of stream and the array as 'Contents' in the page dictionnary.
As you might noticed, I am just very confused at the moment as PDF & iText are very new to me.
Q2: The feature as seen in Acrobat 6 generates, for each annotated page, a new page listing all comments. For each comment, an icon/image is displayed. These are the images I was refering to
Q3: Again, I am refering to the Acrobat 6 resulting document.
Regards,
-----Original Message-----
From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 18, 2004 12:43 PM
To: Nguyen, Daniel; [EMAIL PROTECTED]
Subject: Re: [iText-questions] Comment summary generation
At 05:09 PM 11/17/2004, Nguyen, Daniel wrote:
>The facts:
>I have a PDF document
>I have FDF file(s) that relate to the document
>
>I want to implement a feature similar to the 'Create PDF of comments
>summary' in Acrobat 6.
OK...
>The questions:
>Q1: Should I start using the PdfcopyMerge class to implement the feature ?
>(copying selected page then working on my own)
I would use imported page mechanism (look at the imposition samples, like the slide notes examples) for drawing the source page on your page.
>Q2: On the comment page, images are being displayed. How can I retrieve
>them ?
What do you mean "images are being displayed"? What
images? From where? The PDF? Comments?
>Q3: The resulting document includes a 'Font' dictionary with over 140
>fonts. How can I generate such a dictionary ? Where do the fonts come
>from ? Do I need to generate such a dictionary ?
What resulting document is this? From Acrobat? From your code??
Leonard
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
