I got into the iText codebase and realized that when setAppearance is
invoked on the PdfAnnotation object, internally, the logic checks for the
existence of the AP key in a dictionary and if not present, it generates all
the reqd stuff so, setAppearance seems to be doing whatever is
required...
oki hv a few doubts after some trial and error that i have done so
far...
firstly, when i set the appearance using
pa.setAppearance(PdfAnnotation.APPEARANCE_NORMAL, ap);
then i see 2 overlapping lines of text (which is understandable since this
is the "Normal" appearance.)
However, if I move
On 6/10/2011 19:38, Manoj Karnavat wrote:
> I think I have come closer to the final aim with the foll code, but I
> strongly feel that some tiny bit is missing...can anyone pls help - i
> think im not getting the right PdfName in the setAppearance
> method...the documentation is bit confusing -
I think I have come closer to the final aim with the foll code, but I
strongly feel that some tiny bit is missing...can anyone pls help - i think
im not getting the right PdfName in the setAppearance method...the
documentation is bit confusing - i have done some amount of trial and error,
but no lu
I am now writing the text by using the PdfContentByte object. But I am
unable to put all the pieces together... how do i connect the above
PdfContentByte and the dictionary object - i dont see any method to link
these 2 objects
PdfContentByte canv = canvas[PdfPTable.TEXTCANVAS];
On 5/10/2011 13:04, Manoj Karnavat wrote:
> PdfDictionary appear = new PdfDictionary();
> appear.put(PdfName.AC, str);
What's this? Is str a (Pdf)String object? That's not an appearance, is it?
If you want an appearance, you need to create the PDF syntaxt to draw it
using methods s
t 10:05 PM, Leonard Rosenthol wrote:
>
>> Yes, we would need to see a PDF.
>>
>> From: Manoj Karnavat
>> Reply-To: Post here
>> Date: Tue, 4 Oct 2011 08:04:30 -0700
>> To: Post here
>> Subject: [iText-questions] embedded media issue
>>
>&
ailto:itext-questions@lists.sourceforge.net>>
Date: Tue, 4 Oct 2011 09:58:09 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: Re: [iText-questions] embedded media issue
here you go...the last line (beginning with "one:") has the issue - pls click
on any p
Yes, we would need to see a PDF.
From: Manoj Karnavat mailto:manoj...@gmail.com>>
Reply-To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Date: Tue, 4 Oct 2011 08:04:30 -0700
To: Post here
mailto:itext-questions@lists.sourceforge.net>>
Subject: [iText-questions] em
Hi All,
I have used the iText library to create a PDF with embedded media. This
media (audio) is inserted over text i.e. text is displayed and on clicking
that text, the corresp media is played. The issue is that when the media is
played, the text under which it is embedded is blacked-out.
If inte
10 matches
Mail list logo