/** @see com.itextpdf.text.pdf.interfaces.PdfAnnotations#addAnnotation(com.itextpdf.text.pdf.PdfAnnotation) */ public void addAnnotation(final PdfAnnotation annot) { pdf.addAnnotation(annot); }
/** @see com.itextpdf.text.pdf.interfaces.PdfAnnotations#addAnnotation(com.itextpdf.text.pdf.PdfAnnotation) */ public void addAnnotation(final PdfAnnotation annot) { pdf.addAnnotation(annot); }
/** Implements an action in an area. * @param action the <CODE>PdfAction</CODE> * @param llx the lower left x corner of the activation area * @param lly the lower left y corner of the activation area * @param urx the upper right x corner of the activation area * @param ury the upper right y corner of the activation area */ void setAction(final PdfAction action, final float llx, final float lly, final float urx, final float ury) { addAnnotation(writer.createAnnotation(llx, lly, urx, ury, action, null)); }
/** Implements an action in an area. * @param action the <CODE>PdfAction</CODE> * @param llx the lower left x corner of the activation area * @param lly the lower left y corner of the activation area * @param urx the upper right x corner of the activation area * @param ury the upper right y corner of the activation area */ void setAction(final PdfAction action, final float llx, final float lly, final float urx, final float ury) { addAnnotation(writer.createAnnotation(llx, lly, urx, ury, action, null)); }
/** * Implements a link to another document. * @param filename the filename for the remote document * @param page the page to jump to * @param llx the lower left x corner of the activation area * @param lly the lower left y corner of the activation area * @param urx the upper right x corner of the activation area * @param ury the upper right y corner of the activation area */ void remoteGoto(final String filename, final int page, final float llx, final float lly, final float urx, final float ury) { addAnnotation(writer.createAnnotation(llx, lly, urx, ury, new PdfAction(filename, page), null)); }
/** * Implements a link to another document. * @param filename the filename for the remote document * @param page the page to jump to * @param llx the lower left x corner of the activation area * @param lly the lower left y corner of the activation area * @param urx the upper right x corner of the activation area * @param ury the upper right y corner of the activation area */ void remoteGoto(final String filename, final int page, final float llx, final float lly, final float urx, final float ury) { addAnnotation(writer.createAnnotation(llx, lly, urx, ury, new PdfAction(filename, page), null)); }