Well my question is why the annot is at all visible in the comment pane. I
was expecting it to be invisible as I had passed the flags:
PdfAnnotation.FLAGS_NOVIEW | PdfAnnotation.FLAGS_INVISIBLE |
PdfAnnotation.FLAGS_HIDDEN.

Could you please tell me what I am missing here?

Thanks,
SSD.



On Wed, Dec 31, 2008 at 9:55 PM, Leonard Rosenthol <[email protected]>wrote:

> I see the comment in the comment pane at the bottom of the Acrobat/Reader
> window (as I would expect) but I don't see it on the page (also, as I would
> expect).
> The annot has an empty rectangle, so there is no rectangle into which it
> can draw - so that's why it doesn't draw on the page.
>
> Leonard
>
>
> On Wed, Dec 31, 2008 at 4:37 PM, Sankha Subhra Dey <[email protected]>wrote:
>
>> I have attached a pdf into which I embedded an annotation named "Comment".
>>
>> Thanks,
>> SSD.
>>
>>
>>
>>
>> On Sun, Dec 28, 2008 at 8:34 AM, Leonard Rosenthol <[email protected]
>> > wrote:
>>
>>>  Please post an actual PDF that demonstrates the problem.
>>> Leonard
>>>
>>>  On Dec 24, 2008, at 7:14 PM, Sankha Subhra Dey wrote:
>>>
>>>   Hi,
>>>
>>> I put this question to the forum around 2 weeks back. I was wondering why
>>> the annotation produced by this code isn't invisible on AR. I checked with
>>> AR 9 on Windows and I can still see it. Could someone please tell me where I
>>> might be going wrong?
>>>
>>> ===================================================================
>>> PdfAnnotation pdfAnnotation =
>>> PdfAnnotation.createText(stamper.getWriter(), new Rectangle(1, 1, 1, 1),
>>> "Comment", pattern, false, null);
>>>
>>> pdfAnnotation.put(PdfName.F, new
>>> PdfNumber(PdfAnnotation.FLAGS_NOVIEW |
>>> PdfAnnotation.FLAGS_INVISIBLE | PdfAnnotation.FLAGS_HIDDEN));
>>>
>>> stamper.addAnnotation(pdfAnnotation, 1);
>>> ===================================================================
>>>
>>> Thanks, and a "Merry Christmas!" to everyone,
>>> SSD.
>>>
>>>
>>>
>>>
>>> On Tue, Dec 23, 2008 at 2:41 PM, Sankha Subhra Dey <[email protected]>wrote:
>>>
>>>> it seems there isn't an ar 9 for ubuntu yet.
>>>>
>>>> anyway i downloaded ar9 on vista and checked the annotation, and it is
>>>> still visible. so could someone please tell me what's going wrong?
>>>>
>>>> thanks
>>>> shankha.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Dec 23, 2008 at 7:21 AM, 1T3XT info <[email protected]> wrote:
>>>>
>>>>> Sankha Subhra Dey wrote:
>>>>> > Well where did you get AR9 from? The latest version on Adobe's site
>>>>> > takes me to a link for 8.1.3, and the annotation is still visible in
>>>>> > that (I had 8.1.2). Am i missing anything here?
>>>>>
>>>>> http://get.adobe.com/reader/
>>>>> --
>>>>> This answer is provided by 1T3XT BVBA
>>>>> http://www.1t3xt.com/ - http://www.1t3xt.info
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> iText-questions mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>>>
>>>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>>>>
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> _______________________________________________
>>> iText-questions mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> iText-questions mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>>
>>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> iText-questions mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> Buy the iText book: http://www.1t3xt.com/docs/book.php
>>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.1t3xt.com/docs/book.php
>
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to