
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "pps-view-type-builtins.h"
#include "pps-css-utils.h"
#include "pps-job-scheduler.h"
#include "pps-job.h"
#include "pps-jobs.h"
#include "pps-print-operation.h"
#include "pps-view-presentation.h"
#include "pps-view.h"
#include "context/pps-annotations-context.h"
#include "context/pps-attachment-context.h"
#include "context/pps-annotation-model.h"
#include "context/pps-document-model.h"
#include "context/pps-history.h"
#include "context/pps-metadata.h"
#include "context/pps-search-context.h"
#include "context/pps-search-result.h"
#include "context/pps-undo-context.h"
#include "context/pps-undo-handler.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "pps-annotation-model.h" */

GType
pps_annotation_tool_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (TOOL_PENCIL), "TOOL_PENCIL", "pencil" },
        { C_ENUM (TOOL_HIGHLIGHT), "TOOL_HIGHLIGHT", "highlight" },
        { C_ENUM (TOOL_ERASER), "TOOL_ERASER", "eraser" },
        { C_ENUM (TOOL_TEXT), "TOOL_TEXT", "text" },
        { C_ENUM (TOOL_MAX), "TOOL_MAX", "max" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PpsAnnotationTool"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "pps-attachment-context.h" */

GType
pps_attachment_context_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PPS_ATTACHMENT_CONTEXT_ERROR_NOT_IMPLEMENTED), "PPS_ATTACHMENT_CONTEXT_ERROR_NOT_IMPLEMENTED", "not-implemented" },
        { C_ENUM (PPS_ATTACHMENT_CONTEXT_ERROR_EMPTY_INPUT), "PPS_ATTACHMENT_CONTEXT_ERROR_EMPTY_INPUT", "empty-input" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PpsAttachmentContextError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "pps-document-model.h" */

GType
pps_sizing_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PPS_SIZING_FIT_PAGE), "PPS_SIZING_FIT_PAGE", "fit-page" },
        { C_ENUM (PPS_SIZING_FIT_WIDTH), "PPS_SIZING_FIT_WIDTH", "fit-width" },
        { C_ENUM (PPS_SIZING_FREE), "PPS_SIZING_FREE", "free" },
        { C_ENUM (PPS_SIZING_AUTOMATIC), "PPS_SIZING_AUTOMATIC", "automatic" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PpsSizingMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
pps_page_layout_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PPS_PAGE_LAYOUT_SINGLE), "PPS_PAGE_LAYOUT_SINGLE", "single" },
        { C_ENUM (PPS_PAGE_LAYOUT_DUAL), "PPS_PAGE_LAYOUT_DUAL", "dual" },
        { C_ENUM (PPS_PAGE_LAYOUT_AUTOMATIC), "PPS_PAGE_LAYOUT_AUTOMATIC", "automatic" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PpsPageLayout"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
pps_annotation_editing_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (PPS_ANNOTATION_EDITING_STATE_NONE), "PPS_ANNOTATION_EDITING_STATE_NONE", "none" },
        { C_FLAGS (PPS_ANNOTATION_EDITING_STATE_INK), "PPS_ANNOTATION_EDITING_STATE_INK", "ink" },
        { C_FLAGS (PPS_ANNOTATION_EDITING_STATE_TEXT), "PPS_ANNOTATION_EDITING_STATE_TEXT", "text" },
        { C_FLAGS (PPS_ANNOTATION_EDITING_STATE_STAMP), "PPS_ANNOTATION_EDITING_STATE_STAMP", "stamp" },
        { C_FLAGS (PPS_ANNOTATION_EDITING_STATE_INSERT_TEXT), "PPS_ANNOTATION_EDITING_STATE_INSERT_TEXT", "insert-text" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("PpsAnnotationEditingState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "pps-job-scheduler.h" */

GType
pps_job_priority_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PPS_JOB_PRIORITY_URGENT), "PPS_JOB_PRIORITY_URGENT", "priority-urgent" },
        { C_ENUM (PPS_JOB_PRIORITY_HIGH), "PPS_JOB_PRIORITY_HIGH", "priority-high" },
        { C_ENUM (PPS_JOB_PRIORITY_LOW), "PPS_JOB_PRIORITY_LOW", "priority-low" },
        { C_ENUM (PPS_JOB_PRIORITY_NONE), "PPS_JOB_PRIORITY_NONE", "priority-none" },
        { C_ENUM (PPS_JOB_N_PRIORITIES), "PPS_JOB_N_PRIORITIES", "n-priorities" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("PpsJobPriority"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "pps-jobs.h" */

GType
pps_job_page_data_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_NONE), "PPS_PAGE_DATA_INCLUDE_NONE", "none" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_LINKS), "PPS_PAGE_DATA_INCLUDE_LINKS", "links" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_TEXT), "PPS_PAGE_DATA_INCLUDE_TEXT", "text" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_TEXT_MAPPING), "PPS_PAGE_DATA_INCLUDE_TEXT_MAPPING", "text-mapping" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_TEXT_LAYOUT), "PPS_PAGE_DATA_INCLUDE_TEXT_LAYOUT", "text-layout" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_TEXT_ATTRS), "PPS_PAGE_DATA_INCLUDE_TEXT_ATTRS", "text-attrs" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS), "PPS_PAGE_DATA_INCLUDE_TEXT_LOG_ATTRS", "text-log-attrs" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_IMAGES), "PPS_PAGE_DATA_INCLUDE_IMAGES", "images" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_FORMS), "PPS_PAGE_DATA_INCLUDE_FORMS", "forms" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_MEDIA), "PPS_PAGE_DATA_INCLUDE_MEDIA", "media" },
        { C_FLAGS (PPS_PAGE_DATA_INCLUDE_ALL), "PPS_PAGE_DATA_INCLUDE_ALL", "all" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("PpsJobPageDataFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

