EvinceDocument – 3.0
Description: Reference for EvinceDocument-3.0

### Namespace

# EvinceDocument – 3.0

Evince is a document viewer for multiple document formats.

Version | 43.0
Authors | Evince Developers
License | GPL-2-or-later
Website | https://wiki.gnome.org/Apps/Evince
Source | https://gitlab.gnome.org/GNOME/evince/

#### Build

pkg-config files | `evince-document-3.0`

#### Dependencies

GObject—2.0 | The base type system library
| Browse documentation

#### Additional documentation

- Classes Hierarchy

#### Classes

Annotation | since: 3.0
AnnotationAttachment | since: 3.0
AnnotationText | since: 3.0
AnnotationTextMarkup | since: 3.0
Attachment | since: 3.0
Document | since: 3.0
FormField | since: 3.0
FormFieldButton | since: 3.0
FormFieldChoice | since: 3.0
FormFieldSignature | since: 3.0
FormFieldText | since: 3.0
Image | since: 3.0
Layer | since: 3.0
Link | since: 3.0
LinkAction | since: 3.0
LinkDest | since: 3.0
Media | since: 3.0
Page | since: 3.0
RenderContext | since: 3.0
TransitionEffect | since: 3.0

#### Interfaces

AnnotationMarkup | since: 3.0
AsyncRenderer | since: 3.0
DocumentAnnotations | since: 3.0
DocumentAttachments | since: 3.0
DocumentFind | since: 3.0
DocumentFonts | since: 3.0
DocumentForms | since: 3.0
DocumentImages | since: 3.0
DocumentLayers | since: 3.0
DocumentLinks | since: 3.0
DocumentMedia | since: 3.0
DocumentPrint | since: 3.0
DocumentSecurity | since: 3.0
DocumentText | since: 3.0
DocumentTransition | since: 3.0
FileExporter | since: 3.0
Selection | since: 3.0

#### Structs

DocumentBackendInfo | since: 3.0
DocumentInfo | since: 3.0
DocumentLicense | since: 3.0
FileExporterContext | since: 3.0
FindRectangle | since: 3.0
Mapping | since: 3.0
MappingList | since: 3.0
Point | since: 3.0
Rectangle | since: 3.0
SourceLink | since: 3.0
TypeInfo | since: 3.0

#### Aliases

BackendPage | since: 3.0
BackendPageDestroyFunc | since: 3.0

#### Enumerations

AnnotationsOverMarkup | since: 3.0
AnnotationTextIcon | since: 3.0
AnnotationTextMarkupType | since: 3.0
AnnotationType | since: 3.0
CompressionType | since: 3.0
DocumentContainsJS | since: 3.0
DocumentLayout | since: 3.0
DocumentMode | since: 3.0
FileExporterFormat | since: 3.0
FormFieldButtonType | since: 3.0
FormFieldChoiceType | since: 3.0
FormFieldTextType | since: 3.0
LinkActionType | since: 3.0
LinkDestType | since: 3.0
SelectionStyle | since: 3.0
TransitionEffectAlignment | since: 3.0
TransitionEffectDirection | since: 3.0
TransitionEffectType | since: 3.0

#### Bitfields

AnnotationsSaveMask | since: 3.0
DocumentInfoFields | since: 3.0
DocumentLoadFlags | since: 3.0
DocumentPermissions | since: 3.0
DocumentUIHints | since: 3.0
FileExporterCapabilities | since: 3.0
FindOptions | since: 3.0

#### Error Domains

DocumentError | since: 3.0

#### Functions

backends_manager_get_all_types_info | since: 3.0
backends_manager_get_document | since: 3.0
backends_manager_get_document_module_name | since: 3.0
backends_manager_get_document_type_info | since: 3.0
file_compress | Compresses the file at `uri`. If `type` is `EV_COMPRESSION_NONE`, it does nothing and returns `NULL`. since: 3.0
file_copy_metadata | Performs a `g_file_copy_attributes()` with `G_FILE_COPY_ALL_METADATA` from `from` to `to`. since: 3.4
file_get_mime_type | since: 3.0
file_get_mime_type_from_fd | since: 3.0
file_is_temp | since: 3.0
file_uncompress | Uncompresses the file at `uri`. since: 3.0
get_locale_dir | since: 3.0
init | Initializes the evince document library, and binds the evince gettext domain. since: 3.0
mkdtemp | Creates a temp directory in the evince temp directory. since: 3.0
mkstemp | Creates a temp file in the evince temp directory. since: 3.0
mkstemp_file | Creates a temp `GFile` in the evince temp directory. See `ev_mkstemp()` for more information. since: 3.0
rect_cmp | since: 3.0
should_use_portal | Checks whether evince should use the portal. since: 3.30
shutdown | Shuts the evince document library down. since: 3.0
tmp_file_unlink | since: 3.0
tmp_filename_unlink | since: 3.0
tmp_uri_unlink | since: 3.0
xfer_uri_simple | Performs a `g_file_copy()` from `from` to `to`. since: 3.0
xmp_parse | since: 3.0

#### Function Macros

ANNOTATION_MARKUP_IFACE | since: 3.0
ASYNC_RENDERER_IFACE | since: 3.0
BACKEND_IMPLEMENT_INTERFACE | since: 3.0
BACKEND_REGISTER | since: 3.0
BACKEND_REGISTER_WITH_CODE | since: 3.0
CHECK_VERSION | Macro to check the library version at compile time. It returns 1 if the version of EV is greater or equal to the required one, and 0 otherwise. since: 3.0
DEPRECATED_FOR | since: 3.0
DOCUMENT_ANNOTATIONS_IFACE | since: 3.0
DOCUMENT_ATTACHMENTS_IFACE | since: 3.0
DOCUMENT_FIND_IFACE | since: 3.0
DOCUMENT_FONTS_IFACE | since: 3.0
DOCUMENT_FORMS_IFACE | since: 3.0
DOCUMENT_IMAGES_IFACE | since: 3.0
DOCUMENT_LAYERS_IFACE | since: 3.0
DOCUMENT_LINKS_IFACE | since: 3.0
DOCUMENT_MEDIA_IFACE | since: 3.0
DOCUMENT_PRINT_IFACE | since: 3.0
DOCUMENT_SECURITY_IFACE | since: 3.0
DOCUMENT_TEXT_IFACE | since: 3.0
DOCUMENT_TRANSITION_IFACE | since: 3.0
FILE_EXPORTER_IFACE | since: 3.0
SELECTION_IFACE | since: 3.0
UNAVAILABLE | since: 3.0

#### Constants

MAJOR_VERSION | The major version number of the EV library (e.g. in version 3.1.4 this is 3). since: 3.0
MINOR_VERSION | The minor version number of the EV library (e.g. in version 3.1.4 this is 1). since: 3.0