summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libdocument/ev-annotation.c9
-rw-r--r--libdocument/ev-annotation.h4
2 files changed, 12 insertions, 1 deletions
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c
index 93e2194a..7b4b575d 100644
--- a/libdocument/ev-annotation.c
+++ b/libdocument/ev-annotation.c
@@ -1343,6 +1343,15 @@ ev_annotation_text_markup_underline_new (EvPage *page)
NULL));
}
+EvAnnotation *
+ev_annotation_text_markup_squiggly_new (EvPage *page)
+{
+ return EV_ANNOTATION (g_object_new (EV_TYPE_ANNOTATION_TEXT_MARKUP,
+ "page", page,
+ "type", EV_ANNOTATION_TEXT_MARKUP_SQUIGGLY,
+ NULL));
+}
+
EvAnnotationTextMarkupType
ev_annotation_text_markup_get_markup_type (EvAnnotationTextMarkup *annot)
{
diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h
index 025c6ab1..032cfcf0 100644
--- a/libdocument/ev-annotation.h
+++ b/libdocument/ev-annotation.h
@@ -113,7 +113,8 @@ typedef enum {
typedef enum {
EV_ANNOTATION_TEXT_MARKUP_HIGHLIGHT,
EV_ANNOTATION_TEXT_MARKUP_STRIKE_OUT,
- EV_ANNOTATION_TEXT_MARKUP_UNDERLINE
+ EV_ANNOTATION_TEXT_MARKUP_UNDERLINE,
+ EV_ANNOTATION_TEXT_MARKUP_SQUIGGLY
} EvAnnotationTextMarkupType;
/* EvAnnotation */
@@ -187,6 +188,7 @@ GType ev_annotation_text_markup_get_type (void)
EvAnnotation *ev_annotation_text_markup_highlight_new (EvPage *page);
EvAnnotation *ev_annotation_text_markup_strike_out_new (EvPage *page);
EvAnnotation *ev_annotation_text_markup_underline_new (EvPage *page);
+EvAnnotation *ev_annotation_text_markup_squiggly_new (EvPage *page);
EvAnnotationTextMarkupType ev_annotation_text_markup_get_markup_type (EvAnnotationTextMarkup *annot);
G_END_DECLS