diff options
| author | Victor Kareh <[email protected]> | 2026-05-13 15:24:33 -0400 |
|---|---|---|
| committer | Victor Kareh <[email protected]> | 2026-05-19 16:21:12 -0400 |
| commit | 7fd4984cce7e900224cc49b94c7d277341bf4289 (patch) | |
| tree | 9350db87f169babd416874d3afc82fbb3888ed85 /libdocument/ev-annotation.c | |
| parent | e25add583912902b179a16431c8feeeb1e09babc (diff) | |
| download | atril-7fd4984cce7e900224cc49b94c7d277341bf4289.tar.bz2 atril-7fd4984cce7e900224cc49b94c7d277341bf4289.tar.xz | |
Add support for reading underline text markup annotations
Backported from https://gitlab.gnome.org/GNOME/evince/-/commit/4bd88ed0
Diffstat (limited to 'libdocument/ev-annotation.c')
| -rw-r--r-- | libdocument/ev-annotation.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libdocument/ev-annotation.c b/libdocument/ev-annotation.c index 1cb13010..93e2194a 100644 --- a/libdocument/ev-annotation.c +++ b/libdocument/ev-annotation.c @@ -1334,6 +1334,15 @@ ev_annotation_text_markup_strike_out_new (EvPage *page) NULL)); } +EvAnnotation * +ev_annotation_text_markup_underline_new (EvPage *page) +{ + return EV_ANNOTATION (g_object_new (EV_TYPE_ANNOTATION_TEXT_MARKUP, + "page", page, + "type", EV_ANNOTATION_TEXT_MARKUP_UNDERLINE, + NULL)); +} + EvAnnotationTextMarkupType ev_annotation_text_markup_get_markup_type (EvAnnotationTextMarkup *annot) { |
