#include <PdfAnnotation.h>
Inheritance diagram for PoDoFo::PdfAnnotation:
Public Member Functions | |
PdfAnnotation (PdfPage *pPage, EPdfAnnotation eAnnot, const PdfRect &rRect, PdfVecObjects *pParent) | |
PdfAnnotation (PdfObject *pObject, PdfPage *pPage) | |
void | SetAppearanceStream (PdfXObject *pObject) |
bool | HasAppearanceStream () const |
PdfRect | GetRect () const |
void | SetFlags (pdf_uint32 uiFlags) |
pdf_uint32 | GetFlags () const |
void | SetBorderStyle (double dHCorner, double dVCorner, double dWidth) |
void | SetBorderStyle (double dHCorner, double dVCorner, double dWidth, const PdfArray &rStrokeStyle) |
void | SetTitle (const PdfString &sTitle) |
PdfString | GetTitle () const |
void | SetContents (const PdfString &sContents) |
PdfString | GetContents () const |
void | SetDestination (const PdfDestination &rDestination) |
PdfDestination | GetDestination (PdfDocument *pDoc) const |
bool | HasDestination () const |
void | SetAction (const PdfAction &rAction) |
PdfAction * | GetAction () const |
bool | HasAction () const |
void | SetOpen (bool b) |
bool | GetOpen () const |
bool | HasFileAttachement () const |
void | SetFileAttachement (const PdfFileSpec &rFileSpec) |
PdfFileSpec * | GetFileAttachement () const |
PdfArray | GetQuadPoints () const |
void | SetQuadPoints (const PdfArray &rQuadPoints) |
PdfArray | GetColor () const |
void | SetColor (double r, double g, double b) |
void | SetColor (double c, double m, double y, double k) |
void | SetColor (double gray) |
void | SetColor () |
EPdfAnnotation | GetType () const |
PdfPage * | GetPage () const |
|
Create a new annotation object
|
|
Create a PdfAnnotation from an existing object
|
|
Get the action that is executed for this annotation
|
|
Get the color key of the Annotation dictionary which defines the color of the annotation, as per 8.4 of the pdf spec. The PdfArray contains 0 to four numbers, depending on the colorspace in which the color is specified 0 numbers means the annotation is transparent 1 number specifies the intensity of the color in grayscale 3 numbers specifie the color in the RGB colorspace and 4 numbers specify the color in the CMYK colorspace
|
|
Get the text of this annotation
|
|
Get the destination of a link annotations
|
|
Get a file attachement of this annotation.
|
|
Get the flags of this annotation.
|
|
|
|
Get the page of this PdfField
|
|
Get the quad points associated with the annotation (if appropriate). This array is used in text markup annotations to describe the regions affected by the markup (i.e. the hilighted words, one quadrilateral per word)
|
|
Get the rectangle of this annotation
|
|
Get the title of this annotation
|
|
Get the type of this annotation
|
|
|
|
|
|
|
|
|
|
Set the action that is executed for this annotation
|
|
Set an appearance stream for this object to specify its visual appearance
|
|
Set the annotations border style.
|
|
Set the annotations border style.
|
|
Set the C key of the Annotation dictionary to an empty array, which, as per 8.4 of the pdf spec., makes the annotation transparent |
|
Set the C key of the Annotation dictionary, which defines the color of the annotation, as per 8.4 of the pdf spec. Parameters give the color in grayscale colorspace coordinates
|
|
Set the C key of the Annotation dictionary, which defines the color of the annotation, as per 8.4 of the pdf spec. Parameters give the color in cmyk colorspace coordinates
|
|
Set the C key of the Annotation dictionary, which defines the color of the annotation, as per 8.4 of the pdf spec. Parameters give the color in rgb colorspace coordinates
|
|
Set the text of this annotation.
|
|
Set the destination for link annotations
|
|
Set a file attachment for this annotation. The type of this annotation has to be ePdfAnnotation_FileAttachement for file attachements to work.
|
|
Set the flags of this annotation.
|
|
Sets wether this annotation is initialy open. You should always set this true for popup annotations.
|
|
Set the quad points associated with the annotation (if appropriate). This array is used in text markup annotations to describe the regions affected by the markup (i.e. the hilighted words, one quadrilateral per word)
|
|
Set the title of this annotation.
|