Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
Christian_Rocher@adobeforums.com #1
Stamp annotation
Hi,
I try to add a stamp annotation by code, a real stamp, not stamp from the sample code (i.e, PDFReference.pdf, Interactive Features).
Is there someone who guide me? Any hint will be appreciate, in particular a sample using the PDE high level layer, but one with the COS low level layer is appreciate too.
Thank you.
Christian R.
Christian_Rocher@adobeforums.com Guest
-
3D annotation Posters
How do you set a poster on a 3D annotation? I've tried setting up a image Xobject but that did not work. The docs say that I have to use a... -
Screen Annotation Help
Hi there, If anyone is familiar with screen annotations, could you please guide me into the right direction as to what entries I am required to... -
How to image Annotation?
First, thanks you for your reply. I want to image annotation,but Stamper is a text annotation .can you give me Some suggestions about image annotion... -
Adobe Annotation
Problem in hiding the free text annoation after entering some text .show error when i tried to hide annotation using method called... -
ASP - PDF annotation
Does anyone know how to do the pdf annotation with ASP? Thanks -
Leonard_Rosenthol@adobeforums.com #2
Re: Stamp annotation
Assuming you mean the creation of a Stamp annotation - then everything you need is documented in the PDF Reference. There is also a sample in the SDK that demonstrates most of the key things you need to know.
If, after reviewing both of those things, you still have problems - please identify specific areas.
Leonard
Leonard_Rosenthol@adobeforums.com Guest
-
Christian_Rocher@adobeforums.com #3
Re: Stamp annotation
Thank for this "no hint", but I need a real stamp as documented in the "Interactive Features", not the sample with this horrible hand made stamp.
There is a built-in stamp in Acrobat, all is in the documentation about the stamp itself (Interactive features). The hard part for me is to implement it with the PDE layer, because there is no clear sample of using PDE in this way.
Thank to anybody who can help me.
Christian R.
Christian_Rocher@adobeforums.com Guest
-
Leonard_Rosenthol@adobeforums.com #4
Re: Stamp annotation
The "Stamp" in Interactive Features is a Stamp Annotation. That means that before you worry about PDE layer, you need to first learn about the PD and Cos Layers - esp. PDAnnot and the CosDict and CosArray objects. And again, I point you to the COMPLETE Acrobat SDK and the Stamper plugin sample for about 95% of what you need here - the differences being that it creates a custom type for the Annot instead of Stamp.
Once you've got the annotation itself working - THEN you can worry about putting other content into the visual appearance (AP) for the annotation. The Stamper sample does this "the hard way", but you could easily replace that with PDE layer calls. Look at the Snippet samples for a variety of PDE layer examples.
Leonard
Leonard_Rosenthol@adobeforums.com Guest
-
Christian_Rocher@adobeforums.com #5
Re: Stamp annotation
Hi,
In respect with the sentence "You can do it, but you must do it yourself", I try to create my own stamp :-((.
Please, Is there someone to explain how to write multi-lines text. In the documentation, I'm supposed to be able to use \n and-or \r to do it. But those characters appears as is!!!???
Where is the truth. Must I create a second stream in my object? Or a second stream in another object? Or...? Or forgot PDF and move to ODT (OpenDocument Text file)?
Any practical assistance is appreciate.
Thank you
Christian R.
Christian_Rocher@adobeforums.com Guest
-
Aandi_Inston@adobeforums.com #6
Re: Stamp annotation
If you are using PDFEdit, there is no such thing as multi-line text.
There are just lines of text, which you place and position separately.
This follows from the PDF Reference, which the PDFEdit layer just
abstracts: no newline characters in page text.
Aandi Inston
Aandi_Inston@adobeforums.com Guest
-
Christian_Rocher@adobeforums.com #7
Re: Stamp annotation
Hi,
Finally after hard efforts to understand how to write a stamp, I encountered a new problem.
When I open a PDF file in Acrobat all works fine. But when when a PDF file is displayed in an external window (OpenInWindowEx), I cannot access my stamp annotation, the tool is not accessible. The button and the menu are not visible. I tried to call it by code and it does not work too.
How can I activate my stamps?
Thank you.
Christian_Rocher@adobeforums.com Guest
-
Aandi_Inston@adobeforums.com #8
Re: Stamp annotation
There's a function something like AVToolButtonIsExternal which you use
to set the function visible externally. You have to code very
carefully in this case. Most especially, never use AVAppGetActiveDoc,
as it will return NULL, or a document open in Acrobat.
Aandi Inston
Aandi_Inston@adobeforums.com Guest
-
Christian_Rocher@adobeforums.com #9
Re: Stamp annotation
Hi Aandi,
It works fine. Thanks a lot.
Christian R.
Christian_Rocher@adobeforums.com Guest



Reply With Quote

