Questions tagged [pdf-annotations]

PDF Annotations associate an object such as a note, sound, or movie with a location on a page of a PDF document, or provides a way to interact with the user by means of the mouse and keyboard. There are many different types of annotations and a few different states that they can exist in.

78 questions
0
votes
0 answers

Add clickable stamp annotation PSPDFKit

I am using PSPDFKit to manipulate PDF files. The point of my application is to add a stamp onto a PDF, which works perfectly fine. But, I would like to make my stamps clickable so I might click on it from another PDF Viewer (such as Acrobat). I…
Matthieu Meunier
  • 458
  • 5
  • 21
0
votes
1 answer

Access the textView inside PDFAnnotation with type .widget

I would like to access the textView inside the PDFAnnotation of type .widget, widget subtype .text. The reason I want to do this is to select the text inside it or make it first responder so the keyboard is shown after the annotation is added on the…
crcalin
  • 979
  • 6
  • 13
0
votes
0 answers

How to keep the text while moving (resizing) the Stamp Annotation iText

I'm working in some Annotation stuff with iText. I tried to draw a Stamp Annotation with text on an existing PDF file. The Stamp Annotation did show on the PDF but when I moving the stamp (or resizing), the text (will all format) is disappear and…
0
votes
1 answer

PdfPopupAnnotation parent not accessible after copying page to other document

I'm copying annotated PDF pages from one document to another. The odd thing I'm experiencing is that in the new document, I can't access the parent of the PdfPopupAnnotations: public class CopyPdfTest { public static void main(String[] args)…
Thomas W
  • 14,757
  • 6
  • 48
  • 67
0
votes
1 answer

How to extract content from appearance stream when Resources not in dictionary?

I'm trying to read the appearance stream of a PDF annotation, using iTextSharp, and get the content text from the stream. I'm using the following code: public String ExtractAnnotationText(PdfStream xObject) { PdfDictionary…
sigil
  • 9,370
  • 40
  • 119
  • 199
0
votes
0 answers

How to add a link in PDF pages using iTEXT to launch an external resources like audio , video etc

I'm using iText-5.0.1 library - ‘PdfAction’ Class which defines an action that can be triggered from a PDF file. Currently, I am using PdfAction gotoLocalPage() method and successfully able to Create a GoTo action to an internal page of PDF using…
Jatin
  • 197
  • 2
  • 5
  • 17
0
votes
3 answers

How to create XFDF annotation with an image

I would like to generate in Java a XFDF Stamp Annotation that would have a transparent image inside. I have serious trouble recognizing the format in which the image is stored and how to transform my input image to that form. So far I know The…
Javo
  • 435
  • 1
  • 5
  • 16
0
votes
1 answer

Create Highlight PDF annotations with Ghostscript

I have the following PostScript file containing a pdfmark to create a highlight annotation: %PS /Courier 30 selectfont 15 15 moveto (Test)show [ /Rect [0 0 80 30] /Subtype /Highlight /Color [.8 .8 0] /QuadPoints [10 40 90 40 10 10 90 10] /Contents…
Thomas W
  • 14,757
  • 6
  • 48
  • 67
0
votes
0 answers

iTextSharp adding rectangular annotation instead of quad

I am using the following code to add Annotations to an existing PDF using iTextSharp and C#. The problem is that the shape of annotation highlight is quad, but what I need is a rectangular annotation. Also, is there a way to suppress the sticky note…
Shayam
  • 27
  • 1
  • 6
0
votes
1 answer

Menu is not showing pdf file- pdf Annotation in iOS

I am developing the app like ibooks by reference,in that the pdf is not enabling the menu i.e while I long tap the pdf it not showing Menu like copy , define. How can I work in menu? Help me.
Test
  • 177
  • 1
  • 1
  • 13
0
votes
1 answer

change LinkAnnotation to SquareAnnotation (based on given example from IcePDF)

i have a problem while using icepdf due a simple change from LinkAnnotation to SquareAnnotation. In special i have this example from the icepdf…
Smoki
  • 551
  • 2
  • 9
  • 28
0
votes
2 answers

Hyperlink in existing PDF

I am trying to add a hyperlink based off of known position coordinates in the PDF. I have tried editing the physical pdf code and have added a link, but in the process deleted other content on the pdf. [/Rect [ x x x x ] …
Tdaw
  • 181
  • 4
0
votes
1 answer

How to connect PDF annotations with signatures while validation?

I'm trying to validate a pades signature, but with warnings, like in adobe reader (There have been subsequent changes...). I can validate integrity of signature, but how to check if annotation has been added after signing the document? I can list…
Binari
  • 41
  • 3
0
votes
1 answer

PDF Flag annotations

I try to (programmatically) write the page numbers to all pages in a PDF file. The object I use to write looks like this: 493 0 obj <> stream Q /2 12 Tf /DeviceRGB cs 0 0 0 scn q 1 0 -0 1 298 32 cm BT 1 0 0 1 -3.6 1.884 Tm (2)…
user1028741
  • 2,745
  • 6
  • 34
  • 68
0
votes
1 answer

Multiline markup annotations with iText

I want to highlight a text passage in a PDF document using iText. This passage can also span across several lines, so the highlighted region is not necessarily one rectangle. But to the PdfAnnotation.createMarkup(...) methods I can only pass or…
jederik
  • 352
  • 2
  • 7