Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-document-annotations.c File Reference
+ Include dependency graph for ev-document-annotations.c:

Go to the source code of this file.

Functions

static void ev_document_annotations_default_init (EvDocumentAnnotationsInterface *klass)
 
EvMappingListev_document_annotations_get_annotations (EvDocumentAnnotations *document_annots, EvPage *page)
 
gboolean ev_document_annotations_document_is_modified (EvDocumentAnnotations *document_annots)
 
void ev_document_annotations_save_annotation (EvDocumentAnnotations *document_annots, EvAnnotation *annot, EvAnnotationsSaveMask mask)
 
void ev_document_annotations_add_annotation (EvDocumentAnnotations *document_annots, EvAnnotation *annot, EvRectangle *rect)
 
gboolean ev_document_annotations_can_add_annotation (EvDocumentAnnotations *document_annots)
 
void ev_document_annotations_remove_annotation (EvDocumentAnnotations *document_annots, EvAnnotation *annot)
 
gboolean ev_document_annotations_can_remove_annotation (EvDocumentAnnotations *document_annots)
 

Function Documentation

void ev_document_annotations_add_annotation ( EvDocumentAnnotations document_annots,
EvAnnotation annot,
EvRectangle rect 
)

Definition at line 59 of file ev-document-annotations.c.

62 {
64 
65  if (iface->add_annotation)
66  iface->add_annotation (document_annots, annot, rect);
67 }

+ Here is the caller graph for this function:

gboolean ev_document_annotations_can_add_annotation ( EvDocumentAnnotations document_annots)

Definition at line 70 of file ev-document-annotations.c.

71 {
73 
74  return iface->add_annotation != NULL;
75 }

+ Here is the caller graph for this function:

gboolean ev_document_annotations_can_remove_annotation ( EvDocumentAnnotations document_annots)

Definition at line 88 of file ev-document-annotations.c.

89 {
91 
92  return iface->remove_annotation != NULL;
93 }

+ Here is the caller graph for this function:

static void ev_document_annotations_default_init ( EvDocumentAnnotationsInterface klass)
static

Definition at line 27 of file ev-document-annotations.c.

28 {
29 }
gboolean ev_document_annotations_document_is_modified ( EvDocumentAnnotations document_annots)

Definition at line 41 of file ev-document-annotations.c.

42 {
44 
45  return (iface->document_is_modified) ? iface->document_is_modified (document_annots) : FALSE;
46 }

+ Here is the caller graph for this function:

EvMappingList* ev_document_annotations_get_annotations ( EvDocumentAnnotations document_annots,
EvPage page 
)

Definition at line 32 of file ev-document-annotations.c.

34 {
36 
37  return iface->get_annotations (document_annots, page);
38 }

+ Here is the caller graph for this function:

void ev_document_annotations_remove_annotation ( EvDocumentAnnotations document_annots,
EvAnnotation annot 
)

Definition at line 78 of file ev-document-annotations.c.

80 {
82 
83  if (iface->remove_annotation)
84  iface->remove_annotation (document_annots, annot);
85 }

+ Here is the caller graph for this function:

void ev_document_annotations_save_annotation ( EvDocumentAnnotations document_annots,
EvAnnotation annot,
EvAnnotationsSaveMask  mask 
)

Definition at line 49 of file ev-document-annotations.c.

52 {
54 
55  iface->save_annotation (document_annots, annot, mask);
56 }

+ Here is the caller graph for this function: