/* poppler-annot.cc: glib interface to poppler
*
* Copyright (C) 2007 Inigo Martinez <inigomartinez@gmail.com>
* Copyright (C) 2009 Carlos Garcia Campos <carlosgc@gnome.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include "poppler.h"
#include "poppler-private.h"
/**
* SECTION:poppler-annot
* @short_description: Annotations
* @title: PopplerAnnot
*/
typedef struct _PopplerAnnotClass PopplerAnnotClass;
typedef struct _PopplerAnnotMarkupClass PopplerAnnotMarkupClass;
typedef struct _PopplerAnnotFreeTextClass PopplerAnnotFreeTextClass;
typedef struct _PopplerAnnotTextClass PopplerAnnotTextClass;
typedef struct _PopplerAnnotFileAttachmentClass PopplerAnnotFileAttachmentClass;
typedef struct _PopplerAnnotMovieClass PopplerAnnotMovieClass;
typedef struct _PopplerAnnotScreenClass PopplerAnnotScreenClass;
struct _PopplerAnnotClass
{
GObjectClass parent_class;
};
struct _PopplerAnnotMarkup
{
PopplerAnnot parent_instance;
};
struct _PopplerAnnotMarkupClass
{
PopplerAnnotClass parent_class;
};
struct _PopplerAnnotText
{
PopplerAnnotMarkup parent_instance;
};
struct _PopplerAnnotTextClass
{
PopplerAnnotMarkupClass parent_class;
};
struct _PopplerAnnotFreeText
{
PopplerAnnotMarkup parent_instance;
};
struct _PopplerAnnotFreeTextClass
{
PopplerAnnotMarkupClass parent_class;
};
struct _PopplerAnnotFileAttachment
{
PopplerAnnotMarkup parent_instance;
};
struct _PopplerAnnotFileAttachmentClass
{
PopplerAnnotMarkupClass parent_class;
};
struct _PopplerAnnotMovie
{
PopplerAnnot parent_instance;
PopplerMovie *movie;
};
struct _PopplerAnnotMovieClass
{
PopplerAnnotClass parent_class;
};
struct _PopplerAnnotScreen
{
PopplerAnnot parent_instance;
PopplerAction *action;
};
struct _PopplerAnnotScreenClass
{
PopplerAnnotClass parent_class;
};
G_DEFINE_TYPE (PopplerAnnot, poppler_annot, G_TYPE_OBJECT)
G_DEFINE_TYPE (PopplerAnnotMarkup, poppler_annot_markup, POPPLER_TYPE_ANNOT)
G_DEFINE_TYPE (PopplerAnnotText, poppler_annot_text, POPPLER_TYPE_ANNOT_MARKUP)
G_DEFINE_TYPE (PopplerAnnotFreeText, poppler_annot_free_text